This information is part of the Modelica Standard Library maintained by the Modelica Association.
The ideal transformer is a two-port circuit element without magnetization. Voltages and currents are ideally transformed:
v1 = v2*n; i2 = -i1*n;
n is a real number called the turns ratio.
Description: Ratio of primary to secondary voltage
Example of transformer with short circuit impedance, transmission resistances and load