Skip to content

Commit

Permalink
Merge pull request #812 from Climact/fix/typo-prepare-sector-network
Browse files Browse the repository at this point in the history
Fix typo in buses definition for oil boilers in add_industry in prepare_sectors_networks
  • Loading branch information
fneum authored Dec 29, 2023
2 parents 40b7cc1 + 889a5dd commit 396fdee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Upcoming Release

* A bug preventing custom powerplants specified in ``data/custom_powerplants.csv`` was fixed. (https://github.com/PyPSA/pypsa-eur/pull/732)
* Fix nodal fraction in ``add_existing_year`` when using distributed generators
* Fix typo in buses definition for oil boilers in ``add_industry`` in ``prepare_sector_network``


PyPSA-Eur 0.8.1 (27th July 2023)
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -2709,7 +2709,7 @@ def add_industry(n, costs):
nodes_heat[name] + f" {name} oil boiler",
p_nom_extendable=True,
bus0=spatial.oil.nodes,
bus1=nodes_heat[name] + f" {name} heat",
bus1=nodes_heat[name] + f" {name} heat",
bus2="co2 atmosphere",
carrier=f"{name} oil boiler",
efficiency=costs.at["decentral oil boiler", "efficiency"],
Expand Down

0 comments on commit 396fdee

Please sign in to comment.