<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi Mathieu,<br>
    <br>
    If you are sampling at regular intervals you could try using the
    "Cumulative Sum" plugin found under Create &gt; Filter Plugin &gt;
    Cumulative Sum.<br>
    <br>
    This will give you a running total of energy used.<br>
    <br>
    You can then use an equation found under Create &gt; Equation to
    calcuate the total cost.<br>
    <br>
    You will need to be consistent with your units, so if power is
    measured in Watts and the cumulative sum variable, dx, is entered in
    seconds, then the unit cost of electricity will need to be $/W-s.<br>
    <br>
    I hope this helps.<br>
    <br>
    Cheers, Ben<br>
    <br>
    <br>
    On 8/03/2011 2:49 PM, <a class="moz-txt-link-abbreviated"
      href="mailto:mathieu660r@gmail.com">mathieu660r@gmail.com</a>
    wrote:
    <blockquote cite="mid:20cf3071c8c28785e6049df080ce@google.com"
      type="cite">Hi,<br>
      <br>
      I'm new here and I find KST a really great tool for fast and
      efficient plotting. I'm currently using some hardware to measure
      the real power of some lights. I can plot the power easily and I
      can get the power value on the y axis and the time on the x axis.
      My question is a little bit complex so I will try to explain the
      best as I can if you have questions please ask. So I want to add
      all the value of a time sample ( example : all the value during 60
      minutes and do it for each 60 minutes) and multiply the total
      value by another value to get an approximation of the cost of
      electricity. <br>
      <br>
      Thanks,<br>
      Mathieu R.
      <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kst mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kst@kde.org">Kst@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/kst">https://mail.kde.org/mailman/listinfo/kst</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>