I’m afraid there isn’t a simplistic “change these few lines of code” approach to this problem. My suggestion is to study the code in toggle_reserves() until you understand all of it, what it is doing and why (feel free to ask questions along the way). Then modify it to use reactive power instead of (or in addition to) active power for reserves.
Ray > On Apr 3, 2017, at 2:14 AM, Zenifar parekh <jenifarhathiy...@gmail.com> wrote: > > Hello everyone > > can anybody guide me what modification I need to do in toggle_reserves file > to implement > reactive power reserve co optimization? > > regards