Four quadrant time-averaged 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.
If equivalent to 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/2
If equivalent to 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)
If equivalent to block (rectangular) modulation:
Note that this component works with the fundamental of the rectangular voltage.
The method must be improved in this third case (in particular in context with inductive devices).
|v_AC| = u*(4/pi)*sin(width*pi/2)*sqrt(3/2)*v_DC/2 AC voltage norm of fundamental u[1] = 1 for block modulation without pwm, 0 < width < 1 u[1] &le 1 for block modulation with pwm. u[1] = 1 corresponds to AC single-phase amplitude = (4/pi)*sin(width*pi/2)*v_DC/2