@Matthew Gillespie, My concept of simulation start time comes from FlexSimHC Verson 5.3.10 command getsimstarttime(). I should have used Model Start Time as shown in the attached ModelSettings JPEG file
Maybe if it would help if I briefly explain the process I trying to use and get your suggestions for making it work. The process begins with building the scheduled arrival of patients in an Excel workbook as shown in the Excel 1 JPEG file. The column Sch_Time contains the scheduled arrival times for each patient. In the Time column, I converted the scheduled time to the number of minutes into the simulation if the simulation process started at the time of the arrival of the first patient.
After importing these data into the FlexSim model, I have just the Source Activity with the offset time of 90 minutes which means that the simulation will start at 90 minutes later the first patient will arrive at 8:30 AM. This is shown in the QuickProperties JPEG file.Of course, this means that if the user wants to open the clinic at 6 AM instead of 7 AM the Offset Time will have to be 150 minutes For the first patient to arrive at 8:30 AM.
I would rather that the user not have to remember to change the Offset Time when changing the Model Start Time. I was thinking that with access to the Model Start Time, I could have a simple program compute the Offset Time based on that value of Offset Time.
Does this approach seem reasonable and doable? Is there a better way to do this?
Thanks for the help.
Tee
excel-1.jpg model-settings.jpg quickproperties.jpg