Modification of YDport_p for switcheable Y-Delta transform.
Defines Y- and Delta-topology transform of voltage and current variables.
The neutral point is isolated.
Definitions
v: voltage across conductor i: current through conductor v_n: voltage neutral point if Y-topology i_n=0: current neutral to ground if Y-topology
Relations Y-topology, (v, i: terminal to neutral point)
v = term.v - {v_n, v_n, v_n} term.i = i i_n = sum(term.i)
Relations Delta-topology, (v, i: phase terminal to phase terminal)
v_cond = v_term[{1,2,3}] - v_term[{2,3,1}] i_term = i_cond[{1,2,3}] - i_cond[{3,1,2}]