user15748795
user15748795

Reputation: 29

how to let pre-specified numbers of agents staying at an area at the beginning of simulation waiting for pick up?

I would like to specify a fix numbers of agents that are shown at the beginning of the simulation so I can move them to the other place. However, the agents are generated continuously... Do you know how to make a pre-specified population and let them wait at an area instead of generating them continuously ??

Thank you!

Upvotes: 0

Views: 61

Answers (1)

Emile Zankoul
Emile Zankoul

Reputation: 2213

Set the source properties as follows: enter image description here

Then, in the on startup field of main, type the following code:

source.inject(50);

enter image description here

Upvotes: 1

Related Questions