I am modeling a permutation flow line in plant simulation. I attached the file to this post and added the corresponding labels in brackets.
My problem is that I want to include standby redundancy (standbyRed) for the second machine (mach2). To do so I implemented a method (activateStandby). When I manually set machine 2 to failed state everything works perfectly. The preceding buffer (Buffer1) gives all MUs to the redundant machine. Nevertheless, when I fail machine 2 by defining a failure profile (compare to profile in attachment) the method will not work. The only possible explanation I can imagine so far is, is that the failure profile is not failing machine 2 for some reason.
Help is greatly appreciated, thank you very much.
Solved! Go to Solution.
Thank you for getting back to me so quickly!
I defined the failure profile as you recommended but the first buffer (buffer1) will still not switch to passing the MUs on to my redundant machine (StanbyRed). Any ideas what else the reason could be?
Further, I used the singular failure because I want to model downtime due to maintenance work.
I gave it a try with process times of all machines equaling 1:00, failure start at 4:00 and failure duration of 1:20:00. Still it is not working. When I check the statistics for the standby machine after 1:40:00 it says 70% Waiting, 30% Pause, 0% Working.
what happens: the failure starts after the calling of the exit control, so the condition was false; then the failure starts --> the parts keeps on the machine.
This will not happen, if you set a waituntil to wait for defined states of the machine.
is do waituntil mach2.failed or (mach2.empty and mach2.operational) prio 1; if mach2.failed=true then @.move(StandbyRed); else @.move(mach2); end; end;