# Help! power and Irms

**URL:** <https://community.openenergymonitor.org/t/help-power-and-irms/7085>\
**Category:** Emoncms\
**Created:** [3 April 2018 23:36 UTC](https://community.openenergymonitor.org/t/help-power-and-irms/7085 "2018-04-03T23:36:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [4 April 2018 09:30 UTC](https://community.openenergymonitor.org/t/help-power-and-irms/7085/2 "2018-04-04T09:30:58Z")

</div>

You are using calcVI( ).  
CalcVI assumes that you have an a.c. adapter connected and that you are measuring voltage with it. When you do not have the a.c adapter, you should be using calcIrms( ) to get only the current.

Multiplying rms current by the nominal voltage gives you apparent power (VA), not real power (W):

```auto
Serial.print(" Apparent power (VA): ");Serial.println(calcIrms(1676) * 220);

```

See [Sampling rate of emonLib](https://community.openenergymonitor.org/t/sampling-rate-of-emonlib/4383) for where “1676” came from.

---

_[View the full topic](https://community.openenergymonitor.org/t/help-power-and-irms/7085)._
