Statistics Collector Shared Additional Label Explanation

Statistics Collector Shared Additional Label Explanation

stan.e.davis
Advocate Advocate
10 Views
2 Replies
Message 1 of 3

Statistics Collector Shared Additional Label Explanation

stan.e.davis
Advocate
Advocate

[ FlexSim 22.2.2 ]

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


0 Likes
Accepted solutions (1)
11 Views
2 Replies
Replies (2)
Message 2 of 3

JordanLJohnson
Autodesk
Autodesk
Accepted solution

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.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 3 of 3

stan.e.davis
Advocate
Advocate

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

0 Likes