diff --git a/postreise/analyze/mwmiles.py b/postreise/analyze/mwmiles.py index 9d789434..5fb79248 100644 --- a/postreise/analyze/mwmiles.py +++ b/postreise/analyze/mwmiles.py @@ -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