Showing results for 
Search instead for 
Did you mean: 

Sequence optimization


Hello everyone,

I'm trying to test the GA tool on a test model before importing it in a real big model.

I can't understand how to use it. Basically I have a production list with a sequence of batch of different products, I would like to understand which is the best sequence.
Each operation has different proctime and setuptime. Failures are active.

If someone has time to modify my model setting-up the GA wizard he would be very helpful (or at least give me some tips...!)



Re: Sequence optimization

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

the use of the GA is quite easy: press the shift key and drag the creation table of the source to the GAWizard, than you drag the drain to the GAWizard, select the attribute for the fitness test.


You need to set a end in the eventController e.g. 100 days, the sorce should produce the sequence cyclical.

Steffen Bangsow
freelance simulation specialist  

Re: Sequence optimization

Siemens Genius Siemens Genius
Siemens Genius

Hi Alessio,

attached you will find a slightly modified version of your model.
Here, I have added PP by holding the shift-button and Drag&Dropping it onto the GAWizard. By doing this, the GAWizard recongnizes that you want to optimize the sequence of the table.

For the fitness-calculation, I have entered Eventcontroller.SimTime into the table and set the optimization direction to minimum. To end each simulation run, I created an EntranceControl at the drain, that will stop the simulation once the number of deleted MUs is equal to the number of created MUs at the source.
Depending on what values you want to optimize you can alter you fitness calculation by e.g. entering additional values or a method.


Best regards,


Re: Sequence optimization

Thank you very much guys, I'll have a look at the modified model and maybe I will ask you further questions. Alessio

Re: Sequence optimization

Hi Tim,

My name is Kharisma.

I have a similar problem with Alesio. But i cant open your attachment file, because my software version.

May i ask the same the program with the lower version please.
By the way i use v.12.0.0.



Re: Sequence optimization

Hi Tim,


Thank you for the answers.


I am working on a similar model, and had a question on algorithm. if I set simtime for fitness calcualtion, what exactly the simulation optimizes? Does it provide the best sequence for minimum time to run through all parts provided? or what basis the sequence is optimized?


Your thoughts here would be helpfull. 


Thank  you!