Thank you for your reply sir. I have a bit more confusion. The dSbus_dV()
function should be the derivative of complex power to bus voltage angle and
magnitude. I have tried the following steps to validate its accuracy:
Firstly, I have chosen case9, and I turned every bus except the slack bus to
What you are describing is the complex bus power injection, not apparent power
(which is just the magnitude of the complex power). And yes, the power in MVA
is simply the per unit value times the MVA base (baseMVA). Kirchhoff’s current
law (KCL) implies that all power injected into a bus (or lea