matpower icon indicating copy to clipboard operation
matpower copied to clipboard

rate B and rate C not included in OPF

Open kknez opened this issue 7 years ago • 4 comments

Current MatPower version includes only branch rate A for OPF, and there is no automated way to include rate B or rate C even though they are defined in the MatPower case.

kknez avatar Sep 12 '17 11:09 kknez

This should be quite simple and straightforward to implement. A good starting place for someone who would like to begin to contribute.

I propose adding an opf.branch_rating option with default value 'A', and alternate values 'B' and 'C'. If someone wants to tackle this, please indicate your intentions here to avoid duplication of effort.

rdzman avatar Sep 12 '17 15:09 rdzman

If nobody has begun working on this, I would be interested in helping out.

mcsosa121 avatar Sep 21 '17 01:09 mcsosa121

👍 Go for it.

And may I suggest for the implementation that, rather than temporarily copying the values from the RATE_B or RATE_C columns into the RATE_A column of the branch matrix, you find all of the places in the code where RATE_A is used directly for the limit and select the appropriate column based on the opf.branch_rating option instead. Since this approach will not be possible for some of the OPF solvers (e.g. MINOPF, TSPOPF), for those cases you will have to go with the first approach.

Ideally, I'd also like to see new test cases added to the t_opf_* tests that verify the new option is working fine.

Feel free to ask here for input or feedback along the way. And thanks again for volunteering to help with this.

rdzman avatar Sep 25 '17 19:09 rdzman

@mcsosa121 Are you working on this?

rdzman avatar Jan 26 '18 13:01 rdzman