Four quadrant switched inverter with modulator. Fulfills the power balance:
vAC*iAC = vDC*iDC
The structure of this component is related that of a voltage source, with two minor differences:
1) theta is used instead of omega as input.
2) u_phasor is used instead of v_phasor defining the AC-voltage in terms of the DC voltage v_DC according to the following relations.
For sine modulation:
|v_AC| = u*sqrt(3/2)*v_DC/2 AC voltage norm u[1] &le 1 for pure sine-modulation, but u[1] > 1 possible. u[1] = 1 corresponds to AC single-phase amplitude = v_DC/2For space-vector modulation:
|v_AC| = u*sqrt(2/3)*v_DC AC voltage norm u[1] &le sqrt(3)/2 = 0.866: pure sine-pwm, sqrt(3)/2 &le u[1] &le 1: overmodulation (not implemented in this preliminary version). u[1] = sqrt(3)/2 corresponds to AC single-phase amplitude = v_DC/sqrt(3)For block modulation:
ampl(v_abc) = v_DC/2 w relative width (0 - 1) w = 2/3 corresponds to 'two phases on, one phase off' the relation between AC and DC voltage is independent of width