diff --git a/src/calliope/model.py b/src/calliope/model.py index 26a14653..bc4eb938 100644 --- a/src/calliope/model.py +++ b/src/calliope/model.py @@ -342,7 +342,8 @@ def solve(self, force: bool = False, warmstart: bool = False, **kwargs) -> None: to_drop = [] solve_config = self.config.update({"solve": kwargs}).solve - mode = self.config.build.mode + # FIXME: find a way to avoid overcomplicated passing of settings between modes + mode = self.config.update(self.config.applied_keyword_overrides).build.mode self._model_data.attrs["timestamp_solve_start"] = log_time( LOGGER, self._timings,