question

Flavio Lopes avatar image
0 Likes"
Flavio Lopes asked Higor Noronha answered

Starting Process Time only after to total capacity is achieve

In this simulation a have two Test Station, one with the capacity to receive four units and one with the capacity to receive five units.

I want to load the each one of then with the respectivy capacity, but only start the process time when the total capacity is achieve


I tried to achieve that using custom code, but didn't find a way to make it work


Funcional Test Automation - Step 2 - Loading Machine On Test Station.fsm

FlexSim 25.0.0
processs flowprocessortime
· 3
5 |100000

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

Higor Noronha avatar image
0 Likes"
Higor Noronha answered

Good Afternoon, @Flavio Lopes .

I am sending you a model based on the one you provided. To help with your doubts, I removed the custom codes and added an auxiliary queue for each TestStation. This queue will help reduce the risk of the TestStation starting without accumulating the correct number of units.

In the process flow, I only modified the container "Loading POS on Test Station." There, I leveraged the beginning of your model. In "Assign Labels: Loading Quantity_Define Priority," I changed the "LoadingQuantity" label to use the "TestStation" label, which takes the value of the destination TestStation.

After that, I added a "Decide" block that determines, based on the "LoadingQuantity" label, which auxiliary queue the token (and consequently the item) should go to. There, it will wait until the correct number of units has accumulated before proceeding to the TestStation and completing the process.


funcional-test-automation-step-2-loading-machine-o_autosave.fsm


5 |100000

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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Flavio Lopes commented

My problem is, that a processor is not suited to collect items by a default method. Each time you move an item into a processor, the flexsim engine iniaties a sequence of events automatically: On Entry, Begin Setup, On Setup Finish, Begin Processing, On Process Finish. I need to collect items somewhere else. Once a collected batch gets completed, Then I can move all items into a processor. Attached model moves items for collecting into the model space.

processor_does_ 5_items.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.