I using Matlab and PSCAD for design active power filter. However, the simulation results for both software is same but the THD value from FFT is different. For PSCAD I getting 3.45% THD but for Matlab is about 10%. May I know why these conditions happen??