Cancel
Showing results for 
Search instead for 
Did you mean: 

Worker moving multiple Parts

Creator
Creator

Hello,

 

i have a short question.

In my Simualtion, the Worker Should carry parts away, when the Buffer count gets over 100 Parts.

Then The Worker should take all Parts (100) and bring them to another Single Proc where a worker is doing maual working Seps.

How is it possible, that the Worker carry 100 parts at the same time, and the Buffer is empty?

 

Thank you, best Regards

Exo.

 

 

15 REPLIES

Re: Worker moving multiple Parts

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

First you need to prevent a worker call, until the buffer is full.

This you can do using a exit control in the buffer, where you move the parts depends on a e.g. variable value.

Then you need to observe the stock in the buffer and change this variable, if the buffer is full. Then you can move the first part to call the worker. If the buffer is empty, you need to re-set the value of the variable.

See the example, I use an observer control for the attribute to set unload to true/false and a exitcontrol  to move the parts.

 

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Worker moving multiple Parts

Creator
Creator

Wow!!!

Awesome, many thanks!

 

No I stuck at the next Step of my Model...

I Have many manual Process Steps, that menas the Worker have to stay at the Workstation until the Work is done.

 

I want, that the Worker takes the 100 Parts and bring them to the next Station. Then, he should stay there, until every Part is done (manual process step).

Then he should get the next 100 Parts from a Buffer and do the same. He sohuld only care about his Station.

 

And after he finished 100 Parts, the next Worker should get the Parts and bring them to his Station and do his manual Work.

 

Thank you, Best Regards!

 

 

 

Re: Worker moving multiple Parts

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

for processing you need to activate the importer in the SingleProc. If you have different workers, you can duplicate the worker in the class library. Assign to each worker another service. Add all the worker to the creation table of the worker pool. Then assign the service to all stations, the worker has to operate (exit strategy + importer).

 

I have adjusted the example. The unload attribute is now a user defined attribute of the buffer.

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Worker moving multiple Parts

Creator
Creator

Many Thanks Steffen!!!

 

Im sorry for my skills... But i have another Problem.

I tryed to rebuild your Plant.

But The Worker dont move when Buffer capacity is 100 parts.

 

What is the Problem? I think i made a 100% copy of you Version.

 

Thank you, Best Regards

 

Re: Worker moving multiple Parts

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
Method is the observer-control of buffer: see Buffer - Tools - Edit Observers...
Here you need to select an observable attribute (nummu) and the method, that is called, if the value of this attribute is changed.
Buffer should have only a capacity of 100 (not -1 for infinity)
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Worker moving multiple Parts

Creator
Creator

Wow, many thanks!!!

 

Is ist hard to define different capacitys for the different stations?

I mean for example, that the first worker take the parts from Buffer1 when the capacity is 100.

But the second Worker should get these Parts when 20 of them are done?

Because then the second Workstation dont need to w8 so long, until 100 Parts done?

 

Thanks a lot Steffen B.!!

 

 

Re: Worker moving multiple Parts

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

in this case you need to replace the fixed value 100 in the method by a variable or an attribute; I have included a user defined attribute workerLoad in the buffers and set there the values. In the method I have replaced the fixed value by the attribute:

 

(attribute: string; oldValue: any)
is
do
	if ?.numMU=?.workerLoad then
		?.cont.move; --call worker
		?.unload:=true;
	elseif ?.numMu=0 then
		?.unload:=false;
	end;
end;

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Worker moving multiple Parts

Creator
Creator

Awesome!

Many Thanks!!!

Re: Worker moving multiple Parts

Creator
Creator

Hello,

 

my Model is growing.

I have an Assembly Station and i want with the init-Method, that the amound of assembled Parts are Variable.

So i can change the amound of assebmled Parts before every Simulation.

 

See the attached picture, i want the 24, as a global Variable.

 

Thank you, Best Regards