From 319b99a80030e2688a4ea49360d8bf38950f4294 Mon Sep 17 00:00:00 2001 From: Jerry Potts Date: Tue, 25 Jun 2024 09:26:37 -0600 Subject: [PATCH] removed deserialization from add_technology! --- src/portfolio.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/portfolio.jl b/src/portfolio.jl index 28b133f..d040976 100644 --- a/src/portfolio.jl +++ b/src/portfolio.jl @@ -157,11 +157,11 @@ function add_technology!( skip_validation=false, kwargs..., ) where {T <: Technology} - deserialization_in_progress = _is_deserialization_in_progress(portfolio) + #deserialization_in_progress = _is_deserialization_in_progress(portfolio) IS.add_component!( portfolio.data, technology; - allow_existing_time_series=deserialization_in_progress, + #allow_existing_time_series=deserialization_in_progress, skip_validation=skip_validation, kwargs..., )