question

Doris C avatar image
0 Likes"
Doris C asked Doris C commented

Supplying taskexecuter twice

Hi,

I want a control that, at the confluence of two paths, sends 2 taskexecuters from path 1 and 2 taskexecuters from path 2.

What I've done is utilize a wait for event to wait for 2 taskexecutors and then try to move them both at once.

But that doesn't work.

please help me, thanks for your kind.

wait for event.fsm

FlexSim 19.0.0
wait for eventproces flowtaskexecutors
wait-for-event.fsm (66.9 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Doris C commented

Something like this?

intersection-order-fm.fsm

Tokens are created on the pre-arrival event of the control points in front of the intersection. These tokens then stop the task executers at those control points and push themselves to a list. A different token pulls them off the list in the desired order (by the "Path" label on the token). The pulled token then resumes the travel of the task executers.


· 3
5 |100000

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