The IdealTransformer2 extends the IdealTransformer component while considering an arbitrary but constant phase shift. The left port voltage phasor v1, the left port current phasor i1, the right port voltage phasor v2, and the right port current phasor i2 are connected by the following relations:
v1 = n*v2*e^(jφ), i2 = n*i1*e^(j(π+φ)),
where n is the ratio between primary and secondary winding and φ stands for
the phase shift angle phase.
Both parameters n and φ have constant values.