question

khadijam avatar image
0 Likes"
khadijam asked khadijam commented

Creating child tokens from label / Batching label

Hi,

I have a model (see attached model and picture to further explain) of trolleys entering an autoclave. The total number of trolleys is specified for each individual product and assigned as a label. The challenge I'm having is that the autoclave can only take 6 no. trolleys at a time. How can I take the total number of trolleys and release only 6 at a time to the autoclave?

Kind regards,

Khadija


Child Token and Label Query.fsmChild Token and Label Query.PNG

FlexSim 23.1.1
resourcechild token
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

Vinay S avatar image
0 Likes"
Vinay S answered khadijam commented

Hi @KhadijaM,


I modified your model, I added a subflow and moved Autoclave delay time inside it.

Check this modified model solves your problem.child-token-and-label-query Mod.fsm.

Also check the formula I used to consider no of child tokens to be released to subflow.

1695731407918.png


· 4
5 |100000

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