The invention belongs to the
power grid electric energy metering technical field and relates to a method for adaptively calculating power under arbitrary frequencies. The method includes the following steps that: a sampling period is set as T,
voltage signals and current signals of the load end of a
power grid are synchronously sampled in a timed manner, so that
voltage sampling data u (t) and current sampling data i (t) at the same time point can be obtained; operating condition matching analysis is performed on the
voltage sampling data u (t) or current sampling data i (t), so that N
alternating current components are obtained; and
alternating current voltage u1, u2,..., uN,
alternating current i1, i2,..., iN, and frequencies f1, f2,..., fN of the N alternating current components are obtained through fitting and by means of an improved extended
Prony method, and the active power P1, P2,..., PN and passive power Q1, Q2,..., Q3 of each alternating current component are calculated out. With the method adopted, voltage signals and current signals can be decomposed into a plurality of
harmonic components of which the frequencies, amplitudes and phases are known in real time under a condition that the
harmonic of a power
system is complex, in particular under a condition that non-integer-order
harmonic exists or the content of harmonic is complex, and therefore, the power of the alternating current components of the load end of the power
system can be measured accurately. The method has the advantages of simple implementation, high accuracy and easiness in realization.