Yes. The current development version of MATPOWER on GitHub <https://github.com/MATPOWER/matpower/> includes capabilities for adding user-defined nonlinear constraints. See Sections 6.3.2 and 7.1.2 in the corresponding User’s Manual (PDF linked here <https://www.dropbox.com/s/3qkji1cuyi075uj/MATPOWER-manual.pdf?dl=0>). You probably also want to look at the example from the OPF testing code (e.g. t_opf_mips) that is mentioned in 7.1.2, just to see a working example of the syntax.
Let us know how it works. Ray > On Nov 21, 2017, at 5:11 AM, Weber, Jens <jens.we...@uni-wuppertal.de> wrote: > > Hello everyone, > > i would like to simulate a special Q(V)-control-behavior of a generator. > This means delivery of reactive power depending on the actual bus voltage > given by a Q(V)-curve similar to this picture: > > http://patentimages.storage.googleapis.com/DE102013105444A1/DE102013105444A1_0018.png > > <http://patentimages.storage.googleapis.com/DE102013105444A1/DE102013105444A1_0018.png> > > Is there a way to implement this behavior in MATPOWER OPF? > > Thanks. > > > Regards, > > Jens