[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
ade8a003c6
commit
c32d5249e1
@ -2888,11 +2888,13 @@ def add_industry(n, costs):
|
|||||||
bof_steel = primary_steel - dri_steel
|
bof_steel = primary_steel - dri_steel
|
||||||
|
|
||||||
if bof_steel > 0:
|
if bof_steel > 0:
|
||||||
|
|
||||||
add_carrier_buses(n, "coal")
|
add_carrier_buses(n, "coal")
|
||||||
|
|
||||||
mwh_coal_per_mwh_coke = 1.366 # from eurostat energy balance
|
mwh_coal_per_mwh_coke = 1.366 # from eurostat energy balance
|
||||||
p_set = (industrial_demand["coal"].sum() + mwh_coal_per_mwh_coke * industrial_demand["coke"].sum()) / nhours
|
p_set = (
|
||||||
|
industrial_demand["coal"].sum()
|
||||||
|
+ mwh_coal_per_mwh_coke * industrial_demand["coke"].sum()
|
||||||
|
) / nhours
|
||||||
|
|
||||||
n.madd(
|
n.madd(
|
||||||
"Load",
|
"Load",
|
||||||
|
Loading…
Reference in New Issue
Block a user