I am working on the project to reduce TDH and maintain power factor using D-STATCOM' using MATLAB SIMULINK and willing to learn more about it. I need little bit of guidance. I have already achieved power factor correction using DSTATCOM and now trying to reduce THD in the system. Kindly guide me that which factor exactly affects the reduction of harmonics in the electrical system. Kindly suggest me where am i going wrong in this model.