[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fd789932dd
commit
429b4ca680
@ -2003,7 +2003,11 @@ def add_heat(n, costs):
|
|||||||
space_heat_demand = demand * w_space[sec][node]
|
space_heat_demand = demand * w_space[sec][node]
|
||||||
# normed time profile of space heat demand 'space_pu' (values between 0-1),
|
# normed time profile of space heat demand 'space_pu' (values between 0-1),
|
||||||
# p_max_pu/p_min_pu of retrofitting generators
|
# p_max_pu/p_min_pu of retrofitting generators
|
||||||
space_pu = (space_heat_demand / space_heat_demand.max()).to_frame(name=node).fillna(0)
|
space_pu = (
|
||||||
|
(space_heat_demand / space_heat_demand.max())
|
||||||
|
.to_frame(name=node)
|
||||||
|
.fillna(0)
|
||||||
|
)
|
||||||
|
|
||||||
# minimum heat demand 'dE' after retrofitting in units of original heat demand (values between 0-1)
|
# minimum heat demand 'dE' after retrofitting in units of original heat demand (values between 0-1)
|
||||||
dE = retro_data.loc[(ct, sec), ("dE")]
|
dE = retro_data.loc[(ct, sec), ("dE")]
|
||||||
|
Loading…
Reference in New Issue
Block a user