Implemented according to [1].
References:
[1] P. C. Krause, O. Wasynczuk, S. D. Sudhoff, and S. Pekarek, Analysis of electric machinery and drive systems, 3rd ed. Hoboken, N.J.: Wiley, 2013.
function ABCtoQD0_Krause input Real f_abc[3]; input Real theta; output Real f_qd0[3]; end ABCtoQD0_Krause;