question

Jun J2 avatar image
0 Likes"
Jun J2 asked Ben Wilson commented

How to get the current location group utilization of the location group?

I am building a condition logic based on current room group utilization. What's the name/format of the internal function I can use for? Thanks!

FlexSim 20.2.2
flexsim 20.2.2index number of the group memberutilization function
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Jun J2, was Parker S's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Parker S avatar image
0 Likes"
Parker S answered

Hi @Jun J2

I believe this is what you're looking for.

getpeopleresourceutilization (obj object/group[, num mode{0=ByState/1=ByAcquires}])

Description: Returns the utilization percentage of a people object or the average of all members of a people group.

Example: double utilization = getpeopleresourceutilization(Group("PodA"));

https://docs.flexsim.com/en/20.2/Reference/CodingInFlexSim/CommandReference/CommandGroups.html


If you would like additional help, please post your model so we can see what you are trying to achieve. I hope this helps!

5 |100000

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