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

Unconstrained reference bus in optimal power flow #927

Closed
SimonUlm opened this issue Sep 19, 2024 · 2 comments
Closed

Unconstrained reference bus in optimal power flow #927

SimonUlm opened this issue Sep 19, 2024 · 2 comments

Comments

@SimonUlm
Copy link

I tested PowerModels.jl (the SOCWRPowerModel) on the pg-lib test case pglib_opf_case3_lmbd.m and noticed that the reference bus is not constrained to 1 p.u. during the optimisation but instead to the provided min and max values (e.g. 0.9 and 1.1 respectively).

Therefore, the results differ from the results obtained by PandaModels.jl, since they tighten the min and max values for the reference bus.

Is this behaviour desired?

I am looking forward to a reply and am happy to provide further details if desired.

@ccoffrin
Copy link
Member

Hi @SimonUlm. The default OPF problem specification in PowerModels is consistent with the PGLib-OPF version. This is the standard formulation for algorithmic benchmarking, which is why we prefer it as the default in this package. So, yes, this is the desired behavior.

There are plenty of good reasons one might depart from this default and I am sure PandaPower had one such reason in mind. PowerModels provides an easy framework for developing new problem formulations so that one can explore variants like these with a minimum of additional effort.

@SimonUlm
Copy link
Author

Hi,
thank you very much for your quick and detailed response! This helps me a lot.

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

No branches or pull requests

2 participants