question

Vladimir N avatar image
0 Likes"
Vladimir N asked Vladimir N commented

Looping through different production orders

Hello to all,

i might have a difficult question, perhaps with no answer.

I have a global table with production orders - around 200 orders. They all have various cycle times and have to run through 2 stations (with different processing speeds) - for example 1 item might take 250 seconds to process on station 1, 280 on station 2 and so on. There a lot of these combinations. Is it possible to create a loop which would run all possible combinations through the model, and see which one takes a shortest time to complete?

If anyone had an idea, I will be happy to hear it. Thanks in advance.


FlexSim 20.0.10
production ordersproduction scheduling
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

Krzysztof J avatar image
0 Likes"
Krzysztof J answered Vladimir N commented

Can you provide us some data so we could play with them?

Anyway - checking all possibilities might be to hard and time consuming. My idea is to use either experimenter (where you will try only some of possible scenarios) or optQuest.

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

Vladimir N avatar image Vladimir N commented ·

Hello Krzystof, Model_test.fsm

of course, sorry, first time posting anything on this forum (I recently started using Flexsim). In the attachment is my model (as of now). My original idea was to take original order list (i had to change product description so it's always 'a'), first multiply with ordered quantity (as every product has to be looked individually), then write it to a global table from which it would be used. Plan was to manipulate 'workorder' label i assigned and every time to manipulate one token at a time and re-run all combos through the process part. After the process plan was to batch them to original quantity (190) and to write a finish time into a table (combination completion time).

As I said, any ideas are welcome. :)

0 Likes 0 ·
model-test.fsm (39.3 KiB)
Krzysztof J avatar image Krzysztof J commented ·

Can you specify this problem? What you want to get - sequence or what should be processed where (on which machine)?

And on which stage of process flow you want to make a decision about what I pointend out.

0 Likes 0 ·
Vladimir N avatar image Vladimir N Krzysztof J commented ·
Hello Krzystof,

idea was to see if it is possible to run the model with all possible combinations. I managed to something, by adding random delays to tokens before sending them back to entry of process - this would give them different arrival sequences. At the end of the process I wrote down in table array of production values and time required to complete it.

Problem is, there are simply too much combinations (in order of 10 on 50th). I let the model run until 1000000 combinations and it took it 1hr... so i calculated it is possible but to wait every time for 1 week and then you need 300gb to export result to excel :) So i gave up on this approach and went to try manually to optimize process by looking at process difference when each different type is entering. Anyhow, thanks and hope next time I have smarter question :)

0 Likes 0 ·