Total harmonic distortion measurement
Simscape / Electrical / Control / Measurements
The Total Harmonic Distortion block calculates the total harmonic distortion (THD) percentage using these equations:
and
where:
Mi is the root mean squared (RMS) value of the harmonic magnitude that corresponds to the ith harmonic order.
M is VRMS or IRMS.
is the sum of all harmonic components.