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
Scheduler
into the Household Loader's child moduleLocation Choice
. - Set the
Main Loader
to typeTMG.Tasha.MicrosimLoader.LoadHouseholdsFromMicrosim
. - Either set the parameter
Household Iterations
in theMain Loader
to 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 Loader
to the appropriate microsim files. We recommend using theTMG.Input.DirectorySeperatedPathFromOutputDirectory
module for these links and set theDirectory Relative To Run Directory
to theMicrosim Results
output folder and then specifying theFile Name
appropriate to the individual module's file. - Setup the activity survival rates in
TMG.Tasha.RemoveActivities
by setting the modules to use the typeTasha.Data.ZoneInformation
. Then set theReader
to useTMG.Data.Loading.LoadODDataFromCSV
, setting the parameterFormat
toThirdNormalized
andRead Type
toVector
. SetReader
'sLoad From
toTMG.Input.DirectorySeperatedPathFromOutputDirectory
. You will need to setup its parameters similarly to theMicrosim Results
's, in this case though settingDirectory Relative To Input Directory
to 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 Name
parameter to the file name of the specific rate file in the scenario directory. - Delete the
Scheduler
module now that the schedules will be modified by theHousehold Loader
. - In
Pre Iteration
deletePlace of Residence Place of School Gravity Model
since all of the school zones have already been assigned.