question

Kaitlin M avatar image
0 Likes"
Kaitlin M asked James Rodgers1 answered

Render a location resource only available when a condition is met

Hi there, I am working on modeling overcapacity surge policies in hospitals. I am trying to model a policy whereby a certain overcapacity/surge ward would only be used when the census of a location reached a certain threshold set by me. For example, a hospital has 50 beds. I would like to open up an additional 10 bed surge unit when the census of the hospital reached 45 beds. I suspect the way to do this might be using custom code to check the census of an area... but how could I accomplish making the surge beds only available once the census reaches the number I specify? Any ideas?

FlexSim 21.1.2
flexsim 21.1.2hospitalpolicysurge
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

James Rodgers1 avatar image
0 Likes"
James Rodgers1 answered

You could make two location groups, one with the lower number of beds and the other with the upper. Use a decision activity that will use one group vs. the other based on the census. So while the census is below your threshold, choose the bed acquisition activity that references the smaller group. Once it exceeds the threshold, route to the other bed acquisition activity that references the larger group.

5 |100000

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