The variation in THD values when the parameter values in the Signal THD block and the POWERGUI block in SimPowerSystems 4.4 (R2007a) are not equivalent, is expected.
The discrepancy in THD is due to the settings (i.e., the number of cycles and start time) used by FFT analysis tool and the Signal THD block. Please note that the signal THD block uses only one cycle for computation. If the FFT analysis block settings for the 'Number of Cycles', are not the same as the Signal THD block, for example if the value was set to 3 cycles, the THD values would not be identical. Once this setting is changed to one cycle the THD values are identical.
Since the measured signal is noisy, in order to achieve maximum correlation between the THD values computed by the FFT Analysis and the Signal THD blocks, the signal window used should be identical. This can be achieved by changing the 'start time' in the FFT Analysis, so it matches with window used by the Signal THD block.
Best Answer