C-19 Model
Overivew
To help explore what-if scenarios inspired by the COVID-19 pandemic the Travel Modelling Group has designed an variant of GTAModel called C-19. While we are lacking enough information to create a new version of GTAModel to truly replicate the pandemic's conditions, this tool will allow you to modify the results of a previous GTAModel V4.1+ run by taking in the results and modifying the population's schedules. These modified schedules are then passed through location choice, mode choice, and assigned to the network giving us updated road and transit conditions.
Using the C-19 modules requires XTMF 1.9+.
Model Workflow
To run this model system you first start by running the "base conditions" using your existing GTAModel implementation.
Additional Inputs
In addition to the rest of your Scenario inputs the C-19 model variants are designed to read in a new set of inputs that contain the probabilities
for an activity of that type to remain within the schedule. Each of these files are the CSV format containing the columns Zone and Rate,
ordered respectively. For work activities the Zone represents the person's place of work, for other activities it represents their home zone.
For a description of the different activity types in GTAModel please refer to the Scheduler's documentation.
Additionally, for the Primary Work activity episodes, the survival rates are divided by the person's occupation category.
Below are the following file names required for each scenario.
- PrimaryProfessionalWork.csv
- PrimaryGeneralWork.csv
- PrimarySalesWork.csv
- PrimaryManufacturingWork.csv
- SecondaryWork.csv
- WorkBasedBusiness.csv
- School.csv
- Other.csv
- Market.csv
Constructing the model system variant
- To modify your GTAModel implementation to support the C-19 variant you will need to first create a copy of your model system.
- Change your Household Loader to the type
TMG.Tasha.RemoveActivities. - Copy the Location Choice model from the
Schedulerinto the Household Loader's child moduleLocation Choice. - Set the
Main Loaderto typeTMG.Tasha.MicrosimLoader.LoadHouseholdsFromMicrosim. - Either set the parameter
Household Iterationsin theMain Loaderto the number of household iterations that the mode choice is using or preferably link it to the Household Iterations Linked Parameter for your model system. - Set the child modules of
Main Loaderto the appropriate microsim files. We recommend using theTMG.Input.DirectorySeperatedPathFromOutputDirectorymodule for these links and set theDirectory Relative To Run Directoryto theMicrosim Resultsoutput folder and then specifying theFile Nameappropriate to the individual module's file. - Setup the activity survival rates in
TMG.Tasha.RemoveActivitiesby setting the modules to use the typeTasha.Data.ZoneInformation. Then set theReaderto useTMG.Data.Loading.LoadODDataFromCSV, setting the parameterFormattoThirdNormalizedandRead TypetoVector. SetReader'sLoad FromtoTMG.Input.DirectorySeperatedPathFromOutputDirectory. You will need to setup its parameters similarly to theMicrosim Results's, in this case though settingDirectory Relative To Input Directoryto the folder that contains the directory containing the rate scenario. You should then set it up with a new Linked Parameter so that it is easier to change during application later on. Finally set theFile Nameparameter to the file name of the specific rate file in the scenario directory. - Delete the
Schedulermodule now that the schedules will be modified by theHousehold Loader. - In
Pre IterationdeletePlace of Residence Place of School Gravity Modelsince all of the school zones have already been assigned.