Thanks Ray that's very helpful. I've got a couple quick follow-up questions
if I may:

   - Now that each bus is effectively a "generation source," will they only
   dispatch if I make them all PV buses (excluding ref bus)? I'd like them to
   dispatch economically within certain voltage bounds, but it is not
   necessary that they keep their respective bus voltages at 1 p.u.
   - In terms of gencost, in the documentation I see that dispatchable load
   can be modeled as a negative piece-wise cost curve. Does this imply that
   for my dispatchable loads I will use Model 1 with negative cost slopes? (I
   only have one linear cost term by the way).

Thank you,

Cody

On Mon, Dec 10, 2018 at 12:54 PM Ray Zimmerman <[email protected]> wrote:

> In short, yes, to everything you are trying to do.
>
> I would personally put 2 generators at each bus (2 rows in the gen table
> with the same bus number), one for the distributed generation and the other
> to represent the dispatchable portio of the load. I’d combine the fixed
> portion of the load and the fixed injection from the solar PV (assuming it
> is not curtailable) into a net load number to put in the PD, QD columns
> of the bus matrix. No need to use the load2disp() function at all unless
> you find it useful just to initially create the entries in the gen and
> gencost matrices for you.
>
>     Ray
>
> On Dec 8, 2018, at 3:23 PM, Cody Rooks <[email protected]> wrote:
>
> Hello,
>
> I'm sure the answers to these questions are buried somewhere between the
> user manuals and the email archives, but I'm hoping that if I can clearly
> define my problem here I may be able to get the information I'm after more
> efficiently.
>
> I'd like to solve an ACOPF of the 33-bus distribution system that has
> flexible demand at every bus except the root bus, and has some distributed
> generation at certain buses. There will also be solar PV injections at
> select buses. In other words, one bus could be composed of: fixed demand,
> dispatchable demand, fixed generation and dispatchable generation.
>
> The solar I understand I can represent as a generation source with 0 cost
> and defined, equal upper/lower bounds. I understand that I can place a DG
> with the usual mpc.gen and mpg.gencost, and I know that I can change fixed
> load to dispatchable via the load2disp() function.
>
> My questions are:
>
>    - Can I have all three fixed generation, dispatchable generation and
>    dispatchable load at the same bus and, if so, how does one implement this
>    in MATPOWER's case structure?
>    - Is it possible to have a portion of the load, as opposed to all of
>    it, made dispatchable? And if so, how would I implement this?
>
> Thank you,
>
> Cody
>
>
>

Reply via email to