From b3e948a4eaf1c8d46ab3156e613c3b3cf83693a9 Mon Sep 17 00:00:00 2001 From: rodrigomha Date: Mon, 8 Jul 2024 18:08:40 -0700 Subject: [PATCH] fix emulation check --- src/operation/emulation_model.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/operation/emulation_model.jl b/src/operation/emulation_model.jl index ab7be81b28..c635cf35b6 100644 --- a/src/operation/emulation_model.jl +++ b/src/operation/emulation_model.jl @@ -261,9 +261,9 @@ function validate_time_series!(model::EmulationModel{<:DefaultEmulationProblem}) end counts = PSY.get_time_series_counts(sys) - if counts.forecast_count < 1 + if counts.static_time_series_count < 1 error( - "The system does not contain forecast data. A DecisionModel can't be built.", + "The system does not contain Static Time Series data. A EmulationModel can't be built.", ) end return