Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

dismantle station generating MUs via method

Hello community mates,

 

i've one question; as you can see from the image below Dismantle.png

 

 

Source produce a MU called raw that enters in the dismantle station.

"TabArt" is the table of all the articles (articles "a","b" and "c") that factory can produce. "TabDom" is the customer demand (in the image above is just the article "a").

"a" must produce 4 MUs of Entity1,"b" must produce 2 MUs of Entity2 and "c" must produce 1 MUs of Entity3.

What i want to do is this (as in the method): "TabDom" will be compared with "TabArt" to understand which article has to be produced (in this case just "a").

The MU Raw enters in the Dismantle station and, in this case, will be produced two types of MUs: 4 MUs of Entity1 goes to "StoreArt" and 1 MU of Waste goes to StoreMat. Raw it's deleted.

And so on if i choose a different article in "TabDom".

I've tried to do a simple model (in attach) but it's not working.

Any help is appreciated, thank you.

 

5 REPLIES
Solution
Solution
Accepted by topic author francescopoli
4 weeks ago

Re: dismantle station generating MUs via method

Hi francescopoli,

 

I have modified your model through your description. I hope the attachment can help you.

 

Best regards!

 

Tao Yifei

Re: dismantle station generating MUs via method

it is perfectly working, thank you.
Just one question for better understanding; why ?.cont.delete after creating the MU waste?

As i know that code deletes the MU that is on the anonymous identifier ?, in this case the dismantle station.

But there is no MU after the waste one.

Thank you again 

Re: dismantle station generating MUs via method

Hi francescopoli,

 

I am happy to help you.

We using the code "?.cont.delete" to delete the MU "Raw" in dismantle station.

 

Tao Yifei

Re: dismantle station generating MUs via method

Ok but how do you know you are deleting the MU raw and not another one? 

Re: dismantle station generating MUs via method

You can execute the model or method(createmus) step by step.  There is only one kind of MU(Raw) in the workstation.