-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jd/sim implementationv1 #4
Conversation
src/problems/multi_region_problem.jl
Outdated
end | ||
end | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
src/problems/multi_region_problem.jl
Outdated
function PSI.update_model!(model::PSI.DecisionModel{MultiRegionProblem}, sim::PSI.Simulation) | ||
PSI.update_model!(model, PSI.get_simulation_state(sim), PSI.get_ini_cond_chronology(sim)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
function PSI.update_model!(model::PSI.DecisionModel{MultiRegionProblem}, sim::PSI.Simulation) | |
PSI.update_model!(model, PSI.get_simulation_state(sim), PSI.get_ini_cond_chronology(sim)) | |
function PSI.update_model!( | |
model::PSI.DecisionModel{MultiRegionProblem}, | |
sim::PSI.Simulation, | |
) | |
PSI.update_model!( | |
model, | |
PSI.get_simulation_state(sim), | |
PSI.get_ini_cond_chronology(sim), | |
) |
@@ -42,28 +42,28 @@ function MultiOptimizationContainer( | |||
) | |||
|
|||
return MultiOptimizationContainer{T}(; | |||
main_problem = PSI.OptimizationContainer(sys, settings, nothing, U), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must be using the wrong formatter settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am running the formatter in the scripts folder in the repo.
Code to support decomposition in the simulation flow.