question

Kadircan T avatar image
0 Likes"
Kadircan T asked Kadircan T commented

Assigning and Updating Chute Capacity

Chute_Cap_Update_img.pngChute_Cap_Update_v7.fsm

Hi,

In the attached model, at the beginning of the simulation, I assign capacities from the empirical distribution to the Chutes [1], and after the whole process is complete, the staff inserts a new sack and the Chute capacity is updated [3]. What I want to do is to create a token for each chute when 70% of the assigned Chute capacity is reached at the start of the simulation, but I cannot refer to the label I created in section [1] in the event triggered source [2]. I've only written a number there as a representation right now. I would appreciate your help.


FlexSim 22.2.2
event triggerlabel value
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
1 Like"
Felix Möhlmann answered Kadircan T commented

Whatever value you enter as the target amount will be evaluated only on model reset and stay fixed after that. So to my knowledge it is not possible to use this event with variable target quantities.

You could simply listen to any entry into the chutes and then check if the capacity was reached in a Decide activity. If not, directly sink the token again.

To prevent having more than one token enter the Process Flow proper, you can then use a list, paritioned by the chute objects, with a max. partition content of 1. Any surpuls tokens are then also send to a sink.

1670838793117.png

chute-cap-update-v8.fsm


· 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.

Kadircan T avatar image Kadircan T commented ·

Thank you so much it helped me a lot :)

0 Likes 0 ·