• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Calculating power use

    User help
    4
    5
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rowen
      last edited by

      Hi! I have amps and volts (3 phase) that I'm reading. I want to calculate kWh. I assume the easiest method would be to setup a meta data point but I'm a novice. any thoughts? I will also want to move this data to a chart and gauge.

      Cheers,

      Rick

      1 Reply Last reply Reply Quote 0
      • CraigWebC
        CraigWeb
        last edited by

        Hi Rowen

        Kind of hard to see what your actual question is. Yes, a meta point will be the best option to calculate the power consumption, The meta-point can then be used in a dashboard with a <ma-get-point-value> component. Go through these documents and if you get stuck let us know what you have done so far and where exactly you are getting stuck,
        https://help.infiniteautomation.com/meta-data-source

        1 Reply Last reply Reply Quote 0
        • phildunlapP
          phildunlap
          last edited by

          Hi Rowen,

          I assume the amperage and voltage measurements are on the same device that you're polling? I would simply add both points into the context of the meta point, have only one of them update the context, and have a 1 second execution delay on the meta point (provided you are sampling less than once per few seconds, otherwise I would have a RuntimeManager.sleep(100); as the first thing (not for history generation though!)).

          It should also be said that if you require a high degree of precision you should use an energy meter instead of extrapolating from sampled data.

          1 Reply Last reply Reply Quote 0
          • P
            Pikey4
            last edited by

            Hi Rowen,
            Hope this helps to get started.

            I am only monitoring current on one of the 3 phases on a small job, and I've used:

            return (1.732 * 0.7 * p217.value * p218.value)/1000;
            

            1.732 = Square Root of 3
            0.7 = power factor I measured onsite once
            p217 = Amps
            p218 = Voltage

            It's not going to be as good as a power meter, but gets me trending which is all I am after and it's fairly close.

            Mango Core version: 3.5.6
            Mango API module version: 3.5.2
            MangoUi module version: 3.5.5
            Platform: 10.14 MacOS Mojave
            Chrome: Version 70.0.3538.110 (64-bit)

            R 1 Reply Last reply Reply Quote 1
            • R
              Rowen @Pikey4
              last edited by

              @pikey4 Hey! Sorry I didn't reply sooner but your info helped me out. Thx.

              R

              1 Reply Last reply Reply Quote 0
              • First post
                Last post