This model was design to represent three-phase two-winding transformer.
The user should input the copper resistance R and leakage reactance X in per unit values. The user should also input the tap value, which is the relation between primary and secondary voltage levels, but in per unit. Finally, the user should select the transformer three-phase connection.
Based on this set of parameters, the pi-equivalent impedance matrices are calculated and the transformer equation is assembled. The transformer does not take into account excitation branch, since it is often neglected in transient-stability studies.
Primary side is represented by pins Ain, Bin, and Cin. Secondary side is represented by pins Aout, Bout, and Cout