This example compares the result of the total harmonic distortion (THD) with respect to the fundamental wave and with respect to the total root mean square (RMS). In this simulation model a non-sinusoidal voltage wave form is created by the superposition two voltage waves:
V1
and frequency f1
V3
and frequency 3*f1
This simulation model compares numerically determined THD values with results, obtained by theoretical calculations:
thd1.y
and the theoretical value THD1
,
both with respect to the fundamental wave; also plot thd1.valid
thdRMS.y
and the theoretical value THDrms
,
both with respect to the RMS value; also plot thdRMS.valid