Four quadrant switched inverter, using switch-modules. Fulfills the power balance:
vAC*iAC = vDC*iDC
Gates:
true=on, false=off.