question

fiz avatar image
0 Likes"
fiz asked Felix Möhlmann answered

Run production orders according to schedule

Hi, I am working on a model to simulate operations from production orders. currently I have setup the model such that it first imports the following production orders from excel:

1743830217054.png

From excel import + post import code, I am able to convert these orders to tokens. From these order-tokens, I created child tokens which represent items of each respective order according to order quantity from the following process flow
1743833269011.png

The child tokes or "order items" are then split into respective production area process flow.

These child tokens are then intended to be run on their own production area which consist of 2 processor: FBOX Assy and ABOX Assy.


The individual processor will then process each item, which has the unique parent token label identifier "12NC" which will relate to the global table (FG_DESCRIPTION) to get the cycle time to process it.


1743836437251.png

for now, there are only 3 production area 9000.11,9000.09 and 9000.12.

1743836413672.png


I would like to subsequently scale up to 15 production area with the simulation able to take in many orders and run it as schedule. the orders should not be mix up with one another such that once an order is run it should run to complete even the next order is schedule to run it will be delayed.

from the completed scale up simulation, i would like to know the delays in orders, order end times.

1)is the method that I started with the right method with child tokens?test.zip


2)how do i go about this simulation so that it is scalable easily, and should I use only Process flow or model base function. as I do not want to mix up the function such as cycle time of the processor in the model or process flow.


would really really be helpful if you could answer with a small-scale solution continuing from my model. Thank you!

FlexSim 23.0.15
production linescheduled arrival
1743836413672.png (494.9 KiB)
1743836437251.png (118.8 KiB)
test.zip (66.3 KiB)
1743830217054.png (114.1 KiB)
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
0 Likes"
Felix Möhlmann answered

For the most part your model is just missing a way to assign an order to a work area. I would use a list for this.

Another couple things I would change in the model:

- The creation times in the souce need to be sorted. If you don't want to have to worry about that, create all order tokens a time 0 and delay them until the order start time.

- Though they are technically numbers, I generally treat ID values like the work center names or "NG_12NC" values as strings. That's personal preference though.

- What I would suggest you do though is change the names of columns which later become labels to not contain any spaces, so you don't have to use the "token.labels["labenName"].value" syntax all the time.

test1_1.fsm

In the attached model I use the fact that the names of the queues inside the work areas are always the same. I only pull the center from a list and reference the rest of the objects by name. If that is not always the case, you can use labels on the planes or centerport-connections with a fixed order to make those references instead.


test1-1.fsm (59.0 KiB)
5 |100000

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