question

Jimmy G2 avatar image
0 Likes"
Jimmy G2 asked Jimmy G2 commented

Group Resource Utilization

I created a Group of Operators that I would all like to perform a task at the same time. To simplify I created a new model. When a box arrives I'd like all 4 operators to perform a task (packing the box), shown as a task delay. When busy I'd like to see all operators turn a different color, and their utilization to go up on my bar chart. I'm sure this is a simple answer but I've spent a bunch of time trying to get it right and haven't yet. Any help would be appreciated. Thanks!

utilization-example.fsm

FlexSim 19.1.1
groupsutilizationtasks
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

tannerp avatar image
0 Likes"
tannerp answered Jimmy G2 commented

Hi @Jimmy G2,

This is a good question. The reason why all 4 operators couldn't perform a task is because the Acquire activity in Process Flow was only acquiring 1 operator. To fix this, I changed the value to 4. Unfortunately, this created another problem as the Acquire activity would acquire all 4 operators, but it would do so as an array. This causes problems when you assign a task executor because only one member of the array can be the object assigned.

To get around this, I created Custom Code activities before and after the delay that manually update the state of each member in the "Packers" array to be "Utilized" and then "Idle". Hopefully this will work for your model. Let me know if you have any questions.

Note: I added a trigger for "On Model Reset" that sets all the operators to be white.

Model: utilization-example-updated.fsm


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jimmy G2 avatar image Jimmy G2 commented ·

Works perfect, thanks for the help!

0 Likes 0 ·