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

Compute Branch Flow Values #480

Closed
ccoffrin opened this issue Apr 4, 2019 · 4 comments · Fixed by #488
Closed

Compute Branch Flow Values #480

ccoffrin opened this issue Apr 4, 2019 · 4 comments · Fixed by #488
Milestone

Comments

@ccoffrin
Copy link
Member

ccoffrin commented Apr 4, 2019

It would be helpful to have a function that works on the data model can computes AC and DC branch flow values from a data model's voltage values. This way optimize call only needs to return the voltage values and the flows can be computed afterwards as needed by the user.

In this case, the "branch flow" solver option would only need to be used to double check that the solvers' flow values are similar (or not) to those computed from the voltage values.

@frederikgeth, thoughts on this idea?

@ccoffrin ccoffrin added this to the v0.9.5 milestone Apr 4, 2019
@spmacdonald
Copy link

Does this also mean that if one is starting from a solved case, when building the model you can compute the branch flows? I believe this is what PowerWorld does when it reads in a case and it is a very useful feature.

@ccoffrin
Copy link
Member Author

ccoffrin commented Apr 4, 2019

Yup, that would be the idea.

We might also consider a feature that computes power balance at the nodes, to check those are resonable as well.

@frederikgeth
Copy link
Collaborator

I think this is a good idea. Calculating flows based on the true AC power flow equations is perfectly reasonable. It can definitely lead to a bit of confusion in the context of relaxed formulations, as the relaxed power flow equations cannot be uniquely solved without additional information.

So it needs to be clear that you're treating the voltages as if they were AC-feasible. This means that the solution can violate flow bounds, even if you modelled them in the relaxed formulation.

Computing power balance on the nodes is very useful as well, but this goes in the direction of jump-dev/JuMP.jl#693

@jd-lara
Copy link
Contributor

jd-lara commented Apr 16, 2019

@frederikgeth that's what we do in PowerSimulations.jl, we keep track of the balances at each node for all devices and then add those expressions to the network.

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 a pull request may close this issue.

4 participants