In MATPOWER, the tap ratio is an input parameter, not a variable, so unless you
want to get into modifying core MATPOWER internals, you’d have to implement it
as some sort of outer optimization or control algorithm that modifies the tap
ratio in discrete steps as an input parameter and uses runpf as a subroutine.
Ray
> On Feb 27, 2019, at 3:41 AM, Sabhan Kanata <[email protected]> wrote:
>
> Dear Prof. Ray and matpower discussion forum
>
>
> How can I implement the ratio tap trafo as discrete variable (not fixed or
> continue variable) in MATPOWER runpf ? I want to implement matpower to
> calculate losses in heuritic optimization
>
> Regards
>
> Sabhan