question

sawanya khomsan avatar image
0 Likes"
sawanya khomsan asked Jason Lightfoot edited

batch size

Input model 1_2222AB.fsm1692254228333.pngI would like transport 3 to place the goods in Area Q according to the randomly determined quantity. Once that's done, transport 4 can pick them up and place them in the main truck.

Setting a specific quantity for each batch, but the batch size varies between cycles. How should I address this?

FlexSim 22.2.0
3dwarehouse
· 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.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Either dispatch the tasks using process flow logic which is easy for you to visualise and test or edit the breakTo property for the transporter such that when loading from that Queue/station it returns null when reached a random capacity limit (signifying it should not take another item). Use labels to store the next random capacity limit when it loads the first item (test if current.subnodes.length==1).

We encourage students to research and attempt their own solution, so look into the documentation for the use of the breakTo and to familiarise yourself with FlexScript. You can also look at the templates available for the breakTo requirement and the code behind them to see how to accomplish this.

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