Since the automatic control of OLTCs is not currently handled by MATPOWER's runpf() or runcpf(), you will have to implement your own handling of the tap changing.
I see two overall approaches, both of which will require you to choose the specific details of the algorithm and implementation. 1. Implement the tap-changing algorithm in a higher level code that calls MATPOWER's runpf() or runcpf() as a subroutine. 2. Modify runpf() and/or runcpf() to handle the tap-changing internally. There is a pull request (that could use some attention) based on the first approach here: https://github.com/MATPOWER/matpower/pull/16 <https://github.com/MATPOWER/matpower/pull/16> Ray > On Feb 19, 2019, at 4:22 AM, Ahmad Sadiq Abubakar > <[email protected]> wrote: > > Hi, > How can I implement the on-load tap changer (OLTC) operation in MATPOWER > runpf or runcpf? > > Any guide and/or suggestions is welcome.
