Hi,

Does this mean that if I model a dispatchable component like -5MW <= P <=
5MW with a corresponding cost, then the OPF decides whether the P takes on
a positive ("generator" mode, P is injected) or a negative ("load" mode, P
is drawn) value depending on the system scenario?

Cheers,
Ronald


On Tue, Jul 18, 2023 at 11:52 PM Ray Daniel Zimmerman <[email protected]>
wrote:

> Yes.
>
> A generator is simply a complex power injection and its active and
> reactive limits can be anything. Obviously, feasibility requires that PMIN
> <= PMAX and QMIN <= QMAX. The only special case is that of a dispatchable
> load, defined as a generator with PMAX=0 and PMIN < 0, in which case an
> additional constant power factor constraint is added by the OPF.
>
>     Ray
>
>
> > On Jul 18, 2023, at 12:00 AM, Ronald Cabaoig <[email protected]>
> wrote:
> >
> > Dear MATPOWER team,
> >
> > Greetings!
> >
> > Can the current MATPOWER OPF version accommodate a dispatchable
> component that can act as a load or a generator? For example, a microgrid
> that imports power to a utility grid can be modeled as a dispatchable
> "generator" from the perspective of the utility; similarly, the same
> microgrid may also export power from the utility grid and can be modeled as
> a dispatchable "load" from the perspective of the utility.
> >
> > Can the above be implemented in MATPOWER by specifying a generator
> output ranging from a minimum injection equal to the negative of the
> largest possible "load" up to a maximum injection equal to the largest
> possible "generation"? For instance, -5MW <= P <= 5MW with an associated
> cost of 20 dollars per MWh.
> >
> > Cheers,
> > Ronald
>
>
>
>

Reply via email to