Shiva Moshtagh wrote:
Hello
Can I use rectangular coordinates in matpower ? for example I know
that there are real and imaginary parts of power injections and power
flows as well as bus voltages, but for branch current there is not
rectangular coordinate. Suppose that I want to add derivative of real
branch current w.r.t voltage to jacobian matrix. How can I do that ?
Regards,
Shiva,
Equation (72) in the TN2-OPF-Derivatives.pdf document gives you an
algebraic expression for the complex current derivative with respect to
voltage magnitude. Just take the real part of it to obtain the
derivative of the real current. Look at the function dSbus_dV in MATPOWER.
carlos.