Cancel
Showing results for 
Search instead for 
Did you mean: 

MUs from different sources processed through one Machine, the MUs as batch would be brocken

Creator
Creator

deal all, 

for my master thesis I need to solve one problem in Plant Simulation :

I have two sources, which produce different MUs with different numbers as a batch. Wenn MUs from both sources are processed through one machine (SingleProC), the individual batch would be lost and get mixed with other MU types. I want to make every MUs type as a batch to pass the SingleProC and not mixed (so as to minimise set-up time)

Is there any way to solve this problem?

 

thank you very much in advance!

regards

Dan

batch mixed.png

2 REPLIES

Betreff: MUs from different sources processed through one Machine, the MUs as batch would be brocken

Gears Phenom Gears Phenom
Gears Phenom

Hey,

I guess the simplest way would be to use a Pull-Control for your SingleProc; it could look something like this:

-- @,?: the object the control was called for
var blockList : object[] 

-- get list with waiting MU's
blockList := ?.FwBlockList
		
-- at simulation start, let any MU go first
if (?.isSetupFor = "")			
	?.unblock(blockList[1])
	return
end

-- else: find MU with same type as current setup
for var i := 1 to blockList.Dim
	if (blocklist[i].name = ?.isSetupFor) 
		?.unblock(blockList[i])
		return
	end
next

-- still here? then setup is unavoidable, let the oldest MU go first
?.unblock(blockList[1])

Check out the attachment to see the result. Regards,
Alex

___________________________________________________________
Alex Dilg, Consultant at SimPlan AG (www.SimPlan.de)
This post was good and/or helpful to you? Please provide some Kudos, thank you!

Betreff: MUs from different sources processed through one Machine, the MUs as batch would be brocken

Creator
Creator

Hello Alex,

 

thank you so much, it works perfectly!

 

best regards

Dan