THD calculation result same on different model
1 次查看(过去 30 天)
显示 更早的评论
when I tried to calculate FFT on three different model its showing the same result but i am very sure the model is totally different. Why the result is coming like a default result.
4 个评论
Voss
2022-4-16
The code throws no errors, but the results are the same for 3 different models, right?
Sounds like something is wrong in the code; maybe it's something as simple as only the last model's result is being plotted three times, perhaps because of a typo or a mistake in the logic of the code.
It is impossible to guess what the problem is without seeing the code.
回答(1 个)
Sayan
2023-11-2
Hi Chandra Prakash,
I understand from your issue that you are getting the same THD results when you were trying to find them using the "FFT Analyzer" app of powergui block.Without investigating the model, it is difficult to find the exact reason for the issue.
However,an alternative way to find the THD is to use the THD block (available at Simscape / Electrical / Specialized Power Systems / Sensors and Measurements) which computes the THD for a periodic distorted signal. This block requires the "Fundamental frequency of the input signal (Hz)" to be filled with the fundamental frequency of the signal and output the result in decimal form.
You can find more information on the THD block in the following documentation:
Hope this helps in resolving the issue.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!