Basically, I want the "Milling" station to get the failure time and duration from the TableFile. I am a beginner of Plant Simulation. I was wondering does anyone know some codes to make it work in the model. I have attached the model, which is from the Help.Thank you very much.
Solved! Go to Solution.
Have a look at the attached model.
I added two methods, Init and FailControl.
I also modified the first duration value in the TableFile because was 30 minutes, I think you meant 3 minutes, don't you?
The exit control was only activated by the source and by the packing, so it didn't work. Now it's activated also by other stations.
P.s I'm sorry Simulator, I didn't see you already replied.
Thank you so much. However, I have two problems here.
1. Can Entity A wait in a buffer if Drilling_A has failure? Drilling_B can not operate Entity A.
2. Can the failure happen in the "Milling" station? If Milling has failure, every entity wait in the queue? I think I should add a buffer before "Milling".