improve style
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
This commit is contained in:
parent
7b24557bd3
commit
b8e72683cb
@ -1693,7 +1693,7 @@ def add_heat(n, costs):
|
|||||||
unit="MWh_th",
|
unit="MWh_th",
|
||||||
)
|
)
|
||||||
|
|
||||||
if (name == "urban central") & (options["central_heat_vent"]):
|
if name == "urban central" and options.get("central_heat_vent"):
|
||||||
n.madd(
|
n.madd(
|
||||||
"Generator",
|
"Generator",
|
||||||
nodes[name] + f" {name} heat vent",
|
nodes[name] + f" {name} heat vent",
|
||||||
|
Loading…
Reference in New Issue
Block a user