This system is active front end rectifier. It keeps the DC link at reference value, 400V in this case, even if load is suddenly changes. Also power factor is controllable so can act as STATCOM too. Control is based on synchronous frame theory and 2-level inverter is switched using Sine triangle PWM technique ...