question

unai avatar image
0 Likes"
unai asked Jason Lightfoot commented

How can I use the source with the parameters?

Hello,

I want to do the next: At time 0, I want my source to create a batch with the quantity specified in the 'Batchsize' parameter created in the parameters section, so that I can use the experimenter with different batch sizes. I want my items to all exit at once at time 0.

Example.fsm

Thank you.

FlexSim 22.1.4
sourceparametersbatchsize
example.fsm (146.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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jason Lightfoot commented

Set the source to use an arrival schedule and bind the parameter to the respective table node that contains the quantity data.

capture1.png


Or use a "Create Objects" activity in Process Flow and use the parameter (Model.parameters.Batchsize) in its quantity field.


capture1.png (57.3 KiB)
· 2
5 |100000

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

unai avatar image unai commented ·

I am trying to do it using "Create Objects" in the Process Flow but it doesn't create any object.

doubt.png

0 Likes 0 ·
doubt.png (28.9 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ unai commented ·
You need to invoke the process - the easiest way is to create a scheduled source in your process flow (to create tokens that pass through activities). Please do the tutorials.
0 Likes 0 ·