Closed lry77ist closed 1 month ago
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?
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
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?