Skip to content

Commit

Permalink
Merge branch 'jd/move_structs_to_is' of https://github.com/NREL-SIIP/…
Browse files Browse the repository at this point in the history
…PowerSimulations.jl into jd/move_structs_to_is
  • Loading branch information
jd-lara committed Apr 25, 2024
2 parents ea603f6 + b055ff6 commit 65d5c37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/PowerSimulations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ import InfrastructureSystems.Optimization: read_optimizer_stats, get_optimizer_s
import InfrastructureSystems.Optimization: ArgumentConstructStage, ModelConstructStage
import InfrastructureSystems.Optimization: OptimizationContainerKey, VariableKey,
ConstraintKey, ExpressionKey, AuxVarKey, InitialConditionKey, ParameterKey
import InfrastructureSystems.Optimization:
RightHandSideParameter, ObjectiveFunctionParameter, TimeSeriesParameter
import InfrastructureSystems.Optimization: VariableType, ConstraintType, AuxVariableType,
ParameterType, InitialConditionType, ExpressionType
import InfrastructureSystems.Optimization: should_export_variable, should_export_dual,
Expand Down
2 changes: 1 addition & 1 deletion src/initial_conditions/initialization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function build_initial_conditions_model!(model::T) where {T <: OperationModel}
ic_container.built_for_recurrent_solves = false
set_horizon!(ic_settings, min(INITIALIZATION_PROBLEM_HORIZON, main_problem_horizon))
init_optimization_container!(
model.internal.ic_model_container,
IS.Optimization.get_initial_conditions_model_container(internal),
get_network_model(get_template(model)),
get_system(model),
)
Expand Down

0 comments on commit 65d5c37

Please sign in to comment.