Skip to content

Commit

Permalink
add missing ts check
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Nov 29, 2024
1 parent ff9cbaa commit 40ce34a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/parameters/update_container_parameter_values.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ function _update_parameter_values!(
components = get_available_components(device_model, get_system(model))
ts_uuids = Set{String}()
for component in components
if !PSY.has_time_series(component)
continue
end
ts_uuid = _get_ts_uuid(attributes, PSY.get_name(component))
if !(ts_uuid in ts_uuids)
ts_vector = get_time_series_values!(
Expand Down

0 comments on commit 40ce34a

Please sign in to comment.