Merge pull request #1257 from PyPSA/fix-oil-primary-bus
bugfix missing oil generator: remove else clause
This commit is contained in:
commit
aa79ca0be9
@ -11,6 +11,8 @@ Release Notes
|
|||||||
.. Upcoming Release
|
.. Upcoming Release
|
||||||
.. ================
|
.. ================
|
||||||
|
|
||||||
|
* bugfix: The oil generator was incorrectly dropped when the config `oil_refining_emissions` was greater than zero. This was the default behaviour in 0.12.0.
|
||||||
|
|
||||||
PyPSA-Eur 0.12.0 (30th August 2024)
|
PyPSA-Eur 0.12.0 (30th August 2024)
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
|
@ -604,8 +604,6 @@ def add_carrier_buses(n, carrier, nodes=None):
|
|||||||
|
|
||||||
suffix = " primary"
|
suffix = " primary"
|
||||||
|
|
||||||
else:
|
|
||||||
|
|
||||||
n.madd(
|
n.madd(
|
||||||
"Generator",
|
"Generator",
|
||||||
nodes + suffix,
|
nodes + suffix,
|
||||||
|
Loading…
Reference in New Issue
Block a user