I have attached a model in which i want to define user defined attributes in the MUs so that the MU's fail randomly at either singleproc or singleproc1 after going at electrical test the mu is transfered to singleproc1 or to singlerpoc (by transfer station) or to drain if it is not failed. I dont want to use a table file for it
Solved! Go to Solution.
you can add an attribute to Singleproc and Singleproc1 to define the portion of parts which will be failed, for example FailPortion
add an exit control to SingleProc and Singleproc1:
In this example, 5 percent of the parts will have an atribute "isFail" which will show if the MU is failed or not.
In ElectricalTest, you also can add an exitControl which checks, if the attribute is defined at the MU and if defined, if this attribute is true. In this case move the MU to a repairing station, otherwise to the drain.
Hope this will help you.
I added the methods to singleproc and singleproc1 and I also added a method to the ElectricalTest.
In the classlibrary, the Entity1 has got an attribute 'isFailed' of type boolean. This attribute is set by the Singelprocs.
I recommend to use a newer version of Plant Simulation, because Versio 9 is no longer supported. The attached model was edited in Version 10.