[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
407037a799
commit
7c00f9d451
@ -442,7 +442,7 @@ def add_heating_capacities_installed_before_baseyear(
|
|||||||
# if rural heating demand for one of the nodes doesn't exist,
|
# if rural heating demand for one of the nodes doesn't exist,
|
||||||
# then columns were dropped before and heating demand share should be 0.0
|
# then columns were dropped before and heating demand share should be 0.0
|
||||||
if (f"{node} residential rural heat" in n.loads_t.p_set.sum().index)
|
if (f"{node} residential rural heat" in n.loads_t.p_set.sum().index)
|
||||||
& (f"{node} services rural heat" in n.loads_t.p_set.sum().index)
|
& (f"{node} services rural heat" in n.loads_t.p_set.sum().index)
|
||||||
else 0.0
|
else 0.0
|
||||||
for node in nodal_df.index
|
for node in nodal_df.index
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user