WOLFRAM SYSTEM MODELER
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This block determines the total harmonic distortion (THD) over the given period
Consider that the input
u consists of harmonic RMS components
The total RMS component is then determined by:
The calculation of the total harmonic distortion is based on the parameter
The default value
useFirstHarmonic = true represents the standard THD calculation used in
The non-default value
useFirstHarmonic = false
calculates the THD typically used for the assessment of audio signals.
useFirstHarmonic = true, the total higher harmonic content (harmonic order numbers > 1)
refers to the RMS value of the fundamental wave:
useFirstHarmonic = false, the total higher harmonic content (harmonic order numbers > 1)
refers to the total RMS:
In case of a zero input signal or within the first period of calculation, the boolean output signal
false to indicate that the calculation result is not valid. Valid
calculations are indicated by
valid = true.
Type: Frequency (Hz)
Description: Base frequency
Description: THD with respect to first harmonic, if true; otherwise with respect to total RMS
Calculation of total harmonic distortion of voltage