Skip to content

Commit

Permalink
fix: change_table access method from real Scenario object
Browse files Browse the repository at this point in the history
  • Loading branch information
danielolsen committed Oct 31, 2019
1 parent 5cf62e7 commit b398e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postreise/analyze/mwmiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def calculate_mw_miles(scenario):
"""

original_grid = Grid(scenario.info['interconnect'].split('_'))
ct = scenario.change_table.ct
ct = scenario.state.get_ct()
upgrades = _calculate_mw_miles(original_grid, ct)
return upgrades

Expand Down

0 comments on commit b398e92

Please sign in to comment.