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 <rrcaba...@up.edu.ph> 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