Cancel
Showing results for 
Search instead for 
Did you mean: 

the worker "forgets" to take entities

Valued Contributor
Valued Contributor

Hi,

in my model, the worker has a capacity of 4.

He must take pieces from the buffer "Totakedessert" and transport them in the location where the the customer that requested the desserts (entities) is located. Till here it works. 

 

I get a problem when the number of desserts is higher than the worker's capacity. 

The worker transports 4 desserts and then does not come back to take the others. He "forgets". I guess there is an interference with the method int he customer location, but I cannot find a solution.

I even tried to put in the buffer "Totakedesserts" 4 pieces at time and let other pieces enter when it is free, but nothing.

 

I get the problem between Simtime 45:10 and 45:16 in the model attached here.

 

It would be great if you could give a look into it. I'm blocked.

 

Alessandro

1 REPLY 1
Highlighted

Re: the worker "forgets" to take entities

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi Alessandro,

 

The problem is the method "CleanTableDessert" which is called when the worker has delivered the first 4 desserts and is on the way to get the rest.

The check of numMU is not enough, the worker should do an other work only when he is not mediated.

@.getExportedServices(t);
if @.nummu=0 and t.ydim =0 then ...

would solve the problem.

 

Kind regards

Karola

------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.