bugfix: make sure coal demand is there with regional demand

This commit is contained in:
Tom Brown 2024-02-09 19:03:39 +01:00 committed by Fabian Neumann
parent 9c08af9989
commit 4f91c6c43d

View File

@ -3059,6 +3059,9 @@ def add_industry(n, costs):
+ mwh_coal_per_mwh_coke * industrial_demand["coke"]
) / nhours
p_set.rename(lambda x: x + " coal for industry",
inplace=True)
if not options["regional_coal_demand"]:
p_set = p_set.sum()