Cancel
Showing results for 
Search instead for 
Did you mean: 

worker assignment

Pioneer
Pioneer

I'm trying to model some hierarchy in a simulation. In this simple model, there are three kind of workers -a boss, one manager and two operators-. There are three phases to complete a job, receive a job, process the job and finally a final check. The reception can be done by the boss or the manager, processing the job can be done by all the workers and the final check has been done by the boss.

 

I have been trying to model this with services for each worker, but I think this is not the correct way. Can someone help me how to model this situation? 

4 REPLIES

Re: worker assignment

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I think it is the right way, but you need some additional settings in your model. The different worker shold offer differnt services, if a worker can offer more than one service, than enter more than one service in the services table. In the importers request services depend on the work to do. The broker mediates than the first free worker, that is offering the request service.

 

If you want to change the way, how the broker mediates, you can add a control in the broker (e.g. cheapest first)

 

This is the easiest way and so the worker of Plant Simulation is working.

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

Re: worker assignment

Pioneer
Pioneer

Hi Steffen,

 

Thanks for your replySmiley Happy I have been modifying the modele (manually), but I am a beginner with simtalk and not able to program it. Can you help me a little bit?

 

Thanks a lot in advance,

 

Eelco

Re: worker assignment

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

almost right,but:

 

if you assign in the importer 3 services, you need 3 Workers for this job.

 

Instead you must assign in the processing area only operator (one line, no alternative).

 

Boss and Manager but have also to offer operator, so you need to define operator also as a service for Boss and Manager (as second row in the service table of the Boss /Manager).

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

Re: worker assignment

Pioneer
Pioneer

Thanks for your support! It is very helpfullSmiley Happy However, I saw in the examples the model "one piece flow". Now I am trying to combine the assignment and the one piece flow, but I am stuck when a job can only be performed by one worker. At station G1 only a worker with the service 'check' is allowed to process the job.

 

I know something is wrong in the method BrokerImpReq. In the original example the line to get the services is obj.imp.getAlternativeServices(t); However, I think this has to be obj.imp.getServices(t);

After a request from a object the method has to check if a worker in the workpool is free and able to fullfill this request. However I dont know how to model this to check a request and assign it to a worker... Is this a big challenge or do I need to add a new if statement to check the workpool?