question

JulHa avatar image
0 Likes"
JulHa asked JulHa commented

Count Time when WIP above value

Hello together,


I want to count the time when the current WIP of a queue is above 200.
When it's dropping below 200 it should stop counting.
Can anybody help me to create a performance-measurment?


Best regards,


Julius

FlexSim 25.0.0
performance measureswip
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered JulHa commented

I'd use a kinetic tracked variable label on the queue. In the entry trigger, set the rate of the variable to 1 if the threshold is reached and set it back to 0 in the exit trigger if the content drops below the threshold.

The TR-label can be used as a PFM by sampling the queue and choosing the respective option.

kinTR-label.fsm


kintr-label.fsm (28.3 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.

JulHa avatar image JulHa commented ·
Thank you! It's working now!
0 Likes 0 ·