Cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple workperpool in Experiment manager

Builder
Builder

i was trying to solve the problem of manpower exactly as given in the examples.but i have multiple worker pools in my model and in the input of experiment manager.i changed the code in the advanced setting of experiment manager but it doesnt work.How can i solve the manpower problem with multiple worker pool as input ??

2 REPLIES

Re: Multiple workperpool in Experiment manager

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Can you post your method? If you use the manpower-example, than you need for each workerpool one table, and for each table at least one input value for the experiment manager.

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

Re: Multiple workperpool in Experiment manager

Builder
Builder

Hi steffen_B,

 

Its working, i made the copy of the same method given in the advanced setting of experiment manager 3 times,each for one workplace.the methods look like this..but any better way to do this ??

 

print "CONFIG Experiment ",localExp," use ",root.WorkerTab1[2,1]," workers1.";
 root.WorkerPool1.setCreationTable(root.WorkerTab1);

 

print "CONFIG Experiment ",localExp," use ",root.WorkerTab2[2,1]," workers2.";
 root.WorkerPool2.setCreationTable(root.WorkerTab2);

 

print "CONFIG Experiment ",localExp," use ",root.WorkerTab[2,1]," workers3.";
 root.WorkerPool3.setCreationTable(root.WorkerTab3);