I like to clarify if the 'waituntil' shall be used or not in my case.
I have model with tools to enter machines located on a shop floor.
Each tool has a list machine which are compatible.
If all machines are occupied, I setup the 'waituntil' code line (found in a discussion) and run it with the 'execute' command.
This way of control can be made differently.
Each machine, getting available when the actual tool is removed, can trigger a control code, e.g. setting a Boolean variable which is linked to an observer which set the MU destination and 'move' it.
I have already used this kind of control on another model.
The question is if the 'waituntil' statement is 'bad' for the performance of the simulation, .. PC, .. graphics ?
As I could not find an answer in the existing discusssions, I like to rise this general question.
Solved! Go to Solution.
Yes, the status of boolean variables has to be checked on regular base by PlantSim.
It's quite nice to create the waituntil command 'phrase' and 'execute' it. Finally assign the destination to the MU and move it, means the broker send the worker to catch it and drop at its destination.
I have received a new station for my simulation work. I was experiencing slow response with my previous station, specially related to graphics.
That's why I opened a few discussions.