Fix typo in buses definition for oil boilers in add_industry in prepare_sector_network
This commit is contained in:
parent
4ed59eb4b4
commit
889a5dd5a2
@ -40,6 +40,7 @@ Upcoming Release
|
|||||||
|
|
||||||
* A bug preventing custom powerplants specified in ``data/custom_powerplants.csv`` was fixed. (https://github.com/PyPSA/pypsa-eur/pull/732)
|
* 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 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)
|
PyPSA-Eur 0.8.1 (27th July 2023)
|
||||||
|
@ -2709,7 +2709,7 @@ def add_industry(n, costs):
|
|||||||
nodes_heat[name] + f" {name} oil boiler",
|
nodes_heat[name] + f" {name} oil boiler",
|
||||||
p_nom_extendable=True,
|
p_nom_extendable=True,
|
||||||
bus0=spatial.oil.nodes,
|
bus0=spatial.oil.nodes,
|
||||||
bus1=nodes_heat[name] + f" {name} heat",
|
bus1=nodes_heat[name] + f" {name} heat",
|
||||||
bus2="co2 atmosphere",
|
bus2="co2 atmosphere",
|
||||||
carrier=f"{name} oil boiler",
|
carrier=f"{name} oil boiler",
|
||||||
efficiency=costs.at["decentral oil boiler", "efficiency"],
|
efficiency=costs.at["decentral oil boiler", "efficiency"],
|
||||||
|
Loading…
Reference in New Issue
Block a user