mandulaj / PZEM-004T-v30

Arduino library for the Updated PZEM-004T v3.0 Power and Energy meter
MIT License
256 stars 108 forks source link

Reading apparent energy #91

Closed mohannad999 closed 1 year ago

mohannad999 commented 1 year ago

How I can read apparent energy from pzem module?

mandulaj commented 1 year ago

Hi @mohannad999, The module, unfortunately, doesn't integrate Apparent energy. It hardly lets you get at any of the complex power. You could use the power factor and the Active power (together with some trigonometry) to compute the apparent power and then integrate it over time to get Apparent energy. But it will not be very accurate, especially if you integrate it over large time steps. Refer to https://en.wikipedia.org/wiki/AC_power Best of luck