I'm looking for method to start process in one station only when next station is empty.
For example below situation: "Assembly1" can not start when "End1" is full (during the process) but "Assembly" can works.
The real reason is that "Assembly1" and "End1" are the same physical station but it is possible to preform these two operations in one time.
Is there any way to do that?
Thank You in advance for Your help!
Solved! Go to Solution.
By locking the entry of assembly1 on entry and unlocking the assembly1 entry on exit of end1 with
Don't forget to set entrylocked := false at the beginning of the simulation run ( e.g. in an init method)
You lock the 1. station when the MU enters the station through the entry method
e.g. ?.entranceLocked :=true
and you unlock the 1. station , when the same MU leaves the 2. station through
the station2 exit method (deselect check box front, select check box rear )
e.g . station1.entranceLocked:=false
In the init method add also
so that at the start of simulation MUs can enter the 1. station.
You can put that code as exit control of your second station e.g. "End1" or "End2" or as entrance control of your drain.
I’m facing a similar problem as you did with locking the first station when the next station is occupied. However, the given solution does not work for me. What code did you exactly use? Did you use a method of a self-entrance at the control tab of the station?
Although it has been a while since you had this issue, I hope you can help me.
Thanks in advance!
the way it works, is with a self entrance method and
a self exit method at a later (end) station in the line. (s. previous posts )
If you require additional support concerning your issue please open a new request,
as this one is already marked as "solution"
and therefore might not get the required attention.