Why did the resume object go wrong

Why did the resume object go wrong

zhang_z3
Not applicable
1 View
8 Replies
Message 1 of 9

Why did the resume object go wrong

zhang_z3
Not applicable

[ FlexSim 19.2.4 ]

I use the process flow to achieve that all transporters passing a certain network node stay here for a period of time. But something went wrong,i did‘t know how to solve it.行李转盘2.fsm

0 Likes
Accepted solutions (1)
2 Views
8 Replies
Replies (8)
Message 2 of 9

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

It is a problem of code execition of the FlexSim Engine. You need only insert a Delay activity right behind the Event-Triggered Source. The delay time is set to zero. You find it often in tutorials called as "Breathe".

0 Likes
Message 3 of 9

zhang_z3
Not applicable

@Jörg Vogel Thank you, but I still have a problem. What I want to achieve is that the transporter arriving at the certain network node stops, but my program will cause all three vehicles to stop. What should I do to stop transporter arriving at a network node ?行李转盘2.fsm

0 Likes
Message 4 of 9

zhang_z3
Not applicable

@Jörg Vogel Thank you, but I still have a problem. What I want to achieve is that the transporter arriving at the certain network node stops, but my program will cause all three vehicles to stop. What should I do to stop transporter arriving at a network node ?行李转盘2.fsm

0 Likes
Message 5 of 9

joerg_vogel_HsH
Mentor
Mentor

Actually this is a complete new question, isn't it? 😉 There are approaches you can use. First I suggest you assign the traveler to a label with a new name like resource at the token in the Event-Triggered Source. Then you need not duplicate the processes anymore.

27457-pf-event-source-assign-token-label-resource.png

You need a condition up on the process knows, which transporter stops. I would add a label at the transporter object called like shouldStop but any other name fits, too.

The process flow needs a Decision Activity to test the condition to delay or not. The condition reads the label at the transporter and compares it with the value that the condition becomes true or false. On true for example the delay occures, on false not.

27458-pf-decision-shouldstop.png

0 Likes
Message 6 of 9

zhang_z3
Not applicable

Sorry, I still don’t understand, I want every transporter passing through this network node to stay for a while. Which vehicle passes which stop.I hope you understand what I said .please help me

0 Likes
Message 7 of 9

joerg_vogel_HsH
Mentor
Mentor

That is done conditionally by a decision activity testing a label at transporter of matching value. Additionally I test the direction of entering the network node. And I set the delay controlled by percentages that there is always a delay possible. You have set a delay of 0, then the transporter has got randomly the opportunity not to stop at all. Here at this question I won't comment further anymore. Attached a model of changes > pf_dlay_condition_nn_JV.fsm

0 Likes
Message 8 of 9

joerg_vogel_HsH
Mentor
Mentor

@Zhang Z3, feel free to ask new questions.

0 Likes
Message 9 of 9

zhang_z3
Not applicable

Thank you very much for your answers

0 Likes