question

Aleksander TDS avatar image
0 Likes"
Aleksander TDS asked Jordan Johnson answered

How can I get the Total Stay Time in processflow using zone?

Requests entering in the system need to be identified to detail how many remain for more than 5460 minutes in the system.

Those who exceed this time are considered as unwanted.

FlexSim 17.2.0
time in systemstay time
pi-13.fsm (33.1 KiB)
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
2 Likes"
Jordan Johnson answered

At the end of your model, I added a few activities:

Right after the token leaves the Zone, it goes to the Assign Labels activity called Staytime. In this activity, I assign the Zone to a label on the token. Then, I use that label to get the staytime statistic from the Zone. Since the staytime of the Zone is the staytime of the most recent token to leave the Zone, that is the value we want. Then I added a decide, and checked if the staytime is less than 5460 minutes. If it is, the token goes to the Satisfeito sink. Otherwise, it goes to the Insatisfeito sink.


zonestaytime.png (30.3 KiB)
5 |100000

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

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.