question

FlexSim245 avatar image
0 Likes"
FlexSim245 asked Matthew Gillespie edited

Use multiple patient flows throughout the day

Hi all,

In my model, healthcare model, i have two different patient flows and I wanted to alternate between them throughout the day. (patient flow 1 to be used from 8 am to 12 pm and patient flow 2 to be used from 12 pm to 5 pm), both of them are defined in the parameters option.

I thought about the source with the arrivals used, there is an option of offset/variability that has an option to use the parameters but I am not sure if there is a way to add a code for a new column and define a specific patient flow in each hour? thank you!

FlexSim 21.2.1
parameterspatient flowarrival source
· 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.

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Matthew Gillespie edited

Within the Patient Flow field of the Create Patient activity you can dynamically choose a patient flow.

For example, here I've chosen the Conditional Person Flow pickoption and used

  1. Model.dateTime.hour < 12

as the condition. This makes it so that from midnight to noon it uses Patient Flow and from noon to midnight it used Patient Flow 2.

1634597274790.png

FlowByTimeOfDay.fsm


1634597274790.png (28.2 KiB)
flowbytimeofday.fsm (41.5 KiB)
· 6
5 |100000

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