I have another problem that I cannot figure out. I would like to simulate a boiler that heats up raw ingredients for 3 hours to a certain degree Celsius and then cooks them for 3 days. So I inserted two SingleProcs, one after another to simulate first the heating up and after that boiling. They have to be separated because of the needs I have for the entire simulation. But now I need to tell the program that when cooking process is going on, the heating up boiler should be blocked, because now when the heating up is done, the MU moves to the cooking process. Meanwhile the source creates a new MU which enters the heating process where it is heated and waits for the cooking to be done, which is total unrealistic. So what I need for the MU to wait for the boiler to be empty (the cooking process to be done) before it can enter the heating process.
Thank you for your help in advance.
you could lock the entrance of the heating process while boiling.
You can make this with an entrance-control in the heater: heater.entranceLocked:=true;
In the exit-control (rear) of the boiler: heater.entranceLocked:=false;
You need then a method init for unlock all heater: heater.entranceLocked:=false;
freelance simulation specialist
Steffen_B was just ahead of me.
But I would also put the objects in a Frame of its own and do so in the library. You can give the frame a nice icon. You might also tweak with the Exporters (energy capacity), since heating up may use different rates of energy than boiling. And you could assign different energy profiles to the singleprocs to complete the picture(v11 and higher).