From d4755387d1d3539e5ff3c39ff83d599949a837fb Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Mon, 30 Oct 2023 15:29:29 +0100 Subject: [PATCH] Fix checking if results should be stored after the optimisation --- etrago/tools/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etrago/tools/execute.py b/etrago/tools/execute.py index 838a66a2..5fa4fc2e 100755 --- a/etrago/tools/execute.py +++ b/etrago/tools/execute.py @@ -393,7 +393,7 @@ def lopf(self): z = (y - x) / 60 logger.info("Time for LOPF [min]: {}".format(round(z, 2))) - if not self.args["csv_export"]: + if self.args["csv_export"]: path = self.args["csv_export"] if self.args["temporal_disaggregation"]["active"] is True: path = path + "/temporally_reduced"