To calculate the THD and the RMS value of a periodic signal I want to use both blocks in my model.
How precise are these blocks? I mean till what order of harmonics they calculate the output-values? Does the simulation step time give the upper limit of harmonics which are included in the calculation? In case of a variable step time, which is used from the solver, is the accuracy time-dependent?
Another question: I have different operating points with different fundamental frequencies. Since I have to specify the fundamental for both blocks before simulation start, how to calculate these values during simulation like on the fly?