Merge pull request #812 from Climact/fix/typo-prepare-sector-network

Fix typo in buses definition for oil boilers in add_industry in prepare_sectors_networks
This commit is contained in:
Fabian Neumann 2023-12-29 10:47:41 +01:00 committed by GitHub
commit 396fdee6f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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"],