Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Jul 25, 2024
1 parent b377cdf commit a79d954
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions premise/battery.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ def adjust_battery_market_shares(self) -> None:
scenario=market_datasets[ds["name"]],
).interp(year=self.year)

# replace NaNs with zeros
shares = shares.fillna(0)

if "log parameters" not in ds:
ds["log parameters"] = {}

Expand Down

0 comments on commit a79d954

Please sign in to comment.