A nonideal three winding transformer, one winding is referred as "primary", the other two as "secondary". Additionally windings' resistances and core losses are modeled. Optionally any lossy elements can be set to 0.