question

Jerry avatar image
0 Likes"
Jerry asked Jerry commented

Staff allocation ratio

스크린샷1.png


Hello.


First of all, this is an explanation of the attached model.


There are a total of six staff members,

There are a total of 20 patients in areas A and B, 10 each.


Area A is an area where you get a walking escort from the staff and go to the exit,

Area B is an area where you are escorted to the exit by a staff member's wheelchair escort.


12345.fsm


After that, it's the model I want to make.


Q1. I'd like to assign staff to areas A and B at a ratio of 1:5.


Q2. If that happens, the patients in Area B with a lot of staff will finish moving through the wheelchair first,

After that, I would like to make the staff assigned to Area B move to Area A and escort the patient on foot.


I can't solve it at all.

I'd appreciate your help.

FlexSim 24.0.0
staffallocationratio
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Jerry, was Kavika F's answer helpful? If so, please click the "Accept" button at the bottom of 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Kavika F avatar image
0 Likes"
Kavika F answered Jerry commented

Hey @Jerry, you should start by adding a label to your beds so they know which Area they're in.

1704321079426.png

Then you can send your tokens off to different paths depending on the Bed they're in.

1704321126909.png

That will get your Staff moving patients, but not in the ratio you want. To achieve the ratio, we must first add a label to your staff of which Area they'll start at (similar to how we added one to the Beds). Make sure to set "Automatically Reset" and save the change (I'll discuss why later).

1704321216293.png

In the "Staff" list, add a Label field for the "Area".

1704321257463.png

Then in your "Staff" resources, you can filter which staff you get by area. Area A will equal "A" and Area B will equal "B".

1704321284065.png

Finally, you can reassign Staff to Area A if there are no more patients waiting from Area B.

1704321356105.png

"anyPatientsWaiting" is a variable I made in the conditional value's code which looks to see if there are any tokens currently waiting in the "Acquire Staff" activity.

getstat(getactivity(processFlow, "Acquire Staff"), "Content", STAT_CURRENT, current);

This will allow you to reassign a Staff member after there are no more patients in the area. Area A doesn't need this in this case.

Hope this helps!


1704321079426.png (1.3 KiB)
1704321126909.png (35.4 KiB)
1704321216293.png (11.2 KiB)
1704321257463.png (40.5 KiB)
1704321284065.png (24.3 KiB)
1704321356105.png (79.7 KiB)
· 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.

Jerry avatar image Jerry commented ·

Thank you, and it's been resolved well thanks to you.

0 Likes 0 ·