Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [Gelöst]Batteriespeichersimulation mit AMIS-Daten in Blockly

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

[Gelöst]Batteriespeichersimulation mit AMIS-Daten in Blockly

Geplant Angeheftet Gesperrt Verschoben Blockly
120 Beiträge 2 Kommentatoren 13.1k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • dslraserD dslraser

    @goetschhofer
    Ich bin heute noch länger unterwegs und nicht am Rechner. (Dein Blockly, welches die DP erstellt, habe ich glaube ich auch nicht mehr...schon gelöscht, oder ist das mit in diesem Export dabei ?)

    G Offline
    G Offline
    GOETSCHHOFER
    schrieb am zuletzt editiert von
    #3

    @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

    @goetschhofer
    Ich bin heute noch länger unterwegs und nicht am Rechner. (Dein Blockly, welches die DP erstellt, habe ich glaube ich auch nicht mehr...schon gelöscht, oder ist das mit in diesem Export dabei ?)

    Kein Problem, es eilt nicht. Wenn es dir zeitlich mal reinpasst, würde ich mich sehr freuen, wenn du mir hier wieder unter die Arme greifen könntest.

    Da ich Anfänger bin, habe ich mir die 5 Datenpunkte unter der Rubrik Batteriespeichersimulation händisch in den Objekten angelegt.
    Ich habe versucht mich ganz auf die Lösung des Algorithmus im Blockly zu konzentrieren.

    Das Blockly mit der automatischen Anlage der Datenpunkte hast du mir sogar großzügigerweise am 30.8.21-19h13 in den Thread hochgeladen, aber da bin ich ich noch schwer überfordert.
    https://forum.iobroker.net/topic/33161/mit-blockly-zwei-werte-addieren-und-neu-in-db-schreiben/88?_=1630325878910


    d8bb68d1-5687-40c4-9882-afc89581fcca-image.png

    Vielen Dank im Voraus.

    1 Antwort Letzte Antwort
    0
    • G GOETSCHHOFER

      @dslraser

      Ich möchte mir mit meinen Daten in den Objekten (Bezug- und Einspeisung aus der PV-Anlage) aus dem AMIS-Reader eine Batteriespeichersimulation in Blockly bauen.
      Vom Amis-Reader bekomme die Werte in W für Bezug und Einspeisung in die Objekte im iobroker.

      Leider scheitere ich schon wieder an der Syntax.
      Ich möchte bei der markierten Stelle noch weitere mathematische Bedingungen einfügen (/3600/2) wegen Umrechnung in Wattstunden.

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
          <variable id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</variable>
          <variable id="Wo0,Fsx7zJsSP8w;R?od">BELADEN_W</variable>
          <variable id="5SI=f+T/eAx5%Kk.G|O2">SUMME_170_270_-</variable>
          <variable id="sI8IWPIqH}Om%}nzMwuR">ENTLADEN_W</variable>
          <variable id="$PnI*fiWd`pix1j3,%Ml">SUMME_170_270_+</variable>
        </variables>
        <block type="schedule" id="vJoi71#?.4ryRo!ZXykl" x="-213" y="-287">
          <field name="SCHEDULE">*/2 * * * * *</field>
          <statement name="STATEMENT">
            <block type="comment" id="_nHgFmoO)(JIadj*cbBN">
              <field name="COMMENT">BELADUNG: Ermittlung Speicherstand bei ÜBERSCHUSS in wh</field>
              <next>
                <block type="variables_set" id="04CEwCi/(d1*/(^%z-|X">
                  <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                  <value name="VALUE">
                    <block type="math_arithmetic" id="O)XOn2w+2MEYKh+_i^T6" inline="false">
                      <field name="OP">ADD</field>
                      <value name="A">
                        <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq">
                          <field name="NUM">1</field>
                        </shadow>
                        <block type="get_value_var" id="vl5,Q51m)+q[q.ub$il%">
                          <field name="ATTR">val</field>
                          <value name="OID">
                            <shadow type="text" id="#tZri{2(T-e,x}.^b;-u">
                              <field name="TEXT"></field>
                            </shadow>
                            <block type="math_arithmetic" id="_l#{uIO(J9sWc!o#-mxI">
                              <field name="OP">DIVIDE</field>
                              <value name="A">
                                <shadow type="math_number" id="3Svdo^)Jk}Jm!eOqWKdQ">
                                  <field name="NUM">1</field>
                                </shadow>
                                <block type="variables_get" id="V.(u/S#kt/I.Kiw$0Yfn">
                                  <field name="VAR" id="Wo0,Fsx7zJsSP8w;R?od">BELADEN_W</field>
                                </block>
                              </value>
                              <value name="B">
                                <shadow type="math_number" id=";Ogedm0(tx|PtTSfkdIH">
                                  <field name="NUM">0.9</field>
                                </shadow>
                                <block type="math_arithmetic" id="R,ifg35YU$hY.[|WGRFa">
                                  <field name="OP">DIVIDE</field>
                                  <value name="A">
                                    <shadow type="math_number" id="*OH7U!^U,/*5G7S@k.sP">
                                      <field name="NUM">3600</field>
                                    </shadow>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number" id="3hw(bnYbD-Vyn0D(V-[#">
                                      <field name="NUM">2</field>
                                    </shadow>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <shadow type="math_number" id="aNx(u#^_(su!4Pyla9C!">
                          <field name="NUM">1</field>
                        </shadow>
                        <block type="get_value_var" id="b/9EO~vR@]lB4mDr{-RY">
                          <field name="ATTR">val</field>
                          <value name="OID">
                            <shadow type="text">
                              <field name="TEXT"></field>
                            </shadow>
                            <block type="variables_get" id=",r@cTpM~2CRZSuK[Qrv2">
                              <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <next>
                    <block type="control_ex" id="#=3h2VtUt;vu.8~+r9!j" inline="true">
                      <field name="TYPE">true</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="OID">
                        <shadow type="field_oid">
                          <field name="oid">Object ID</field>
                        </shadow>
                        <block type="variables_get" id="F~1Rny|KK~Y(7DJ-[{To">
                          <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
                        </block>
                      </value>
                      <value name="VALUE">
                        <shadow type="logic_boolean">
                          <field name="BOOL">TRUE</field>
                        </shadow>
                        <block type="variables_get" id="GuQZBtmk(](Z9B;5-NWH">
                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                        </block>
                      </value>
                      <value name="DELAY_MS">
                        <shadow type="math_number" id="P2Qr2GmG)Ym$oO+F%uEE">
                          <field name="NUM">0</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="controls_if" id="^q|z=F:uxTyEVL5y`[+,">
                          <mutation else="1"></mutation>
                          <value name="IF0">
                            <block type="logic_compare" id="~G)n{+Q;bTJS//WP#/9Z">
                              <field name="OP">GT</field>
                              <value name="A">
                                <block type="math_arithmetic" id="#:@K?^O09[?Ln;#%~@=+">
                                  <field name="OP">MULTIPLY</field>
                                  <value name="A">
                                    <shadow type="math_number" id="w_k*IoH).RM}wG(Tq*6$">
                                      <field name="NUM">1</field>
                                    </shadow>
                                    <block type="variables_get" id="Oiz*pG9K`I4/{.wRyh%Y">
                                      <field name="VAR" id="5SI=f+T/eAx5%Kk.G|O2">SUMME_170_270_-</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <shadow type="math_number" id="!DDh73rU-g]Y0aM0_0pt">
                                      <field name="NUM">0.9</field>
                                    </shadow>
                                    <block type="math_arithmetic" id="A8kBBXENTeHpxU5uy2H/">
                                      <field name="OP">MINUS</field>
                                      <value name="A">
                                        <shadow type="math_number" id="dry3vTTF+ad92mz5!D|@">
                                          <field name="NUM">-0.9</field>
                                        </shadow>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="-Ca)9Vb1iClQ@ZTq3o8_">
                                          <field name="NUM">20</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="I=,`AIZy*[JCqlb=6-*:">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="comment" id="iKdyFBz%~f`BJ~FThCUS">
                              <field name="COMMENT">Überschuss wird mit Vorzeichendrehung u. Faktor-0,9 abzügl. Toleranzschwelle -20W dem Speicherstand hinzuaddiert</field>
                              <next>
                                <block type="control_ex" id="I.@$fB}o+?RTNxYEG?|?" inline="true">
                                  <field name="TYPE">true</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="OID">
                                    <shadow type="field_oid" id="-;ut0DMlP_,TP-nes/*}">
                                      <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN</field>
                                    </shadow>
                                  </value>
                                  <value name="VALUE">
                                    <shadow type="logic_boolean">
                                      <field name="BOOL">TRUE</field>
                                    </shadow>
                                    <block type="variables_get" id="N(,gBpGs8z6z;HV|~Nbq">
                                      <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                    </block>
                                  </value>
                                  <value name="DELAY_MS">
                                    <shadow type="math_number" id="S[bUv8A:C*@4r0Y($@Dy">
                                      <field name="NUM">0</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="control_ex" id=":f9.$SB!-hr`aJ#es|Rb" inline="true">
                                      <field name="TYPE">true</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="OID">
                                        <shadow type="field_oid">
                                          <field name="oid">Object ID</field>
                                        </shadow>
                                        <block type="variables_get" id="#F5m4)-*3DAh{Xc:$1gT">
                                          <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
                                        </block>
                                      </value>
                                      <value name="VALUE">
                                        <shadow type="logic_boolean">
                                          <field name="BOOL">TRUE</field>
                                        </shadow>
                                        <block type="variables_get" id="Ux-%d{xo1.H*f~lPLV%!">
                                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                        </block>
                                      </value>
                                      <value name="DELAY_MS">
                                        <shadow type="math_number" id="C1X1S~iLuS$l}[0|Cboz">
                                          <field name="NUM">0</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <statement name="ELSE">
                            <block type="comment" id="jQzSdH]}^^:~TpN8{^+?">
                              <field name="COMMENT">Entladung</field>
                              <next>
                                <block type="control_ex" id="BBoJPf0#NJ+he,MjNg!o" inline="true">
                                  <field name="TYPE">true</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="OID">
                                    <shadow type="field_oid" id="amp,PHX?6U#j~!6{c|g)">
                                      <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN</field>
                                    </shadow>
                                  </value>
                                  <value name="VALUE">
                                    <shadow type="logic_boolean" id=".F6Fxvfb.aBj!vA;GHqW">
                                      <field name="BOOL">TRUE</field>
                                    </shadow>
                                    <block type="math_number" id="{7UT-oD0CedP`@!~2v*I">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                  <value name="DELAY_MS">
                                    <shadow type="math_number" id="=gUsvc3O^Ls39Z;tn@PE">
                                      <field name="NUM">0</field>
                                    </shadow>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="comment" id="DlrrZBHbC[GReJA`Tfe2">
                              <field name="COMMENT">ENTLADUNG: Ermittlung Speicherstand bei BEZUG in Wh</field>
                              <next>
                                <block type="variables_set" id="9O_AXtoM#GtY;}ln^Yto">
                                  <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                  <value name="VALUE">
                                    <block type="math_arithmetic" id="eA8|mO;y(Ag,)YoXcpXH" inline="false">
                                      <field name="OP">ADD</field>
                                      <value name="A">
                                        <shadow type="math_number">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="get_value_var" id="%x1z6vTZp+E?Ifg+47Ki">
                                          <field name="ATTR">val</field>
                                          <value name="OID">
                                            <shadow type="text">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="math_arithmetic" id="Y,H?.H2Ppzw/rau2~;|-">
                                              <field name="OP">DIVIDE</field>
                                              <value name="A">
                                                <shadow type="math_number">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="variables_get" id="C6C)Nf/a@Yp*=%8atEt`">
                                                  <field name="VAR" id="sI8IWPIqH}Om%}nzMwuR">ENTLADEN_W</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow type="math_number">
                                                  <field name="NUM">0.9</field>
                                                </shadow>
                                                <block type="math_arithmetic" id="Yq$brfXZ+*n,1:m2L,MA">
                                                  <field name="OP">DIVIDE</field>
                                                  <value name="A">
                                                    <shadow type="math_number" id="XQ))*52CIR75:_!SvQyx">
                                                      <field name="NUM">3600</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="B">
                                                    <shadow type="math_number" id=".aSM9`j)JS4.Tv^pw=zM">
                                                      <field name="NUM">-2</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="get_value_var" id="FE0Vj-#ZOGHGgcAVgr7D">
                                          <field name="ATTR">val</field>
                                          <value name="OID">
                                            <shadow type="text">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="variables_get" id="w]:]_S,g;3?#)IXZ?+OC">
                                              <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control_ex" id="KgRR!9!/O/W11nt)W,]g" inline="true">
                                      <field name="TYPE">true</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="OID">
                                        <shadow type="field_oid">
                                          <field name="oid">Object ID</field>
                                        </shadow>
                                        <block type="variables_get" id="iloNUnL$b-O]*x!d|?[#">
                                          <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
                                        </block>
                                      </value>
                                      <value name="VALUE">
                                        <shadow type="logic_boolean">
                                          <field name="BOOL">TRUE</field>
                                        </shadow>
                                        <block type="variables_get" id="qxN+tet055S:1nAnFevh">
                                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                        </block>
                                      </value>
                                      <value name="DELAY_MS">
                                        <shadow type="math_number" id="tZ4=|!Aw#eX%WOd`#70a">
                                          <field name="NUM">0</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="controls_if" id="?flG}tz6nJdq8F7pH#Bi">
                                          <mutation else="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id=")p[pwr|21UkuxlpiZs{M">
                                              <field name="OP">LT</field>
                                              <value name="A">
                                                <block type="math_arithmetic" id="LfNB,5vc46.|KeX^pBIO">
                                                  <field name="OP">MULTIPLY</field>
                                                  <value name="A">
                                                    <shadow type="math_number">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="variables_get" id="U9/BNk3yt%WqD8).c#3!">
                                                      <field name="VAR" id="$PnI*fiWd`pix1j3,%Ml">SUMME_170_270_+</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <shadow type="math_number">
                                                      <field name="NUM">0.9</field>
                                                    </shadow>
                                                    <block type="math_arithmetic" id="WJ)%PeRRCn}:S263!m~q">
                                                      <field name="OP">ADD</field>
                                                      <value name="A">
                                                        <shadow type="math_number" id="B3PhA4JuOCE^Irv_:n(F">
                                                          <field name="NUM">-0.8</field>
                                                        </shadow>
                                                      </value>
                                                      <value name="B">
                                                        <shadow type="math_number" id="~K|6CwBe]4}+GsvOkB3z">
                                                          <field name="NUM">20</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="M%dlyhSO-A=k*XFzgU/o">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="comment" id="I1]Qe$F`4DECm@iV-ALe">
                                              <field name="COMMENT">Bezug wird mit Vorzeichendrehung u. Faktor-0,8 abzügl. Toleranzschwelle -20W vom Speicherstand abgezogen</field>
                                              <next>
                                                <block type="control_ex" id="/*kOBFc`1rwqI#?u@~rl" inline="true">
                                                  <field name="TYPE">true</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid" id="z/:JDj^82fCp|p^`F.sb">
                                                      <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="VALUE">
                                                    <shadow type="logic_boolean">
                                                      <field name="BOOL">TRUE</field>
                                                    </shadow>
                                                    <block type="variables_get" id="Ic:!7H_kRujeu!fuZ^9i">
                                                      <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                    </block>
                                                  </value>
                                                  <value name="DELAY_MS">
                                                    <shadow type="math_number" id="CWPc_Y:cmPpa;0fe0U,u">
                                                      <field name="NUM">0</field>
                                                    </shadow>
                                                  </value>
                                                  <next>
                                                    <block type="control_ex" id="(QY!sia.8=iPYr~/IU*H" inline="true">
                                                      <field name="TYPE">true</field>
                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                      <value name="OID">
                                                        <shadow type="field_oid">
                                                          <field name="oid">Object ID</field>
                                                        </shadow>
                                                        <block type="variables_get" id="QHL~0h]x1L~$AP.jVpmP">
                                                          <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
                                                        </block>
                                                      </value>
                                                      <value name="VALUE">
                                                        <shadow type="logic_boolean">
                                                          <field name="BOOL">TRUE</field>
                                                        </shadow>
                                                        <block type="variables_get" id="aSXGK(,e(f)]:Ll6BAd7">
                                                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                        </block>
                                                      </value>
                                                      <value name="DELAY_MS">
                                                        <shadow type="math_number" id="qdeGS*i+A`abv!x%mO6q">
                                                          <field name="NUM">0</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <statement name="ELSE">
                                            <block type="comment" id="6opYM{o/_VO5xv3wDsTe">
                                              <field name="COMMENT">Beladung</field>
                                              <next>
                                                <block type="control_ex" id=",P1MnIG7[bl`6p`fN3Ta" inline="true">
                                                  <field name="TYPE">true</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid" id="hRsEL1LI2~Uv_y8fE]S#">
                                                      <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="VALUE">
                                                    <shadow type="logic_boolean">
                                                      <field name="BOOL">TRUE</field>
                                                    </shadow>
                                                    <block type="math_number" id="IG+UD+s3s^t-$DmH0B6L">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <value name="DELAY_MS">
                                                    <shadow type="math_number" id="Q4/z-}/*3b,({4H5g50n">
                                                      <field name="NUM">0</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      

      567d4393-d14b-47ec-b05d-357e84fed52f-image.png

      Objekt: Summe_170_270 in W Bezug(+) oder Einspeisung(-), Werte werden alle 2 Sekunden geliefert.
      0,90 ist der Ladewirkungsgrad-Faktor,
      0,80 ist der Entladewirkungsgrad-Faktor,
      20 W ist die Toleranzschwelle für Be- und Entladung.

      BELADEN SPEICHER: Wert Überschuss wird negativ geliefert !
      Wenn das (((Objekt Summe_170_270 x -0,9) -20W)/3600/2)>0
      dann addiere diesen Wert zum Objekt Summe_Beladen_Wh
      und addiere diesen Wert zum Objekt Speicher_Stand_Wh.

      ENTLADEN SPEICHER: Wert Bezug aus dem Netz wird positiv geliefert !
      Wenn das (((Objekt Summe_170_270x0,9) -20W)/3600/2)>0
      dann addiere diesen Wert zum Objekt Summe_Entladen_Wh
      und subtrahierte diesen Wert vom Objekt Speicher_Stand_Wh.

      Vielen Dank im Voraus für die Hilfe.


      dfcc502d-683a-45cf-ad5b-8e7166a5bd39-image.png


      c7f09de7-4c96-48db-99ac-8803cacc52a1-image.png

      dslraserD Offline
      dslraserD Offline
      dslraser
      Forum Testing Most Active
      schrieb am zuletzt editiert von dslraser
      #4

      @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

      Summe_170_270

      Wo kommt das her ? Bzw. ist das ein Datenpunkt oder soll das einer sein ? (das kann ich in Deinem Blockly nicht sehen ? In dem Blockly ist es nur eine Variable)

      Bildschirmfoto 2021-09-17 um 22.47.06.png

      Wenn das der Datenpunkt aus Deinen Screenshots ist, dann müßte das wahrscheinlich so, aber dafür muß das definiert sein.

      Bildschirmfoto 2021-09-17 um 22.52.24.png

      Und meinst Du Deine Berechnung so ?

      Bildschirmfoto 2021-09-17 um 22.53.02.png

      Das ist auch nur eine Variable ? (oder soll das auch auf den Datenpunkt zeigen ? Wo ist der Datenpunkt in Deinem Blockly definiert ?)

      Bildschirmfoto 2021-09-17 um 22.56.33.png

      Hier das Gleiche ?

      Bildschirmfoto 2021-09-17 um 22.59.21.png

      role: number ? (gibt es nicht und wird wahrscheinlich angemeckert)
      Bildschirmfoto 2021-09-17 um 23.27.01.png

      G 1 Antwort Letzte Antwort
      1
      • dslraserD dslraser

        @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

        Summe_170_270

        Wo kommt das her ? Bzw. ist das ein Datenpunkt oder soll das einer sein ? (das kann ich in Deinem Blockly nicht sehen ? In dem Blockly ist es nur eine Variable)

        Bildschirmfoto 2021-09-17 um 22.47.06.png

        Wenn das der Datenpunkt aus Deinen Screenshots ist, dann müßte das wahrscheinlich so, aber dafür muß das definiert sein.

        Bildschirmfoto 2021-09-17 um 22.52.24.png

        Und meinst Du Deine Berechnung so ?

        Bildschirmfoto 2021-09-17 um 22.53.02.png

        Das ist auch nur eine Variable ? (oder soll das auch auf den Datenpunkt zeigen ? Wo ist der Datenpunkt in Deinem Blockly definiert ?)

        Bildschirmfoto 2021-09-17 um 22.56.33.png

        Hier das Gleiche ?

        Bildschirmfoto 2021-09-17 um 22.59.21.png

        role: number ? (gibt es nicht und wird wahrscheinlich angemeckert)
        Bildschirmfoto 2021-09-17 um 23.27.01.png

        G Offline
        G Offline
        GOETSCHHOFER
        schrieb am zuletzt editiert von GOETSCHHOFER
        #5

        @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

        @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

        Summe_170_270

        Wo kommt das her ? Bzw. ist das ein Datenpunkt oder soll das einer sein ? (das kann ich in Deinem Blockly nicht sehen ? In dem Blockly ist es nur eine Variable)

        Wenn das der Datenpunkt aus Deinen Screenshots ist, dann müßte das wahrscheinlich so, aber dafür muß das definiert sein.

        Und meinst Du Deine Berechnung so ?

        Das ist auch nur eine Variable ? (oder soll das auch auf den Datenpunkt zeigen ? Wo ist der Datenpunkt in Deinem Blockly definiert ?)

        Hier das Gleiche ?

        Ich befürchte ich habe in meinem 1. Entwurf den Begriff variable und Datenpunkt vermischt.
        Daher habe ich es jetzt nochmals ein wenig angepasst, die Datenpunkte verknüpft und etwas mehr strukturiert.
        Zum Test lasse ich mir über Debug die Werte anzeigen.
        Den Be- und Entlade-Faktor habe ich mal zwecks Vereinfachung auf 1 gesetzt, den Minimalwert-Abzug ebenso auf Null.
        Ich denke die Definitionen müssten jetzt korrekt sein ?


        3686b1bb-b426-4787-9ba3-21166616b401-image.png


        4c5d9a07-3288-42e7-b434-00c8eb33b4f4-image.png


        d21edca2-0405-405a-9e5f-6de0f9dc026d-image.png


        <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
        <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
        <variable id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</variable>
        </variables>
        <block type="schedule" id="vJoi71#?.4ryRo!ZXykl" x="-387" y="-1887">
        <field name="SCHEDULE">/2 * * * * </field>
        <statement name="STATEMENT">
        <block type="comment" id="_nHgFmoO)(JIadj
        cbBN">
        <field name="COMMENT">BELADUNG: Ermittlung Speicherstand bei ÜBERSCHUSS in wh</field>
        <next>
        <block type="variables_set" id="04CEwCi/(d1
        /(^%z-|X">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        <value name="VALUE">
        <block type="math_arithmetic" id="O)XOn2w+2MEYKh+i^T6" inline="false">
        <field name="OP">ADD</field>
        <value name="A">
        <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq">
        <field name="NUM">1</field>
        </shadow>
        <block type="math_arithmetic" id="l#{uIO(J9sWc!o#-mxI">
        <field name="OP">DIVIDE</field>
        <value name="A">
        <shadow type="math_number" id="3Svdo^)Jk}Jm!eOqWKdQ">
        <field name="NUM">1</field>
        </shadow>
        <block type="get_value" id="mF[pdWEeR6c~Qdu*^SGS">
        <field name="ATTR">val</field>
        <field name="OID">0_userdata.0.AMIS.SUMME_170_270
        -</field>
        </block>
        </value>
        <value name="B">
        <shadow type="math_number" id=";Ogedm0(tx|PtTSfkdIH">
        <field name="NUM">0.9</field>
        </shadow>
        <block type="math_arithmetic" id="R,ifg35YU$hY.[|WGRFa">
        <field name="OP">DIVIDE</field>
        <value name="A">
        <shadow type="math_number" id="*OH7U!^U,/*5G7S@k.sP">
        <field name="NUM">3600</field>
        </shadow>
        </value>
        <value name="B">
        <shadow type="math_number" id="3hw(bnYbD-Vyn0D(V-[#">
        <field name="NUM">-2</field>
        </shadow>
        </value>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <shadow type="math_number" id="aNx(u#^
        (su!4Pyla9C!">
        <field name="NUM">1</field>
        </shadow>
        <block type="get_value" id="[|Q5jWjM1x?.SzrM+6~J">
        <field name="ATTR">lc</field>
        <field name="OID">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
        </block>
        </value>
        </block>
        </value>
        <next>
        <block type="control_ex" id="#=3h2VtUt;vu.8~+r9!j" inline="true">
        <field name="TYPE">true</field>
        <field name="CLEAR_RUNNING">FALSE</field>
        <value name="OID">
        <shadow type="field_oid" id="lQ;Ahr5QR;K^@qU@}P6P">
        <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
        </shadow>
        </value>
        <value name="VALUE">
        <shadow type="logic_boolean">
        <field name="BOOL">TRUE</field>
        </shadow>
        <block type="variables_get" id="GuQZBtmk(](Z9B;5-NWH">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        </block>
        </value>
        <value name="DELAY_MS">
        <shadow type="math_number" id="P2Qr2GmG)Ym$oO+F%uEE">
        <field name="NUM">0</field>
        </shadow>
        </value>
        <next>
        <block type="debug" id="ktJ7~2d1D9%0nlZDBMg{">
        <field name="Severity">log</field>
        <value name="TEXT">
        <shadow type="text" id="Zs]K$ckkJE[NiO)rcz_r">
        <field name="TEXT">test</field>
        </shadow>
        <block type="text_join" id="bwQ9X@SwFTE3|gW,CV%+">
        <mutation items="2"></mutation>
        <value name="ADD0">
        <block type="text" id="(MX.6rDX$vH2||Yo7s0"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="~IVXn6f#%xBf:l6mzLg4"> <value name="VALUE"> <block type="variables_get" id="{dGIwMchNDe*Buy)JW#A"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> <next> <block type="controls_if" id="^q|z=F:uxTyEVL5y[+,">
        <mutation else="1"></mutation>
        <value name="IF0">
        <block type="logic_compare" id="~G)n{+Q;bTJS//WP#/9Z">
        <field name="OP">GT</field>
        <value name="A">
        <block type="math_arithmetic" id="#:@K?^O09[?Ln;#%~@=+">
        <field name="OP">MULTIPLY</field>
        <value name="A">
        <shadow type="math_number" id="w_kIoH).RM}wG(Tq6$">
        <field name="NUM">1</field>
        </shadow>
        <block type="get_value" id="MIsD8xwTJH9h?Sa7.+~">
        <field name="ATTR">val</field>
        <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
        </block>
        </value>
        <value name="B">
        <shadow type="math_number" id="!DDh73rU-g]Y0aM0_0pt">
        <field name="NUM">0.9</field>
        </shadow>
        <block type="math_arithmetic" id="A8kBBXENTeHpxU5uy2H/">
        <field name="OP">MINUS</field>
        <value name="A">
        <shadow type="math_number" id="dry3vTTF+ad92mz5!D|@">
        <field name="NUM">-1</field>
        </shadow>
        </value>
        <value name="B">
        <shadow type="math_number" id="-Ca)9Vb1iClQ@ZTq3o8_">
        <field name="NUM">0</field>
        </shadow>
        </value>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <block type="math_number" id="I=,AIZy*[JCqlb=6-*:"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="{s@1_@Z^o~cG~CX$z5aH"> <field name="COMMENT">Beladung</field> <next> <block type="comment" id="iKdyFBz%~fBJ~FThCUS">
        <field name="COMMENT">Überschuss wird mit Vorzeichendrehung u. Faktor-0,9 abzügl. Toleranzschwelle -20W dem Speicherstand hinzuaddiert</field>
        <next>
        <block type="control_ex" id="UV05nt;I$8l(nStKT6]h" inline="true">
        <field name="TYPE">true</field>
        <field name="CLEAR_RUNNING">FALSE</field>
        <value name="OID">
        <shadow type="field_oid" id="-C:cY,%n?jkY8L+.)a)|">
        <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_W</field>
        </shadow>
        </value>
        <value name="VALUE">
        <shadow type="logic_boolean">
        <field name="BOOL">TRUE</field>
        </shadow>
        <block type="variables_get" id=",U|grj2uk@,yA$IOA8G"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="4mSZuiU]y?M7+GxW]L0E"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="I.@$fB}o+?RTNxYEG?|?" inline="true"> <field name="TYPE">true</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid" id="-;ut0DMlP_,TP-nes/*}"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="N(,gBpGs8z6z;HV|~Nbq"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="S[bUv8A:C*@4r0Y($@Dy"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id=":f9.$SB!-hraJ#es|Rb" inline="true">
        <field name="TYPE">true</field>
        <field name="CLEAR_RUNNING">FALSE</field>
        <value name="OID">
        <shadow type="field_oid" id="@Q+Y!$6F2wXNkY6cw:_F">
        <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
        </shadow>
        </value>
        <value name="VALUE">
        <shadow type="logic_boolean">
        <field name="BOOL">TRUE</field>
        </shadow>
        <block type="variables_get" id="Ux-%d{xo1.H
        f~lPLV%!">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        </block>
        </value>
        <value name="DELAY_MS">
        <shadow type="math_number" id="C1X1S~iLuS$l}[0|Cboz">
        <field name="NUM">0</field>
        </shadow>
        </value>
        <next>
        <block type="debug" id="jO6K}SwD/G-]ISkE!UO">
        <field name="Severity">log</field>
        <value name="TEXT">
        <shadow type="text">
        <field name="TEXT">test</field>
        </shadow>
        <block type="text_join" id="4Mc9BjL1tv^K:1{uBH">
        <mutation items="2"></mutation>
        <value name="ADD0">
        <block type="text" id="#Varjds5]$F|Q]?cWs^O">
        <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field>
        </block>
        </value>
        <value name="ADD1">
        <block type="convert_tonumber" id="aS2mtk
        ^#TyKe+m?;7KU">
        <value name="VALUE">
        <block type="variables_get" id="6,[tjn,RA8$.N-pO9-0{">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        </block>
        </value>
        </block>
        </value>
        </block>
        </value>
        <next>
        <block type="debug" id="{NOj4jEs!vxIaB,Kr{AA">
        <field name="Severity">log</field>
        <value name="TEXT">
        <shadow type="text">
        <field name="TEXT">test</field>
        </shadow>
        <block type="text_join" id="CyDZ.R3L[%6;]J+f0k56">
        <mutation items="2"></mutation>
        <value name="ADD0">
        <block type="text" id="F{vL-AR]ZOvWtBevr4|">
        <field name="TEXT">0_userdata.0.AMIS.SUMME_170_270_-</field>
        </block>
        </value>
        <value name="ADD1">
        <block type="convert_tonumber" id=".sj$NmRw{ijer$U0N1l)">
        <value name="VALUE">
        <block type="variables_get" id="u[eBmjbaZlqGXDR-YAh">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        </block>
        </value>
        </block>
        </value>
        </block>
        </value>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </statement>
        <statement name="ELSE">
        <block type="comment" id="jQzSdH]}^^:~TpN8{^+?">
        <field name="COMMENT">Entladung</field>
        <next>
        <block type="control_ex" id="BBoJPf0#NJ+he,MjNg!o" inline="true">
        <field name="TYPE">true</field>
        <field name="CLEAR_RUNNING">FALSE</field>
        <value name="OID">
        <shadow type="field_oid" id="amp,PHX?6U#j~!6{c|g)">
        <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field>
        </shadow>
        </value>
        <value name="VALUE">
        <shadow type="logic_boolean" id=".F6Fxvfb.aBj!vA;GHqW">
        <field name="BOOL">TRUE</field>
        </shadow>
        <block type="math_number" id="{7UT-oD0CedP@!~2v*I"> <field name="NUM">0</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="=gUsvc3O^Ls39Z;tn@PE"> <field name="NUM">0</field> </shadow> </value> </block> </next> </block> </statement> <next> <block type="comment" id="DlrrZBHbC[GReJATfe2">
        <field name="COMMENT">ENTLADUNG: Ermittlung Speicherstand bei BEZUG in Wh</field>
        <next>
        <block type="variables_set" id="9O_AXtoM#GtY;}ln^Yto">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        <value name="VALUE">
        <block type="math_arithmetic" id="eA8|mO;y(Ag,)YoXcpXH" inline="false">
        <field name="OP">ADD</field>
        <value name="A">
        <shadow type="math_number">
        <field name="NUM">1</field>
        </shadow>
        <block type="math_arithmetic" id="7/?=]vkCRG5CQjv=Kw/+">
        <field name="OP">DIVIDE</field>
        <value name="A">
        <shadow type="math_number">
        <field name="NUM">1</field>
        </shadow>
        <block type="get_value" id="=^c|e$g=6Xl%R]gx21VY">
        <field name="ATTR">val</field>
        <field name="OID">0_userdata.0.AMIS.SUMME_170_270
        +</field>
        </block>
        </value>
        <value name="B">
        <shadow type="math_number">
        <field name="NUM">0.9</field>
        </shadow>
        <block type="math_arithmetic" id="%ece|abi[1GoPgCp?Ugs">
        <field name="OP">DIVIDE</field>
        <value name="A">
        <shadow type="math_number" id="LY}_|]MY;Gh;QYj?Vp9g">
        <field name="NUM">3600</field>
        </shadow>
        </value>
        <value name="B">
        <shadow type="math_number" id="qdiQ?/,cZ.BRbg}IB,JL">
        <field name="NUM">-2</field>
        </shadow>
        </value>
        </block>
        </value>
        </block>
        </value>
        <value name="B">
        <shadow type="math_number">
        <field name="NUM">1</field>
        </shadow>
        <block type="get_value_var" id="FE0Vj-#ZOGHGgcAVgr7D">
        <field name="ATTR">val</field>
        <value name="OID">
        <shadow type="text">
        <field name="TEXT"></field>
        </shadow>
        <block type="variables_get" id="w]:]S,g;3?#)IXZ?+OC">
        <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
        </block>
        </value>
        </block>
        </value>
        </block>
        </value>
        <next>
        <block type="control_ex" id="KgRR!9!/O/W11nt)W,]g" inline="true">
        <field name="TYPE">true</field>
        <field name="CLEAR_RUNNING">FALSE</field>
        <value name="OID">
        <shadow type="field_oid" id="4ePO}zu#8AXM!zf~!R">
        <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
        </shadow>
        </value>
        <value name="VALUE">
        <shadow type="logic_boolean">
        <field name="BOOL">TRUE</field>
        </shadow>
        <block type="variables_get" id="qxN+tet055S:1nAnFevh">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        </block>
        </value>
        <value name="DELAY_MS">
        <shadow type="math_number" id="tZ4=|!Aw#eX%WOd#70a"> <field name="NUM">0</field> </shadow> </value> <next> <block type="debug" id="yLr}=uvyem%arirTXdx:"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="@CAdAH{6O*mqyb(=,!+,"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="h;42FcwoJrS09i3mGDfX"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="(wi3zB@FF2,Gh^7|hmMC"> <value name="VALUE"> <block type="variables_get" id="^$oaJOeh?/:dM~+xioX-"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id=".sPwOL:#M~_lpAowmOT">
        <field name="Severity">log</field>
        <value name="TEXT">
        <shadow type="text">
        <field name="TEXT">test</field>
        </shadow>
        <block type="text_join" id="j/|[O{XS[fn#pDdRaY==">
        <mutation items="2"></mutation>
        <value name="ADD0">
        <block type="text" id="J$yyL$|4Bdr$8s_Vv]Q6">
        <field name="TEXT">0_userdata.0.AMIS.SUMME_170_270
        +</field>
        </block>
        </value>
        <value name="ADD1">
        <block type="convert_tonumber" id="/u@;Xpr(VdgB1Jj!{unJ">
        <value name="VALUE">
        <block type="variables_get" id="|0Z+(aZ98]36iIq)Ce)y">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        </block>
        </value>
        </block>
        </value>
        </block>
        </value>
        <next>
        <block type="controls_if" id="?flG}tz6nJdq8F7pH#Bi">
        <mutation else="1"></mutation>
        <value name="IF0">
        <block type="logic_compare" id="bRxW!jPt.VH,]?b1nSZw">
        <field name="OP">GT</field>
        <value name="A">
        <block type="math_arithmetic" id="=vW|R5T/S.h:TNh@4V%"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="GSgX_i!@m_l~_XO+_8qc"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">0.9</field> </shadow> <block type="math_arithmetic" id="[yWSPQ*8GT-xRD)8-Jw/"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="?_^,pvrX/:qScWBRD6cq"> <field name="NUM">-1</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="lnVD45+,3exfMhMHY26?"> <field name="NUM">0</field> </shadow> </value> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="bcB8T=gHao],oi{=RLrJ"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="u;gjjINO]Ba?.4{v.@9M"> <field name="COMMENT">Entladung</field> <next> <block type="comment" id="I1]Qe$F4DECm@iV-ALe">
        <field name="COMMENT">Bezug wird mit Vorzeichendrehung u. Faktor-0,8 abzügl. Toleranzschwelle -20W vom Speicherstand abgezogen</field>
        <next>
        <block type="control_ex" id="iCt+1|N#{fbj0kTGps0t" inline="true">
        <field name="TYPE">true</field>
        <field name="CLEAR_RUNNING">FALSE</field>
        <value name="OID">
        <shadow type="field_oid" id="RZ(]y6o[)%SXqrOFTyz"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_W</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="auZ0lroO[2+;(1-m(,cI"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="qU+4Od[D-#0c22(|[)a*"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="/*kOBFc1rwqI#?u@~rl" inline="true">
        <field name="TYPE">true</field>
        <field name="CLEAR_RUNNING">FALSE</field>
        <value name="OID">
        <shadow type="field_oid" id="z/:JDj^82fCp|p^F.sb"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="Ic:!7H_kRujeu!fuZ^9i"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="CWPc_Y:cmPpa;0fe0U,u"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="(QY!sia.8=iPYr~/IU*H" inline="true"> <field name="TYPE">true</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid" id="HMdw8{9C7_AKDM}JmP/">
        <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
        </shadow>
        </value>
        <value name="VALUE">
        <shadow type="logic_boolean">
        <field name="BOOL">TRUE</field>
        </shadow>
        <block type="variables_get" id="aSXGK(,e(f)]:Ll6BAd7">
        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
        </block>
        </value>
        <value name="DELAY_MS">
        <shadow type="math_number" id="qdeGS
        i+Aabv!x%mO6q"> <field name="NUM">0</field> </shadow> </value> <next> <block type="debug" id="W_t=F=my%TGWO+r[yOO/"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="P[]jZft*F!NAECm=viqj"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="j]+5p0F=NKc}rI_65yzk"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="5SaK.2,ueMGOGdk:D:"> <value name="VALUE"> <block type="variables_get" id="(!hj2E=;IK5N1UhzV/{F"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="comment" id="6opYM{o/_VO5xv3wDsTe"> <field name="COMMENT">Beladung</field> <next> <block type="control_ex" id=",P1MnIG7[bl6p`fN3Ta" inline="true">
        <field name="TYPE">true</field>
        <field name="CLEAR_RUNNING">FALSE</field>
        <value name="OID">
        <shadow type="field_oid" id="hRsEL1LI2~Uv_y8fE]S#">
        <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field>
        </shadow>
        </value>
        <value name="VALUE">
        <shadow type="logic_boolean">
        <field name="BOOL">TRUE</field>
        </shadow>
        <block type="math_number" id="IG+UD+s3s^t-$DmH0B6L">
        <field name="NUM">0</field>
        </block>
        </value>
        <value name="DELAY_MS">
        <shadow type="math_number" id="Q4/z-}/*3b,({4H5g50n">
        <field name="NUM">0</field>
        </shadow>
        </value>
        </block>
        </next>
        </block>
        </statement>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </next>
        </block>
        </statement>
        </block>
        </xml>

        dslraserD 2 Antworten Letzte Antwort
        0
        • G GOETSCHHOFER

          @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

          @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

          Summe_170_270

          Wo kommt das her ? Bzw. ist das ein Datenpunkt oder soll das einer sein ? (das kann ich in Deinem Blockly nicht sehen ? In dem Blockly ist es nur eine Variable)

          Wenn das der Datenpunkt aus Deinen Screenshots ist, dann müßte das wahrscheinlich so, aber dafür muß das definiert sein.

          Und meinst Du Deine Berechnung so ?

          Das ist auch nur eine Variable ? (oder soll das auch auf den Datenpunkt zeigen ? Wo ist der Datenpunkt in Deinem Blockly definiert ?)

          Hier das Gleiche ?

          Ich befürchte ich habe in meinem 1. Entwurf den Begriff variable und Datenpunkt vermischt.
          Daher habe ich es jetzt nochmals ein wenig angepasst, die Datenpunkte verknüpft und etwas mehr strukturiert.
          Zum Test lasse ich mir über Debug die Werte anzeigen.
          Den Be- und Entlade-Faktor habe ich mal zwecks Vereinfachung auf 1 gesetzt, den Minimalwert-Abzug ebenso auf Null.
          Ich denke die Definitionen müssten jetzt korrekt sein ?


          3686b1bb-b426-4787-9ba3-21166616b401-image.png


          4c5d9a07-3288-42e7-b434-00c8eb33b4f4-image.png


          d21edca2-0405-405a-9e5f-6de0f9dc026d-image.png


          <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
          <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
          <variable id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</variable>
          </variables>
          <block type="schedule" id="vJoi71#?.4ryRo!ZXykl" x="-387" y="-1887">
          <field name="SCHEDULE">/2 * * * * </field>
          <statement name="STATEMENT">
          <block type="comment" id="_nHgFmoO)(JIadj
          cbBN">
          <field name="COMMENT">BELADUNG: Ermittlung Speicherstand bei ÜBERSCHUSS in wh</field>
          <next>
          <block type="variables_set" id="04CEwCi/(d1
          /(^%z-|X">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          <value name="VALUE">
          <block type="math_arithmetic" id="O)XOn2w+2MEYKh+i^T6" inline="false">
          <field name="OP">ADD</field>
          <value name="A">
          <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq">
          <field name="NUM">1</field>
          </shadow>
          <block type="math_arithmetic" id="l#{uIO(J9sWc!o#-mxI">
          <field name="OP">DIVIDE</field>
          <value name="A">
          <shadow type="math_number" id="3Svdo^)Jk}Jm!eOqWKdQ">
          <field name="NUM">1</field>
          </shadow>
          <block type="get_value" id="mF[pdWEeR6c~Qdu*^SGS">
          <field name="ATTR">val</field>
          <field name="OID">0_userdata.0.AMIS.SUMME_170_270
          -</field>
          </block>
          </value>
          <value name="B">
          <shadow type="math_number" id=";Ogedm0(tx|PtTSfkdIH">
          <field name="NUM">0.9</field>
          </shadow>
          <block type="math_arithmetic" id="R,ifg35YU$hY.[|WGRFa">
          <field name="OP">DIVIDE</field>
          <value name="A">
          <shadow type="math_number" id="*OH7U!^U,/*5G7S@k.sP">
          <field name="NUM">3600</field>
          </shadow>
          </value>
          <value name="B">
          <shadow type="math_number" id="3hw(bnYbD-Vyn0D(V-[#">
          <field name="NUM">-2</field>
          </shadow>
          </value>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <shadow type="math_number" id="aNx(u#^
          (su!4Pyla9C!">
          <field name="NUM">1</field>
          </shadow>
          <block type="get_value" id="[|Q5jWjM1x?.SzrM+6~J">
          <field name="ATTR">lc</field>
          <field name="OID">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
          </block>
          </value>
          </block>
          </value>
          <next>
          <block type="control_ex" id="#=3h2VtUt;vu.8~+r9!j" inline="true">
          <field name="TYPE">true</field>
          <field name="CLEAR_RUNNING">FALSE</field>
          <value name="OID">
          <shadow type="field_oid" id="lQ;Ahr5QR;K^@qU@}P6P">
          <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
          </shadow>
          </value>
          <value name="VALUE">
          <shadow type="logic_boolean">
          <field name="BOOL">TRUE</field>
          </shadow>
          <block type="variables_get" id="GuQZBtmk(](Z9B;5-NWH">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          </block>
          </value>
          <value name="DELAY_MS">
          <shadow type="math_number" id="P2Qr2GmG)Ym$oO+F%uEE">
          <field name="NUM">0</field>
          </shadow>
          </value>
          <next>
          <block type="debug" id="ktJ7~2d1D9%0nlZDBMg{">
          <field name="Severity">log</field>
          <value name="TEXT">
          <shadow type="text" id="Zs]K$ckkJE[NiO)rcz_r">
          <field name="TEXT">test</field>
          </shadow>
          <block type="text_join" id="bwQ9X@SwFTE3|gW,CV%+">
          <mutation items="2"></mutation>
          <value name="ADD0">
          <block type="text" id="(MX.6rDX$vH2||Yo7s0"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="~IVXn6f#%xBf:l6mzLg4"> <value name="VALUE"> <block type="variables_get" id="{dGIwMchNDe*Buy)JW#A"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> <next> <block type="controls_if" id="^q|z=F:uxTyEVL5y[+,">
          <mutation else="1"></mutation>
          <value name="IF0">
          <block type="logic_compare" id="~G)n{+Q;bTJS//WP#/9Z">
          <field name="OP">GT</field>
          <value name="A">
          <block type="math_arithmetic" id="#:@K?^O09[?Ln;#%~@=+">
          <field name="OP">MULTIPLY</field>
          <value name="A">
          <shadow type="math_number" id="w_kIoH).RM}wG(Tq6$">
          <field name="NUM">1</field>
          </shadow>
          <block type="get_value" id="MIsD8xwTJH9h?Sa7.+~">
          <field name="ATTR">val</field>
          <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
          </block>
          </value>
          <value name="B">
          <shadow type="math_number" id="!DDh73rU-g]Y0aM0_0pt">
          <field name="NUM">0.9</field>
          </shadow>
          <block type="math_arithmetic" id="A8kBBXENTeHpxU5uy2H/">
          <field name="OP">MINUS</field>
          <value name="A">
          <shadow type="math_number" id="dry3vTTF+ad92mz5!D|@">
          <field name="NUM">-1</field>
          </shadow>
          </value>
          <value name="B">
          <shadow type="math_number" id="-Ca)9Vb1iClQ@ZTq3o8_">
          <field name="NUM">0</field>
          </shadow>
          </value>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="math_number" id="I=,AIZy*[JCqlb=6-*:"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="{s@1_@Z^o~cG~CX$z5aH"> <field name="COMMENT">Beladung</field> <next> <block type="comment" id="iKdyFBz%~fBJ~FThCUS">
          <field name="COMMENT">Überschuss wird mit Vorzeichendrehung u. Faktor-0,9 abzügl. Toleranzschwelle -20W dem Speicherstand hinzuaddiert</field>
          <next>
          <block type="control_ex" id="UV05nt;I$8l(nStKT6]h" inline="true">
          <field name="TYPE">true</field>
          <field name="CLEAR_RUNNING">FALSE</field>
          <value name="OID">
          <shadow type="field_oid" id="-C:cY,%n?jkY8L+.)a)|">
          <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_W</field>
          </shadow>
          </value>
          <value name="VALUE">
          <shadow type="logic_boolean">
          <field name="BOOL">TRUE</field>
          </shadow>
          <block type="variables_get" id=",U|grj2uk@,yA$IOA8G"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="4mSZuiU]y?M7+GxW]L0E"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="I.@$fB}o+?RTNxYEG?|?" inline="true"> <field name="TYPE">true</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid" id="-;ut0DMlP_,TP-nes/*}"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="N(,gBpGs8z6z;HV|~Nbq"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="S[bUv8A:C*@4r0Y($@Dy"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id=":f9.$SB!-hraJ#es|Rb" inline="true">
          <field name="TYPE">true</field>
          <field name="CLEAR_RUNNING">FALSE</field>
          <value name="OID">
          <shadow type="field_oid" id="@Q+Y!$6F2wXNkY6cw:_F">
          <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
          </shadow>
          </value>
          <value name="VALUE">
          <shadow type="logic_boolean">
          <field name="BOOL">TRUE</field>
          </shadow>
          <block type="variables_get" id="Ux-%d{xo1.H
          f~lPLV%!">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          </block>
          </value>
          <value name="DELAY_MS">
          <shadow type="math_number" id="C1X1S~iLuS$l}[0|Cboz">
          <field name="NUM">0</field>
          </shadow>
          </value>
          <next>
          <block type="debug" id="jO6K}SwD/G-]ISkE!UO">
          <field name="Severity">log</field>
          <value name="TEXT">
          <shadow type="text">
          <field name="TEXT">test</field>
          </shadow>
          <block type="text_join" id="4Mc9BjL1tv^K:1{uBH">
          <mutation items="2"></mutation>
          <value name="ADD0">
          <block type="text" id="#Varjds5]$F|Q]?cWs^O">
          <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field>
          </block>
          </value>
          <value name="ADD1">
          <block type="convert_tonumber" id="aS2mtk
          ^#TyKe+m?;7KU">
          <value name="VALUE">
          <block type="variables_get" id="6,[tjn,RA8$.N-pO9-0{">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          </block>
          </value>
          </block>
          </value>
          </block>
          </value>
          <next>
          <block type="debug" id="{NOj4jEs!vxIaB,Kr{AA">
          <field name="Severity">log</field>
          <value name="TEXT">
          <shadow type="text">
          <field name="TEXT">test</field>
          </shadow>
          <block type="text_join" id="CyDZ.R3L[%6;]J+f0k56">
          <mutation items="2"></mutation>
          <value name="ADD0">
          <block type="text" id="F{vL-AR]ZOvWtBevr4|">
          <field name="TEXT">0_userdata.0.AMIS.SUMME_170_270_-</field>
          </block>
          </value>
          <value name="ADD1">
          <block type="convert_tonumber" id=".sj$NmRw{ijer$U0N1l)">
          <value name="VALUE">
          <block type="variables_get" id="u[eBmjbaZlqGXDR-YAh">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          </block>
          </value>
          </block>
          </value>
          </block>
          </value>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </statement>
          <statement name="ELSE">
          <block type="comment" id="jQzSdH]}^^:~TpN8{^+?">
          <field name="COMMENT">Entladung</field>
          <next>
          <block type="control_ex" id="BBoJPf0#NJ+he,MjNg!o" inline="true">
          <field name="TYPE">true</field>
          <field name="CLEAR_RUNNING">FALSE</field>
          <value name="OID">
          <shadow type="field_oid" id="amp,PHX?6U#j~!6{c|g)">
          <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field>
          </shadow>
          </value>
          <value name="VALUE">
          <shadow type="logic_boolean" id=".F6Fxvfb.aBj!vA;GHqW">
          <field name="BOOL">TRUE</field>
          </shadow>
          <block type="math_number" id="{7UT-oD0CedP@!~2v*I"> <field name="NUM">0</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="=gUsvc3O^Ls39Z;tn@PE"> <field name="NUM">0</field> </shadow> </value> </block> </next> </block> </statement> <next> <block type="comment" id="DlrrZBHbC[GReJATfe2">
          <field name="COMMENT">ENTLADUNG: Ermittlung Speicherstand bei BEZUG in Wh</field>
          <next>
          <block type="variables_set" id="9O_AXtoM#GtY;}ln^Yto">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          <value name="VALUE">
          <block type="math_arithmetic" id="eA8|mO;y(Ag,)YoXcpXH" inline="false">
          <field name="OP">ADD</field>
          <value name="A">
          <shadow type="math_number">
          <field name="NUM">1</field>
          </shadow>
          <block type="math_arithmetic" id="7/?=]vkCRG5CQjv=Kw/+">
          <field name="OP">DIVIDE</field>
          <value name="A">
          <shadow type="math_number">
          <field name="NUM">1</field>
          </shadow>
          <block type="get_value" id="=^c|e$g=6Xl%R]gx21VY">
          <field name="ATTR">val</field>
          <field name="OID">0_userdata.0.AMIS.SUMME_170_270
          +</field>
          </block>
          </value>
          <value name="B">
          <shadow type="math_number">
          <field name="NUM">0.9</field>
          </shadow>
          <block type="math_arithmetic" id="%ece|abi[1GoPgCp?Ugs">
          <field name="OP">DIVIDE</field>
          <value name="A">
          <shadow type="math_number" id="LY}_|]MY;Gh;QYj?Vp9g">
          <field name="NUM">3600</field>
          </shadow>
          </value>
          <value name="B">
          <shadow type="math_number" id="qdiQ?/,cZ.BRbg}IB,JL">
          <field name="NUM">-2</field>
          </shadow>
          </value>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <shadow type="math_number">
          <field name="NUM">1</field>
          </shadow>
          <block type="get_value_var" id="FE0Vj-#ZOGHGgcAVgr7D">
          <field name="ATTR">val</field>
          <value name="OID">
          <shadow type="text">
          <field name="TEXT"></field>
          </shadow>
          <block type="variables_get" id="w]:]S,g;3?#)IXZ?+OC">
          <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
          </block>
          </value>
          </block>
          </value>
          </block>
          </value>
          <next>
          <block type="control_ex" id="KgRR!9!/O/W11nt)W,]g" inline="true">
          <field name="TYPE">true</field>
          <field name="CLEAR_RUNNING">FALSE</field>
          <value name="OID">
          <shadow type="field_oid" id="4ePO}zu#8AXM!zf~!R">
          <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
          </shadow>
          </value>
          <value name="VALUE">
          <shadow type="logic_boolean">
          <field name="BOOL">TRUE</field>
          </shadow>
          <block type="variables_get" id="qxN+tet055S:1nAnFevh">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          </block>
          </value>
          <value name="DELAY_MS">
          <shadow type="math_number" id="tZ4=|!Aw#eX%WOd#70a"> <field name="NUM">0</field> </shadow> </value> <next> <block type="debug" id="yLr}=uvyem%arirTXdx:"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="@CAdAH{6O*mqyb(=,!+,"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="h;42FcwoJrS09i3mGDfX"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="(wi3zB@FF2,Gh^7|hmMC"> <value name="VALUE"> <block type="variables_get" id="^$oaJOeh?/:dM~+xioX-"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id=".sPwOL:#M~_lpAowmOT">
          <field name="Severity">log</field>
          <value name="TEXT">
          <shadow type="text">
          <field name="TEXT">test</field>
          </shadow>
          <block type="text_join" id="j/|[O{XS[fn#pDdRaY==">
          <mutation items="2"></mutation>
          <value name="ADD0">
          <block type="text" id="J$yyL$|4Bdr$8s_Vv]Q6">
          <field name="TEXT">0_userdata.0.AMIS.SUMME_170_270
          +</field>
          </block>
          </value>
          <value name="ADD1">
          <block type="convert_tonumber" id="/u@;Xpr(VdgB1Jj!{unJ">
          <value name="VALUE">
          <block type="variables_get" id="|0Z+(aZ98]36iIq)Ce)y">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          </block>
          </value>
          </block>
          </value>
          </block>
          </value>
          <next>
          <block type="controls_if" id="?flG}tz6nJdq8F7pH#Bi">
          <mutation else="1"></mutation>
          <value name="IF0">
          <block type="logic_compare" id="bRxW!jPt.VH,]?b1nSZw">
          <field name="OP">GT</field>
          <value name="A">
          <block type="math_arithmetic" id="=vW|R5T/S.h:TNh@4V%"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="GSgX_i!@m_l~_XO+_8qc"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">0.9</field> </shadow> <block type="math_arithmetic" id="[yWSPQ*8GT-xRD)8-Jw/"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="?_^,pvrX/:qScWBRD6cq"> <field name="NUM">-1</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="lnVD45+,3exfMhMHY26?"> <field name="NUM">0</field> </shadow> </value> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="bcB8T=gHao],oi{=RLrJ"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="u;gjjINO]Ba?.4{v.@9M"> <field name="COMMENT">Entladung</field> <next> <block type="comment" id="I1]Qe$F4DECm@iV-ALe">
          <field name="COMMENT">Bezug wird mit Vorzeichendrehung u. Faktor-0,8 abzügl. Toleranzschwelle -20W vom Speicherstand abgezogen</field>
          <next>
          <block type="control_ex" id="iCt+1|N#{fbj0kTGps0t" inline="true">
          <field name="TYPE">true</field>
          <field name="CLEAR_RUNNING">FALSE</field>
          <value name="OID">
          <shadow type="field_oid" id="RZ(]y6o[)%SXqrOFTyz"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_W</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="auZ0lroO[2+;(1-m(,cI"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="qU+4Od[D-#0c22(|[)a*"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="/*kOBFc1rwqI#?u@~rl" inline="true">
          <field name="TYPE">true</field>
          <field name="CLEAR_RUNNING">FALSE</field>
          <value name="OID">
          <shadow type="field_oid" id="z/:JDj^82fCp|p^F.sb"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="Ic:!7H_kRujeu!fuZ^9i"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="CWPc_Y:cmPpa;0fe0U,u"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="(QY!sia.8=iPYr~/IU*H" inline="true"> <field name="TYPE">true</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid" id="HMdw8{9C7_AKDM}JmP/">
          <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
          </shadow>
          </value>
          <value name="VALUE">
          <shadow type="logic_boolean">
          <field name="BOOL">TRUE</field>
          </shadow>
          <block type="variables_get" id="aSXGK(,e(f)]:Ll6BAd7">
          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
          </block>
          </value>
          <value name="DELAY_MS">
          <shadow type="math_number" id="qdeGS
          i+Aabv!x%mO6q"> <field name="NUM">0</field> </shadow> </value> <next> <block type="debug" id="W_t=F=my%TGWO+r[yOO/"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="P[]jZft*F!NAECm=viqj"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="j]+5p0F=NKc}rI_65yzk"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="5SaK.2,ueMGOGdk:D:"> <value name="VALUE"> <block type="variables_get" id="(!hj2E=;IK5N1UhzV/{F"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="comment" id="6opYM{o/_VO5xv3wDsTe"> <field name="COMMENT">Beladung</field> <next> <block type="control_ex" id=",P1MnIG7[bl6p`fN3Ta" inline="true">
          <field name="TYPE">true</field>
          <field name="CLEAR_RUNNING">FALSE</field>
          <value name="OID">
          <shadow type="field_oid" id="hRsEL1LI2~Uv_y8fE]S#">
          <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field>
          </shadow>
          </value>
          <value name="VALUE">
          <shadow type="logic_boolean">
          <field name="BOOL">TRUE</field>
          </shadow>
          <block type="math_number" id="IG+UD+s3s^t-$DmH0B6L">
          <field name="NUM">0</field>
          </block>
          </value>
          <value name="DELAY_MS">
          <shadow type="math_number" id="Q4/z-}/*3b,({4H5g50n">
          <field name="NUM">0</field>
          </shadow>
          </value>
          </block>
          </next>
          </block>
          </statement>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </next>
          </block>
          </statement>
          </block>
          </xml>

          dslraserD Offline
          dslraserD Offline
          dslraser
          Forum Testing Most Active
          schrieb am zuletzt editiert von
          #6

          @goetschhofer

          Wo kommt der her ?

          Bildschirmfoto 2021-09-17 um 23.34.00.png

          G 1 Antwort Letzte Antwort
          1
          • G GOETSCHHOFER

            @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

            @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

            Summe_170_270

            Wo kommt das her ? Bzw. ist das ein Datenpunkt oder soll das einer sein ? (das kann ich in Deinem Blockly nicht sehen ? In dem Blockly ist es nur eine Variable)

            Wenn das der Datenpunkt aus Deinen Screenshots ist, dann müßte das wahrscheinlich so, aber dafür muß das definiert sein.

            Und meinst Du Deine Berechnung so ?

            Das ist auch nur eine Variable ? (oder soll das auch auf den Datenpunkt zeigen ? Wo ist der Datenpunkt in Deinem Blockly definiert ?)

            Hier das Gleiche ?

            Ich befürchte ich habe in meinem 1. Entwurf den Begriff variable und Datenpunkt vermischt.
            Daher habe ich es jetzt nochmals ein wenig angepasst, die Datenpunkte verknüpft und etwas mehr strukturiert.
            Zum Test lasse ich mir über Debug die Werte anzeigen.
            Den Be- und Entlade-Faktor habe ich mal zwecks Vereinfachung auf 1 gesetzt, den Minimalwert-Abzug ebenso auf Null.
            Ich denke die Definitionen müssten jetzt korrekt sein ?


            3686b1bb-b426-4787-9ba3-21166616b401-image.png


            4c5d9a07-3288-42e7-b434-00c8eb33b4f4-image.png


            d21edca2-0405-405a-9e5f-6de0f9dc026d-image.png


            <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
            <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
            <variable id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</variable>
            </variables>
            <block type="schedule" id="vJoi71#?.4ryRo!ZXykl" x="-387" y="-1887">
            <field name="SCHEDULE">/2 * * * * </field>
            <statement name="STATEMENT">
            <block type="comment" id="_nHgFmoO)(JIadj
            cbBN">
            <field name="COMMENT">BELADUNG: Ermittlung Speicherstand bei ÜBERSCHUSS in wh</field>
            <next>
            <block type="variables_set" id="04CEwCi/(d1
            /(^%z-|X">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            <value name="VALUE">
            <block type="math_arithmetic" id="O)XOn2w+2MEYKh+i^T6" inline="false">
            <field name="OP">ADD</field>
            <value name="A">
            <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq">
            <field name="NUM">1</field>
            </shadow>
            <block type="math_arithmetic" id="l#{uIO(J9sWc!o#-mxI">
            <field name="OP">DIVIDE</field>
            <value name="A">
            <shadow type="math_number" id="3Svdo^)Jk}Jm!eOqWKdQ">
            <field name="NUM">1</field>
            </shadow>
            <block type="get_value" id="mF[pdWEeR6c~Qdu*^SGS">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMIS.SUMME_170_270
            -</field>
            </block>
            </value>
            <value name="B">
            <shadow type="math_number" id=";Ogedm0(tx|PtTSfkdIH">
            <field name="NUM">0.9</field>
            </shadow>
            <block type="math_arithmetic" id="R,ifg35YU$hY.[|WGRFa">
            <field name="OP">DIVIDE</field>
            <value name="A">
            <shadow type="math_number" id="*OH7U!^U,/*5G7S@k.sP">
            <field name="NUM">3600</field>
            </shadow>
            </value>
            <value name="B">
            <shadow type="math_number" id="3hw(bnYbD-Vyn0D(V-[#">
            <field name="NUM">-2</field>
            </shadow>
            </value>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <shadow type="math_number" id="aNx(u#^
            (su!4Pyla9C!">
            <field name="NUM">1</field>
            </shadow>
            <block type="get_value" id="[|Q5jWjM1x?.SzrM+6~J">
            <field name="ATTR">lc</field>
            <field name="OID">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
            </block>
            </value>
            </block>
            </value>
            <next>
            <block type="control_ex" id="#=3h2VtUt;vu.8~+r9!j" inline="true">
            <field name="TYPE">true</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
            <shadow type="field_oid" id="lQ;Ahr5QR;K^@qU@}P6P">
            <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
            </shadow>
            </value>
            <value name="VALUE">
            <shadow type="logic_boolean">
            <field name="BOOL">TRUE</field>
            </shadow>
            <block type="variables_get" id="GuQZBtmk(](Z9B;5-NWH">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            </block>
            </value>
            <value name="DELAY_MS">
            <shadow type="math_number" id="P2Qr2GmG)Ym$oO+F%uEE">
            <field name="NUM">0</field>
            </shadow>
            </value>
            <next>
            <block type="debug" id="ktJ7~2d1D9%0nlZDBMg{">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text" id="Zs]K$ckkJE[NiO)rcz_r">
            <field name="TEXT">test</field>
            </shadow>
            <block type="text_join" id="bwQ9X@SwFTE3|gW,CV%+">
            <mutation items="2"></mutation>
            <value name="ADD0">
            <block type="text" id="(MX.6rDX$vH2||Yo7s0"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="~IVXn6f#%xBf:l6mzLg4"> <value name="VALUE"> <block type="variables_get" id="{dGIwMchNDe*Buy)JW#A"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> <next> <block type="controls_if" id="^q|z=F:uxTyEVL5y[+,">
            <mutation else="1"></mutation>
            <value name="IF0">
            <block type="logic_compare" id="~G)n{+Q;bTJS//WP#/9Z">
            <field name="OP">GT</field>
            <value name="A">
            <block type="math_arithmetic" id="#:@K?^O09[?Ln;#%~@=+">
            <field name="OP">MULTIPLY</field>
            <value name="A">
            <shadow type="math_number" id="w_kIoH).RM}wG(Tq6$">
            <field name="NUM">1</field>
            </shadow>
            <block type="get_value" id="MIsD8xwTJH9h?Sa7.+~">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
            </block>
            </value>
            <value name="B">
            <shadow type="math_number" id="!DDh73rU-g]Y0aM0_0pt">
            <field name="NUM">0.9</field>
            </shadow>
            <block type="math_arithmetic" id="A8kBBXENTeHpxU5uy2H/">
            <field name="OP">MINUS</field>
            <value name="A">
            <shadow type="math_number" id="dry3vTTF+ad92mz5!D|@">
            <field name="NUM">-1</field>
            </shadow>
            </value>
            <value name="B">
            <shadow type="math_number" id="-Ca)9Vb1iClQ@ZTq3o8_">
            <field name="NUM">0</field>
            </shadow>
            </value>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="math_number" id="I=,AIZy*[JCqlb=6-*:"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="{s@1_@Z^o~cG~CX$z5aH"> <field name="COMMENT">Beladung</field> <next> <block type="comment" id="iKdyFBz%~fBJ~FThCUS">
            <field name="COMMENT">Überschuss wird mit Vorzeichendrehung u. Faktor-0,9 abzügl. Toleranzschwelle -20W dem Speicherstand hinzuaddiert</field>
            <next>
            <block type="control_ex" id="UV05nt;I$8l(nStKT6]h" inline="true">
            <field name="TYPE">true</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
            <shadow type="field_oid" id="-C:cY,%n?jkY8L+.)a)|">
            <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_W</field>
            </shadow>
            </value>
            <value name="VALUE">
            <shadow type="logic_boolean">
            <field name="BOOL">TRUE</field>
            </shadow>
            <block type="variables_get" id=",U|grj2uk@,yA$IOA8G"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="4mSZuiU]y?M7+GxW]L0E"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="I.@$fB}o+?RTNxYEG?|?" inline="true"> <field name="TYPE">true</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid" id="-;ut0DMlP_,TP-nes/*}"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="N(,gBpGs8z6z;HV|~Nbq"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="S[bUv8A:C*@4r0Y($@Dy"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id=":f9.$SB!-hraJ#es|Rb" inline="true">
            <field name="TYPE">true</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
            <shadow type="field_oid" id="@Q+Y!$6F2wXNkY6cw:_F">
            <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
            </shadow>
            </value>
            <value name="VALUE">
            <shadow type="logic_boolean">
            <field name="BOOL">TRUE</field>
            </shadow>
            <block type="variables_get" id="Ux-%d{xo1.H
            f~lPLV%!">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            </block>
            </value>
            <value name="DELAY_MS">
            <shadow type="math_number" id="C1X1S~iLuS$l}[0|Cboz">
            <field name="NUM">0</field>
            </shadow>
            </value>
            <next>
            <block type="debug" id="jO6K}SwD/G-]ISkE!UO">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text">
            <field name="TEXT">test</field>
            </shadow>
            <block type="text_join" id="4Mc9BjL1tv^K:1{uBH">
            <mutation items="2"></mutation>
            <value name="ADD0">
            <block type="text" id="#Varjds5]$F|Q]?cWs^O">
            <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field>
            </block>
            </value>
            <value name="ADD1">
            <block type="convert_tonumber" id="aS2mtk
            ^#TyKe+m?;7KU">
            <value name="VALUE">
            <block type="variables_get" id="6,[tjn,RA8$.N-pO9-0{">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <next>
            <block type="debug" id="{NOj4jEs!vxIaB,Kr{AA">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text">
            <field name="TEXT">test</field>
            </shadow>
            <block type="text_join" id="CyDZ.R3L[%6;]J+f0k56">
            <mutation items="2"></mutation>
            <value name="ADD0">
            <block type="text" id="F{vL-AR]ZOvWtBevr4|">
            <field name="TEXT">0_userdata.0.AMIS.SUMME_170_270_-</field>
            </block>
            </value>
            <value name="ADD1">
            <block type="convert_tonumber" id=".sj$NmRw{ijer$U0N1l)">
            <value name="VALUE">
            <block type="variables_get" id="u[eBmjbaZlqGXDR-YAh">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            <statement name="ELSE">
            <block type="comment" id="jQzSdH]}^^:~TpN8{^+?">
            <field name="COMMENT">Entladung</field>
            <next>
            <block type="control_ex" id="BBoJPf0#NJ+he,MjNg!o" inline="true">
            <field name="TYPE">true</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
            <shadow type="field_oid" id="amp,PHX?6U#j~!6{c|g)">
            <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field>
            </shadow>
            </value>
            <value name="VALUE">
            <shadow type="logic_boolean" id=".F6Fxvfb.aBj!vA;GHqW">
            <field name="BOOL">TRUE</field>
            </shadow>
            <block type="math_number" id="{7UT-oD0CedP@!~2v*I"> <field name="NUM">0</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="=gUsvc3O^Ls39Z;tn@PE"> <field name="NUM">0</field> </shadow> </value> </block> </next> </block> </statement> <next> <block type="comment" id="DlrrZBHbC[GReJATfe2">
            <field name="COMMENT">ENTLADUNG: Ermittlung Speicherstand bei BEZUG in Wh</field>
            <next>
            <block type="variables_set" id="9O_AXtoM#GtY;}ln^Yto">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            <value name="VALUE">
            <block type="math_arithmetic" id="eA8|mO;y(Ag,)YoXcpXH" inline="false">
            <field name="OP">ADD</field>
            <value name="A">
            <shadow type="math_number">
            <field name="NUM">1</field>
            </shadow>
            <block type="math_arithmetic" id="7/?=]vkCRG5CQjv=Kw/+">
            <field name="OP">DIVIDE</field>
            <value name="A">
            <shadow type="math_number">
            <field name="NUM">1</field>
            </shadow>
            <block type="get_value" id="=^c|e$g=6Xl%R]gx21VY">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.AMIS.SUMME_170_270
            +</field>
            </block>
            </value>
            <value name="B">
            <shadow type="math_number">
            <field name="NUM">0.9</field>
            </shadow>
            <block type="math_arithmetic" id="%ece|abi[1GoPgCp?Ugs">
            <field name="OP">DIVIDE</field>
            <value name="A">
            <shadow type="math_number" id="LY}_|]MY;Gh;QYj?Vp9g">
            <field name="NUM">3600</field>
            </shadow>
            </value>
            <value name="B">
            <shadow type="math_number" id="qdiQ?/,cZ.BRbg}IB,JL">
            <field name="NUM">-2</field>
            </shadow>
            </value>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <shadow type="math_number">
            <field name="NUM">1</field>
            </shadow>
            <block type="get_value_var" id="FE0Vj-#ZOGHGgcAVgr7D">
            <field name="ATTR">val</field>
            <value name="OID">
            <shadow type="text">
            <field name="TEXT"></field>
            </shadow>
            <block type="variables_get" id="w]:]S,g;3?#)IXZ?+OC">
            <field name="VAR" id="xmCWmTz.,g].L#6J$R5]">SPEICHER_STAND_Wh</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <next>
            <block type="control_ex" id="KgRR!9!/O/W11nt)W,]g" inline="true">
            <field name="TYPE">true</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
            <shadow type="field_oid" id="4ePO}zu#8AXM!zf~!R">
            <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
            </shadow>
            </value>
            <value name="VALUE">
            <shadow type="logic_boolean">
            <field name="BOOL">TRUE</field>
            </shadow>
            <block type="variables_get" id="qxN+tet055S:1nAnFevh">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            </block>
            </value>
            <value name="DELAY_MS">
            <shadow type="math_number" id="tZ4=|!Aw#eX%WOd#70a"> <field name="NUM">0</field> </shadow> </value> <next> <block type="debug" id="yLr}=uvyem%arirTXdx:"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="@CAdAH{6O*mqyb(=,!+,"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="h;42FcwoJrS09i3mGDfX"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="(wi3zB@FF2,Gh^7|hmMC"> <value name="VALUE"> <block type="variables_get" id="^$oaJOeh?/:dM~+xioX-"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id=".sPwOL:#M~_lpAowmOT">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text">
            <field name="TEXT">test</field>
            </shadow>
            <block type="text_join" id="j/|[O{XS[fn#pDdRaY==">
            <mutation items="2"></mutation>
            <value name="ADD0">
            <block type="text" id="J$yyL$|4Bdr$8s_Vv]Q6">
            <field name="TEXT">0_userdata.0.AMIS.SUMME_170_270
            +</field>
            </block>
            </value>
            <value name="ADD1">
            <block type="convert_tonumber" id="/u@;Xpr(VdgB1Jj!{unJ">
            <value name="VALUE">
            <block type="variables_get" id="|0Z+(aZ98]36iIq)Ce)y">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <next>
            <block type="controls_if" id="?flG}tz6nJdq8F7pH#Bi">
            <mutation else="1"></mutation>
            <value name="IF0">
            <block type="logic_compare" id="bRxW!jPt.VH,]?b1nSZw">
            <field name="OP">GT</field>
            <value name="A">
            <block type="math_arithmetic" id="=vW|R5T/S.h:TNh@4V%"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number"> <field name="NUM">1</field> </shadow> <block type="get_value" id="GSgX_i!@m_l~_XO+_8qc"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field> </block> </value> <value name="B"> <shadow type="math_number"> <field name="NUM">0.9</field> </shadow> <block type="math_arithmetic" id="[yWSPQ*8GT-xRD)8-Jw/"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="?_^,pvrX/:qScWBRD6cq"> <field name="NUM">-1</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="lnVD45+,3exfMhMHY26?"> <field name="NUM">0</field> </shadow> </value> </block> </value> </block> </value> <value name="B"> <block type="math_number" id="bcB8T=gHao],oi{=RLrJ"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="u;gjjINO]Ba?.4{v.@9M"> <field name="COMMENT">Entladung</field> <next> <block type="comment" id="I1]Qe$F4DECm@iV-ALe">
            <field name="COMMENT">Bezug wird mit Vorzeichendrehung u. Faktor-0,8 abzügl. Toleranzschwelle -20W vom Speicherstand abgezogen</field>
            <next>
            <block type="control_ex" id="iCt+1|N#{fbj0kTGps0t" inline="true">
            <field name="TYPE">true</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
            <shadow type="field_oid" id="RZ(]y6o[)%SXqrOFTyz"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_W</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="auZ0lroO[2+;(1-m(,cI"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="qU+4Od[D-#0c22(|[)a*"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="/*kOBFc1rwqI#?u@~rl" inline="true">
            <field name="TYPE">true</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
            <shadow type="field_oid" id="z/:JDj^82fCp|p^F.sb"> <field name="oid">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field> </shadow> </value> <value name="VALUE"> <shadow type="logic_boolean"> <field name="BOOL">TRUE</field> </shadow> <block type="variables_get" id="Ic:!7H_kRujeu!fuZ^9i"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="CWPc_Y:cmPpa;0fe0U,u"> <field name="NUM">0</field> </shadow> </value> <next> <block type="control_ex" id="(QY!sia.8=iPYr~/IU*H" inline="true"> <field name="TYPE">true</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid" id="HMdw8{9C7_AKDM}JmP/">
            <field name="oid">0_userdata.0.BATTERIE_SPEICHER.SPEICHER_STAND_Wh</field>
            </shadow>
            </value>
            <value name="VALUE">
            <shadow type="logic_boolean">
            <field name="BOOL">TRUE</field>
            </shadow>
            <block type="variables_get" id="aSXGK(,e(f)]:Ll6BAd7">
            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
            </block>
            </value>
            <value name="DELAY_MS">
            <shadow type="math_number" id="qdeGS
            i+Aabv!x%mO6q"> <field name="NUM">0</field> </shadow> </value> <next> <block type="debug" id="W_t=F=my%TGWO+r[yOO/"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="P[]jZft*F!NAECm=viqj"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="j]+5p0F=NKc}rI_65yzk"> <field name="TEXT">0_userdata.0.BATTERIE_SPEICHER.ENTLADEN_Wh</field> </block> </value> <value name="ADD1"> <block type="convert_tonumber" id="5SaK.2,ueMGOGdk:D:"> <value name="VALUE"> <block type="variables_get" id="(!hj2E=;IK5N1UhzV/{F"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="comment" id="6opYM{o/_VO5xv3wDsTe"> <field name="COMMENT">Beladung</field> <next> <block type="control_ex" id=",P1MnIG7[bl6p`fN3Ta" inline="true">
            <field name="TYPE">true</field>
            <field name="CLEAR_RUNNING">FALSE</field>
            <value name="OID">
            <shadow type="field_oid" id="hRsEL1LI2~Uv_y8fE]S#">
            <field name="oid">0_userdata.0.BATTERIE_SPEICHER.BELADEN_Wh</field>
            </shadow>
            </value>
            <value name="VALUE">
            <shadow type="logic_boolean">
            <field name="BOOL">TRUE</field>
            </shadow>
            <block type="math_number" id="IG+UD+s3s^t-$DmH0B6L">
            <field name="NUM">0</field>
            </block>
            </value>
            <value name="DELAY_MS">
            <shadow type="math_number" id="Q4/z-}/*3b,({4H5g50n">
            <field name="NUM">0</field>
            </shadow>
            </value>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </xml>

            dslraserD Offline
            dslraserD Offline
            dslraser
            Forum Testing Most Active
            schrieb am zuletzt editiert von dslraser
            #7

            @goetschhofer

            Hier habe ich Das Blockly, welches die Datenpunkte selbst erstellt, um Deine Datenpunkte erweitert. Wenn Du dieses Blockly benutzt und dann da Deine Berechnung ausführst, da wären dann auch die Variablen/Datenpunkte definiert.

            <xml xmlns="https://developers.google.com/blockly/xml">
             <variables>
               <variable id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</variable>
               <variable id="*,Dq]t0#t-hCVl6`[)T8">DP_11280</variable>
               <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
               <variable id="=j09RHYyNa#JtpqJ`k8N">DP_170</variable>
               <variable id="A@C6|=4)GR(WlImT@_TA">Pfad</variable>
               <variable id="_obIfE1S*L[]{g_~TvuS">DP_id_und_Name_11280</variable>
               <variable id="98qloDs1XI=5wf8N5MzG">DP_180</variable>
               <variable id="B,oHlypor=Gh@)QVEZ4Z">DP_Summe_170_270</variable>
               <variable id="cs{_?%5*|k^}W453u:dD">DP_id_und_Name_170</variable>
               <variable id="v@|Yx{ttKqi9B6in@dQv">DP_270</variable>
               <variable id="l[/w_ZhFcV2(O,Fc])l(">DP_id_und_Name_180</variable>
               <variable id="KV.$!RZa,gS9xoKJ-cYd">DP_280</variable>
               <variable id="h3uwI;PG{~m.:F/=[tz!">DP_id_und_Name_270</variable>
               <variable id="}g;v)[B7w+a1G:M?E)1N">DP_370</variable>
               <variable id="g2577@r(Bm.X/)|CYFYX">DP_Summe_170_270_positiv</variable>
               <variable id="Nklcvv.#`8hq`J,NS]cI">DP_Summe_170_270_negativ</variable>
               <variable id="8M|B8W[z%v.diYAEyi7N">DP_id_und_Name_280</variable>
               <variable id="D|psEIUNgQl81#;p+V=F">DP_381</variable>
               <variable id="HO:u[2o/dXv~`~Og$x%%">DP_id_und_Name_370</variable>
               <variable id="bcwmGvKSW(*/lj5u$CKE">DP_470</variable>
               <variable id="]zc_?byoQ}xmX8o6#*JD">DP_id_und_Name_381</variable>
               <variable id="mn?/2P|KOOQ]XN_2Q//}">DP_481</variable>
               <variable id="E/@A]!eljM5zLc.6fjo?">DP_id_und_Name_470</variable>
               <variable id="z-XOThQFdOj+ug!NZo^@">DP_id_und_Name_481</variable>
               <variable id="tw6sM[nRE{0uU9Oksfhz">DP_id_und_Name_Summe_170_270</variable>
               <variable id="`/+WUK3i$Bj,1oHjdW[S">DP_id_und_Name_Summe_170_270_negativ</variable>
               <variable id=")-|[K9NQ5b@Ta_@NapX%">DP_BELADEN</variable>
               <variable id="l9dBW,P(gk-5NTzzphsK">DP_id_und_Name_Summe_170_270_positiv</variable>
               <variable id="5][dCC*/;`?UznT63iW~">DP_ENTLADEN</variable>
               <variable id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</variable>
               <variable id="!l$]Fhb{(5@W@z}o-x#q">DP_id_und_Name_BELADEN</variable>
               <variable id="NZKIbYGQQvL^qy%A)`wX">DP_SPEICHER_STAND</variable>
               <variable id="@G8b|4$j;FggO{P,s6~j">DP_id_und_Name_ENTLADEN</variable>
               <variable id="3PjZL;N64{y3S*R7[r}f">DP_SUMME_BELADEN_Wh</variable>
               <variable id="]_4:MeiKgXmwYPrpo0Lh">DP_id_und_Name_SPEICHER_STAND</variable>
               <variable id="1;z:4A*f53SLHVfvO_s2">DP_SUMME_ENTLADEN_Wh</variable>
               <variable id="[{NR/}l@uYSGY{H-!Oo!">DP_id_und_Name_SUMME_BELADEN_Wh</variable>
               <variable id="rLDtNNm3a07R5^cS_1qy">DP_id_und_Name_SUMME_ENTLADEN_Wh</variable>
             </variables>
             <block type="procedures_defcustomnoreturn" id="Q6*2#9#;FNeNnQsQ=FO*" x="13" y="13">
               <mutation statements="false"></mutation>
               <field name="NAME">Datenpunkte_anlegen</field>
               <field name="SCRIPT">YXN5bmMgZnVuY3Rpb24gY3JlYXRlVXNlclN0YXRlcyh3aGVyZSwgc3RhdGVzVG9DcmVhdGUpIHsKICAgbGV0IGRwLCBpZEtleTsKICAgZm9yKGxldCBrZXkgb2Ygc3RhdGVzVG9DcmVhdGUpewogICAJaWRLZXkgPSB3aGVyZSArICcuJyArIGtleVswXTsKICAgICAgIGRwID0ga2V5WzFdOwogICAJaWYgKCEoYXdhaXQgZXhpc3RzU3RhdGVBc3luYyhpZEtleSkpKSB7CiAgIAkJYXdhaXQgY3JlYXRlU3RhdGVBc3luYyhpZEtleSwgZHApOwogICAJfQogICB9Cn0KbGV0IHN0YXRlc1RvQ3JlYXRlID0gWwoKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV8xMTI4MCwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV8xMTI4MCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV8xNzAsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfMTcwLCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J1cnLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lXzE4MCwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV8xODAsICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0Jzona1doJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV8yNzAsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfMjcwLCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J1cnLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lXzI4MCwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV8yODAsICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0Jzona1doJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV8zNzAsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfMzcwLCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J3ZhcicsICdkZWYnOjAgfV0sCiAgICBbUGZhZCsnLicrRFBfaWRfdW5kX05hbWVfMzgxLCB7J25hbWUnOkRQX2lkX3VuZF9OYW1lXzM4MSwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidrVmFyaCcsICdkZWYnOjAgfV0sCiAgICBbUGZhZCsnLicrRFBfaWRfdW5kX05hbWVfNDcwLCB7J25hbWUnOkRQX2lkX3VuZF9OYW1lXzQ3MCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOid2YXInLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lXzQ4MSwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV80ODEsICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0Jzona1ZhcmgnLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lX1N1bW1lXzE3MF8yNzAsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfU3VtbWVfMTcwXzI3MCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidXJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV9TdW1tZV8xNzBfMjcwX3Bvc2l0aXYsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfU3VtbWVfMTcwXzI3MF9wb3NpdGl2LCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J1cnLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lX1N1bW1lXzE3MF8yNzBfbmVnYXRpdiwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV9TdW1tZV8xNzBfMjcwX25lZ2F0aXYsICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0JzonVycsICdkZWYnOjAgfV0sCiAgICBbUGZhZF8yKycuJytEUF9pZF91bmRfTmFtZV9CRUxBREVOLCB7J25hbWUnOkRQX2lkX3VuZF9OYW1lX0JFTEFERU4sICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0JzonVycsICdkZWYnOjAgfV0sCiAgICBbUGZhZF8yKycuJytEUF9pZF91bmRfTmFtZV9FTlRMQURFTiwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV9FTlRMQURFTiwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidXJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkXzIrJy4nK0RQX2lkX3VuZF9OYW1lX1NQRUlDSEVSX1NUQU5ELCB7J25hbWUnOkRQX2lkX3VuZF9OYW1lX1NQRUlDSEVSX1NUQU5ELCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J1doJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkXzIrJy4nK0RQX2lkX3VuZF9OYW1lX1NVTU1FX0JFTEFERU5fV2gsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfU1VNTUVfQkVMQURFTl9XaCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidXaCcsICdkZWYnOjAgfV0sCiAgICBbUGZhZF8yKycuJytEUF9pZF91bmRfTmFtZV9TVU1NRV9FTlRMQURFTl9XaCwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV9TVU1NRV9FTlRMQURFTl9XaCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidXaCcsICdkZWYnOjAgfV0sCgpdOwphd2FpdCBjcmVhdGVVc2VyU3RhdGVzKGFubGVnZW5faW4sIHN0YXRlc1RvQ3JlYXRlKTsKCm1haW4oKSAgICAKICAgIAogICAg</field>
               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
             </block>
             <block type="comment" id="_nHgFmoO)(JIadj*cbBN" x="13" y="63">
               <field name="COMMENT">0_userdata.0 oder javascript.x (x=Instanznummer)</field>
               <next>
                 <block type="variables_set" id="oRvF(H,E]Aty;|@apJY+">
                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                   <value name="VALUE">
                     <block type="text" id="b,`C@l)VsDuAzhGs3U,q">
                       <field name="TEXT">0_userdata.0</field>
                     </block>
                   </value>
                   <next>
                     <block type="comment" id="fc!01Wdw0`3EcKWtn@=F">
                       <field name="COMMENT">AMIS</field>
                       <next>
                         <block type="variables_set" id="Q-=KSL?KSb:ds?h6z^V7">
                           <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                           <value name="VALUE">
                             <block type="text" id="G2CZlc4S^$+aBJAr?1iL">
                               <field name="TEXT">AMIS</field>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="Jg-$)y0BPR!anD`?/RT+">
                               <field name="VAR" id="_obIfE1S*L[]{g_~TvuS">DP_id_und_Name_11280</field>
                               <value name="VALUE">
                                 <block type="text" id="nu}a,FnIupChDLG6$H]s">
                                   <field name="TEXT">11280</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="Ui,^t7m#Wc(*ok~D_}gg">
                                   <field name="VAR" id="cs{_?%5*|k^}W453u:dD">DP_id_und_Name_170</field>
                                   <value name="VALUE">
                                     <block type="text" id="R|p7nPtah;RV/ROj=.PK">
                                       <field name="TEXT">170</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="[r5+SeH2V|VN_prC_3,x">
                                       <field name="VAR" id="l[/w_ZhFcV2(O,Fc])l(">DP_id_und_Name_180</field>
                                       <value name="VALUE">
                                         <block type="text" id="]5egf.L`E.#C:Qp6NZuK">
                                           <field name="TEXT">180</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="yu`y{_GW7}zvipUEo+/r">
                                           <field name="VAR" id="h3uwI;PG{~m.:F/=[tz!">DP_id_und_Name_270</field>
                                           <value name="VALUE">
                                             <block type="text" id="(Q3y~=2La3fi36r~4Kn0">
                                               <field name="TEXT">270</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="{!mUx[[rEF+%dC.sk^GS">
                                               <field name="VAR" id="8M|B8W[z%v.diYAEyi7N">DP_id_und_Name_280</field>
                                               <value name="VALUE">
                                                 <block type="text" id="}7V4eh.)dQn${z|60-3}">
                                                   <field name="TEXT">280</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="xBNt[HNB9}ew=KcjAQOx">
                                                   <field name="VAR" id="HO:u[2o/dXv~`~Og$x%%">DP_id_und_Name_370</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="{h?0YXrjLcf`D]UB@2)N">
                                                       <field name="TEXT">370</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id="y[v`164?7k.??pB|L6[@">
                                                       <field name="VAR" id="]zc_?byoQ}xmX8o6#*JD">DP_id_und_Name_381</field>
                                                       <value name="VALUE">
                                                         <block type="text" id="q[8Xpwv8K[[fV.Kx8mS2">
                                                           <field name="TEXT">381</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="}_^)30Cfn;Fj8O@Qum{;">
                                                           <field name="VAR" id="E/@A]!eljM5zLc.6fjo?">DP_id_und_Name_470</field>
                                                           <value name="VALUE">
                                                             <block type="text" id="G[Q,!!iU}EqMFW0Lfr?_">
                                                               <field name="TEXT">470</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="variables_set" id="@t91z.qi]sBYOv^U2)S!">
                                                               <field name="VAR" id="z-XOThQFdOj+ug!NZo^@">DP_id_und_Name_481</field>
                                                               <value name="VALUE">
                                                                 <block type="text" id="}H?]lGAYb6@`g-+IcBmj">
                                                                   <field name="TEXT">481</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="variables_set" id="8(K|w[12;GW7cxR%f!*i">
                                                                   <field name="VAR" id="tw6sM[nRE{0uU9Oksfhz">DP_id_und_Name_Summe_170_270</field>
                                                                   <value name="VALUE">
                                                                     <block type="text" id="Fps~G*}CN(|60vWObN25">
                                                                       <field name="TEXT">SUMME_170_270</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="variables_set" id="BK+9xjsk9V;JW[rHUudk">
                                                                       <field name="VAR" id="l9dBW,P(gk-5NTzzphsK">DP_id_und_Name_Summe_170_270_positiv</field>
                                                                       <value name="VALUE">
                                                                         <block type="text" id="~NK4U,_]%qyPA8E*I{ok">
                                                                           <field name="TEXT">SUMME_170_270_positiv</field>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="variables_set" id="#*CUg!Csve|g?`Z_m/jD">
                                                                           <field name="VAR" id="`/+WUK3i$Bj,1oHjdW[S">DP_id_und_Name_Summe_170_270_negativ</field>
                                                                           <value name="VALUE">
                                                                             <block type="text" id=".nn+u23g=d(QU}Zm%9`]">
                                                                               <field name="TEXT">SUMME_170_270_negativ</field>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="comment" id="[A*HpPSJ,1D.mh;J6Vv;">
                                                                               <field name="COMMENT">BATTERIE_SPEICHER</field>
                                                                               <next>
                                                                                 <block type="variables_set" id="FIRe{f#)la4?x}LUt:$0">
                                                                                   <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="text" id="ApiqQCWNwpZ[B1hj%0HJ">
                                                                                       <field name="TEXT">BATTERIE_SPEICHER</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <next>
                                                                                     <block type="variables_set" id="!5AC/)w*^T!p;[xZ(7Ug">
                                                                                       <field name="VAR" id="!l$]Fhb{(5@W@z}o-x#q">DP_id_und_Name_BELADEN</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="text" id=";olf!=NAVMLp?1].XD/m">
                                                                                           <field name="TEXT">BELADEN</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <next>
                                                                                         <block type="variables_set" id="-hMBThr$T%p]3~t^gg^V">
                                                                                           <field name="VAR" id="@G8b|4$j;FggO{P,s6~j">DP_id_und_Name_ENTLADEN</field>
                                                                                           <value name="VALUE">
                                                                                             <block type="text" id="n;?vt|(8jX{?NK@9LY_y">
                                                                                               <field name="TEXT">ENTLADEN</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <next>
                                                                                             <block type="variables_set" id="mAF,S!V%iRf?8)!yN-wO">
                                                                                               <field name="VAR" id="]_4:MeiKgXmwYPrpo0Lh">DP_id_und_Name_SPEICHER_STAND</field>
                                                                                               <value name="VALUE">
                                                                                                 <block type="text" id="N]V85XCo4DL5Zzj,X57:">
                                                                                                   <field name="TEXT">SPEICHER_STAND</field>
                                                                                                 </block>
                                                                                               </value>
                                                                                               <next>
                                                                                                 <block type="variables_set" id="E]jq}qe0Uu-|Ir#)m_;4">
                                                                                                   <field name="VAR" id="[{NR/}l@uYSGY{H-!Oo!">DP_id_und_Name_SUMME_BELADEN_Wh</field>
                                                                                                   <value name="VALUE">
                                                                                                     <block type="text" id="UIWuq+Kee*_*kwkl/(n+">
                                                                                                       <field name="TEXT">SUMME_BELADEN_Wh</field>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                   <next>
                                                                                                     <block type="variables_set" id="^0(pdUYT$P/:+|/aEq,x">
                                                                                                       <field name="VAR" id="rLDtNNm3a07R5^cS_1qy">DP_id_und_Name_SUMME_ENTLADEN_Wh</field>
                                                                                                       <value name="VALUE">
                                                                                                         <block type="text" id="4sh:8YY)K{+pqLErGvLK">
                                                                                                           <field name="TEXT">SUMME_ENTLADEN_Wh</field>
                                                                                                         </block>
                                                                                                       </value>
                                                                                                       <next>
                                                                                                         <block type="procedures_callcustomnoreturn" id=")]eETq{2XF`rxT1{qN1*">
                                                                                                           <mutation name="Datenpunkte_anlegen"></mutation>
                                                                                                         </block>
                                                                                                       </next>
                                                                                                     </block>
                                                                                                   </next>
                                                                                                 </block>
                                                                                               </next>
                                                                                             </block>
                                                                                           </next>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
             <block type="procedures_defnoreturn" id="b*Zl:g,3sGHYEr]g[TSo" collapsed="true" x="12" y="737">
               <field name="NAME">main</field>
               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
               <statement name="STACK">
                 <block type="variables_set" id="^u5f3|m|byHc@iN5ENri" collapsed="true">
                   <field name="VAR" id="*,Dq]t0#t-hCVl6`[)T8">DP_11280</field>
                   <value name="VALUE">
                     <block type="text_join" id="]ltw^3=|e@v=yf%yJHG:">
                       <mutation items="5"></mutation>
                       <value name="ADD0">
                         <block type="variables_get" id="|U!ZiHM|mG@(`eN%S.mZ">
                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                         </block>
                       </value>
                       <value name="ADD1">
                         <block type="text" id="T1!d.+)s.NMRcS%-zHJP">
                           <field name="TEXT">.</field>
                         </block>
                       </value>
                       <value name="ADD2">
                         <block type="variables_get" id="g75U6V=}vE,]vA/#{,0W">
                           <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                         </block>
                       </value>
                       <value name="ADD3">
                         <block type="text" id="7)BCM!Hu(Ez`]=!_QsU`">
                           <field name="TEXT">.</field>
                         </block>
                       </value>
                       <value name="ADD4">
                         <block type="variables_get" id="29{wo5Bjjj7vNIt]E8VD">
                           <field name="VAR" id="_obIfE1S*L[]{g_~TvuS">DP_id_und_Name_11280</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <next>
                     <block type="variables_set" id="4/QUkIY9f{`;xbl.#SS2" collapsed="true">
                       <field name="VAR" id="=j09RHYyNa#JtpqJ`k8N">DP_170</field>
                       <value name="VALUE">
                         <block type="text_join" id="rA%q*7sB1{O@,V4[WK[.">
                           <mutation items="5"></mutation>
                           <value name="ADD0">
                             <block type="variables_get" id="{B]kgc4wi2YXCQ*k!!*6">
                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="text" id="7I{V,VAz2S)X7P=`toj0">
                               <field name="TEXT">.</field>
                             </block>
                           </value>
                           <value name="ADD2">
                             <block type="variables_get" id="{]M@8p(Lh=$N^3.:NMw`">
                               <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                             </block>
                           </value>
                           <value name="ADD3">
                             <block type="text" id="jI|pfm9F!$(a@L*YHLuy">
                               <field name="TEXT">.</field>
                             </block>
                           </value>
                           <value name="ADD4">
                             <block type="variables_get" id="rVrC-8j-R*ZMNfd$jJ_)">
                               <field name="VAR" id="cs{_?%5*|k^}W453u:dD">DP_id_und_Name_170</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <next>
                         <block type="variables_set" id="3s3x8ynT${WTSN{+V?va" collapsed="true">
                           <field name="VAR" id="98qloDs1XI=5wf8N5MzG">DP_180</field>
                           <value name="VALUE">
                             <block type="text_join" id="y0;?Lug0{35=rG_LU6v$">
                               <mutation items="5"></mutation>
                               <value name="ADD0">
                                 <block type="variables_get" id="]9}uaH0XgTC/t5|#DSu6">
                                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                 </block>
                               </value>
                               <value name="ADD1">
                                 <block type="text" id="C!@md9tIZb1uoy9.8h3(">
                                   <field name="TEXT">.</field>
                                 </block>
                               </value>
                               <value name="ADD2">
                                 <block type="variables_get" id="w-pnr*5,joD6#SUVCs@~">
                                   <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                 </block>
                               </value>
                               <value name="ADD3">
                                 <block type="text" id="Th82jJ7X?t+raaX)#n:}">
                                   <field name="TEXT">.</field>
                                 </block>
                               </value>
                               <value name="ADD4">
                                 <block type="variables_get" id="N*y_Pg$($ZtacT?%)Q~)">
                                   <field name="VAR" id="l[/w_ZhFcV2(O,Fc])l(">DP_id_und_Name_180</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="$1O!7LJNMG|Ylu@QXPc;" collapsed="true">
                               <field name="VAR" id="v@|Yx{ttKqi9B6in@dQv">DP_270</field>
                               <value name="VALUE">
                                 <block type="text_join" id="W!tJ[syXRzY=s,o@n$=~">
                                   <mutation items="5"></mutation>
                                   <value name="ADD0">
                                     <block type="variables_get" id="mo3h0|Ty?~As3@,fhB.F">
                                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                     </block>
                                   </value>
                                   <value name="ADD1">
                                     <block type="text" id="3xQc;3$4$Zq?on07_Y/@">
                                       <field name="TEXT">.</field>
                                     </block>
                                   </value>
                                   <value name="ADD2">
                                     <block type="variables_get" id="O5^2;J0DcPBI9HiD8fpD">
                                       <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                     </block>
                                   </value>
                                   <value name="ADD3">
                                     <block type="text" id="{Fm9PbY7b`2V50%E+@P4">
                                       <field name="TEXT">.</field>
                                     </block>
                                   </value>
                                   <value name="ADD4">
                                     <block type="variables_get" id="dO/:tqi*TS6nHD^[7y,)">
                                       <field name="VAR" id="h3uwI;PG{~m.:F/=[tz!">DP_id_und_Name_270</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="M$^/Rwsy]D`C$DEXHfRz" collapsed="true">
                                   <field name="VAR" id="KV.$!RZa,gS9xoKJ-cYd">DP_280</field>
                                   <value name="VALUE">
                                     <block type="text_join" id="4GvsLc`{0LXJkW#8-1@1">
                                       <mutation items="5"></mutation>
                                       <value name="ADD0">
                                         <block type="variables_get" id="A;]K5N#z^%b6:L*aDD=u">
                                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="text" id=",ZH+DSmp:C!Z2E?fsRPM">
                                           <field name="TEXT">.</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="variables_get" id=";]YbByN7qs;;`()En3Rn">
                                           <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="text" id="rpS{j/et{o`rAPLh{w^_">
                                           <field name="TEXT">.</field>
                                         </block>
                                       </value>
                                       <value name="ADD4">
                                         <block type="variables_get" id="iCgsF_)_[K$,h=aWPtWA">
                                           <field name="VAR" id="8M|B8W[z%v.diYAEyi7N">DP_id_und_Name_280</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="c(nO`DuwvF7O@y)d5IjC" collapsed="true">
                                       <field name="VAR" id="}g;v)[B7w+a1G:M?E)1N">DP_370</field>
                                       <value name="VALUE">
                                         <block type="text_join" id="#/v]Gmn|]=tD;9ks~-Ou">
                                           <mutation items="5"></mutation>
                                           <value name="ADD0">
                                             <block type="variables_get" id="]7$C?x^.5sZGuN-o_E%i">
                                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="text" id="5uMQ@rXe3!@n?hgk1+V_">
                                               <field name="TEXT">.</field>
                                             </block>
                                           </value>
                                           <value name="ADD2">
                                             <block type="variables_get" id="+mt*;1!MqyD2xvj9aRGg">
                                               <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                             </block>
                                           </value>
                                           <value name="ADD3">
                                             <block type="text" id="5!/JeQStW|DnVI}OINnL">
                                               <field name="TEXT">.</field>
                                             </block>
                                           </value>
                                           <value name="ADD4">
                                             <block type="variables_get" id="u^Sl!qva`gY`?H$5`kxL">
                                               <field name="VAR" id="HO:u[2o/dXv~`~Og$x%%">DP_id_und_Name_370</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="PbV%K}gLkn7_8+KPzwE)" collapsed="true">
                                           <field name="VAR" id="D|psEIUNgQl81#;p+V=F">DP_381</field>
                                           <value name="VALUE">
                                             <block type="text_join" id="vC@i[{[_y.Vt825p{IV)">
                                               <mutation items="5"></mutation>
                                               <value name="ADD0">
                                                 <block type="variables_get" id="x[6{MH8(a.Arn4a@Gi[3">
                                                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                 </block>
                                               </value>
                                               <value name="ADD1">
                                                 <block type="text" id="|Fg2(X|mZZcF9`XwrA:A">
                                                   <field name="TEXT">.</field>
                                                 </block>
                                               </value>
                                               <value name="ADD2">
                                                 <block type="variables_get" id="fs^8Dd]q5C78VFSs_]Fu">
                                                   <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                 </block>
                                               </value>
                                               <value name="ADD3">
                                                 <block type="text" id="R)D9k_JQt#?joa9LcNH1">
                                                   <field name="TEXT">.</field>
                                                 </block>
                                               </value>
                                               <value name="ADD4">
                                                 <block type="variables_get" id="+=OC+xjTmAru4dBx391W">
                                                   <field name="VAR" id="]zc_?byoQ}xmX8o6#*JD">DP_id_und_Name_381</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="PjJYU7m8HkxNGko`g-_W" collapsed="true">
                                               <field name="VAR" id="bcwmGvKSW(*/lj5u$CKE">DP_470</field>
                                               <value name="VALUE">
                                                 <block type="text_join" id="r-v!=RC]]l[#;/mT0m9!">
                                                   <mutation items="5"></mutation>
                                                   <value name="ADD0">
                                                     <block type="variables_get" id=",2U;Ex~SubiPamkD|a=9">
                                                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD1">
                                                     <block type="text" id="k:D]Fm9=H)j+ROAT9EwE">
                                                       <field name="TEXT">.</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD2">
                                                     <block type="variables_get" id=")n-wYj,)`kNtB{Aih^V~">
                                                       <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD3">
                                                     <block type="text" id="Xqs66i`IgzF;%M]|kBlQ">
                                                       <field name="TEXT">.</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD4">
                                                     <block type="variables_get" id="O)H18VqZ@J4g-3RrV@P(">
                                                       <field name="VAR" id="E/@A]!eljM5zLc.6fjo?">DP_id_und_Name_470</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="qH0Z3OF~/az.sCx~VXcb" collapsed="true">
                                                   <field name="VAR" id="mn?/2P|KOOQ]XN_2Q//}">DP_481</field>
                                                   <value name="VALUE">
                                                     <block type="text_join" id="GHyAH4h((WKPHa|Yz5QC">
                                                       <mutation items="5"></mutation>
                                                       <value name="ADD0">
                                                         <block type="variables_get" id="u;+`Yl)r)46.(4!Vv@H{">
                                                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD1">
                                                         <block type="text" id="Ku!C()qpHK%TNLmLu8d1">
                                                           <field name="TEXT">.</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD2">
                                                         <block type="variables_get" id=".Vl@sH;4{7}bKp]9/7#F">
                                                           <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD3">
                                                         <block type="text" id="/,DFWLwlk$G.:pGBQp~p">
                                                           <field name="TEXT">.</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD4">
                                                         <block type="variables_get" id="!Zq978_@UK7t?hU-#VGh">
                                                           <field name="VAR" id="z-XOThQFdOj+ug!NZo^@">DP_id_und_Name_481</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id="coD.gj}IXCODIOHd,dh(" collapsed="true">
                                                       <field name="VAR" id="B,oHlypor=Gh@)QVEZ4Z">DP_Summe_170_270</field>
                                                       <value name="VALUE">
                                                         <block type="text_join" id="qN*eC]9h4n]EU(r?GYd+">
                                                           <mutation items="5"></mutation>
                                                           <value name="ADD0">
                                                             <block type="variables_get" id="A![.D4lE)[(jBz5jcq)f">
                                                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD1">
                                                             <block type="text" id="AE8[@|5N#!,A^D7DAvEq">
                                                               <field name="TEXT">.</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD2">
                                                             <block type="variables_get" id="4;Ev]=1b2g/p!=Ym=u*Y">
                                                               <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD3">
                                                             <block type="text" id="FujbQN-W~CWrjlPXPGB:">
                                                               <field name="TEXT">.</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD4">
                                                             <block type="variables_get" id="+7JUG?|V`k1|+Wk|dkk.">
                                                               <field name="VAR" id="tw6sM[nRE{0uU9Oksfhz">DP_id_und_Name_Summe_170_270</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="-#Dpwn]+W92,7ReO]sHI" collapsed="true">
                                                           <field name="VAR" id="Nklcvv.#`8hq`J,NS]cI">DP_Summe_170_270_negativ</field>
                                                           <value name="VALUE">
                                                             <block type="text_join" id="Uv)-vJMTXTk%%ue1[DA.">
                                                               <mutation items="5"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="variables_get" id="nJGQ-mQl[IlY/qPucQ.{">
                                                                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text" id="%FKEU$ZEl_W$Zv_JJ*wO">
                                                                   <field name="TEXT">.</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD2">
                                                                 <block type="variables_get" id="72QEEN6_;(~K{VbBf3fT">
                                                                   <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD3">
                                                                 <block type="text" id="7gDJ5I46Gn*z;MYUELp5">
                                                                   <field name="TEXT">.</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD4">
                                                                 <block type="variables_get" id="Zv]x+D/oo7L[-o41q=mA">
                                                                   <field name="VAR" id="`/+WUK3i$Bj,1oHjdW[S">DP_id_und_Name_Summe_170_270_negativ</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="variables_set" id="O6[0$q_4v_B+?jS2)A)L" collapsed="true">
                                                               <field name="VAR" id="g2577@r(Bm.X/)|CYFYX">DP_Summe_170_270_positiv</field>
                                                               <value name="VALUE">
                                                                 <block type="text_join" id="kKpmZ~tNy0E:,;Oc@9Qu">
                                                                   <mutation items="5"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="variables_get" id="j@,AP)@kb%y!gZ;UYDWd">
                                                                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text" id="Yg:~k9Z(q[i[~m)XLKwO">
                                                                       <field name="TEXT">.</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="variables_get" id=";R:g^JmU.sN.Z/`T=b(/">
                                                                       <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD3">
                                                                     <block type="text" id="`2S6yw(Sq2d]$G|n:^B2">
                                                                       <field name="TEXT">.</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD4">
                                                                     <block type="variables_get" id="Y_wE+)G{Dri,035Ikr5f">
                                                                       <field name="VAR" id="l9dBW,P(gk-5NTzzphsK">DP_id_und_Name_Summe_170_270_positiv</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="variables_set" id="BWu:JRAqmjSI0(x|`K}L" collapsed="true">
                                                                   <field name="VAR" id=")-|[K9NQ5b@Ta_@NapX%">DP_BELADEN</field>
                                                                   <value name="VALUE">
                                                                     <block type="text_join" id="ORB:M4}raK5TAY-S-+#x">
                                                                       <mutation items="5"></mutation>
                                                                       <value name="ADD0">
                                                                         <block type="variables_get" id="2!tOW/:y)-TpP.~D:`ZM">
                                                                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ADD1">
                                                                         <block type="text" id="%teZxG#dDUv(%dqvj5/j">
                                                                           <field name="TEXT">.</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ADD2">
                                                                         <block type="variables_get" id="8mDZkWSz[2]z4D~Ts@^%">
                                                                           <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ADD3">
                                                                         <block type="text" id="B|,Ll.R+`}IDg}6it$7%">
                                                                           <field name="TEXT">.</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ADD4">
                                                                         <block type="variables_get" id="8F2*@{Hzd{]^3iaj{IIT">
                                                                           <field name="VAR" id="!l$]Fhb{(5@W@z}o-x#q">DP_id_und_Name_BELADEN</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="variables_set" id="(AX]f?uO@7Fb5[@-lrj*" collapsed="true">
                                                                       <field name="VAR" id="5][dCC*/;`?UznT63iW~">DP_ENTLADEN</field>
                                                                       <value name="VALUE">
                                                                         <block type="text_join" id="pT{j:LDLy:)]Ra}JiC|]">
                                                                           <mutation items="5"></mutation>
                                                                           <value name="ADD0">
                                                                             <block type="variables_get" id="oSk9^XP(%D|jDBGG?6^a">
                                                                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD1">
                                                                             <block type="text" id="Es`RE/7:$F3.P^^.EG;?">
                                                                               <field name="TEXT">.</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD2">
                                                                             <block type="variables_get" id="@gO17)zCZN5JPY5c@%]5">
                                                                               <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD3">
                                                                             <block type="text" id="u~0#T/AbPxlt6:U};7gp">
                                                                               <field name="TEXT">.</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD4">
                                                                             <block type="variables_get" id="aAeA:g+x0^ua5Qpzj=Xq">
                                                                               <field name="VAR" id="@G8b|4$j;FggO{P,s6~j">DP_id_und_Name_ENTLADEN</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="variables_set" id="_=q[qZ|?rGCT#`AwIp+{" collapsed="true">
                                                                           <field name="VAR" id="NZKIbYGQQvL^qy%A)`wX">DP_SPEICHER_STAND</field>
                                                                           <value name="VALUE">
                                                                             <block type="text_join" id="T239J7O9fz6cmN4yCa}}">
                                                                               <mutation items="5"></mutation>
                                                                               <value name="ADD0">
                                                                                 <block type="variables_get" id="{=U[T%1qs_fyWiMPXmZs">
                                                                                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD1">
                                                                                 <block type="text" id="Bgd.[t^T3Y`weQhzlOTa">
                                                                                   <field name="TEXT">.</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD2">
                                                                                 <block type="variables_get" id="Hyc9:#KQ8noUPiiI2)Rt">
                                                                                   <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD3">
                                                                                 <block type="text" id="c%%ACMag;3;(^wm3y:tL">
                                                                                   <field name="TEXT">.</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD4">
                                                                                 <block type="variables_get" id="UHV=AvcMKVNPrvV-d:%w">
                                                                                   <field name="VAR" id="]_4:MeiKgXmwYPrpo0Lh">DP_id_und_Name_SPEICHER_STAND</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="variables_set" id="YyGTU#@r]Vy}e@S1,n{n" collapsed="true">
                                                                               <field name="VAR" id="3PjZL;N64{y3S*R7[r}f">DP_SUMME_BELADEN_Wh</field>
                                                                               <value name="VALUE">
                                                                                 <block type="text_join" id="UFj;2zXt,ineDuFS(cs8">
                                                                                   <mutation items="5"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="variables_get" id="/qj6}(MA2UE.Qb$p_GFE">
                                                                                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="text" id="5]d24xS68FK$-XV5-6x4">
                                                                                       <field name="TEXT">.</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD2">
                                                                                     <block type="variables_get" id="^K=h_PQ^muo8Eq$F/z9U">
                                                                                       <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD3">
                                                                                     <block type="text" id="*H47S]G`Z;j6,Z!+I0-%">
                                                                                       <field name="TEXT">.</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD4">
                                                                                     <block type="variables_get" id="Ridh/lBX,./)m5~{jRW5">
                                                                                       <field name="VAR" id="[{NR/}l@uYSGY{H-!Oo!">DP_id_und_Name_SUMME_BELADEN_Wh</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="variables_set" id="kfMX14~p$aaO9=iP]QC5" collapsed="true">
                                                                                   <field name="VAR" id="1;z:4A*f53SLHVfvO_s2">DP_SUMME_ENTLADEN_Wh</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="text_join" id="QTuC/g;]RK,[BiAXGW3$">
                                                                                       <mutation items="5"></mutation>
                                                                                       <value name="ADD0">
                                                                                         <block type="variables_get" id="|%o6uXvgk?b8lYQRm1-/">
                                                                                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD1">
                                                                                         <block type="text" id="9*[.{;5FD5!={)#bFQS[">
                                                                                           <field name="TEXT">.</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD2">
                                                                                         <block type="variables_get" id="Dkm^4iOG]sp;thDI@J:h">
                                                                                           <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD3">
                                                                                         <block type="text" id="tpBj)s-,^-|Xb^efOGbt">
                                                                                           <field name="TEXT">.</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD4">
                                                                                         <block type="variables_get" id="s+-=7.p9Q$?#D#}`.Lme">
                                                                                           <field name="VAR" id="rLDtNNm3a07R5^cS_1qy">DP_id_und_Name_SUMME_ENTLADEN_Wh</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <next>
                                                                                     <block type="procedures_callnoreturn" id="FC;ziB2@2f?DeCy3H)*I">
                                                                                       <mutation name="rechnen"></mutation>
                                                                                       <next>
                                                                                         <block type="schedule" id="UW;FC37gq94+4]]SOKlA">
                                                                                           <field name="SCHEDULE">*/2 * * * * *</field>
                                                                                           <statement name="STATEMENT">
                                                                                             <block type="procedures_callnoreturn" id="UaC(65SkG0,pK06tnsvv">
                                                                                               <mutation name="rechnen"></mutation>
                                                                                             </block>
                                                                                           </statement>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </statement>
             </block>
             <block type="procedures_defnoreturn" id="X1CSc`0obfSPaa3nV=Gz" x="338" y="738">
               <field name="NAME">rechnen</field>
               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
               <statement name="STACK">
                 <block type="variables_set" id="04CEwCi/(d1*/(^%z-|X">
                   <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                   <value name="VALUE">
                     <block type="math_arithmetic" id="O)XOn2w+2MEYKh+_i^T6" inline="false">
                       <field name="OP">ADD</field>
                       <value name="A">
                         <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq">
                           <field name="NUM">1</field>
                         </shadow>
                         <block type="get_value_var" id="vl5,Q51m)+q[q.ub$il%">
                           <field name="ATTR">val</field>
                           <value name="OID">
                             <shadow type="text" id="#tZri{2(T-e,x}.^b;-u">
                               <field name="TEXT"></field>
                             </shadow>
                             <block type="variables_get" id="l!tW{DJdi]}*RyeTQca+">
                               <field name="VAR" id="=j09RHYyNa#JtpqJ`k8N">DP_170</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <shadow type="math_number" id="aNx(u#^_(su!4Pyla9C!">
                           <field name="NUM">1</field>
                         </shadow>
                         <block type="get_value_var" id="b/9EO~vR@]lB4mDr{-RY">
                           <field name="ATTR">val</field>
                           <value name="OID">
                             <shadow type="text">
                               <field name="TEXT"></field>
                             </shadow>
                             <block type="variables_get" id=",r@cTpM~2CRZSuK[Qrv2">
                               <field name="VAR" id="v@|Yx{ttKqi9B6in@dQv">DP_270</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <next>
                     <block type="control_ex" id="#=3h2VtUt;vu.8~+r9!j" inline="true">
                       <field name="TYPE">true</field>
                       <field name="CLEAR_RUNNING">FALSE</field>
                       <value name="OID">
                         <shadow type="field_oid">
                           <field name="oid">Object ID</field>
                         </shadow>
                         <block type="variables_get" id="F~1Rny|KK~Y(7DJ-[{To">
                           <field name="VAR" id="B,oHlypor=Gh@)QVEZ4Z">DP_Summe_170_270</field>
                         </block>
                       </value>
                       <value name="VALUE">
                         <shadow type="logic_boolean">
                           <field name="BOOL">TRUE</field>
                         </shadow>
                         <block type="variables_get" id="GuQZBtmk(](Z9B;5-NWH">
                           <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                         </block>
                       </value>
                       <value name="DELAY_MS">
                         <shadow type="math_number" id="P2Qr2GmG)Ym$oO+F%uEE">
                           <field name="NUM">0</field>
                         </shadow>
                       </value>
                       <next>
                         <block type="controls_if" id="^q|z=F:uxTyEVL5y`[+,">
                           <mutation else="1"></mutation>
                           <value name="IF0">
                             <block type="logic_compare" id="~G)n{+Q;bTJS//WP#/9Z">
                               <field name="OP">GT</field>
                               <value name="A">
                                 <block type="variables_get" id="dhO7y$_E;])v7hB^U^nc">
                                   <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="I=,`AIZy*[JCqlb=6-*:">
                                   <field name="NUM">0</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="comment" id="iKdyFBz%~f`BJ~FThCUS">
                               <field name="COMMENT">positive Summe</field>
                               <next>
                                 <block type="control_ex" id="I.@$fB}o+?RTNxYEG?|?" inline="true">
                                   <field name="TYPE">true</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="OID">
                                     <shadow type="field_oid">
                                       <field name="oid">Object ID</field>
                                     </shadow>
                                     <block type="variables_get" id="I`7^1v,Q:u0q/k^FvL(C">
                                       <field name="VAR" id="g2577@r(Bm.X/)|CYFYX">DP_Summe_170_270_positiv</field>
                                     </block>
                                   </value>
                                   <value name="VALUE">
                                     <shadow type="logic_boolean">
                                       <field name="BOOL">TRUE</field>
                                     </shadow>
                                     <block type="variables_get" id="N(,gBpGs8z6z;HV|~Nbq">
                                       <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                     </block>
                                   </value>
                                   <value name="DELAY_MS">
                                     <shadow type="math_number" id="S[bUv8A:C*@4r0Y($@Dy">
                                       <field name="NUM">0</field>
                                     </shadow>
                                   </value>
                                   <next>
                                     <block type="control_ex" id="?[[]RDkGfcLZq6110$a:" inline="true">
                                       <field name="TYPE">true</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="OID">
                                         <shadow type="field_oid">
                                           <field name="oid">Object ID</field>
                                         </shadow>
                                         <block type="variables_get" id="g_6#eyfi9~;$Y/$jt6(D">
                                           <field name="VAR" id="Nklcvv.#`8hq`J,NS]cI">DP_Summe_170_270_negativ</field>
                                         </block>
                                       </value>
                                       <value name="VALUE">
                                         <shadow type="logic_boolean">
                                           <field name="BOOL">TRUE</field>
                                         </shadow>
                                         <block type="math_number" id="%WAh}R)lK9%qJzLT1vb`">
                                           <field name="NUM">0</field>
                                         </block>
                                       </value>
                                       <value name="DELAY_MS">
                                         <shadow type="math_number" id="``?p)i$9$-(w9)ZDs.^|">
                                           <field name="NUM">0</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <statement name="ELSE">
                             <block type="comment" id="jQzSdH]}^^:~TpN8{^+?">
                               <field name="COMMENT">negative Summe</field>
                               <next>
                                 <block type="control_ex" id="BBoJPf0#NJ+he,MjNg!o" inline="true">
                                   <field name="TYPE">true</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="OID">
                                     <shadow type="field_oid" id="amp,PHX?6U#j~!6{c|g)">
                                       <field name="oid">Object ID</field>
                                     </shadow>
                                     <block type="variables_get" id="O,`qKYUzSLQMcqVw]E`H">
                                       <field name="VAR" id="Nklcvv.#`8hq`J,NS]cI">DP_Summe_170_270_negativ</field>
                                     </block>
                                   </value>
                                   <value name="VALUE">
                                     <shadow type="logic_boolean" id=".F6Fxvfb.aBj!vA;GHqW">
                                       <field name="BOOL">TRUE</field>
                                     </shadow>
                                     <block type="variables_get" id="vYIJ8-++#f:ro2pQD;Pv">
                                       <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                     </block>
                                   </value>
                                   <value name="DELAY_MS">
                                     <shadow type="math_number" id="=gUsvc3O^Ls39Z;tn@PE">
                                       <field name="NUM">0</field>
                                     </shadow>
                                   </value>
                                   <next>
                                     <block type="control_ex" id="ZKx#UMlC,hIBc=l9CkCI" inline="true">
                                       <field name="TYPE">true</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="OID">
                                         <shadow type="field_oid">
                                           <field name="oid">Object ID</field>
                                         </shadow>
                                         <block type="variables_get" id="n|lAMkW=/4uZQY(KG-I:">
                                           <field name="VAR" id="g2577@r(Bm.X/)|CYFYX">DP_Summe_170_270_positiv</field>
                                         </block>
                                       </value>
                                       <value name="VALUE">
                                         <shadow type="logic_boolean" id="0[UhhOsJhI.*Cx@K*4ah">
                                           <field name="BOOL">TRUE</field>
                                         </shadow>
                                         <block type="math_number" id="tlTcHlN5ffVkk!ijAfhZ">
                                           <field name="NUM">0</field>
                                         </block>
                                       </value>
                                       <value name="DELAY_MS">
                                         <shadow type="math_number" id="{=~a`vPR:LEc6o$QCQIY">
                                           <field name="NUM">0</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </statement>
             </block>
            </xml>
            

            G 1 Antwort Letzte Antwort
            1
            • dslraserD dslraser

              @goetschhofer

              Wo kommt der her ?

              Bildschirmfoto 2021-09-17 um 23.34.00.png

              G Offline
              G Offline
              GOETSCHHOFER
              schrieb am zuletzt editiert von GOETSCHHOFER
              #8

              @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

              @goetschhofer

              Wo kommt der her ?

              Bildschirmfoto 2021-09-17 um 23.34.00.png

              Ja, den sollte er sich eigentlich errechnen.

              z. B. Leistung in W 1000/3600/2 Sek. = 0,138Wh, diese sollte er auch zum Objekt Speicher_Stand_Wh als Entladung_Wh abziehen oder falls es ein PV-Überschuss ist als Beladung_Wh hinzuaddieren.
              Der Speicherstand ist jetzt natürlich negativ, da ich den Speicher rechnerisch noch nicht aufgeladen habe.
              d506c086-8853-414f-8580-3616d0368e42-image.png

              dslraserD 1 Antwort Letzte Antwort
              0
              • dslraserD dslraser

                @goetschhofer

                Hier habe ich Das Blockly, welches die Datenpunkte selbst erstellt, um Deine Datenpunkte erweitert. Wenn Du dieses Blockly benutzt und dann da Deine Berechnung ausführst, da wären dann auch die Variablen/Datenpunkte definiert.

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <variables>
                   <variable id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</variable>
                   <variable id="*,Dq]t0#t-hCVl6`[)T8">DP_11280</variable>
                   <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
                   <variable id="=j09RHYyNa#JtpqJ`k8N">DP_170</variable>
                   <variable id="A@C6|=4)GR(WlImT@_TA">Pfad</variable>
                   <variable id="_obIfE1S*L[]{g_~TvuS">DP_id_und_Name_11280</variable>
                   <variable id="98qloDs1XI=5wf8N5MzG">DP_180</variable>
                   <variable id="B,oHlypor=Gh@)QVEZ4Z">DP_Summe_170_270</variable>
                   <variable id="cs{_?%5*|k^}W453u:dD">DP_id_und_Name_170</variable>
                   <variable id="v@|Yx{ttKqi9B6in@dQv">DP_270</variable>
                   <variable id="l[/w_ZhFcV2(O,Fc])l(">DP_id_und_Name_180</variable>
                   <variable id="KV.$!RZa,gS9xoKJ-cYd">DP_280</variable>
                   <variable id="h3uwI;PG{~m.:F/=[tz!">DP_id_und_Name_270</variable>
                   <variable id="}g;v)[B7w+a1G:M?E)1N">DP_370</variable>
                   <variable id="g2577@r(Bm.X/)|CYFYX">DP_Summe_170_270_positiv</variable>
                   <variable id="Nklcvv.#`8hq`J,NS]cI">DP_Summe_170_270_negativ</variable>
                   <variable id="8M|B8W[z%v.diYAEyi7N">DP_id_und_Name_280</variable>
                   <variable id="D|psEIUNgQl81#;p+V=F">DP_381</variable>
                   <variable id="HO:u[2o/dXv~`~Og$x%%">DP_id_und_Name_370</variable>
                   <variable id="bcwmGvKSW(*/lj5u$CKE">DP_470</variable>
                   <variable id="]zc_?byoQ}xmX8o6#*JD">DP_id_und_Name_381</variable>
                   <variable id="mn?/2P|KOOQ]XN_2Q//}">DP_481</variable>
                   <variable id="E/@A]!eljM5zLc.6fjo?">DP_id_und_Name_470</variable>
                   <variable id="z-XOThQFdOj+ug!NZo^@">DP_id_und_Name_481</variable>
                   <variable id="tw6sM[nRE{0uU9Oksfhz">DP_id_und_Name_Summe_170_270</variable>
                   <variable id="`/+WUK3i$Bj,1oHjdW[S">DP_id_und_Name_Summe_170_270_negativ</variable>
                   <variable id=")-|[K9NQ5b@Ta_@NapX%">DP_BELADEN</variable>
                   <variable id="l9dBW,P(gk-5NTzzphsK">DP_id_und_Name_Summe_170_270_positiv</variable>
                   <variable id="5][dCC*/;`?UznT63iW~">DP_ENTLADEN</variable>
                   <variable id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</variable>
                   <variable id="!l$]Fhb{(5@W@z}o-x#q">DP_id_und_Name_BELADEN</variable>
                   <variable id="NZKIbYGQQvL^qy%A)`wX">DP_SPEICHER_STAND</variable>
                   <variable id="@G8b|4$j;FggO{P,s6~j">DP_id_und_Name_ENTLADEN</variable>
                   <variable id="3PjZL;N64{y3S*R7[r}f">DP_SUMME_BELADEN_Wh</variable>
                   <variable id="]_4:MeiKgXmwYPrpo0Lh">DP_id_und_Name_SPEICHER_STAND</variable>
                   <variable id="1;z:4A*f53SLHVfvO_s2">DP_SUMME_ENTLADEN_Wh</variable>
                   <variable id="[{NR/}l@uYSGY{H-!Oo!">DP_id_und_Name_SUMME_BELADEN_Wh</variable>
                   <variable id="rLDtNNm3a07R5^cS_1qy">DP_id_und_Name_SUMME_ENTLADEN_Wh</variable>
                 </variables>
                 <block type="procedures_defcustomnoreturn" id="Q6*2#9#;FNeNnQsQ=FO*" x="13" y="13">
                   <mutation statements="false"></mutation>
                   <field name="NAME">Datenpunkte_anlegen</field>
                   <field name="SCRIPT">YXN5bmMgZnVuY3Rpb24gY3JlYXRlVXNlclN0YXRlcyh3aGVyZSwgc3RhdGVzVG9DcmVhdGUpIHsKICAgbGV0IGRwLCBpZEtleTsKICAgZm9yKGxldCBrZXkgb2Ygc3RhdGVzVG9DcmVhdGUpewogICAJaWRLZXkgPSB3aGVyZSArICcuJyArIGtleVswXTsKICAgICAgIGRwID0ga2V5WzFdOwogICAJaWYgKCEoYXdhaXQgZXhpc3RzU3RhdGVBc3luYyhpZEtleSkpKSB7CiAgIAkJYXdhaXQgY3JlYXRlU3RhdGVBc3luYyhpZEtleSwgZHApOwogICAJfQogICB9Cn0KbGV0IHN0YXRlc1RvQ3JlYXRlID0gWwoKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV8xMTI4MCwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV8xMTI4MCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV8xNzAsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfMTcwLCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J1cnLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lXzE4MCwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV8xODAsICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0Jzona1doJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV8yNzAsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfMjcwLCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J1cnLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lXzI4MCwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV8yODAsICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0Jzona1doJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV8zNzAsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfMzcwLCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J3ZhcicsICdkZWYnOjAgfV0sCiAgICBbUGZhZCsnLicrRFBfaWRfdW5kX05hbWVfMzgxLCB7J25hbWUnOkRQX2lkX3VuZF9OYW1lXzM4MSwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidrVmFyaCcsICdkZWYnOjAgfV0sCiAgICBbUGZhZCsnLicrRFBfaWRfdW5kX05hbWVfNDcwLCB7J25hbWUnOkRQX2lkX3VuZF9OYW1lXzQ3MCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOid2YXInLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lXzQ4MSwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV80ODEsICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0Jzona1ZhcmgnLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lX1N1bW1lXzE3MF8yNzAsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfU3VtbWVfMTcwXzI3MCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidXJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkKycuJytEUF9pZF91bmRfTmFtZV9TdW1tZV8xNzBfMjcwX3Bvc2l0aXYsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfU3VtbWVfMTcwXzI3MF9wb3NpdGl2LCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J1cnLCAnZGVmJzowIH1dLAogICAgW1BmYWQrJy4nK0RQX2lkX3VuZF9OYW1lX1N1bW1lXzE3MF8yNzBfbmVnYXRpdiwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV9TdW1tZV8xNzBfMjcwX25lZ2F0aXYsICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0JzonVycsICdkZWYnOjAgfV0sCiAgICBbUGZhZF8yKycuJytEUF9pZF91bmRfTmFtZV9CRUxBREVOLCB7J25hbWUnOkRQX2lkX3VuZF9OYW1lX0JFTEFERU4sICd0eXBlJzonbnVtYmVyJywgJ3JlYWQnOnRydWUsICd3cml0ZSc6dHJ1ZSwgJ3JvbGUnOid2YWx1ZScsICd1bml0JzonVycsICdkZWYnOjAgfV0sCiAgICBbUGZhZF8yKycuJytEUF9pZF91bmRfTmFtZV9FTlRMQURFTiwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV9FTlRMQURFTiwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidXJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkXzIrJy4nK0RQX2lkX3VuZF9OYW1lX1NQRUlDSEVSX1NUQU5ELCB7J25hbWUnOkRQX2lkX3VuZF9OYW1lX1NQRUlDSEVSX1NUQU5ELCAndHlwZSc6J251bWJlcicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzondmFsdWUnLCAndW5pdCc6J1doJywgJ2RlZic6MCB9XSwKICAgIFtQZmFkXzIrJy4nK0RQX2lkX3VuZF9OYW1lX1NVTU1FX0JFTEFERU5fV2gsIHsnbmFtZSc6RFBfaWRfdW5kX05hbWVfU1VNTUVfQkVMQURFTl9XaCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidXaCcsICdkZWYnOjAgfV0sCiAgICBbUGZhZF8yKycuJytEUF9pZF91bmRfTmFtZV9TVU1NRV9FTlRMQURFTl9XaCwgeyduYW1lJzpEUF9pZF91bmRfTmFtZV9TVU1NRV9FTlRMQURFTl9XaCwgJ3R5cGUnOidudW1iZXInLCAncmVhZCc6dHJ1ZSwgJ3dyaXRlJzp0cnVlLCAncm9sZSc6J3ZhbHVlJywgJ3VuaXQnOidXaCcsICdkZWYnOjAgfV0sCgpdOwphd2FpdCBjcmVhdGVVc2VyU3RhdGVzKGFubGVnZW5faW4sIHN0YXRlc1RvQ3JlYXRlKTsKCm1haW4oKSAgICAKICAgIAogICAg</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                 </block>
                 <block type="comment" id="_nHgFmoO)(JIadj*cbBN" x="13" y="63">
                   <field name="COMMENT">0_userdata.0 oder javascript.x (x=Instanznummer)</field>
                   <next>
                     <block type="variables_set" id="oRvF(H,E]Aty;|@apJY+">
                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                       <value name="VALUE">
                         <block type="text" id="b,`C@l)VsDuAzhGs3U,q">
                           <field name="TEXT">0_userdata.0</field>
                         </block>
                       </value>
                       <next>
                         <block type="comment" id="fc!01Wdw0`3EcKWtn@=F">
                           <field name="COMMENT">AMIS</field>
                           <next>
                             <block type="variables_set" id="Q-=KSL?KSb:ds?h6z^V7">
                               <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                               <value name="VALUE">
                                 <block type="text" id="G2CZlc4S^$+aBJAr?1iL">
                                   <field name="TEXT">AMIS</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="Jg-$)y0BPR!anD`?/RT+">
                                   <field name="VAR" id="_obIfE1S*L[]{g_~TvuS">DP_id_und_Name_11280</field>
                                   <value name="VALUE">
                                     <block type="text" id="nu}a,FnIupChDLG6$H]s">
                                       <field name="TEXT">11280</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="Ui,^t7m#Wc(*ok~D_}gg">
                                       <field name="VAR" id="cs{_?%5*|k^}W453u:dD">DP_id_und_Name_170</field>
                                       <value name="VALUE">
                                         <block type="text" id="R|p7nPtah;RV/ROj=.PK">
                                           <field name="TEXT">170</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="[r5+SeH2V|VN_prC_3,x">
                                           <field name="VAR" id="l[/w_ZhFcV2(O,Fc])l(">DP_id_und_Name_180</field>
                                           <value name="VALUE">
                                             <block type="text" id="]5egf.L`E.#C:Qp6NZuK">
                                               <field name="TEXT">180</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="yu`y{_GW7}zvipUEo+/r">
                                               <field name="VAR" id="h3uwI;PG{~m.:F/=[tz!">DP_id_und_Name_270</field>
                                               <value name="VALUE">
                                                 <block type="text" id="(Q3y~=2La3fi36r~4Kn0">
                                                   <field name="TEXT">270</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="{!mUx[[rEF+%dC.sk^GS">
                                                   <field name="VAR" id="8M|B8W[z%v.diYAEyi7N">DP_id_und_Name_280</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="}7V4eh.)dQn${z|60-3}">
                                                       <field name="TEXT">280</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id="xBNt[HNB9}ew=KcjAQOx">
                                                       <field name="VAR" id="HO:u[2o/dXv~`~Og$x%%">DP_id_und_Name_370</field>
                                                       <value name="VALUE">
                                                         <block type="text" id="{h?0YXrjLcf`D]UB@2)N">
                                                           <field name="TEXT">370</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="y[v`164?7k.??pB|L6[@">
                                                           <field name="VAR" id="]zc_?byoQ}xmX8o6#*JD">DP_id_und_Name_381</field>
                                                           <value name="VALUE">
                                                             <block type="text" id="q[8Xpwv8K[[fV.Kx8mS2">
                                                               <field name="TEXT">381</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="variables_set" id="}_^)30Cfn;Fj8O@Qum{;">
                                                               <field name="VAR" id="E/@A]!eljM5zLc.6fjo?">DP_id_und_Name_470</field>
                                                               <value name="VALUE">
                                                                 <block type="text" id="G[Q,!!iU}EqMFW0Lfr?_">
                                                                   <field name="TEXT">470</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="variables_set" id="@t91z.qi]sBYOv^U2)S!">
                                                                   <field name="VAR" id="z-XOThQFdOj+ug!NZo^@">DP_id_und_Name_481</field>
                                                                   <value name="VALUE">
                                                                     <block type="text" id="}H?]lGAYb6@`g-+IcBmj">
                                                                       <field name="TEXT">481</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="variables_set" id="8(K|w[12;GW7cxR%f!*i">
                                                                       <field name="VAR" id="tw6sM[nRE{0uU9Oksfhz">DP_id_und_Name_Summe_170_270</field>
                                                                       <value name="VALUE">
                                                                         <block type="text" id="Fps~G*}CN(|60vWObN25">
                                                                           <field name="TEXT">SUMME_170_270</field>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="variables_set" id="BK+9xjsk9V;JW[rHUudk">
                                                                           <field name="VAR" id="l9dBW,P(gk-5NTzzphsK">DP_id_und_Name_Summe_170_270_positiv</field>
                                                                           <value name="VALUE">
                                                                             <block type="text" id="~NK4U,_]%qyPA8E*I{ok">
                                                                               <field name="TEXT">SUMME_170_270_positiv</field>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="variables_set" id="#*CUg!Csve|g?`Z_m/jD">
                                                                               <field name="VAR" id="`/+WUK3i$Bj,1oHjdW[S">DP_id_und_Name_Summe_170_270_negativ</field>
                                                                               <value name="VALUE">
                                                                                 <block type="text" id=".nn+u23g=d(QU}Zm%9`]">
                                                                                   <field name="TEXT">SUMME_170_270_negativ</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="comment" id="[A*HpPSJ,1D.mh;J6Vv;">
                                                                                   <field name="COMMENT">BATTERIE_SPEICHER</field>
                                                                                   <next>
                                                                                     <block type="variables_set" id="FIRe{f#)la4?x}LUt:$0">
                                                                                       <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="text" id="ApiqQCWNwpZ[B1hj%0HJ">
                                                                                           <field name="TEXT">BATTERIE_SPEICHER</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <next>
                                                                                         <block type="variables_set" id="!5AC/)w*^T!p;[xZ(7Ug">
                                                                                           <field name="VAR" id="!l$]Fhb{(5@W@z}o-x#q">DP_id_und_Name_BELADEN</field>
                                                                                           <value name="VALUE">
                                                                                             <block type="text" id=";olf!=NAVMLp?1].XD/m">
                                                                                               <field name="TEXT">BELADEN</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <next>
                                                                                             <block type="variables_set" id="-hMBThr$T%p]3~t^gg^V">
                                                                                               <field name="VAR" id="@G8b|4$j;FggO{P,s6~j">DP_id_und_Name_ENTLADEN</field>
                                                                                               <value name="VALUE">
                                                                                                 <block type="text" id="n;?vt|(8jX{?NK@9LY_y">
                                                                                                   <field name="TEXT">ENTLADEN</field>
                                                                                                 </block>
                                                                                               </value>
                                                                                               <next>
                                                                                                 <block type="variables_set" id="mAF,S!V%iRf?8)!yN-wO">
                                                                                                   <field name="VAR" id="]_4:MeiKgXmwYPrpo0Lh">DP_id_und_Name_SPEICHER_STAND</field>
                                                                                                   <value name="VALUE">
                                                                                                     <block type="text" id="N]V85XCo4DL5Zzj,X57:">
                                                                                                       <field name="TEXT">SPEICHER_STAND</field>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                   <next>
                                                                                                     <block type="variables_set" id="E]jq}qe0Uu-|Ir#)m_;4">
                                                                                                       <field name="VAR" id="[{NR/}l@uYSGY{H-!Oo!">DP_id_und_Name_SUMME_BELADEN_Wh</field>
                                                                                                       <value name="VALUE">
                                                                                                         <block type="text" id="UIWuq+Kee*_*kwkl/(n+">
                                                                                                           <field name="TEXT">SUMME_BELADEN_Wh</field>
                                                                                                         </block>
                                                                                                       </value>
                                                                                                       <next>
                                                                                                         <block type="variables_set" id="^0(pdUYT$P/:+|/aEq,x">
                                                                                                           <field name="VAR" id="rLDtNNm3a07R5^cS_1qy">DP_id_und_Name_SUMME_ENTLADEN_Wh</field>
                                                                                                           <value name="VALUE">
                                                                                                             <block type="text" id="4sh:8YY)K{+pqLErGvLK">
                                                                                                               <field name="TEXT">SUMME_ENTLADEN_Wh</field>
                                                                                                             </block>
                                                                                                           </value>
                                                                                                           <next>
                                                                                                             <block type="procedures_callcustomnoreturn" id=")]eETq{2XF`rxT1{qN1*">
                                                                                                               <mutation name="Datenpunkte_anlegen"></mutation>
                                                                                                             </block>
                                                                                                           </next>
                                                                                                         </block>
                                                                                                       </next>
                                                                                                     </block>
                                                                                                   </next>
                                                                                                 </block>
                                                                                               </next>
                                                                                             </block>
                                                                                           </next>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
                 <block type="procedures_defnoreturn" id="b*Zl:g,3sGHYEr]g[TSo" collapsed="true" x="12" y="737">
                   <field name="NAME">main</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   <statement name="STACK">
                     <block type="variables_set" id="^u5f3|m|byHc@iN5ENri" collapsed="true">
                       <field name="VAR" id="*,Dq]t0#t-hCVl6`[)T8">DP_11280</field>
                       <value name="VALUE">
                         <block type="text_join" id="]ltw^3=|e@v=yf%yJHG:">
                           <mutation items="5"></mutation>
                           <value name="ADD0">
                             <block type="variables_get" id="|U!ZiHM|mG@(`eN%S.mZ">
                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                             </block>
                           </value>
                           <value name="ADD1">
                             <block type="text" id="T1!d.+)s.NMRcS%-zHJP">
                               <field name="TEXT">.</field>
                             </block>
                           </value>
                           <value name="ADD2">
                             <block type="variables_get" id="g75U6V=}vE,]vA/#{,0W">
                               <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                             </block>
                           </value>
                           <value name="ADD3">
                             <block type="text" id="7)BCM!Hu(Ez`]=!_QsU`">
                               <field name="TEXT">.</field>
                             </block>
                           </value>
                           <value name="ADD4">
                             <block type="variables_get" id="29{wo5Bjjj7vNIt]E8VD">
                               <field name="VAR" id="_obIfE1S*L[]{g_~TvuS">DP_id_und_Name_11280</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <next>
                         <block type="variables_set" id="4/QUkIY9f{`;xbl.#SS2" collapsed="true">
                           <field name="VAR" id="=j09RHYyNa#JtpqJ`k8N">DP_170</field>
                           <value name="VALUE">
                             <block type="text_join" id="rA%q*7sB1{O@,V4[WK[.">
                               <mutation items="5"></mutation>
                               <value name="ADD0">
                                 <block type="variables_get" id="{B]kgc4wi2YXCQ*k!!*6">
                                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                 </block>
                               </value>
                               <value name="ADD1">
                                 <block type="text" id="7I{V,VAz2S)X7P=`toj0">
                                   <field name="TEXT">.</field>
                                 </block>
                               </value>
                               <value name="ADD2">
                                 <block type="variables_get" id="{]M@8p(Lh=$N^3.:NMw`">
                                   <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                 </block>
                               </value>
                               <value name="ADD3">
                                 <block type="text" id="jI|pfm9F!$(a@L*YHLuy">
                                   <field name="TEXT">.</field>
                                 </block>
                               </value>
                               <value name="ADD4">
                                 <block type="variables_get" id="rVrC-8j-R*ZMNfd$jJ_)">
                                   <field name="VAR" id="cs{_?%5*|k^}W453u:dD">DP_id_und_Name_170</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="3s3x8ynT${WTSN{+V?va" collapsed="true">
                               <field name="VAR" id="98qloDs1XI=5wf8N5MzG">DP_180</field>
                               <value name="VALUE">
                                 <block type="text_join" id="y0;?Lug0{35=rG_LU6v$">
                                   <mutation items="5"></mutation>
                                   <value name="ADD0">
                                     <block type="variables_get" id="]9}uaH0XgTC/t5|#DSu6">
                                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                     </block>
                                   </value>
                                   <value name="ADD1">
                                     <block type="text" id="C!@md9tIZb1uoy9.8h3(">
                                       <field name="TEXT">.</field>
                                     </block>
                                   </value>
                                   <value name="ADD2">
                                     <block type="variables_get" id="w-pnr*5,joD6#SUVCs@~">
                                       <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                     </block>
                                   </value>
                                   <value name="ADD3">
                                     <block type="text" id="Th82jJ7X?t+raaX)#n:}">
                                       <field name="TEXT">.</field>
                                     </block>
                                   </value>
                                   <value name="ADD4">
                                     <block type="variables_get" id="N*y_Pg$($ZtacT?%)Q~)">
                                       <field name="VAR" id="l[/w_ZhFcV2(O,Fc])l(">DP_id_und_Name_180</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="$1O!7LJNMG|Ylu@QXPc;" collapsed="true">
                                   <field name="VAR" id="v@|Yx{ttKqi9B6in@dQv">DP_270</field>
                                   <value name="VALUE">
                                     <block type="text_join" id="W!tJ[syXRzY=s,o@n$=~">
                                       <mutation items="5"></mutation>
                                       <value name="ADD0">
                                         <block type="variables_get" id="mo3h0|Ty?~As3@,fhB.F">
                                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="text" id="3xQc;3$4$Zq?on07_Y/@">
                                           <field name="TEXT">.</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="variables_get" id="O5^2;J0DcPBI9HiD8fpD">
                                           <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="text" id="{Fm9PbY7b`2V50%E+@P4">
                                           <field name="TEXT">.</field>
                                         </block>
                                       </value>
                                       <value name="ADD4">
                                         <block type="variables_get" id="dO/:tqi*TS6nHD^[7y,)">
                                           <field name="VAR" id="h3uwI;PG{~m.:F/=[tz!">DP_id_und_Name_270</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="M$^/Rwsy]D`C$DEXHfRz" collapsed="true">
                                       <field name="VAR" id="KV.$!RZa,gS9xoKJ-cYd">DP_280</field>
                                       <value name="VALUE">
                                         <block type="text_join" id="4GvsLc`{0LXJkW#8-1@1">
                                           <mutation items="5"></mutation>
                                           <value name="ADD0">
                                             <block type="variables_get" id="A;]K5N#z^%b6:L*aDD=u">
                                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="text" id=",ZH+DSmp:C!Z2E?fsRPM">
                                               <field name="TEXT">.</field>
                                             </block>
                                           </value>
                                           <value name="ADD2">
                                             <block type="variables_get" id=";]YbByN7qs;;`()En3Rn">
                                               <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                             </block>
                                           </value>
                                           <value name="ADD3">
                                             <block type="text" id="rpS{j/et{o`rAPLh{w^_">
                                               <field name="TEXT">.</field>
                                             </block>
                                           </value>
                                           <value name="ADD4">
                                             <block type="variables_get" id="iCgsF_)_[K$,h=aWPtWA">
                                               <field name="VAR" id="8M|B8W[z%v.diYAEyi7N">DP_id_und_Name_280</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="c(nO`DuwvF7O@y)d5IjC" collapsed="true">
                                           <field name="VAR" id="}g;v)[B7w+a1G:M?E)1N">DP_370</field>
                                           <value name="VALUE">
                                             <block type="text_join" id="#/v]Gmn|]=tD;9ks~-Ou">
                                               <mutation items="5"></mutation>
                                               <value name="ADD0">
                                                 <block type="variables_get" id="]7$C?x^.5sZGuN-o_E%i">
                                                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                 </block>
                                               </value>
                                               <value name="ADD1">
                                                 <block type="text" id="5uMQ@rXe3!@n?hgk1+V_">
                                                   <field name="TEXT">.</field>
                                                 </block>
                                               </value>
                                               <value name="ADD2">
                                                 <block type="variables_get" id="+mt*;1!MqyD2xvj9aRGg">
                                                   <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                 </block>
                                               </value>
                                               <value name="ADD3">
                                                 <block type="text" id="5!/JeQStW|DnVI}OINnL">
                                                   <field name="TEXT">.</field>
                                                 </block>
                                               </value>
                                               <value name="ADD4">
                                                 <block type="variables_get" id="u^Sl!qva`gY`?H$5`kxL">
                                                   <field name="VAR" id="HO:u[2o/dXv~`~Og$x%%">DP_id_und_Name_370</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="PbV%K}gLkn7_8+KPzwE)" collapsed="true">
                                               <field name="VAR" id="D|psEIUNgQl81#;p+V=F">DP_381</field>
                                               <value name="VALUE">
                                                 <block type="text_join" id="vC@i[{[_y.Vt825p{IV)">
                                                   <mutation items="5"></mutation>
                                                   <value name="ADD0">
                                                     <block type="variables_get" id="x[6{MH8(a.Arn4a@Gi[3">
                                                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD1">
                                                     <block type="text" id="|Fg2(X|mZZcF9`XwrA:A">
                                                       <field name="TEXT">.</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD2">
                                                     <block type="variables_get" id="fs^8Dd]q5C78VFSs_]Fu">
                                                       <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD3">
                                                     <block type="text" id="R)D9k_JQt#?joa9LcNH1">
                                                       <field name="TEXT">.</field>
                                                     </block>
                                                   </value>
                                                   <value name="ADD4">
                                                     <block type="variables_get" id="+=OC+xjTmAru4dBx391W">
                                                       <field name="VAR" id="]zc_?byoQ}xmX8o6#*JD">DP_id_und_Name_381</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="variables_set" id="PjJYU7m8HkxNGko`g-_W" collapsed="true">
                                                   <field name="VAR" id="bcwmGvKSW(*/lj5u$CKE">DP_470</field>
                                                   <value name="VALUE">
                                                     <block type="text_join" id="r-v!=RC]]l[#;/mT0m9!">
                                                       <mutation items="5"></mutation>
                                                       <value name="ADD0">
                                                         <block type="variables_get" id=",2U;Ex~SubiPamkD|a=9">
                                                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD1">
                                                         <block type="text" id="k:D]Fm9=H)j+ROAT9EwE">
                                                           <field name="TEXT">.</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD2">
                                                         <block type="variables_get" id=")n-wYj,)`kNtB{Aih^V~">
                                                           <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD3">
                                                         <block type="text" id="Xqs66i`IgzF;%M]|kBlQ">
                                                           <field name="TEXT">.</field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD4">
                                                         <block type="variables_get" id="O)H18VqZ@J4g-3RrV@P(">
                                                           <field name="VAR" id="E/@A]!eljM5zLc.6fjo?">DP_id_und_Name_470</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id="qH0Z3OF~/az.sCx~VXcb" collapsed="true">
                                                       <field name="VAR" id="mn?/2P|KOOQ]XN_2Q//}">DP_481</field>
                                                       <value name="VALUE">
                                                         <block type="text_join" id="GHyAH4h((WKPHa|Yz5QC">
                                                           <mutation items="5"></mutation>
                                                           <value name="ADD0">
                                                             <block type="variables_get" id="u;+`Yl)r)46.(4!Vv@H{">
                                                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD1">
                                                             <block type="text" id="Ku!C()qpHK%TNLmLu8d1">
                                                               <field name="TEXT">.</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD2">
                                                             <block type="variables_get" id=".Vl@sH;4{7}bKp]9/7#F">
                                                               <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD3">
                                                             <block type="text" id="/,DFWLwlk$G.:pGBQp~p">
                                                               <field name="TEXT">.</field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD4">
                                                             <block type="variables_get" id="!Zq978_@UK7t?hU-#VGh">
                                                               <field name="VAR" id="z-XOThQFdOj+ug!NZo^@">DP_id_und_Name_481</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="coD.gj}IXCODIOHd,dh(" collapsed="true">
                                                           <field name="VAR" id="B,oHlypor=Gh@)QVEZ4Z">DP_Summe_170_270</field>
                                                           <value name="VALUE">
                                                             <block type="text_join" id="qN*eC]9h4n]EU(r?GYd+">
                                                               <mutation items="5"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="variables_get" id="A![.D4lE)[(jBz5jcq)f">
                                                                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text" id="AE8[@|5N#!,A^D7DAvEq">
                                                                   <field name="TEXT">.</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD2">
                                                                 <block type="variables_get" id="4;Ev]=1b2g/p!=Ym=u*Y">
                                                                   <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD3">
                                                                 <block type="text" id="FujbQN-W~CWrjlPXPGB:">
                                                                   <field name="TEXT">.</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD4">
                                                                 <block type="variables_get" id="+7JUG?|V`k1|+Wk|dkk.">
                                                                   <field name="VAR" id="tw6sM[nRE{0uU9Oksfhz">DP_id_und_Name_Summe_170_270</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="variables_set" id="-#Dpwn]+W92,7ReO]sHI" collapsed="true">
                                                               <field name="VAR" id="Nklcvv.#`8hq`J,NS]cI">DP_Summe_170_270_negativ</field>
                                                               <value name="VALUE">
                                                                 <block type="text_join" id="Uv)-vJMTXTk%%ue1[DA.">
                                                                   <mutation items="5"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="variables_get" id="nJGQ-mQl[IlY/qPucQ.{">
                                                                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text" id="%FKEU$ZEl_W$Zv_JJ*wO">
                                                                       <field name="TEXT">.</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="variables_get" id="72QEEN6_;(~K{VbBf3fT">
                                                                       <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD3">
                                                                     <block type="text" id="7gDJ5I46Gn*z;MYUELp5">
                                                                       <field name="TEXT">.</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD4">
                                                                     <block type="variables_get" id="Zv]x+D/oo7L[-o41q=mA">
                                                                       <field name="VAR" id="`/+WUK3i$Bj,1oHjdW[S">DP_id_und_Name_Summe_170_270_negativ</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="variables_set" id="O6[0$q_4v_B+?jS2)A)L" collapsed="true">
                                                                   <field name="VAR" id="g2577@r(Bm.X/)|CYFYX">DP_Summe_170_270_positiv</field>
                                                                   <value name="VALUE">
                                                                     <block type="text_join" id="kKpmZ~tNy0E:,;Oc@9Qu">
                                                                       <mutation items="5"></mutation>
                                                                       <value name="ADD0">
                                                                         <block type="variables_get" id="j@,AP)@kb%y!gZ;UYDWd">
                                                                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ADD1">
                                                                         <block type="text" id="Yg:~k9Z(q[i[~m)XLKwO">
                                                                           <field name="TEXT">.</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ADD2">
                                                                         <block type="variables_get" id=";R:g^JmU.sN.Z/`T=b(/">
                                                                           <field name="VAR" id="A@C6|=4)GR(WlImT@_TA">Pfad</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ADD3">
                                                                         <block type="text" id="`2S6yw(Sq2d]$G|n:^B2">
                                                                           <field name="TEXT">.</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ADD4">
                                                                         <block type="variables_get" id="Y_wE+)G{Dri,035Ikr5f">
                                                                           <field name="VAR" id="l9dBW,P(gk-5NTzzphsK">DP_id_und_Name_Summe_170_270_positiv</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="variables_set" id="BWu:JRAqmjSI0(x|`K}L" collapsed="true">
                                                                       <field name="VAR" id=")-|[K9NQ5b@Ta_@NapX%">DP_BELADEN</field>
                                                                       <value name="VALUE">
                                                                         <block type="text_join" id="ORB:M4}raK5TAY-S-+#x">
                                                                           <mutation items="5"></mutation>
                                                                           <value name="ADD0">
                                                                             <block type="variables_get" id="2!tOW/:y)-TpP.~D:`ZM">
                                                                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD1">
                                                                             <block type="text" id="%teZxG#dDUv(%dqvj5/j">
                                                                               <field name="TEXT">.</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD2">
                                                                             <block type="variables_get" id="8mDZkWSz[2]z4D~Ts@^%">
                                                                               <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD3">
                                                                             <block type="text" id="B|,Ll.R+`}IDg}6it$7%">
                                                                               <field name="TEXT">.</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD4">
                                                                             <block type="variables_get" id="8F2*@{Hzd{]^3iaj{IIT">
                                                                               <field name="VAR" id="!l$]Fhb{(5@W@z}o-x#q">DP_id_und_Name_BELADEN</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="variables_set" id="(AX]f?uO@7Fb5[@-lrj*" collapsed="true">
                                                                           <field name="VAR" id="5][dCC*/;`?UznT63iW~">DP_ENTLADEN</field>
                                                                           <value name="VALUE">
                                                                             <block type="text_join" id="pT{j:LDLy:)]Ra}JiC|]">
                                                                               <mutation items="5"></mutation>
                                                                               <value name="ADD0">
                                                                                 <block type="variables_get" id="oSk9^XP(%D|jDBGG?6^a">
                                                                                   <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD1">
                                                                                 <block type="text" id="Es`RE/7:$F3.P^^.EG;?">
                                                                                   <field name="TEXT">.</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD2">
                                                                                 <block type="variables_get" id="@gO17)zCZN5JPY5c@%]5">
                                                                                   <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD3">
                                                                                 <block type="text" id="u~0#T/AbPxlt6:U};7gp">
                                                                                   <field name="TEXT">.</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD4">
                                                                                 <block type="variables_get" id="aAeA:g+x0^ua5Qpzj=Xq">
                                                                                   <field name="VAR" id="@G8b|4$j;FggO{P,s6~j">DP_id_und_Name_ENTLADEN</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="variables_set" id="_=q[qZ|?rGCT#`AwIp+{" collapsed="true">
                                                                               <field name="VAR" id="NZKIbYGQQvL^qy%A)`wX">DP_SPEICHER_STAND</field>
                                                                               <value name="VALUE">
                                                                                 <block type="text_join" id="T239J7O9fz6cmN4yCa}}">
                                                                                   <mutation items="5"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="variables_get" id="{=U[T%1qs_fyWiMPXmZs">
                                                                                       <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="text" id="Bgd.[t^T3Y`weQhzlOTa">
                                                                                       <field name="TEXT">.</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD2">
                                                                                     <block type="variables_get" id="Hyc9:#KQ8noUPiiI2)Rt">
                                                                                       <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD3">
                                                                                     <block type="text" id="c%%ACMag;3;(^wm3y:tL">
                                                                                       <field name="TEXT">.</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD4">
                                                                                     <block type="variables_get" id="UHV=AvcMKVNPrvV-d:%w">
                                                                                       <field name="VAR" id="]_4:MeiKgXmwYPrpo0Lh">DP_id_und_Name_SPEICHER_STAND</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="variables_set" id="YyGTU#@r]Vy}e@S1,n{n" collapsed="true">
                                                                                   <field name="VAR" id="3PjZL;N64{y3S*R7[r}f">DP_SUMME_BELADEN_Wh</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="text_join" id="UFj;2zXt,ineDuFS(cs8">
                                                                                       <mutation items="5"></mutation>
                                                                                       <value name="ADD0">
                                                                                         <block type="variables_get" id="/qj6}(MA2UE.Qb$p_GFE">
                                                                                           <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD1">
                                                                                         <block type="text" id="5]d24xS68FK$-XV5-6x4">
                                                                                           <field name="TEXT">.</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD2">
                                                                                         <block type="variables_get" id="^K=h_PQ^muo8Eq$F/z9U">
                                                                                           <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD3">
                                                                                         <block type="text" id="*H47S]G`Z;j6,Z!+I0-%">
                                                                                           <field name="TEXT">.</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="ADD4">
                                                                                         <block type="variables_get" id="Ridh/lBX,./)m5~{jRW5">
                                                                                           <field name="VAR" id="[{NR/}l@uYSGY{H-!Oo!">DP_id_und_Name_SUMME_BELADEN_Wh</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <next>
                                                                                     <block type="variables_set" id="kfMX14~p$aaO9=iP]QC5" collapsed="true">
                                                                                       <field name="VAR" id="1;z:4A*f53SLHVfvO_s2">DP_SUMME_ENTLADEN_Wh</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="text_join" id="QTuC/g;]RK,[BiAXGW3$">
                                                                                           <mutation items="5"></mutation>
                                                                                           <value name="ADD0">
                                                                                             <block type="variables_get" id="|%o6uXvgk?b8lYQRm1-/">
                                                                                               <field name="VAR" id="sH;Qy/4o@~1_np7-}OB(">anlegen_in</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD1">
                                                                                             <block type="text" id="9*[.{;5FD5!={)#bFQS[">
                                                                                               <field name="TEXT">.</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD2">
                                                                                             <block type="variables_get" id="Dkm^4iOG]sp;thDI@J:h">
                                                                                               <field name="VAR" id="OX1vJR/:?3_qQ#z|jy6~">Pfad_2</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD3">
                                                                                             <block type="text" id="tpBj)s-,^-|Xb^efOGbt">
                                                                                               <field name="TEXT">.</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD4">
                                                                                             <block type="variables_get" id="s+-=7.p9Q$?#D#}`.Lme">
                                                                                               <field name="VAR" id="rLDtNNm3a07R5^cS_1qy">DP_id_und_Name_SUMME_ENTLADEN_Wh</field>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </value>
                                                                                       <next>
                                                                                         <block type="procedures_callnoreturn" id="FC;ziB2@2f?DeCy3H)*I">
                                                                                           <mutation name="rechnen"></mutation>
                                                                                           <next>
                                                                                             <block type="schedule" id="UW;FC37gq94+4]]SOKlA">
                                                                                               <field name="SCHEDULE">*/2 * * * * *</field>
                                                                                               <statement name="STATEMENT">
                                                                                                 <block type="procedures_callnoreturn" id="UaC(65SkG0,pK06tnsvv">
                                                                                                   <mutation name="rechnen"></mutation>
                                                                                                 </block>
                                                                                               </statement>
                                                                                             </block>
                                                                                           </next>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
                 <block type="procedures_defnoreturn" id="X1CSc`0obfSPaa3nV=Gz" x="338" y="738">
                   <field name="NAME">rechnen</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   <statement name="STACK">
                     <block type="variables_set" id="04CEwCi/(d1*/(^%z-|X">
                       <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                       <value name="VALUE">
                         <block type="math_arithmetic" id="O)XOn2w+2MEYKh+_i^T6" inline="false">
                           <field name="OP">ADD</field>
                           <value name="A">
                             <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq">
                               <field name="NUM">1</field>
                             </shadow>
                             <block type="get_value_var" id="vl5,Q51m)+q[q.ub$il%">
                               <field name="ATTR">val</field>
                               <value name="OID">
                                 <shadow type="text" id="#tZri{2(T-e,x}.^b;-u">
                                   <field name="TEXT"></field>
                                 </shadow>
                                 <block type="variables_get" id="l!tW{DJdi]}*RyeTQca+">
                                   <field name="VAR" id="=j09RHYyNa#JtpqJ`k8N">DP_170</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <shadow type="math_number" id="aNx(u#^_(su!4Pyla9C!">
                               <field name="NUM">1</field>
                             </shadow>
                             <block type="get_value_var" id="b/9EO~vR@]lB4mDr{-RY">
                               <field name="ATTR">val</field>
                               <value name="OID">
                                 <shadow type="text">
                                   <field name="TEXT"></field>
                                 </shadow>
                                 <block type="variables_get" id=",r@cTpM~2CRZSuK[Qrv2">
                                   <field name="VAR" id="v@|Yx{ttKqi9B6in@dQv">DP_270</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <next>
                         <block type="control_ex" id="#=3h2VtUt;vu.8~+r9!j" inline="true">
                           <field name="TYPE">true</field>
                           <field name="CLEAR_RUNNING">FALSE</field>
                           <value name="OID">
                             <shadow type="field_oid">
                               <field name="oid">Object ID</field>
                             </shadow>
                             <block type="variables_get" id="F~1Rny|KK~Y(7DJ-[{To">
                               <field name="VAR" id="B,oHlypor=Gh@)QVEZ4Z">DP_Summe_170_270</field>
                             </block>
                           </value>
                           <value name="VALUE">
                             <shadow type="logic_boolean">
                               <field name="BOOL">TRUE</field>
                             </shadow>
                             <block type="variables_get" id="GuQZBtmk(](Z9B;5-NWH">
                               <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                             </block>
                           </value>
                           <value name="DELAY_MS">
                             <shadow type="math_number" id="P2Qr2GmG)Ym$oO+F%uEE">
                               <field name="NUM">0</field>
                             </shadow>
                           </value>
                           <next>
                             <block type="controls_if" id="^q|z=F:uxTyEVL5y`[+,">
                               <mutation else="1"></mutation>
                               <value name="IF0">
                                 <block type="logic_compare" id="~G)n{+Q;bTJS//WP#/9Z">
                                   <field name="OP">GT</field>
                                   <value name="A">
                                     <block type="variables_get" id="dhO7y$_E;])v7hB^U^nc">
                                       <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="I=,`AIZy*[JCqlb=6-*:">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="comment" id="iKdyFBz%~f`BJ~FThCUS">
                                   <field name="COMMENT">positive Summe</field>
                                   <next>
                                     <block type="control_ex" id="I.@$fB}o+?RTNxYEG?|?" inline="true">
                                       <field name="TYPE">true</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="OID">
                                         <shadow type="field_oid">
                                           <field name="oid">Object ID</field>
                                         </shadow>
                                         <block type="variables_get" id="I`7^1v,Q:u0q/k^FvL(C">
                                           <field name="VAR" id="g2577@r(Bm.X/)|CYFYX">DP_Summe_170_270_positiv</field>
                                         </block>
                                       </value>
                                       <value name="VALUE">
                                         <shadow type="logic_boolean">
                                           <field name="BOOL">TRUE</field>
                                         </shadow>
                                         <block type="variables_get" id="N(,gBpGs8z6z;HV|~Nbq">
                                           <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                         </block>
                                       </value>
                                       <value name="DELAY_MS">
                                         <shadow type="math_number" id="S[bUv8A:C*@4r0Y($@Dy">
                                           <field name="NUM">0</field>
                                         </shadow>
                                       </value>
                                       <next>
                                         <block type="control_ex" id="?[[]RDkGfcLZq6110$a:" inline="true">
                                           <field name="TYPE">true</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="OID">
                                             <shadow type="field_oid">
                                               <field name="oid">Object ID</field>
                                             </shadow>
                                             <block type="variables_get" id="g_6#eyfi9~;$Y/$jt6(D">
                                               <field name="VAR" id="Nklcvv.#`8hq`J,NS]cI">DP_Summe_170_270_negativ</field>
                                             </block>
                                           </value>
                                           <value name="VALUE">
                                             <shadow type="logic_boolean">
                                               <field name="BOOL">TRUE</field>
                                             </shadow>
                                             <block type="math_number" id="%WAh}R)lK9%qJzLT1vb`">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <value name="DELAY_MS">
                                             <shadow type="math_number" id="``?p)i$9$-(w9)ZDs.^|">
                                               <field name="NUM">0</field>
                                             </shadow>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <statement name="ELSE">
                                 <block type="comment" id="jQzSdH]}^^:~TpN8{^+?">
                                   <field name="COMMENT">negative Summe</field>
                                   <next>
                                     <block type="control_ex" id="BBoJPf0#NJ+he,MjNg!o" inline="true">
                                       <field name="TYPE">true</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="OID">
                                         <shadow type="field_oid" id="amp,PHX?6U#j~!6{c|g)">
                                           <field name="oid">Object ID</field>
                                         </shadow>
                                         <block type="variables_get" id="O,`qKYUzSLQMcqVw]E`H">
                                           <field name="VAR" id="Nklcvv.#`8hq`J,NS]cI">DP_Summe_170_270_negativ</field>
                                         </block>
                                       </value>
                                       <value name="VALUE">
                                         <shadow type="logic_boolean" id=".F6Fxvfb.aBj!vA;GHqW">
                                           <field name="BOOL">TRUE</field>
                                         </shadow>
                                         <block type="variables_get" id="vYIJ8-++#f:ro2pQD;Pv">
                                           <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                         </block>
                                       </value>
                                       <value name="DELAY_MS">
                                         <shadow type="math_number" id="=gUsvc3O^Ls39Z;tn@PE">
                                           <field name="NUM">0</field>
                                         </shadow>
                                       </value>
                                       <next>
                                         <block type="control_ex" id="ZKx#UMlC,hIBc=l9CkCI" inline="true">
                                           <field name="TYPE">true</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="OID">
                                             <shadow type="field_oid">
                                               <field name="oid">Object ID</field>
                                             </shadow>
                                             <block type="variables_get" id="n|lAMkW=/4uZQY(KG-I:">
                                               <field name="VAR" id="g2577@r(Bm.X/)|CYFYX">DP_Summe_170_270_positiv</field>
                                             </block>
                                           </value>
                                           <value name="VALUE">
                                             <shadow type="logic_boolean" id="0[UhhOsJhI.*Cx@K*4ah">
                                               <field name="BOOL">TRUE</field>
                                             </shadow>
                                             <block type="math_number" id="tlTcHlN5ffVkk!ijAfhZ">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <value name="DELAY_MS">
                                             <shadow type="math_number" id="{=~a`vPR:LEc6o$QCQIY">
                                               <field name="NUM">0</field>
                                             </shadow>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
                </xml>
                

                G Offline
                G Offline
                GOETSCHHOFER
                schrieb am zuletzt editiert von
                #9

                @dslraser

                Vielen Dank für das Blockly, dies werde ich morgen früh gleich mal importieren und testen. 👍

                dslraserD 1 Antwort Letzte Antwort
                0
                • G GOETSCHHOFER

                  @dslraser

                  Vielen Dank für das Blockly, dies werde ich morgen früh gleich mal importieren und testen. 👍

                  dslraserD Offline
                  dslraserD Offline
                  dslraser
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von
                  #10

                  @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                  @dslraser

                  Vielen Dank für das Blockly, dies werde ich morgen früh gleich mal importieren und testen. 👍

                  Dann solltest Du eventuell mal Deine vorhandenen Datenpunkte löschen und durch das Blockly neu erstellen lassen, dann sollten auch die role stimmen. Eventuell in eine DB geschriebene Werte wären dann aber weg.

                  G 1 Antwort Letzte Antwort
                  1
                  • G GOETSCHHOFER

                    @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                    @goetschhofer

                    Wo kommt der her ?

                    Bildschirmfoto 2021-09-17 um 23.34.00.png

                    Ja, den sollte er sich eigentlich errechnen.

                    z. B. Leistung in W 1000/3600/2 Sek. = 0,138Wh, diese sollte er auch zum Objekt Speicher_Stand_Wh als Entladung_Wh abziehen oder falls es ein PV-Überschuss ist als Beladung_Wh hinzuaddieren.
                    Der Speicherstand ist jetzt natürlich negativ, da ich den Speicher rechnerisch noch nicht aufgeladen habe.
                    d506c086-8853-414f-8580-3616d0368e42-image.png

                    dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #11

                    @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                    Ja, den sollte er sich eigentlich errechnen.

                    Da beziehst Du Dich aber auf den Wert von der Objekt id (dann muss die Variable aber auch vorher mit der Objekt id verknüpft sein)

                    1 Antwort Letzte Antwort
                    1
                    • dslraserD dslraser

                      @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                      @dslraser

                      Vielen Dank für das Blockly, dies werde ich morgen früh gleich mal importieren und testen. 👍

                      Dann solltest Du eventuell mal Deine vorhandenen Datenpunkte löschen und durch das Blockly neu erstellen lassen, dann sollten auch die role stimmen. Eventuell in eine DB geschriebene Werte wären dann aber weg.

                      G Offline
                      G Offline
                      GOETSCHHOFER
                      schrieb am zuletzt editiert von GOETSCHHOFER
                      #12

                      @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                      @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                      @dslraser

                      Vielen Dank für das Blockly, dies werde ich morgen früh gleich mal importieren und testen. 👍

                      Dann solltest Du eventuell mal Deine vorhandenen Datenpunkte löschen und durch das Blockly neu erstellen lassen, dann sollten auch die role stimmen. Eventuell in eine DB geschriebene Werte wären dann aber weg.

                      Guten Morgen,

                      hätte gleich mal eine Frage zum Import von Blocklys in JS.
                      Wenn ich dein blockly markiere (Strg-c) und versuche dies bei import mit Strg-v einzufügen, bekomme ich eine Fehlermeldung.
                      Wenn ich den 2. Weg wähle, das blockly in eine Textdatei einfüge, abspeichere und von dieser Textdatei mit Strg-c, Strg-v im Import einfüge funktioniert dies.
                      Was mache ich beim 1. Weg falsch ?

                      Meine Datenpunkte würde ich auf jeden Fall löschen.
                      Die DP vom AMIS-Zähler habe ich ja schon, warum muss ich diese ein 2. mal anlegen ?

                      Die automatische Anlage der neuen DP ist mir klar.
                      Für die Simulation brauche ich ja nur folgende 2 DP:9052bdfb-d5e3-4cdf-b4c0-f2f468c7eabc-image.png
                      Den 1. DP Summe_17ß_270+ (Bezug aus dem Netz) entlade ich den Speicher und mit dem 2. DP Summe_170_270_- (Überschuss aus PV) belade ich den Speicher.

                      Ich schreibe aktuell noch keine Werte in die InfluxDB bei meiner Simu.
                      Die bereits existierenden AMIS-DP möchte ich keinesfalls angreifen, denn dies funktioniert mittlerweise zu 100 %.

                      Es kommen ja nur die 6 DP für die Simu hinzu.


                      80e62592-7fd5-484b-9ed5-aa1b26c475ab-image.png

                      dslraserD 1 Antwort Letzte Antwort
                      0
                      • G GOETSCHHOFER

                        @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                        @goetschhofer sagte in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                        @dslraser

                        Vielen Dank für das Blockly, dies werde ich morgen früh gleich mal importieren und testen. 👍

                        Dann solltest Du eventuell mal Deine vorhandenen Datenpunkte löschen und durch das Blockly neu erstellen lassen, dann sollten auch die role stimmen. Eventuell in eine DB geschriebene Werte wären dann aber weg.

                        Guten Morgen,

                        hätte gleich mal eine Frage zum Import von Blocklys in JS.
                        Wenn ich dein blockly markiere (Strg-c) und versuche dies bei import mit Strg-v einzufügen, bekomme ich eine Fehlermeldung.
                        Wenn ich den 2. Weg wähle, das blockly in eine Textdatei einfüge, abspeichere und von dieser Textdatei mit Strg-c, Strg-v im Import einfüge funktioniert dies.
                        Was mache ich beim 1. Weg falsch ?

                        Meine Datenpunkte würde ich auf jeden Fall löschen.
                        Die DP vom AMIS-Zähler habe ich ja schon, warum muss ich diese ein 2. mal anlegen ?

                        Die automatische Anlage der neuen DP ist mir klar.
                        Für die Simulation brauche ich ja nur folgende 2 DP:9052bdfb-d5e3-4cdf-b4c0-f2f468c7eabc-image.png
                        Den 1. DP Summe_17ß_270+ (Bezug aus dem Netz) entlade ich den Speicher und mit dem 2. DP Summe_170_270_- (Überschuss aus PV) belade ich den Speicher.

                        Ich schreibe aktuell noch keine Werte in die InfluxDB bei meiner Simu.
                        Die bereits existierenden AMIS-DP möchte ich keinesfalls angreifen, denn dies funktioniert mittlerweise zu 100 %.

                        Es kommen ja nur die 6 DP für die Simu hinzu.


                        80e62592-7fd5-484b-9ed5-aa1b26c475ab-image.png

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #13

                        @goetschhofer

                        hätte gleich mal eine Frage zum Import von Blocklys in JS.
                        Wenn ich dein blockly markiere (Strg-c) und versuche dies bei import mit Strg-v einzufügen, bekomme ich eine Fehlermeldung.
                        Wenn ich den 2. Weg wähle, das blockly in eine Textdatei einfüge, abspeichere und von dieser Textdatei mit Strg-c, Strg-v im Import einfüge funktioniert dies.
                        Was mache ich beim 1. Weg falsch ?

                        Keine Ahnung, vielleicht liegt es an Deinem verwendeten Browser ?

                        Meine Datenpunkte würde ich auf jeden Fall löschen.

                        Die DP vom AMIS-Zähler habe ich ja schon, warum muss ich diese ein 2. mal anlegen ?

                        Dann korrigiere die role der Datenpunkte, die sind zum Teil falsch. (role number gibt es nicht)

                        Bildschirmfoto 2021-09-18 um 09.53.42.png

                        Die bereits existierenden AMIS-DP möchte ich keinesfalls angreifen, denn dies funktioniert mittlerweise zu 100 %.

                        Ist das alles in einem Blockly, oder machst Du das in verschiedenen Blocklys ? Welche Blocklys verwendest Du jetzt ? Ich kann Dir sonst nicht ganz folgen. Und welches Problem gibt es denn noch ?

                        G 1 Antwort Letzte Antwort
                        1
                        • dslraserD dslraser

                          @goetschhofer

                          hätte gleich mal eine Frage zum Import von Blocklys in JS.
                          Wenn ich dein blockly markiere (Strg-c) und versuche dies bei import mit Strg-v einzufügen, bekomme ich eine Fehlermeldung.
                          Wenn ich den 2. Weg wähle, das blockly in eine Textdatei einfüge, abspeichere und von dieser Textdatei mit Strg-c, Strg-v im Import einfüge funktioniert dies.
                          Was mache ich beim 1. Weg falsch ?

                          Keine Ahnung, vielleicht liegt es an Deinem verwendeten Browser ?

                          Meine Datenpunkte würde ich auf jeden Fall löschen.

                          Die DP vom AMIS-Zähler habe ich ja schon, warum muss ich diese ein 2. mal anlegen ?

                          Dann korrigiere die role der Datenpunkte, die sind zum Teil falsch. (role number gibt es nicht)

                          Bildschirmfoto 2021-09-18 um 09.53.42.png

                          Die bereits existierenden AMIS-DP möchte ich keinesfalls angreifen, denn dies funktioniert mittlerweise zu 100 %.

                          Ist das alles in einem Blockly, oder machst Du das in verschiedenen Blocklys ? Welche Blocklys verwendest Du jetzt ? Ich kann Dir sonst nicht ganz folgen. Und welches Problem gibt es denn noch ?

                          G Offline
                          G Offline
                          GOETSCHHOFER
                          schrieb am zuletzt editiert von GOETSCHHOFER
                          #14

                          @dslraser: Ist das alles in einem Blockly, oder machst Du das in verschiedenen Blocklys ? Welche Blocklys verwendest Du jetzt ? Ich kann Dir sonst nicht ganz folgen. Und welches Problem gibt es denn noch ?

                          Sorry, dass ich mich jetzt erst melde, aber ich habe mal versucht die Logik zu strukturieren und zu dokumentieren.
                          Ja, ich weiß dies ist sehr verwirrend.

                          Danke für den Hinweis zu den Fehlern bei der role der Datenpunkte, habe ich bereits korrigiert.

                          Mit diesem Blockly bereite ich mir aktuell folgende 2 Datenpunkte auf, welche ich aktuell für Grafana benötige und auch für die BAT_SIMU benötigen werde. Dieses blockly möchte ich auch nicht angreifen, da es mit der BAT_SIMU nichts zu tun hat, ich knüpfe hier nur an 2 Werte an.
                          SUMME_170_270_+ = BEZUG aus dem NETZ
                          SUMME_170_270_- = EINSPEISUNG in das NETZ


                          292db24d-29f2-43d0-8792-5661bfe672e2-image.png


                          152294c3-60bc-443a-936b-0dc8cd6d35ee-image.png


                          <xml xmlns="https://developers.google.com/blockly/xml">
                          <variables>
                          <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
                          </variables>
                          <block type="schedule" id="**{}]7ei59(N*|ou37v" x="-212" y="-1362"> <field name="SCHEDULE">*/2 * * * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="04CEwCi/(d1*/(^%z-|X"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> <value name="VALUE"> <block type="math_arithmetic" id="O)XOn2w+2MEYKh+_i^T6" inline="false"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq"> <field name="NUM">1</field> </shadow> <block type="get_value" id="1MV.[J[?Vxe;s2g@VT9">
                          <field name="ATTR">val</field>
                          <field name="OID">0_userdata.0.AMIS.170</field>
                          </block>
                          </value>
                          <value name="B">
                          <shadow type="math_number" id="aNx(u#^(su!4Pyla9C!">
                          <field name="NUM">1</field>
                          </shadow>
                          <block type="get_value" id="0W[V_Lxj$oW6%y|FyPon">
                          <field name="ATTR">val</field>
                          <field name="OID">0_userdata.0.AMIS.270</field>
                          </block>
                          </value>
                          </block>
                          </value>
                          <next>
                          <block type="update" id=",]R8%D@+}|rm/}OUVPer">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.AMIS.SUMME_170_270</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                          <block type="variables_get" id="QWFsuL1-Xs)gB#NnSAC?">
                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                          </block>
                          </value>
                          <next>
                          <block type="comment" id="4DYxTs/C!iUnSa6-k/_"> <field name="COMMENT">Positiver Saldo = BEZUG: 1.7.0 + (-)2.7.0 &gt;0</field> <next> <block type="controls_if" id="8zbXYVm0}s=QnE=v:77["> <value name="IF0"> <block type="logic_compare" id="D*Fx%^xShdM9Pu;L@Ahl"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="2u[OL@uB6dK%HS#@]1*j"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="B"> <block type="math_number" id="0o._sWu/g~JgC2Y:2!R)"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="_e.hWhkcBFf:XJC+_7Tx"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="kUdx$9hAck0M7pwJM.A">
                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                          </block>
                          </value>
                          <next>
                          <block type="update" id="21a.nyEyg+|qz#Zq^%">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.AMIS.SUMME_170_270
                          -</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                          <block type="math_number" id="uj$;dI3bc6[~|;qY!UaM">
                          <field name="NUM">0</field>
                          </block>
                          </value>
                          </block>
                          </next>
                          </block>
                          </statement>
                          <next>
                          <block type="comment" id="LmYu;egZ=y]/lUN}J%Aq">
                          <field name="COMMENT">Negativer Saldo = EINSPEIS.: 1.7.0 + (-)2.7.0 <0</field>
                          <next>
                          <block type="controls_if" id=";HAm$Sqa4[({BH4i;DS"> <value name="IF0"> <block type="logic_compare" id="th+%T3f4K%/3tFBWg(xd"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="?;j-RwSm+Vao(r]}uJyk"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="B"> <block type="math_number" id="Jsx#h?Ttx!vT5GVP{hcU"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="3ge#3!wvdBO$8!h)?%p">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                          <block type="variables_get" id="I7Wr/ggQT|l$Avqg~JQt">
                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                          </block>
                          </value>
                          <next>
                          <block type="update" id="m5xv07hzh^D$h3K|;,5^">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                          <block type="math_number" id="C7%azoZ@V38KF+6!6sTy">
                          <field name="NUM">0</field>
                          </block>
                          </value>
                          </block>
                          </next>
                          </block>
                          </statement>
                          </block>
                          </next>
                          </block>
                          </next>
                          </block>
                          </next>
                          </block>
                          </next>
                          </block>
                          </next>
                          </block>
                          </statement>
                          </block>
                          </xml>

                          Habe mal versucht die Logik für die BAT_SIMU in normaler Sprache (Excel-Logik) zu definieren:
                          Wenn es in der Umsetzung einen einfacheren Weg gibt, bitte nur zu ändern.
                          587e6508-3948-414b-a315-01259c425b21-image.png

                          Als Ergebnis möchte ich eben folgende 7 Datenpunkte befüllen:
                          b67a4382-ba48-4acf-902f-a6c3cdf0abc3-image.png

                          Danke im Voraus.

                          dslraserD 1 Antwort Letzte Antwort
                          0
                          • G GOETSCHHOFER

                            @dslraser: Ist das alles in einem Blockly, oder machst Du das in verschiedenen Blocklys ? Welche Blocklys verwendest Du jetzt ? Ich kann Dir sonst nicht ganz folgen. Und welches Problem gibt es denn noch ?

                            Sorry, dass ich mich jetzt erst melde, aber ich habe mal versucht die Logik zu strukturieren und zu dokumentieren.
                            Ja, ich weiß dies ist sehr verwirrend.

                            Danke für den Hinweis zu den Fehlern bei der role der Datenpunkte, habe ich bereits korrigiert.

                            Mit diesem Blockly bereite ich mir aktuell folgende 2 Datenpunkte auf, welche ich aktuell für Grafana benötige und auch für die BAT_SIMU benötigen werde. Dieses blockly möchte ich auch nicht angreifen, da es mit der BAT_SIMU nichts zu tun hat, ich knüpfe hier nur an 2 Werte an.
                            SUMME_170_270_+ = BEZUG aus dem NETZ
                            SUMME_170_270_- = EINSPEISUNG in das NETZ


                            292db24d-29f2-43d0-8792-5661bfe672e2-image.png


                            152294c3-60bc-443a-936b-0dc8cd6d35ee-image.png


                            <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                            <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
                            </variables>
                            <block type="schedule" id="**{}]7ei59(N*|ou37v" x="-212" y="-1362"> <field name="SCHEDULE">*/2 * * * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="04CEwCi/(d1*/(^%z-|X"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> <value name="VALUE"> <block type="math_arithmetic" id="O)XOn2w+2MEYKh+_i^T6" inline="false"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq"> <field name="NUM">1</field> </shadow> <block type="get_value" id="1MV.[J[?Vxe;s2g@VT9">
                            <field name="ATTR">val</field>
                            <field name="OID">0_userdata.0.AMIS.170</field>
                            </block>
                            </value>
                            <value name="B">
                            <shadow type="math_number" id="aNx(u#^(su!4Pyla9C!">
                            <field name="NUM">1</field>
                            </shadow>
                            <block type="get_value" id="0W[V_Lxj$oW6%y|FyPon">
                            <field name="ATTR">val</field>
                            <field name="OID">0_userdata.0.AMIS.270</field>
                            </block>
                            </value>
                            </block>
                            </value>
                            <next>
                            <block type="update" id=",]R8%D@+}|rm/}OUVPer">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.AMIS.SUMME_170_270</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                            <block type="variables_get" id="QWFsuL1-Xs)gB#NnSAC?">
                            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                            </block>
                            </value>
                            <next>
                            <block type="comment" id="4DYxTs/C!iUnSa6-k/_"> <field name="COMMENT">Positiver Saldo = BEZUG: 1.7.0 + (-)2.7.0 &gt;0</field> <next> <block type="controls_if" id="8zbXYVm0}s=QnE=v:77["> <value name="IF0"> <block type="logic_compare" id="D*Fx%^xShdM9Pu;L@Ahl"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="2u[OL@uB6dK%HS#@]1*j"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="B"> <block type="math_number" id="0o._sWu/g~JgC2Y:2!R)"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="_e.hWhkcBFf:XJC+_7Tx"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="kUdx$9hAck0M7pwJM.A">
                            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                            </block>
                            </value>
                            <next>
                            <block type="update" id="21a.nyEyg+|qz#Zq^%">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.AMIS.SUMME_170_270
                            -</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                            <block type="math_number" id="uj$;dI3bc6[~|;qY!UaM">
                            <field name="NUM">0</field>
                            </block>
                            </value>
                            </block>
                            </next>
                            </block>
                            </statement>
                            <next>
                            <block type="comment" id="LmYu;egZ=y]/lUN}J%Aq">
                            <field name="COMMENT">Negativer Saldo = EINSPEIS.: 1.7.0 + (-)2.7.0 <0</field>
                            <next>
                            <block type="controls_if" id=";HAm$Sqa4[({BH4i;DS"> <value name="IF0"> <block type="logic_compare" id="th+%T3f4K%/3tFBWg(xd"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="?;j-RwSm+Vao(r]}uJyk"> <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field> </block> </value> <value name="B"> <block type="math_number" id="Jsx#h?Ttx!vT5GVP{hcU"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="3ge#3!wvdBO$8!h)?%p">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                            <block type="variables_get" id="I7Wr/ggQT|l$Avqg~JQt">
                            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                            </block>
                            </value>
                            <next>
                            <block type="update" id="m5xv07hzh^D$h3K|;,5^">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                            <block type="math_number" id="C7%azoZ@V38KF+6!6sTy">
                            <field name="NUM">0</field>
                            </block>
                            </value>
                            </block>
                            </next>
                            </block>
                            </statement>
                            </block>
                            </next>
                            </block>
                            </next>
                            </block>
                            </next>
                            </block>
                            </next>
                            </block>
                            </next>
                            </block>
                            </statement>
                            </block>
                            </xml>

                            Habe mal versucht die Logik für die BAT_SIMU in normaler Sprache (Excel-Logik) zu definieren:
                            Wenn es in der Umsetzung einen einfacheren Weg gibt, bitte nur zu ändern.
                            587e6508-3948-414b-a315-01259c425b21-image.png

                            Als Ergebnis möchte ich eben folgende 7 Datenpunkte befüllen:
                            b67a4382-ba48-4acf-902f-a6c3cdf0abc3-image.png

                            Danke im Voraus.

                            dslraserD Offline
                            dslraserD Offline
                            dslraser
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #15

                            @goetschhofer
                            ich kann Deinen Blockly Export nicht importieren ? (Fehler)

                            G 1 Antwort Letzte Antwort
                            1
                            • dslraserD dslraser

                              @goetschhofer
                              ich kann Deinen Blockly Export nicht importieren ? (Fehler)

                              G Offline
                              G Offline
                              GOETSCHHOFER
                              schrieb am zuletzt editiert von GOETSCHHOFER
                              #16

                              @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                              @goetschhofer
                              ich kann Deinen Blockly Export nicht importieren ? (Fehler)

                              Habe es jetzt nochmals exportiert, in eine Textdatei eingefügt und von dort wieder herauskopiert u. eingefügt.

                              Hoffe es passt, habe es jetzt als .txt-Datei angehängt.

                              <xml xmlns="https://developers.google.com/blockly/xml">
                                <variables>
                                  <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
                                </variables>
                                <block type="schedule" id="**{}]7ei59`(N*|ou37v" x="-212" y="-1362">
                                  <field name="SCHEDULE">*/2 * * * * *</field>
                                  <statement name="STATEMENT">
                                    <block type="variables_set" id="04CEwCi/(d1*/(^%z-|X">
                                      <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                      <value name="VALUE">
                                        <block type="math_arithmetic" id="O)XOn2w+2MEYKh+_i^T6" inline="false">
                                          <field name="OP">ADD</field>
                                          <value name="A">
                                            <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="get_value" id="1MV.[J[?Vxe;s2g@VT9`">
                                              <field name="ATTR">val</field>
                                              <field name="OID">0_userdata.0.AMIS.170</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="aNx(u#^_(su!4Pyla9C!">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="get_value" id="0W[V_Lxj$oW6%y|FyPon">
                                              <field name="ATTR">val</field>
                                              <field name="OID">0_userdata.0.AMIS.270</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="update" id=",]R8%D@+}|rm/}OUVPer">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.AMIS.SUMME_170_270</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="QWFsuL1-Xs)gB#NnSAC?">
                                              <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="comment" id="4DYxTs/C!iUnSa6-`k/_">
                                              <field name="COMMENT">Positiver Saldo = BEZUG:  1.7.0 + (-)2.7.0 &gt;0</field>
                                              <next>
                                                <block type="controls_if" id="8zbXYVm0}s=QnE=v:77[">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="D*Fx%^xShdM9Pu;L@Ahl">
                                                      <field name="OP">GT</field>
                                                      <value name="A">
                                                        <block type="variables_get" id="2u[OL@uB6dK%HS#@]1*j">
                                                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="0o._sWu/g~JgC2Y:2!R)">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="update" id="_e.hWhkcBFf:XJC+_7Tx">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="kUdx$9hAck0M7pw`JM.A">
                                                          <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="update" id="21a.`nyEyg+|qz`#Zq^%">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="uj$;dI3bc6[~|;qY!UaM">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="comment" id="LmYu;egZ=y]/lUN}J%Aq">
                                                      <field name="COMMENT">Negativer Saldo = EINSPEIS.:  1.7.0 + (-)2.7.0 &lt;0</field>
                                                      <next>
                                                        <block type="controls_if" id=";HAm$Sqa4[({BH4i;D`S">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="th+%T3f4K%/3tFBWg(xd">
                                                              <field name="OP">LT</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="?;j-RwSm+Vao(r]}uJyk">
                                                                  <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="Jsx#h?Ttx!vT5GVP{hcU">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="update" id="3ge#`3!wvdBO$8!h)?%p">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="I7Wr/ggQT|l$Avqg~JQt">
                                                                  <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="update" id="m5xv07hzh^D$h3K|;,5^">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="C7%azoZ@V38KF+6!6sTy">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </xml>
                              

                              Hätte den Import jetzt auch aus der Text-Datei versucht, bekomme aber eine Fehlermeldung.
                              Diese bekomme ich öfters.

                              c63b7d7b-f578-422e-bc46-f377f914b17a-image.pngBLOCKLY ERSTELLUNG DP SUMME_170_280_+- 18.9.2021.txtBLOCKLY ERSTELLUNG DP SUMME_170_280_+- 18.9.2021.txt

                              dslraserD 1 Antwort Letzte Antwort
                              0
                              • G GOETSCHHOFER

                                @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                                @goetschhofer
                                ich kann Deinen Blockly Export nicht importieren ? (Fehler)

                                Habe es jetzt nochmals exportiert, in eine Textdatei eingefügt und von dort wieder herauskopiert u. eingefügt.

                                Hoffe es passt, habe es jetzt als .txt-Datei angehängt.

                                <xml xmlns="https://developers.google.com/blockly/xml">
                                  <variables>
                                    <variable id="5k}(y]MVDRUNbOxECkJt">summe</variable>
                                  </variables>
                                  <block type="schedule" id="**{}]7ei59`(N*|ou37v" x="-212" y="-1362">
                                    <field name="SCHEDULE">*/2 * * * * *</field>
                                    <statement name="STATEMENT">
                                      <block type="variables_set" id="04CEwCi/(d1*/(^%z-|X">
                                        <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="O)XOn2w+2MEYKh+_i^T6" inline="false">
                                            <field name="OP">ADD</field>
                                            <value name="A">
                                              <shadow type="math_number" id="Vv3iW}5G,a%,hF?iO4dq">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="get_value" id="1MV.[J[?Vxe;s2g@VT9`">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.AMIS.170</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="aNx(u#^_(su!4Pyla9C!">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="get_value" id="0W[V_Lxj$oW6%y|FyPon">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.AMIS.270</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="update" id=",]R8%D@+}|rm/}OUVPer">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.AMIS.SUMME_170_270</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="QWFsuL1-Xs)gB#NnSAC?">
                                                <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="comment" id="4DYxTs/C!iUnSa6-`k/_">
                                                <field name="COMMENT">Positiver Saldo = BEZUG:  1.7.0 + (-)2.7.0 &gt;0</field>
                                                <next>
                                                  <block type="controls_if" id="8zbXYVm0}s=QnE=v:77[">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="D*Fx%^xShdM9Pu;L@Ahl">
                                                        <field name="OP">GT</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="2u[OL@uB6dK%HS#@]1*j">
                                                            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="0o._sWu/g~JgC2Y:2!R)">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="update" id="_e.hWhkcBFf:XJC+_7Tx">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="kUdx$9hAck0M7pw`JM.A">
                                                            <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="update" id="21a.`nyEyg+|qz`#Zq^%">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="uj$;dI3bc6[~|;qY!UaM">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="comment" id="LmYu;egZ=y]/lUN}J%Aq">
                                                        <field name="COMMENT">Negativer Saldo = EINSPEIS.:  1.7.0 + (-)2.7.0 &lt;0</field>
                                                        <next>
                                                          <block type="controls_if" id=";HAm$Sqa4[({BH4i;D`S">
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="th+%T3f4K%/3tFBWg(xd">
                                                                <field name="OP">LT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="?;j-RwSm+Vao(r]}uJyk">
                                                                    <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="Jsx#h?Ttx!vT5GVP{hcU">
                                                                    <field name="NUM">0</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="update" id="3ge#`3!wvdBO$8!h)?%p">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">0_userdata.0.AMIS.SUMME_170_270_-</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get" id="I7Wr/ggQT|l$Avqg~JQt">
                                                                    <field name="VAR" id="5k}(y]MVDRUNbOxECkJt">summe</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="update" id="m5xv07hzh^D$h3K|;,5^">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">0_userdata.0.AMIS.SUMME_170_270_+</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_number" id="C7%azoZ@V38KF+6!6sTy">
                                                                        <field name="NUM">0</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </xml>
                                

                                Hätte den Import jetzt auch aus der Text-Datei versucht, bekomme aber eine Fehlermeldung.
                                Diese bekomme ich öfters.

                                c63b7d7b-f578-422e-bc46-f377f914b17a-image.pngBLOCKLY ERSTELLUNG DP SUMME_170_280_+- 18.9.2021.txtBLOCKLY ERSTELLUNG DP SUMME_170_280_+- 18.9.2021.txt

                                dslraserD Offline
                                dslraserD Offline
                                dslraser
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von dslraser
                                #17

                                @goetschhofer

                                ich kann mich da schwer rein denken, hilf mir mal...

                                wenn das hier

                                Bildschirmfoto 2021-09-18 um 15.43.41.png

                                z.B. in dem DP das hier stünde (-100W)

                                Bildschirmfoto 2021-09-18 um 15.44.32.png

                                dann müßte da was rauskommen ?

                                Das hier ?

                                Bildschirmfoto 2021-09-18 um 15.49.44.png

                                Bildschirmfoto 2021-09-18 um 15.51.24.png

                                G 2 Antworten Letzte Antwort
                                1
                                • dslraserD dslraser

                                  @goetschhofer

                                  ich kann mich da schwer rein denken, hilf mir mal...

                                  wenn das hier

                                  Bildschirmfoto 2021-09-18 um 15.43.41.png

                                  z.B. in dem DP das hier stünde (-100W)

                                  Bildschirmfoto 2021-09-18 um 15.44.32.png

                                  dann müßte da was rauskommen ?

                                  Das hier ?

                                  Bildschirmfoto 2021-09-18 um 15.49.44.png

                                  Bildschirmfoto 2021-09-18 um 15.51.24.png

                                  G Offline
                                  G Offline
                                  GOETSCHHOFER
                                  schrieb am zuletzt editiert von GOETSCHHOFER
                                  #18

                                  @dslraser

                                  Im Grunde ist es ganz einfach, wie ein Batteriespeicher funktioniert, ich erkläre dies gerne anhand eines Sparbuches.
                                  Funktioniert genauso wie ein Sparbuch wo es Ein- und Auszahlungen gibt. Zusätzlich kommt noch dazu, dass man für die Einzahlungen- u. Auszahlungen in das und aus dem Sparbuch Spesen verrechnet bekommt. In der Realität Negativzinsen u. Bankspesen.
                                  Die Spesen entsprechen den Be- und Entladeverlusten von ca. je 10 %.

                                  Beispiel Beladung:
                                  Das Sparbuch=Speicherstand wird immer in kWh, noch besser in Wh (1 kWh=1.000 Wh) gerechnet, aber mit positiven Werten, da der Saldo des Speichers oder Sparbuchs nie ins minus rutschen kann. Entnehmen kann ich nur das, was ich vorher eingelegt (angespart) habe.

                                  Der DP SUMME_170_270_- = EINSPEISUNG in das NETZ liefert aktuell -400 W.
                                  b55a11be-0877-4101-b2ad-8f06750e4a9d-image.png
                                  Diesen Leistungswert (Überschuss aus der PV-Anlage) mit -400 W kann ich nur mit 90 % in den Speicher einlegen, da ich Beladeverluste in Höhe von 10 % habe, ergibt -360 W. Bruttoladeleistung in W x 0,9 = Nettoladeleistung in W.
                                  Weiters muss ich diese Netto-Ladeleistung noch vorher in Wh umrechnen, da dieser Leistungswert nur für 2 Sekunden zur Verfügung steht. D. h. 360 W Netto-Lade-Leistung / 3600 Sek. / 2 = entspricht 0,05 Wh Einlage/Beladung in den Speicher für die 2 Sekunden. Ein realer Speicher funktioniert genauso.
                                  In den nächsten 2 Sekunden liefert der DP SUMME_170_270_- z. B. 1000 W Überschuss, da z. B. die Solarstrahlung so stark ansteigt. Berechnung erfolgt gleich wie vorhin mit -400 W. -1000 W x 0,9 = (-900 W x -1) -20 = 890 Netto-Ladeleistung und Umrechnung in Wh, 890/3600/2=0,1236 Wh.

                                  Ich multipliziere den Minus-Wert deshalb mit -1, da ich anschließend die positive Zahl leicht zum bestehenden Speicher-Saldo (+) am Speicher (Sparbuch) hinzuaddieren kann.
                                  Der Wert mit -20 (W) soll Kleinladeleistungen bei der Vergleichsfunktion von vornherein unterbinden, gilt auch für die Entladung.

                                  Beispiel Entladung: Funktioniert vollkommen gleich, nur mit anderen Vorzeichen.
                                  Der DP SUMME_170_270_+ = BEZUG aus dem NETZ liefert z. B. aktuell + 400 W.
                                  Hier würde ich nicht aus dem Netz beziehen, sondern auf das angesparte Speicherguthaben (Sparbuch) zugreifen, falls vorhanden und hier auch mit Vorzeichendrehung den postiven Wert mit -1 multiplizieren, damit ich diesen Netto-Entnahme-Entladewert als Minuswert zum Speichersaldo hinzuaddieren kann. 5000 Wh Speichersaldo - 10 Wh Entladung = 4.990 Wh Speichersaldo.

                                  Folgende Datenpunkte benötige ich auch, damit ich den kumulierten Saldo Be- und Entladung in den Speicher visualisieren kann. Beispiel: Summe Beladungen 1.1.-31.1. = 80.000 Wh, Summe Entladungen: 75.000 Wh.
                                  07ef31de-9f94-4e78-98c3-a855e0cc2863-image.png

                                  Hoffe, dass ich dich mit meinen Erläuterungen nicht zu viel verwirrt habe.

                                  Danke

                                  1 Antwort Letzte Antwort
                                  0
                                  • dslraserD dslraser

                                    @goetschhofer

                                    ich kann mich da schwer rein denken, hilf mir mal...

                                    wenn das hier

                                    Bildschirmfoto 2021-09-18 um 15.43.41.png

                                    z.B. in dem DP das hier stünde (-100W)

                                    Bildschirmfoto 2021-09-18 um 15.44.32.png

                                    dann müßte da was rauskommen ?

                                    Das hier ?

                                    Bildschirmfoto 2021-09-18 um 15.49.44.png

                                    Bildschirmfoto 2021-09-18 um 15.51.24.png

                                    G Offline
                                    G Offline
                                    GOETSCHHOFER
                                    schrieb am zuletzt editiert von GOETSCHHOFER
                                    #19

                                    @dslraser

                                    Sorry, habe alles wunderbar erläutert, aber anschließend wurde ich vom Internet getrennt.
                                    Hat doch funktioniert.

                                    G 1 Antwort Letzte Antwort
                                    0
                                    • G GOETSCHHOFER

                                      @dslraser

                                      Sorry, habe alles wunderbar erläutert, aber anschließend wurde ich vom Internet getrennt.
                                      Hat doch funktioniert.

                                      G Offline
                                      G Offline
                                      GOETSCHHOFER
                                      schrieb am zuletzt editiert von GOETSCHHOFER
                                      #20

                                      @dslraser

                                      Mit diesem Blockly schreibt er mit zumindest mal die Ladeleistung BELADEN_W in den DP.
                                      Aber das war es auch schon.
                                      Nur stimmt das Ergebnis mit (Ladeleistung * -1) -20 W nicht ?
                                      Hier habe ich ein Syntaxproblem.

                                      Ich kann die Berechnung auch auf 5 Sek. ändern.

                                      284985a6-3973-4a50-8612-45f1cc439015-image.png

                                      5268918c-ceb4-45a8-bacb-1920b4ec0233-image.png

                                      a2dce661-2731-4544-998c-10bd85a29078-image.png

                                      dslraserD 1 Antwort Letzte Antwort
                                      0
                                      • G GOETSCHHOFER

                                        @dslraser

                                        Mit diesem Blockly schreibt er mit zumindest mal die Ladeleistung BELADEN_W in den DP.
                                        Aber das war es auch schon.
                                        Nur stimmt das Ergebnis mit (Ladeleistung * -1) -20 W nicht ?
                                        Hier habe ich ein Syntaxproblem.

                                        Ich kann die Berechnung auch auf 5 Sek. ändern.

                                        284985a6-3973-4a50-8612-45f1cc439015-image.png

                                        5268918c-ceb4-45a8-bacb-1920b4ec0233-image.png

                                        a2dce661-2731-4544-998c-10bd85a29078-image.png

                                        dslraserD Offline
                                        dslraserD Offline
                                        dslraser
                                        Forum Testing Most Active
                                        schrieb am zuletzt editiert von
                                        #21

                                        @goetschhofer
                                        Und jetzt beantwortest Du bitte noch meine Frage von hier

                                        https://forum.iobroker.net/post/678474

                                        G 1 Antwort Letzte Antwort
                                        1
                                        • dslraserD dslraser

                                          @goetschhofer
                                          Und jetzt beantwortest Du bitte noch meine Frage von hier

                                          https://forum.iobroker.net/post/678474

                                          G Offline
                                          G Offline
                                          GOETSCHHOFER
                                          schrieb am zuletzt editiert von
                                          #22

                                          @dslraser said in Batteriespeichersimulation mit AMIS-Daten in Blockly:

                                          @goetschhofer
                                          Und jetzt beantwortest Du bitte noch meine Frage von hier

                                          https://forum.iobroker.net/post/678474

                                          Sorry, das habe ich überlesen.

                                          dann müßte da was rauskommen ?

                                          Das hier ? Ja, korrekt 80 W.
                                          Beladung:
                                          (-100 W x -1)-20 W = 80 W.

                                          f7a17480-c160-4c5a-9fa2-3dbd47e56209-image.png

                                          dslraserD 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          775

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe