Cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with simulation time

Dear community,

 

i've found a problem in my model.

as you can see belowModel.png

 in the green field there is my productive cycle; it's a normal manufacturing company with cnc machines.

I've made some code to collect the flow times of all the MUs passing through the production line.

Today i've seen all the MUs passing through CNC (the first 2 are higlighted but they all share the same problem), that is the first stage, are not recording their cycle times.

I've noticed Event controller is not running because i load the materials for the CNC by the init method.

I used the init method because i need a store for placing materials.

I think that probably simulation times starts after init method has finished.

What i don't understand is why simulation time "skips" the whole CNC stage and not just the loading of materials.

However the questions are: how can i solve this problem? or eventually, how can i start the event controller, and so simulation time, in a precise moment (for example after it has finished loading materials)?

Thank you.

 

 

 

5 REPLIES

Re: Problem with simulation time

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
I guess you create the MU on the first CNC ; if you create a MU on a block, the MU is ready for exit (no processing time). Instead you need to create the MU on a helping block and move them from there to the first machine (e.g. command move).Then the first machine will consume the processing time.
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Problem with simulation time

Dear Steffen,

 

i was thinking the same thing but it's not working.

In attach you'll find the model modified with the command move just for the first CNC; as you can see it's not working.

Thank you for your patience and help.

 

Re: Problem with simulation time

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
but you delete the MU in the entrance control of the CNC and create a new one on the machine, so there is no procTime until exit the block, your logic doesn't make sense; the only place, where you can "exchange" the MU is the buffer upstream of the machines
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Problem with simulation time

Dear Steffen,

 

now i understand the problem; but the logic has been done around the real production line.

The MU in the buffer (Bi8) are the raw materials, they enter in the CNC where, at the exit, you will obtain the worked material.

If i delete the mu representing the material in the buffer and i create the worked material there it's a bit strange picture of reality.

You will surely already faced a problem like that, how did you resolve it?

Thanks.

 

Re: Problem with simulation time

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
I use only one MU (class) and change the attributes and icons depend on the production step
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net