07-23-2015 02:18 PM
Hello everybody,
I realized that some of simulation examples of Bangsow sites are using "Init Methot" to insert a MU or transporter into the modeling.
I would like to know how is the procedure to do that, can we help me?
07-23-2015 03:04 PM
Hello Gabriela,
you can use the method create to create an MU on any other material flow object. So for example use
.MUs.Entity,create(SingleProc, 1, 1);
to create a MU on a SingleProc.
Hope this will help you.
Reagrds
GG
07-23-2015 03:19 PM - edited 07-23-2015 03:24 PM
Hello Gabriela,
the eventcontroller calls all methods with the name init before starting the experiment. So you can use methods with the name init to initialize your simulation. Sometimes it is hard to start with a complete empty model (perhaps you need special controls for this case). If this case never happens in reality, it is easier to fill the simulation with MUs before starting the experiments. I also use init methods to build up more complex logistics elements like robots, turning elements and so on, that consist of a track and transporters. If you define the transporters as a user defined attribute in the track, you can use a init (also as a user defined method-attribute) to initialize the object with all elements.
btw: to create an init method, just insert a method into your frame and rename it to init. Plant Simulation changes than the icon.
Best regards,
Steffen Bangsow
Steffen Bangsow freelance simulation specialist web: www.bangsow.eu mail: steffen@bangsow.net | ![]() |