-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add AlternativeForwardPass #611
Conversation
Creating a AC-OPF/DC-OPF example. Will post here in a few minutes. Taking advantage of the code used in PowerModelsAnnex.jl. |
The ACDC test case. I used PowerModels.jl just to create the reference dictionary to make things a bit easier, but I can try to do it manually. |
I added a few comments and the example based on personal interest, but if it confuses things, please disregard them. |
e067774
to
9c0165c
Compare
Once I merge #612 and rebase, this might take the record for the most complicated feature implemented in the fewest lines of code. It's really only two one-line functions... |
Provided two models have the same graph structure and state variables, we now have a lot of freedom:
|
@andrewrosemberg this tutorial is so cool: https://odow.github.io/SDDP.jl/previews/PR611/tutorial/pglib_opf/. It's like a mini-HydroPowerModels.jl. These new features should make it easy for people to replicate and build upon your paper now. |
Closes #419
Needs
But yeah. We had all the infrastructure for this. It was trivial to implement.