<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>if you have 'pulses' use the ABSOLUTE DS type ... </div><div><br data-mce-bogus="1"></div><div>and the multiply the result by whatever a pulse is worth</div><div><br data-mce-bogus="1"></div><div>cheers</div><div>tobi</div><div><br data-mce-bogus="1"></div><div><br></div><span id="zwchr" data-marker="__DIVIDER__">----- On Mar 10, 2017, at 2:46 PM, Andreas Schuldei <andreas+rrdtool@schuldei.org> wrote:<br></span><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><img src="cid:15ab85d652567b157151" alt="drraw.png" class="" style="max-width: 100%; opacity: 1;"><br><div>This is a graph i get with my current intake of sun and my setup, consisting of thermo sensors on in- and outgoing water pipes, as well as a water meter, emitting S0 impulses, indicating that 10l of fluid were pumped. </div><div>My Issue is with dealing with the impulses in a sensible way. The interval of these impulses varies, depending on the sun intake. </div><br><div>currently my CDEF for the solar power is</div><div>d,c,-,a,*,10,*,4.190,*<br></div><div>where c and d are my temperatures, and a is my counter, indicating 10 liters. (4.190 is the specific heat constant of water.)</div><br><div>Now what is calculated by that CDEF is not really the solar power, its the momentary value, only, calculated for the duration of the impulse, which is the width of my sampling rate (which is 10sec). it would have been more accurate to take the time between the impulses and calculate the incoming energy during that period, divided by the duration of that time and graph that for the previous (or following) interval. </div><br><div>How can I do that? </div></div>
<br>_______________________________________________<br>rrd-users mailing list<br>rrd-users@lists.oetiker.ch<br>https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users<br></blockquote></div><br><div data-marker="__SIG_POST__">-- <br></div><div>Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland<br>www.oetiker.ch tobi@oetiker.ch +41 62 775 9902</div></div></body></html>