I have data in an Excel spreadsheet that represents the number of vehicles that pass through a traffic light at each hour of the day, over several days. The 24 columns represent the hours of the day and each row represents a different day.
I would like each CarSource block that I implement in the simulation to capture the number of vehicles present in the table and assign it to the Arrival Time property, automatically, from 00:00 to 23:00.
For each hour elapsed in the simulation, the Arrival Time property must be updated with the information related to the next hour, obtained from the spreadsheet.
Would anyone have any suggestions on how to do this, using AnyLogic (version 8.4.0)?