From 02a022847c4eb64678772ab8847008c313b08c87 Mon Sep 17 00:00:00 2001 From: Davey Elder Date: Tue, 2 Jun 2026 18:43:48 -0400 Subject: [PATCH] Change error to warning Signed-off-by: Davey Elder --- temoa/components/technology.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/temoa/components/technology.py b/temoa/components/technology.py index e9cc254d0..8c05926b1 100644 --- a/temoa/components/technology.py +++ b/temoa/components/technology.py @@ -430,8 +430,7 @@ def check_existing_capacity(model: TemoaModel) -> None: if (r, t, v) not in model.process_periods and v + life > model.time_optimize.first(): msg = ( f'Existing capacity {r, t, v} with lifetime {life} and capacity {cap} ' - 'should extend into future periods but it is not in process periods. ' + 'should extend into future periods but it is not a valid process. ' 'Was it included in the Efficiency table?' ) - logger.error(msg) - raise ValueError(msg) + logger.warning(msg)