question

Gilberto A S avatar image
0 Likes"
Gilberto A S asked Matthew Gillespie commented

How to control the quantity of create person or source?

almostdone4.fsmI only want to create 8 people that will sit in the chairs and then go to the sink, but I haven't been able to stop or control the quantity of people being created at the source or stop them at the queue.

FlexSim 19.0.0
quantitycreate person
almostdone4.fsm (638.7 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.

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

You are currently using an Inter-Arrival Source. This activity continuously creates tokens with a certain amount of time between tokens. If you want to create a specific number of tokens you should use the Schedule Source or Date Time Source.


sources.png (7.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.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Matthew Gillespie commented

A source has got three arrival styles. The standard active is interarrival time. You You can choose scheduled or arrival sequence, too. Typically you would select scheduled arrival. At time 0 you set an amount of 8 and that’s it. You can close in the OnCreation trigger the output of the Queue and the items stay at the as long as you don’t open output by another trigger for this object. You can do this by an ingoing message in the OnMessage trigger.

· 1
5 |100000

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

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

He's using an Inter-Arrival Source in Process Flow, not a Source in the 3D View.

1 Like 1 ·