MATPOWER 7.0b1 and later allows for user-defined non-linear constraints. See
section 6.3 and chapter 7 in the User’s Manual
<http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-7.0b1.pdf>. You’ll
need to be able to provide the first and second derivatives of your constraint.
Ray
> On Mar 8, 2019, at 12:00 PM, Mosbah Aouad (Student) <[email protected]>
> wrote:
>
> Hello,
>
> I am facing a problem with MATPOWER. I derived a relation between the
> reactive power (Q) and the voltage (V) from a volt-var curve but I am not
> able to test my control system. Is there any way to add the volt-var relation
> as a constraint to the optimal power-flow(OPF) simulation? If yes, what
> function should I use?
>
> Thank you in advance.
>
> Best regards,
> Mosbah Aouad