question

jgbb avatar image
0 Likes"
jgbb asked Felix Möhlmann answered

Patient arrival patterns

In the Source Arrivals, what expression do I need to put in the Quantity column to simulate our emergency department's typical arrival patterns. For example, I know that in our ED on average 2.2 patients arrive between 07:00-08:00. Patients are whole people so I really just need the simulation to select 2 or 3 patients to arrive randomly spaced during that hour.

FlexSim 22.2.0
patient arrivals
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

You could use a base of 2 and add 1 in 20 percent of the cases.

2 + bernoulli(20, 1, 0, getstream(activity))

With larger numbers you might want a bigger variance though, so using a distribution with the correct mean value and rounding the value might be better.

5 |100000

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