Skip to content
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

Merged
merged 8 commits into from
May 28, 2024
Merged

Jd/sim implementationv1 #4

merged 8 commits into from
May 28, 2024

Conversation

jd-lara
Copy link
Member

@jd-lara jd-lara commented Apr 4, 2024

Code to support decomposition in the simulation flow.

end
end


Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change

Comment on lines 356 to 357
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))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
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),
Copy link
Contributor

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.

Copy link
Member Author

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.

@jd-lara jd-lara merged commit 89c44da into main May 28, 2024
3 of 7 checks passed
@jd-lara jd-lara deleted the jd/sim_implementationv1 branch May 28, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants