[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-12-04 09:52:59 +00:00
parent 54c2128419
commit 71dbe2aaf2

View File

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