[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
54c2128419
commit
71dbe2aaf2
@ -1692,7 +1692,7 @@ def add_heat(n, costs):
|
||||
carrier=name + " heat",
|
||||
unit="MWh_th",
|
||||
)
|
||||
|
||||
|
||||
if (name == "urban central") & (options["central_heat_vent"]):
|
||||
n.madd(
|
||||
"Generator",
|
||||
@ -1704,7 +1704,7 @@ def add_heat(n, costs):
|
||||
p_min_pu=-1,
|
||||
unit="MWh_th",
|
||||
)
|
||||
|
||||
|
||||
## Add heat load
|
||||
|
||||
for sector in sectors:
|
||||
@ -3302,6 +3302,7 @@ def set_temporal_aggregation(n, opts, solver_name):
|
||||
break
|
||||
return n
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if "snakemake" not in globals():
|
||||
from _helpers import mock_snakemake
|
||||
|
Loading…
Reference in New Issue
Block a user