Is there a way to limit a resource (operator) usage?

Is there a way to limit a resource (operator) usage?

marc_k
Not applicable
405 Views
3 Replies
Message 1 of 4

Is there a way to limit a resource (operator) usage?

marc_k
Not applicable

[ FlexSim 19.1.1 ]

When I acquire my resource (Group - Operators - total of 8) and then track states over time I see that operator 1 and then so on are used up close to 100%. Then the extra operators (maybe around operator 5) are almost never used. How can I put a cap on their usage so at 75% usage that operator cannot be used until all 8 are used up 75%? Can a dispatcher be used for this activity?

0 Likes
Accepted solutions (1)
406 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor

I must assume your logic is process flow. The acquire activity has the opportunity to query the resources by a sql clause. If you ORDER BY a statistical state value you can let work all operators. You can acquire the operator that has the highest idle time value.

0 Likes
Message 3 of 4

marc_k
Not applicable

Thank you for the reply. I am not very good sql clauses. I tried to find an answer with script that was close. I know I ma asking a lot.

What is the clause?

0 Likes
Message 4 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

I built a model that chooses the operator with the lowest total utilize time. The utilize time value is a field in the resource activity of the advanced parameters.

double totalTime = value.as(Object).stats.state().getTotalTimeAt("utilize");

I called the field name as totalTimeInUtilize.

The SQL Clause is in the acquire activity

ORDER BY totalTimeInUtilize ASC

22518-resource-lowest-utilize-state-value.jpg

utilize-pf-ts.fsm

0 Likes