prepare_sector_network: correct if statement (#1252)
This commit is contained in:
parent
88d28de3a1
commit
d2f8162d7b
@ -2324,8 +2324,7 @@ def add_biomass(n, costs):
|
||||
if (
|
||||
options["municipal_solid_waste"]
|
||||
and not options["industry"]
|
||||
and cf_industry["waste_to_energy"]
|
||||
or cf_industry["waste_to_energy_cc"]
|
||||
and (cf_industry["waste_to_energy"] or cf_industry["waste_to_energy_cc"])
|
||||
):
|
||||
logger.warning(
|
||||
"Flag municipal_solid_waste can be only used with industry "
|
||||
|
Loading…
Reference in New Issue
Block a user