I'm currently working on a power meter device based on simultaneous sampling of current and voltage values, I intend to use this system to measure the active, reactive and apparent power on a non-linear load. I am currently able to sample the current and voltage values periodicaly and to estimate the RMS value of the those by calculating the power of 2 of each sample, averaging them out and taking the square root afterwards. However I don't know how to estimate the active power value.
How can I estimate the active power value on my system? Please cite a paper for reference if possible, I have to put this in my monography.
Thanks to whoever answers. Tchau