MATPOWER’s OPF will not adjust the taps on the OLTC automatically, so you would have to do something like running the OPF multiple times, changing the tap values according to some search algorithm that attempts to find the optimal value.
For the battery storage, an optimal scheduling involves making tradeoffs across time, which the single period OPF does not handle. So the simplest thing is probably to do some off-line work to come up with the charging/discharging schedule for the battery and simply enter that into your OPF as a fixed injection (generator with PMIN=PMAX, or as a load). Another option would be to include the battery storage as a generator with negative PMIN (charging) and positive PMAX (discharging), where these limits are adjusted to reflect the state of charge (discharging rate limited by available stored energy, charging rate limited by available unused capacity) and the gencost for the unit should be set to reflect your current estimates of the impacts of charging/discharging now on the total costs across time. I.e. Something like … for charging, (cost of charging now + lost opportunity cost of being able to charge later - benefit of discharging in the future), for discharging (benefit of discharging now - benefit of discharging in the future). -- Ray Zimmerman Senior Research Associate B30 Warren Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 On Apr 15, 2014, at 11:40 PM, mnbester <[email protected]> wrote: > Hello, > > I am new to the Matpower environment and I was wondering if someone could > provide assistance. I wish to run the OPF function on a distribution system, > however in the system of interest, there is an OLTC transformer and a large > scale battery storage system in addition to generators. > > Is there any way I can go about including these features within the OPF? > > Thank you for your time, any help would be much appreciated. > > Mandy.
