Announcements

Community notifications may experience intermittent interruptions between 10–12 November during scheduled maintenance. We appreciate your patience.

Staytime of an object in process flow

Staytime of an object in process flow

est_cindyorj
Not applicable
232 Views
4 Replies
Message 1 of 5

Staytime of an object in process flow

est_cindyorj
Not applicable

[ FlexSim 23.1.1 ]

Hi, I am looking to simulate a blood bank, and i want to get the satytime of the products that enter the model to decide if i have to throw them or if i can use them. So, I wanted to know how to put in processflow in a decide activity the staytime of an specific object.

0 Likes
Accepted solutions (1)
233 Views
4 Replies
Replies (4)
Message 2 of 5

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

Staytime stats usually refer to the time in a process flow activity or a 3D object. For your case, just record the creation/ entry time as a label on the token/item and then in the decide use

time()- token.entryTime

or

time()=token.item.entryTime

or push onto a list and add an expression for time()-pushTime for time it's been there.

0 Likes
Message 3 of 5

julie_weller
Not applicable

Hi @Cindy, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes
Message 4 of 5

est_cindyorj
Not applicable

Thank you, the thing is that i need to decide after the exact 7200 seconds if i want the tokens to go to a sink or if to push them to that list, because the model i want to create is based on perishble products, so if one them passes that specific time i will need to discard it, but if that does not happen i need it to go to another queue.

Something like this:

1694571620407.png

I need to decide if the object is still able to process or if it has to go to queue 2 just when its age hits 7200 seconds in the model

0 Likes
Message 5 of 5

jason_lightfoot_adsk
Autodesk
Autodesk
This has not been answered in your new question. Please try to avoid asking duplicate questions as it consumes resources multiple times.
0 Likes