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

Something wrong with switch #924

Closed
lry77ist opened this issue Jul 30, 2024 · 1 comment
Closed

Something wrong with switch #924

lry77ist opened this issue Jul 30, 2024 · 1 comment

Comments

@lry77ist
Copy link

When I add switch component into MATPOWER file and then do optimal power flow computation, it threw an error:
[error | PowerModels]: active power decision variables appear to be missing for switch components
What can I do with that?

@ccoffrin
Copy link
Member

You should call one of these OPF variants to consider the switch data, https://github.com/lanl-ansi/PowerModels.jl/blob/master/src/prob/test.jl#L49-L221

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