question

Stan Davis avatar image
0 Likes"
Stan Davis asked Stan Davis commented

Statistics Collector Shared Additional Label Explanation

I can't find much info regarding a Statistics Collector's Additional Label that has been promoted to Shared.

Need clarification. Is just the label name/structure shared across events or is the value also shared??

I'm trying to reduce redundant entry for all my racks by simply using a shared label. Testing shows the value is not shared, but just need to confirm. More info in the manual would be helpful.

Thanks - Stan


FlexSim 22.2.2
statistic collector
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Stan Davis commented

Multiple events can have the same label and differing values. These are not shared labels. Shared labels appear in the UI with the prefix "Shared: SomeLabel". In the following image, Delta is a normal label, while SharedLabel is shared:

1665089370244.png

If the value of the shared label is a constant, like a number, pointer, or text, then all events will have the same value for that label. If the value is defined by code, then all events will run that same code for that label. However, the code might yield different results depending on the model time, or on the parameters like "current".

I agree that the documentation about this is lacking. I'll add a card to the dev list to fix that.


1665089370244.png (93.2 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Stan Davis avatar image Stan Davis commented ·

Thanks Jordan. Understand. In my case the actual values will vary due to parameters. - Stan

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.