I work in the area of electric power measurement standards. Historically testing has been done with sinusoidal waveforms only, with stable loads and at stable frequencies.
I am interested in "real world" testing conditions where there is significant harmonic content with time varying loads. Active, reactive, and apparent power calculations to be done in the time domain and frequency domain. I have attached a short paper on definitions for these quantities. The follow the generally accepted approach in non-electric power applications. I welcome comment and discussion.
I also solicit discussion of detailed methods for practical calculation of the quantities discussed under stress conditions such as when the digital sampling frequency is not a binary multiple ( like 256 times) the fundamental frequency.