NREL / buildstock-query

BuildStockQuery is a python library for querying datasets generated by ResStock™ and ComStock™.
https://nrel.github.io/buildstock-query/
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Upgrades analyzer bug fix and remember inputs #37

Closed rajeee closed 9 months ago

rajeee commented 9 months ago

Resolves #[issue number here].

Pull Request Description

The detailed options application report had a bug and was crashing in cases of upgrades that have only one type of options. This fixes the bug by making all upgrades (regardless of number of options) print the option report (both detailed and condensed).

The PR also adds caching of the inputs to upgrades_analyzer and upgrades_visualizer script so that it remembers past inputs and uses that as the default in subsequent runs.