Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

How to calculate WTHD in Plecs?

0 votes
849 views
I am wondering how to calculate WTHD in Plecs?
asked Jul 20, 2023 by Le Nam Pham (14 points)

1 Answer

0 votes
The THD Block in PLECS uses the mathematical relationship between the RMS voltage and THD  to avoid calculating the fundamental component for each signal (see the equation in the component help).  I’m not sure such an approach is possible with the WTHD.

The fastest way to implement such a block would be to use the Fourier Transform block from the library to determine the individual components and then apply the WTHD formula.  This approach isn't 100% accurate since the actual WTHD would sum all the components up to infinity, but should work well if the dominant harmonics are known to be within the analysis range of the WTHD block.

See the attached model that calculates the WTHD up to the specified harmonic level.
answered Jul 20, 2023 by Bryan Lieblick (2,065 points)
...