We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c8669b commit 1b24616Copy full SHA for 1b24616
src/muse/mca.py
@@ -325,8 +325,9 @@ def run(self) -> None:
325
)
326
327
# Global outputs
328
- self.outputs(self.market, self.sectors, year=self.time_framework[year_idx]) # type: ignore
329
- self.outputs_cache.consolidate_cache(year=self.time_framework[year_idx])
+ investment_year = years[1]
+ self.outputs(self.market, self.sectors, year=investment_year)
330
+ self.outputs_cache.consolidate_cache(year=investment_year)
331
332
getLogger(__name__).info(
333
f"Finished simulation period {years[0]} to {years[1]} "
0 commit comments