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

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

aleksander_tds
Not applicable
40 Views
1 Reply
Message 1 of 2

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

aleksander_tds
Not applicable

[ FlexSim 17.2.0 ]

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.

0 Likes
Accepted solutions (1)
41 Views
1 Reply
Reply (1)
Message 2 of 2

JordanLJohnson
Autodesk
Autodesk
Accepted solution

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

9733-zonestaytime.png

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.

.


Jordan Johnson
Principal Software Engineer
>