Dear Prof Ray Zimmerman,
In Matpower Technote 2,AC Power Flows, Generalized OPF Costs and their Derivatives using Complex Matrix Notation, we can find that bus appearant power is Sbus = Vbus .* conj(Ibus),where Ibus = Ybus* Vbus, and Vbus = Vm.*exp(Va*180/pi). But in cases, it seems that the results will be Sbus in per unit and it is hard to find its relationship with bus power in runpf() results. In my understanding, the nominal appearant power might be Sbus_nom=baseKVA.* Sbus, where Sbus is the appearant power in per unit mentioned above. And in power flow results, it should be the Pf, Pt, Qf, Qt results in branch data plus/subtracts (Pg -Pd) and (Qg - Qd) in bus and generator data. Is my understanding correct? Hoping that you can help me with it, thank you for your time.
