question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Matthew Gillespie commented

Offset/Variability Distribution

Hi there,

I am working on a model and have XXX patients arrive based on their scheduling time. To apply a lag between their appointment time and their arrival time which shows if the patients are early/late/On time, I apply the distribution loglogistic(-80.23, 86.59, 8.9, getstream(activity)) As an Offset in the arrival table. Based on two runs, I see the arrival times somehow do not follow this offset distribution. The distribution is derived from the historical data but the results from the simulation runs (arrival times) do not match with the dataset. For Example, the proportion of early patients in the dataset is ~ 70% but in the simulation runs the proportion of early patients is~40%.

Does anybody know how it can be explained?

Thanks!

FlexSim 22.0.0
distributionsoffsetvariability
· 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 commented

I don't know how you got that distribution, but it's not going to give you a 70% early ratio. You can see in the attached model that if you generate 10,000 samples from that distribution you usually get about a 34% early ratio.

PercentEarly.fsm

Just open the model and hit the run button on the script.


percentearly.fsm (25.9 KiB)
· 5
5 |100000

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