batch size

batch size

Sawanya_khomsan
Not applicable
128 Views
5 Replies
Message 1 of 6

batch size

Sawanya_khomsan
Not applicable

[ FlexSim 22.2.0 ]

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?

0 Likes
Accepted solutions (1)
129 Views
5 Replies
Replies (5)
Message 2 of 6

jason_lightfoot_adsk
Autodesk
Autodesk

Where is Transporter4?

How many can the transporter 3 carry at once? Is that what you're referring to as a batch, or is that a release process elsewhere?

Can you point us to where you've tried to implement this?

0 Likes
Message 3 of 6

Sawanya_khomsan
Not applicable

I apologize, I would like to clarify the scenario. Are you saying that you want Transporter 2 to take the goods and place them in Area Q according to a randomly determined quantity? Afterward, Transporter 3 can collect those goods, based on the quantity randomly set for that cycle, and load them onto the truck. Transporter 3 picks up one item at a time, meaning one item per batch. Is that what you mean by "batch"? In this case, you're setting a specific quantity for each batch, but the batch size changes with each cycle. How should you handle this situation?

0 Likes
Message 4 of 6

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

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.

0 Likes
Message 5 of 6

Sawanya_khomsan
Not applicable

hank you very much for the advice. Could you please provide a link for me to study the documentation regarding the usage of "breakTo"?

0 Likes
Message 6 of 6

jason_lightfoot_adsk
Autodesk
Autodesk

https://docs.flexsim.com/en/23.2/Reference/TaskSequences/TaskSequenceTypes/TaskSequenceTypes.html#br...


This describes the break task which is used in the default 'use transport' created task sequences.

Please search the documentation for terms you are interested in.

0 Likes