Skip to content

Commit

Permalink
Updated ebike ownership rate to read from active.ebike.ownership in p…
Browse files Browse the repository at this point in the history
…arametersByYears.csv
  • Loading branch information
JoeJimFlood committed May 10, 2024
1 parent adff089 commit 96bc105
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/asim/scripts/scenarioManagement/scenManagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
doc['microVarCost'] = float(paramByYear.loc[paramByYear.year==scenYear, 'active.micromobility.variableCost'].values[0]*100) #cents
doc['microFixedCost'] = float(paramByYear.loc[paramByYear.year==scenYear, 'active.micromobility.fixedCost'].values[0]*100) #cents
doc['AV_OWNERSHIP_TARGET_PERCENT'] = float(paramByYear.loc[paramByYear.year==scenYear, 'Mobility.AV.Share'].values[0])
doc['ebikeownership'] = float(paramByYear.loc[paramByYear.year==scenYear, 'active.ebike.ownership'].values[0])
util.write_yaml(_join(configs_dir, 'common', 'constants.yaml'), doc)

doc = util.open_yaml(_join(configs_dir, 'resident', 'vehicle_type_choice.yaml'))
Expand Down

0 comments on commit 96bc105

Please sign in to comment.