question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Matthew Gillespie answered

What is the command to get the simulation start time

I would like to use the start simulation time to adjust the Offset Time for the arrivals to start in the Schedule Source Activity. What is the command which will give me the simulation time?

Thanks

Tee

FlexSim 19.1.0
simulation timestart timeoffset time
· 2
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

I would use a DateTime Source activity set to the "Use Model Start Date/Time" Time Mode. That way you can just define times for arrivals and the patients will show up at that time in the model regardless of what the model's start time is. (Note that arrivals before the start time will be ignored). See the attached model and excel file.

importschedule.fsm

schedule.xlsx


datetime.png (14.7 KiB)
importschedule.fsm (238.7 KiB)
schedule.xlsx (9.0 KiB)
5 |100000

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