Text this: General average model of T-type three-level converter for active compensation circuit of distribution network