[Kst] Re: Addition of sample on a specific range
Ben Lewis
asuomynona at gmail.com
Wed Mar 9 07:40:30 CET 2011
Hi Mathieu,
If you are sampling at regular intervals you could try using the "Cumulative Sum" plugin found under
Create > Filter Plugin > Cumulative Sum.
This will give you a running total of energy used.
You can then use an equation found under Create > Equation to calcuate the total cost.
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.
I hope this helps.
Cheers, Ben
On 8/03/2011 2:49 PM, mathieu660r at gmail.com wrote:
> Hi,
>
> 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.
>
> Thanks,
> Mathieu R.
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110309/dd6a70cd/attachment.htm
More information about the Kst
mailing list