Cancel
Showing results for 
Search instead for 
Did you mean: 

Exit stategy of MU containing Entity vs not

Experimenter
Experimenter

Hey, 

 

I have a problem with writing a method for dividing up MUs (container) containing an entity and those MUs who has no entity in a Single process.  My version PS 13 does not work with @.cont.name commands so I don't know how to do this. 

 

I want Line looks like this

 

Previous station contains source of the Main MU and goes by percentage to an singleProc1 and to the assembly station where an entity is assembled in Assembly.

 

What I want it to look like:

 

From Assembly to SingleProc2

From SingleProc1 to SingleProc2

SingleProc2 --> Drain (if MU does not contains entity)

SingleProc2 --> SingleProc3 (if MU contains entity)

 

Please help

1 REPLY

Re: Exit stategy of MU containing Entity vs not

Legend
Legend

Try the following in the front exit control for SingleProc2:

 

if @.cont = void

     @.move(Drain)

else

     @.move(SingleProc3)

end

 

This will work if all the MUs exiting SingleProc2 are containers.  If not, you'll need to add some code to check for MU type as well