fix if condition to add msw

This commit is contained in:
Philipp Glaum 2024-09-03 16:02:28 +02:00
parent 30bcddb66a
commit 7b98afc85a

View File

@ -2357,7 +2357,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 not (cf_industry["waste_to_energy"] or cf_industry["waste_to_energy_cc"])
):
logger.warning(
"Flag municipal_solid_waste can be only used with industry "