<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hallo Alex,<div><br></div><div>probiere doch mal 3600 anstelle von 60. Die Einheit ist dann falsch, aber der Wert sollte stimmen.<br><br><div dir="ltr">Thomas <div><br></div></div><div dir="ltr"><br><blockquote type="cite">Am 20.12.2019 um 10:57 schrieb "rgb@nord-com.net" <rgb@nord-com.net>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hallo Thomas und Andreas,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ich habe mal versucht, auf Eure beiden Emails zusammen zu antworten… ich hoffe es wird nicht zu verwirrend.<o:p></o:p></span></p><div><div><div><p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span lang="DE"><o:p></o:p></span></p></div></div><p class="MsoNormal"><span lang="DE" style="font-family:"Calibri","sans-serif"">Die virtuellen Kanäle haben ein paar Einschränkungen. </span><span style="font-family:"Calibri","sans-serif"">Ganz vorne weg: sie funktionieren immer mit der Auflösung in der die Daten jeweils abgerufen werden. Das Ergebnis kann daher nach Zoomstufe im Frontend (oder api) variieren.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Wenn ich es richtig verstehe, müsste der virtuelle Kanal doch die Eingaben für die Berechnung erhalten, die vom Frontend in der entsprechenden Auswahl und Zoomstufe des Eingabekanals auch angezeigt werden?<o:p></o:p></span></p></div><div><p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="DE" style="font-family:"Calibri","sans-serif"">Das mit dem *60 ist verwirrend. </span><span style="font-family:"Calibri","sans-serif"">Evtl. funktioniert hier links vor rechts nicht- das wäre ein Bug. Könntest Du mit Klammern testen.<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%"><br></span><span lang="DE" style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%">Das funktioniert soweit, dann bekomme ich eine Ausgabe.<o:p></o:p></span></p><p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#E46C0A;mso-style-textfill-fill-color:#E46C0A;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family:"Calibri","sans-serif"">Was fehlt Dir denn? Soweit in Deinem Chart zu sehen (es würde helfen alle irrelevanten Kanäle auszublenden) funktioniert die Rechnung prinzipiell: Dein Ergebniskanal schwankt abhängig von den Brennerstarts. Evtl. hast Du noch die beiden Eingänge in1/in2 vertauscht.<o:p></o:p></span></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div><p class="MsoNormal"><span lang="DE" style="font-family:"Calibri","sans-serif";color:#1F497D">Nein, ist nicht vertauscht. Ja, der Ergebniskanal schwankt abhängig von den Brennerstarts, die Kurve zeigt zusätzlich zu der von Brenner ein/aus in der Breite fast identische Fast-Rechtecke, deren Höhe von den Laufzeit abzuhängen scheint. <o:p></o:p></span></p><p class="MsoNormal"><span lang="DE" style="color:#1F497D"><o:p> </o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Was für Ergebnisse (Beispiele) erwartest du? Wie soll die Kurve dazu Aussehen?<o:p></o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-size:11.0pt;font-family:"Tahoma","sans-serif""><o:p> </o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%">Optimal wäre eine Linie, je nach durchschnittlicher Brennerlaufzeit (sagen wir mal 4-5 Minuten im angezeigten Zeitraum) entsprechend schwankt, oder als Steps, so wie die Anzahl der Brennerstarts.<o:p></o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%">Wichtig wäre mir aber weniger der Graph, sondern dass die Zahlen stimmen, und da komme ich immer noch nicht dahinter…<o:p></o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-family:"Calibri","sans-serif"">Das könnte der Denkfehler sein. VZ addiert nicht auf, das Frontend interpretiert die Daten im Zeitraum from= to=. Für deinen Betriebsstundensensor sind das Summe-N*f(Faktor), für die Brennerstarts nur Summe-N.  In deiner Grafik siehst du max=1 für beide Sensoren. Ein weiteres Problem könnte die Einheit von Brennerstarts sein.  <o:p></o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%">Im angehängten Beispiel sieht man 4 mal Brenner ein/aus, gesamte Laufzeit 0,283, geteilt durch 4 Starts, mal 60 sind 4,245 Minuten durchschnittliche Laufzeit. So ermittle ich das momentan mit dem Taschenrechner, was ja korrekte Ergebnisse liefert.<o:p></o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%">Ich stehe da irgendwo auf dem Schlauch…<o:p></o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%">Viele Grüsse, Alex<o:p></o:p></span></p><p style="margin:0in;margin-bottom:.0001pt"><span lang="DE" style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="DE" style="font-family:"Calibri","sans-serif";color:#376092;mso-style-textfill-fill-color:#376092;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p> </o:p></span></p></div><div><testkanal-settings.png></div><div><testkanal-3.png></div></div></blockquote></div></body></html>