diff --git a/etrago/tools/constraints.py b/etrago/tools/constraints.py index 82a5037b..3d9fbaa5 100755 --- a/etrago/tools/constraints.py +++ b/etrago/tools/constraints.py @@ -2737,7 +2737,9 @@ def functionality(self, network, snapshots): if "CH4" in network.buses.carrier.values: if self.args["method"]["pyomo"]: add_chp_constraints(network, snapshots) - if self.args["scn_name"] != "status2019": + if (self.args["scn_name"] != "status2019") & ( + len(network.snapshots) > 1500 + ): add_ch4_constraints(self, network, snapshots) else: add_chp_constraints_nmp(network)