Community
OpenEnergyMonitor

Community

The constants used in the power interpolation

Tags: #<Tag:0x00007f6e13d70b30> #<Tag:0x00007f6e13d70978>

I am interested in knowing more about the precision of the measurements that we are doing using the emonlibCM library but studying the code I cannot understand the constants used in the power interpolation. Specifically the variables:

y [i] = sin (phase_shift) / sin (sampleRate);
x [i] = cos (phase_shift) - y [i] * cos (sampleRate);

Can you help me with this part?

Best regards
Onsar

Look at the references that are given in the post from where library is downloaded.