diff --git a/src/asim/configs/resident/vehicle_type_choice.yaml b/src/asim/configs/resident/vehicle_type_choice.yaml index 36ea15a87..c8d53526e 100644 --- a/src/asim/configs/resident/vehicle_type_choice.yaml +++ b/src/asim/configs/resident/vehicle_type_choice.yaml @@ -137,3 +137,4 @@ CONSTANTS: CHARGERS_PER_CAP: 0.00034592 # chargers per cap used in vehicle type model estimation # CHARGERS_PER_CAP: 0.000721205 + scenarioYear: 2022 \ No newline at end of file diff --git a/src/asim/scripts/scenarioManagement/scenManagement.py b/src/asim/scripts/scenarioManagement/scenManagement.py index eac9da854..8d8ecb4b7 100644 --- a/src/asim/scripts/scenarioManagement/scenManagement.py +++ b/src/asim/scripts/scenarioManagement/scenManagement.py @@ -89,6 +89,7 @@ doc = util.open_yaml(_join(configs_dir, 'resident', 'vehicle_type_choice.yaml')) doc['FLEET_YEAR'] = int(scenYear) +doc['CONSTANTS']['scenarioYear'] = int(scenYear) util.write_yaml(_join(configs_dir, 'resident', 'vehicle_type_choice.yaml'), doc) sandag_abm_prop = util.load_properties(sandag_abm_prop_dir)