Hi Heller,

MATPOWER’s OPF does not have an explicit storage model. A battery is by nature 
a device that links operation across time, whereas an OPF is a single instant 
snapshot. So for the purposes of an OPF, you have a couple of options.


  *   Determine the storage dispatch by some process prior to the OPF, and 
present it in the OPF as a simple scheduled, pre-determined injection (positive 
or negative). For this, I would simply add it to or subtract it from the load 
at the bus, so each bus’s load would actually be a the net load, taking into 
account any charging or discharging of any batter at that bus.
  *   Or, if you want the OPF to determine the charging/discharging, then you 
can model it as a generator, with negative PMIN (determined by the limit on 
available charging) and positive PMAX (determined by the limit on available 
discharging). For this approach you also want to put the appropriate cost on 
charging/discharging that reflects your forecasts for these values.E.g. Even if 
the price is high, you may not want to discharge if you predict the stored 
energy will be even more valuable in a future period.

On the other hand, if you want to look at a multiperiod optimization, with an 
explicit model for storage, consider using MOST.

     Ray


On Sep 12, 2023, at 3:00 PM, Heller, Leopold Bernd Jürgen 
<[email protected]> wrote:


Hello everyone,
Recently, I carried out an AC OPF for a high-voltage power grid. With roughly 
70% of the installed net capacity from renewables, I'm curious if Matpower 
offers a battery storage model.
I'm considering a basic model where it behaves like a generator when injecting 
power into the grid and draws power with a negative sign during charging.
While I don't have a concrete formula, I'm thinking of a slight alteration to 
the charge and discharge rate so that it's not constant:


Rate_{charge}(SoC) = Rate_{max, charge} * (1 - SoC)
Rate_{discharge}(SoC) = Rate_{max, discharge}* SoC


Does anyone know if Matpower includes a basic storage model suitable for AC 
power flow studies?

Best regards
Heller


  • Battery storages Heller , Leopold Bernd Jürgen
    • Re: Battery storages Ray Daniel Zimmerman

Reply via email to