<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="?~:J:;gqC%-pt?=zNsH:">Sunrise</variable>
    <variable id="UJ`JGN{Ezb$K7jJ[4P}j">Sunset</variable>
    <variable id="BN!a@q$SEAU4^)xo:SRJ">maxSolarPower</variable>
    <variable id="AcYpB0Ty+wVObL7=Y.a.">measuredPower</variable>
    <variable id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</variable>
    <variable id="X-B3:`dA%wy5$?]at5W-">NeededPowerPercent</variable>
    <variable id=":U;.Z4:pYNy(TwM9X-dL">storedNeededPower</variable>
    <variable id="}s`y%Qd}~t2t(jU$8(ud">upperLimit</variable>
    <variable id="P^1|W+9iVy?PgNp}9!.S">lowerLimit</variable>
    <variable id="le#}gR{6G.yhW=x|6pS8">neededPower</variable>
    <variable id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</variable>
    <variable id="1}Q0686mMw0ZGk)e+r?(">measuredSolarPower</variable>
    <variable id="LPj9*,=?U*_*|PhK!nWe">battPower</variable>
  </variables>
  <block type="schedule" id="n]7W,b]`poJ7o~SB_63L" x="-1012" y="-287">
    <field name="SCHEDULE">10,30,50 * * * * *</field>
    <statement name="STATEMENT">
      <block type="controls_if" id="G^qGZ{t7UL~U4Pu/Rxrj">
        <mutation else="1"></mutation>
        <value name="IF0">
          <block type="logic_compare" id="J95OqD}?w^th?rH{g];6">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="get_value_var" id="xVeX;UvYt$}viWYYr1dT">
                <field name="ATTR">val</field>
                <value name="OID">
                  <shadow type="field_oid" id="4Tb%w~/5smusJfRo*ea5">
                    <field name="oid">0_userdata.0.SchalterSolar</field>
                  </shadow>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_boolean" id="APbc?4?71$:Is|#?Yr!^">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_set" id="~v~t5u;a_q(#kb+E{(FH">
            <field name="VAR" id="?~:J:;gqC%-pt?=zNsH:">Sunrise</field>
            <value name="VALUE">
              <block type="time_astro" id="Svgszky6QE2/10f8vck1">
                <field name="TYPE">sunrise</field>
                <field name="OFFSET">0</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="~/087{!i@]6[`rKxsw]j">
                <field name="VAR" id="UJ`JGN{Ezb$K7jJ[4P}j">Sunset</field>
                <value name="VALUE">
                  <block type="time_astro" id="BO/%++Qd.ktL4PfK.r3?">
                    <field name="TYPE">sunset</field>
                    <field name="OFFSET">0</field>
                  </block>
                </value>
                <next>
                  <block type="debug" id="B{eOC$i9aQnLUKjotfoY" disabled-reasons="MANUALLY_DISABLED">
                    <field name="Severity">warn</field>
                    <value name="TEXT">
                      <shadow type="text" id="*3Fo|.y}C61biJTUQ+Hh">
                        <field name="TEXT">test</field>
                      </shadow>
                      <block type="text_join" id="$(c|ks4va~4)k7?RA.}N">
                        <mutation items="2"></mutation>
                        <value name="ADD0">
                          <block type="text" id="y$V+Ho~7|+q#}iWP^ie)">
                            <field name="TEXT">Sonnenaufgang; </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="T!whYq)LwfFSS4~1pT6M">
                            <field name="VAR" id="?~:J:;gqC%-pt?=zNsH:">Sunrise</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="debug" id="VUfMC{_~JWTShV27#Din" disabled-reasons="MANUALLY_DISABLED">
                        <field name="Severity">warn</field>
                        <value name="TEXT">
                          <shadow type="text" id="h!+O3fc`rAS1Pf2eh0Yy">
                            <field name="TEXT">test</field>
                          </shadow>
                          <block type="text_join" id="p#js6.Gqv|;eMHVFl~Ff">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="text" id="wtJIO+gMsNkZp#D0pGNX">
                                <field name="TEXT">Sonnenuntergang; </field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="b2Gq%Pv[h[J*NB_5;8J1">
                                <field name="VAR" id="UJ`JGN{Ezb$K7jJ[4P}j">Sunset</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="xaOp|xXgB@BB44iq}cJ.">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id="|K,B[pWUT`!LyJsB6,pK">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="time_compare_ex" id="Y8n@Iqzd:%qZbp|#P_v^">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">&gt;=</field>
                                    <value name="START_TIME">
                                      <shadow type="text" id="]-0N3DkP*7?ghtYzXwX!">
                                        <field name="TEXT">12:00</field>
                                      </shadow>
                                      <block type="variables_get" id="!,6PYgrHnSxh#Evn[Yie">
                                        <field name="VAR" id="?~:J:;gqC%-pt?=zNsH:">Sunrise</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="time_compare_ex" id="qRYvI=rC7,D?`B=PV@^6">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">&lt;=</field>
                                    <value name="START_TIME">
                                      <shadow type="text" id="`[~UkA*)lqF44w8!Ej[P">
                                        <field name="TEXT">12:00</field>
                                      </shadow>
                                      <block type="variables_get" id="LMy)6-$QN(f3d9klxV`O">
                                        <field name="VAR" id="UJ`JGN{Ezb$K7jJ[4P}j">Sunset</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="controls_if" id="8ppR}pKep3sE$9jK6E%[" disabled-reasons="MANUALLY_DISABLED">
                                <value name="IF0">
                                  <block type="logic_compare" id="zQ1^qJCE#+:_3/IAT$)d">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="/Rs{d6g`^M9$NMJc.03R">
                                        <field name="ATTR">val</field>
                                        <field name="OID">0_userdata.0.Einspeisen_Schalter</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="KvaX_B$]iiLZn^iTlQ;R">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="Gdt-iti;upiua(KyGwS6">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">0_userdata.0.Einspeisen_Schalter</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="ff1[AaqLGlB,WjkeoYwW">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="variables_set" id="~p6WKGjCNU[UXfc{|$8|">
                                    <field name="VAR" id="BN!a@q$SEAU4^)xo:SRJ">maxSolarPower</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="Z(v(#cMkS]/o.,;iyE/|">
                                        <field name="NUM">2000</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="Ih%sQzzK`!Ec=`tscEm-">
                                        <field name="VAR" id="AcYpB0Ty+wVObL7=Y.a.">measuredPower</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="E60zTd:yszZT-@pD[YB#">
                                            <field name="ATTR">val</field>
                                            <field name="OID">shelly.0.SHEM-3#485519DCACF9#1.Total.InstantPower</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="w;3O}eH#-lL0bf(mz(le" disabled-reasons="MANUALLY_DISABLED">
                                            <field name="Severity">warn</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="*3Fo|.y}C61biJTUQ+Hh">
                                                <field name="TEXT">test</field>
                                              </shadow>
                                              <block type="text_join" id="U`ZKO{r8g-H%gXRq+[@!">
                                                <mutation items="2"></mutation>
                                                <value name="ADD0">
                                                  <block type="text" id="{LF0u^wXbu:/xfR#2X{F">
                                                    <field name="TEXT">Messstelle: </field>
                                                  </block>
                                                </value>
                                                <value name="ADD1">
                                                  <block type="variables_get" id="wM?Nb7=L#?:^+$G]8%Np">
                                                    <field name="VAR" id="AcYpB0Ty+wVObL7=Y.a.">measuredPower</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id=":rlAB32E^@yPP9Jh?EMO">
                                                <field name="VAR" id="1}Q0686mMw0ZGk)e+r?(">measuredSolarPower</field>
                                                <value name="VALUE">
                                                  <block type="get_value" id="Q8pLDlgI~N(N2-6)X@Qu">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">opendtu.0.total.power</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="debug" id="zG`[iSe88hTcwGl0ok[9" disabled-reasons="MANUALLY_DISABLED">
                                                    <field name="Severity">warn</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="*3Fo|.y}C61biJTUQ+Hh">
                                                        <field name="TEXT">test</field>
                                                      </shadow>
                                                      <block type="text_join" id="`c=|p_Nj`R-+mmMBzGZb">
                                                        <mutation items="2"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text" id="TtUT:6h]0fN.fi.Zr#}S">
                                                            <field name="TEXT">Solar: </field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="variables_get" id="Tf$P]u;ipE]%1:mv!oIX">
                                                            <field name="VAR" id="1}Q0686mMw0ZGk)e+r?(">measuredSolarPower</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="controls_if" id="WYo(c0~86m}z_8H.-e)j">
                                                        <mutation else="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="fXTdr#gd-UzF$k}KB3^p">
                                                            <field name="OP">GT</field>
                                                            <value name="A">
                                                              <block type="get_value" id="[S@Bg?:u%K6^k@.LU2)}">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">zendure-solarflow.0.gDa3tb.2C2tL2Ea.control.setDeviceAutomationInOutLimit</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="9)YhJVj8f2Op#%oNnvr)">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="variables_set" id="ICeFu-R^W1UH-7k=*?a%">
                                                            <field name="VAR" id="LPj9*,=?U*_*|PhK!nWe">battPower</field>
                                                            <value name="VALUE">
                                                              <block type="get_value" id="5o;m=CHcZZ,:}Dj=J{eT">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">zendure-solarflow.0.gDa3tb.2C2tL2Ea.control.setDeviceAutomationInOutLimit</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <statement name="ELSE">
                                                          <block type="variables_set" id="z#@Ra#Oz43]EW-4b}OTU">
                                                            <field name="VAR" id="LPj9*,=?U*_*|PhK!nWe">battPower</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="kjwSWU[~k[]Ai$t2?[n[">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="variables_set" id="^Ez+w0~a[z,p6Tcl`2-,">
                                                            <field name="VAR" id="le#}gR{6G.yhW=x|6pS8">neededPower</field>
                                                            <value name="VALUE">
                                                              <block type="math_arithmetic" id="pNG]|z-M)}]zx[n6J.o-">
                                                                <field name="OP">ADD</field>
                                                                <value name="A">
                                                                  <shadow type="math_number" id="50,4PFA}M1_hWx(9=()8">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="math_arithmetic" id="=nW~CaD3j2hq)j;=F8gY">
                                                                    <field name="OP">ADD</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="4LIc(ajLc]i,(CFwyeuq">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="math_arithmetic" id="^#|qo#e$y4l@2OL`lT1d">
                                                                        <field name="OP">ADD</field>
                                                                        <value name="A">
                                                                          <shadow type="math_number" id="@[zN9.%J_i%:W,7CpnM5">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="bLEMbQO5o{Uz3Bk(wHY.">
                                                                            <field name="OP">ADD</field>
                                                                            <value name="A">
                                                                              <shadow type="math_number" id="2FEk%?jHI2)Hvf4}p|*;">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="#lUCrQ2UB!C@j4N7y]Rm">
                                                                                <field name="VAR" id="AcYpB0Ty+wVObL7=Y.a.">measuredPower</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="+10nRI6/x]hugF{/lmxM">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="~,{I!p[~4E??EVa{r7Mb">
                                                                                <field name="VAR" id="1}Q0686mMw0ZGk)e+r?(">measuredSolarPower</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <shadow type="math_number" id="QDVVp-vt}-J}K6F_?+t_">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="get_value" id="Ru@TbcaD{%%216_!cb#c">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">0_userdata.0.Akkusollladen</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="`?wUY?w+t!$Vxe{2^NuM">
                                                                        <field name="NUM">50</field>
                                                                      </shadow>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <shadow type="math_number" id="4`SG7_,b/`15LEjQdYzQ">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="variables_get" id="RTbGbr=d-$LphrvVSLl$">
                                                                    <field name="VAR" id="LPj9*,=?U*_*|PhK!nWe">battPower</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="debug" id="bVa^1%*Co~$Z`pG{Mz5~" disabled-reasons="MANUALLY_DISABLED">
                                                                <field name="Severity">warn</field>
                                                                <value name="TEXT">
                                                                  <shadow type="text" id="*3Fo|.y}C61biJTUQ+Hh">
                                                                    <field name="TEXT">test</field>
                                                                  </shadow>
                                                                  <block type="text_join" id=":xZpgRPaMeIt!]bKiF7,">
                                                                    <mutation items="2"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="text" id="=g;0WpmRLe+D@wY1}6BQ">
                                                                        <field name="TEXT">Akku laden: </field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD1">
                                                                      <block type="get_value" id="Nz~F/eWIC(uUp]{PR[1O">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">0_userdata.0.Akkusollladen</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="debug" id="J{7GEx0{AY6YWOa|hZ0]" disabled-reasons="MANUALLY_DISABLED">
                                                                    <field name="Severity">warn</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="*3Fo|.y}C61biJTUQ+Hh">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text_join" id="r,X^;Vz/8T#OyFt~uAkS">
                                                                        <mutation items="2"></mutation>
                                                                        <value name="ADD0">
                                                                          <block type="text" id="N0}aFjE}JAIFwgB:yV!n">
                                                                            <field name="TEXT">benötigt: </field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD1">
                                                                          <block type="variables_get" id="@m,)yGXH|KLZRF(@d$VS">
                                                                            <field name="VAR" id="le#}gR{6G.yhW=x|6pS8">neededPower</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="variables_set" id="t.GeCTk1m26G%^uh`Hj7">
                                                                        <field name="VAR" id="X-B3:`dA%wy5$?]at5W-">NeededPowerPercent</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_round" id=",x[ceT@C{]$z6$%+_S)Y">
                                                                            <field name="OP">ROUND</field>
                                                                            <value name="NUM">
                                                                              <shadow type="math_number" id="`[X^1T^/wqBm5hZMI6G0">
                                                                                <field name="NUM">3.1</field>
                                                                              </shadow>
                                                                              <block type="math_arithmetic" id="`1-cz)=4H5AvBqILeK.n">
                                                                                <field name="OP">MULTIPLY</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="0t6+3YXj+P,FO9JRY=?;">
                                                                                    <field name="NUM">100</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id=".fYZ,3H9RSS}:wD=%Bvk">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id="1yZ9zJV^0(NXAhvVCN}k">
                                                                                    <field name="OP">DIVIDE</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="jul_lM$(9.yj`:ZH8}%@">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="uI8L)l|-W/No*6iOR7cr">
                                                                                        <field name="VAR" id="le#}gR{6G.yhW=x|6pS8">neededPower</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="{Q+JfjzDv.)Z1KRbU*uv">
                                                                                        <field name="NUM">600</field>
                                                                                      </shadow>
                                                                                      <block type="variables_get" id="KW^@K+u)7rW+2=7UUz)-">
                                                                                        <field name="VAR" id="BN!a@q$SEAU4^)xo:SRJ">maxSolarPower</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="variables_set" id="g3gA+F5X4*$4x2),%sJV">
                                                                            <field name="VAR" id=":U;.Z4:pYNy(TwM9X-dL">storedNeededPower</field>
                                                                            <value name="VALUE">
                                                                              <block type="get_value" id="7wbrC,7l;@ahCGcw2/pL">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">0_userdata.0.storedNeededPower</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="variables_set" id="2KI]WdQd`0MzEf%mOPaL">
                                                                                <field name="VAR" id="}s`y%Qd}~t2t(jU$8(ud">upperLimit</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_round" id="Ha.~N]M`[1eWboby_aYe">
                                                                                    <field name="OP">ROUND</field>
                                                                                    <value name="NUM">
                                                                                      <shadow type="math_number" id=":C/cpWh)P`-jK9}]IN*4">
                                                                                        <field name="NUM">3.1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="v}v!|Jkv3JHVqQR7poM0">
                                                                                        <field name="OP">ADD</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="2ZNqPC}{uEAp8G:*B`yW">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="{dg*rTfc(I5I1PoYYN;l">
                                                                                            <field name="VAR" id=":U;.Z4:pYNy(TwM9X-dL">storedNeededPower</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="|ucA;Y7!==~Ds7zidU}j">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="#Aa[sC!ija_TtL9Go*jl">
                                                                                            <field name="OP">MULTIPLY</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number" id="j|G0L,#]5B!1,U@BK_g)">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="variables_get" id="?YS@_}6Hup[`ZsLR!Z45">
                                                                                                <field name="VAR" id=":U;.Z4:pYNy(TwM9X-dL">storedNeededPower</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="YxGb?xk[MY37)!7O-Cqe">
                                                                                                <field name="NUM">0.1</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="variables_set" id="+KJ71_Z(eLN.a(uoEuci">
                                                                                    <field name="VAR" id="P^1|W+9iVy?PgNp}9!.S">lowerLimit</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_round" id="=HYNg!vGE)^Z7m{+e$cs">
                                                                                        <field name="OP">ROUND</field>
                                                                                        <value name="NUM">
                                                                                          <shadow type="math_number" id="|d.50MyF$Zxnn(B]!gq~">
                                                                                            <field name="NUM">3.1</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="?8HAOa[X,LM#h`p]lLc4">
                                                                                            <field name="OP">MINUS</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number" id="(8p!3BSrd)N0m`PVj}cd">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="variables_get" id="?$cU!rsg;wkU}CP.VsR.">
                                                                                                <field name="VAR" id=":U;.Z4:pYNy(TwM9X-dL">storedNeededPower</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="@kP8*eoC!D4/Wa?%grKM">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="math_arithmetic" id="D$_kryX`Gb5eu$gnYS_q">
                                                                                                <field name="OP">MULTIPLY</field>
                                                                                                <value name="A">
                                                                                                  <shadow type="math_number" id="9?X7{@o3Pr/xpq5L9V[E">
                                                                                                    <field name="NUM">1</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id="nrL6t1UCC{jy1*U[O|Xq">
                                                                                                    <field name="VAR" id=":U;.Z4:pYNy(TwM9X-dL">storedNeededPower</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow type="math_number" id="||~-FC.nb3oU=fuLJzw}">
                                                                                                    <field name="NUM">0.05</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="debug" id="1|f1K~GhCe(a;/q4o_X]" disabled-reasons="MANUALLY_DISABLED">
                                                                                        <field name="Severity">warn</field>
                                                                                        <value name="TEXT">
                                                                                          <shadow type="text" id="yr+3;uuhk_}5Q2TaY3?M">
                                                                                            <field name="TEXT">test</field>
                                                                                          </shadow>
                                                                                          <block type="text_join" id="2Zo2{I0w6J%`$2:qEY1l">
                                                                                            <mutation items="2"></mutation>
                                                                                            <value name="ADD0">
                                                                                              <block type="text" id="+YI.VRyx;em.YT$D(|bs">
                                                                                                <field name="TEXT">Istwert: </field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="ADD1">
                                                                                              <block type="variables_get" id="z%3ACfZd0~)KLgj0p}%@">
                                                                                                <field name="VAR" id=":U;.Z4:pYNy(TwM9X-dL">storedNeededPower</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="debug" id="r+xN[i`4xS-M`OYDBpb." disabled-reasons="MANUALLY_DISABLED">
                                                                                            <field name="Severity">warn</field>
                                                                                            <value name="TEXT">
                                                                                              <shadow type="text" id="7_x:{xKr+40a=r+EPd_I">
                                                                                                <field name="TEXT">test</field>
                                                                                              </shadow>
                                                                                              <block type="text_join" id="(f(78JM#Hy0@?Z0hJe~l">
                                                                                                <mutation items="2"></mutation>
                                                                                                <value name="ADD0">
                                                                                                  <block type="text" id="~}`O(MW.TU:J%_oS)#Xu">
                                                                                                    <field name="TEXT">obere Grenze: </field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD1">
                                                                                                  <block type="variables_get" id=",vBoJg7x{3!@v.c5w4q]">
                                                                                                    <field name="VAR" id="}s`y%Qd}~t2t(jU$8(ud">upperLimit</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="debug" id="qBNh2:P3U}F#$|$6FZFn" disabled-reasons="MANUALLY_DISABLED">
                                                                                                <field name="Severity">warn</field>
                                                                                                <value name="TEXT">
                                                                                                  <shadow type="text" id="2kPK8(t-SdR9TZvb.%-l">
                                                                                                    <field name="TEXT">test</field>
                                                                                                  </shadow>
                                                                                                  <block type="text_join" id="}cq5v9RJT$55w(=?6BX)">
                                                                                                    <mutation items="2"></mutation>
                                                                                                    <value name="ADD0">
                                                                                                      <block type="text" id="*q^TTVgJ+?:b!z,x/S;V">
                                                                                                        <field name="TEXT">untere Grenze: </field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="ADD1">
                                                                                                      <block type="variables_get" id="Vh$)4$K%:ZHW:~MiMXet">
                                                                                                        <field name="VAR" id="P^1|W+9iVy?PgNp}9!.S">lowerLimit</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <next>
                                                                                                  <block type="debug" id="k}*+@}8y%^u*6nB1JGm^" disabled-reasons="MANUALLY_DISABLED">
                                                                                                    <field name="Severity">warn</field>
                                                                                                    <value name="TEXT">
                                                                                                      <shadow type="text" id="{5IF]hv}ODQugA0hNb5x">
                                                                                                        <field name="TEXT">test</field>
                                                                                                      </shadow>
                                                                                                      <block type="text_join" id="9O/.cB+R0J#M=YHuIJn?">
                                                                                                        <mutation items="2"></mutation>
                                                                                                        <value name="ADD0">
                                                                                                          <block type="text" id="3Uv-x,Irz%wnP{oXU!s^">
                                                                                                            <field name="TEXT">benötigte Power in Prozent:</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="ADD1">
                                                                                                          <block type="variables_get" id="T);Yxf;X[xS0z_7}_YkI">
                                                                                                            <field name="VAR" id="X-B3:`dA%wy5$?]at5W-">NeededPowerPercent</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </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>
                            <statement name="ELSE">
                              <block type="debug" id="6hv2w66u%V}c3Ij`Q?pi" disabled-reasons="MANUALLY_DISABLED">
                                <field name="Severity">warn</field>
                                <value name="TEXT">
                                  <shadow type="text" id="LmPU])Tk80,#%40`K:m4">
                                    <field name="TEXT">Zeit ist außerhalb der Reglungszeit.</field>
                                  </shadow>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="*ZOB{61ODTT]2m4)sDG1">
                                <mutation elseif="1" else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_operation" id="dFez(hrP8.m=4A[Q`YZR">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="BxB!W^[)k5R}Jba_iqG4">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="?_JjFf:u4ws=d{VG.(@b">
                                            <field name="VAR" id="X-B3:`dA%wy5$?]at5W-">NeededPowerPercent</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="hG/9R4VY|%NIFr{?*LFm">
                                            <field name="NUM">100</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="-e4*R.}DM%md4qS_yD$*">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="%G*6+heW5+T7l|[X?Q1j">
                                            <field name="VAR" id=":U;.Z4:pYNy(TwM9X-dL">storedNeededPower</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="b$=U)$t5!a4bQ%h3v7v4">
                                            <field name="NUM">100</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="debug" id="%x_;|U_kz5My|[=/J:$v" disabled-reasons="MANUALLY_DISABLED">
                                    <field name="Severity">warn</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="5k~b^.w[LSD}A,4$KImR">
                                        <field name="TEXT">keine Änderung, Solar Limit bereits auf 100</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </statement>
                                <value name="IF1">
                                  <block type="logic_operation" id="FpjH[=xgeX[S5A_8m21_">
                                    <field name="OP">OR</field>
                                    <value name="A">
                                      <block type="logic_compare" id="nO-oIHz=%38PcV+9cqZ)">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="wVbx|[@N_MWyK_apH*xe">
                                            <field name="VAR" id="X-B3:`dA%wy5$?]at5W-">NeededPowerPercent</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="[vdT0y_Pk#8^~0J^7R$n">
                                            <field name="VAR" id="}s`y%Qd}~t2t(jU$8(ud">upperLimit</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="kr!9kUiqD}xfy71_tnQR">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="variables_get" id="meH.P-N){$4O/D#O!2[O">
                                            <field name="VAR" id="X-B3:`dA%wy5$?]at5W-">NeededPowerPercent</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="dsgY7uief.K{[9)Oe;Fs">
                                            <field name="VAR" id="P^1|W+9iVy?PgNp}9!.S">lowerLimit</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO1">
                                  <block type="controls_if" id="ZcJkuAu)}]4T;;V:Y=X,">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="3-#g*+iY]DJ.U-@*@3k4">
                                        <field name="OP">LTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="Y~R`78Fybt1K{,MscgPH">
                                            <field name="VAR" id="le#}gR{6G.yhW=x|6pS8">neededPower</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="Yd^fw,Ib[*#O}-c!dra7">
                                            <field name="VAR" id="BN!a@q$SEAU4^)xo:SRJ">maxSolarPower</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="LNmwEWo@~xUOayR2xXh!">
                                        <field name="VAR" id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="7x^Fl5-xZxQUQ|UADO.:">
                                            <field name="VAR" id="X-B3:`dA%wy5$?]at5W-">NeededPowerPercent</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="update" id="u|,s,0v#+@KI6Ab,#@y+">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.storedNeededPower</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="!#ODK^TD0Qe`S|*Sicq?">
                                                <field name="VAR" id="X-B3:`dA%wy5$?]at5W-">NeededPowerPercent</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="variables_set" id="u8uJqP!$Yy.10,i1B+}{">
                                        <field name="VAR" id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="OCd|k=mRV{da+z9AyIM9">
                                            <field name="NUM">100</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="update" id="opx2@Bl9*y|:0MZgf175">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.storedNeededPower</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="++ks*a3DZyobEpeKZYpA">
                                                <field name="NUM">100</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id=")kBC;2B-:BmF)Q+P1y~l">
                                        <value name="IF0">
                                          <block type="logic_compare" id="4A![0!V*|lOp~HF[u(+s">
                                            <field name="OP">LTE</field>
                                            <value name="A">
                                              <block type="variables_get" id="4PK:3V=uUFv6tvOK{Tn?">
                                                <field name="VAR" id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="~LPJ}NB)s?K6H6JQ,m3]">
                                                <field name="NUM">10</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="variables_set" id="8%pHJ(mU@011+J0!DpGv">
                                            <field name="VAR" id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="K4fec0K;7B|*WLVA[[$Q">
                                                <field name="NUM">10</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="variables_set" id="L$$x8NN$[;=#^PLPB+Hr">
                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="V.%zMcjFiT/249Z9$|Y$">
                                                <field name="OP">MULTIPLY</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="/$l(MPqHA?=ICi;+v~b?">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="Be%)d[klsnLL`8Yo#1Bj">
                                                    <field name="VAR" id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="JCu=fDODJ_KvOX7t0J^B">
                                                    <field name="NUM">1.3</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="controls_if" id="h*J69s(la.8[1`hB.fk_">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="1}%4)c(AXL^MV-9]J|xn">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="variables_get" id="eHsW*u$9YCfm6u5V.(T!">
                                                        <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="|Q!hyK.n,XKj%3D6IiVS">
                                                        <field name="NUM">99</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="variables_set" id="@7cxCN+v^_jARjH:q_[6">
                                                    <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="Og#~ptHY:m5k4`Q@JH|H">
                                                        <field name="NUM">100</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="`/+wX@U2dOGP~/s.,!j`">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="QPo`D4~A[[lDW]r%dTH9">
                                                        <field name="OP">LTE</field>
                                                        <value name="A">
                                                          <block type="variables_get" id="{fFaLZ-tl`q}3xm:}*Fd">
                                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="NW`vO!_!Epi)^qet0oEn">
                                                            <field name="NUM">10</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="variables_set" id="j`c@H^!Eo{:C`{}q[}x_">
                                                        <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                        <value name="VALUE">
                                                          <block type="math_number" id="3mF*w7oA/lItY8z;$_HJ">
                                                            <field name="NUM">10</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="controls_if" id="(+.Bj|/}/]Apy!s.RtrA">
                                                        <value name="IF0">
                                                          <block type="logic_multi_and" id="]3SdXfT;e@%}.*hr;x+k">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                            <value name="AND0">
                                                              <block type="logic_compare" id="H2#kiZnIqLY`kJi#/Zyw">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="O?Bo*:#WChXnOV+oGi|a">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">0_userdata.0.Schalter600watt</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="Nn$%-#=ST-6esE~mr4]V">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="AND1">
                                                              <block type="logic_compare" id="@9[R|KRHP5g5t7$HY9r@">
                                                                <field name="OP">GT</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="EqufluM4PdxNmt4X51qI">
                                                                    <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="vYTre6(WqcIL{UL+N~Nu">
                                                                    <field name="NUM">33.3</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="variables_set" id="v/OYPV*nvC%uADd2,0fo">
                                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                            <value name="VALUE">
                                                              <block type="math_number" id="KM=gN5VldWjO0z!2cK(/">
                                                                <field name="NUM">33.3</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="controls_if" id="[v37E:?Fht68AO;^u}3$">
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="#Lc@9HO4^oB$7nZyf6?;">
                                                                <field name="OP">NEQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="~/jZ.7U?*HqFaESq4gP=">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">opendtu.0.114181027413.power_control.limit_nonpersistent_relative</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="variables_get" id="w]v@^5[Z:y%*(8VexCRb">
                                                                    <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="control" id="^,w`Q*pgf4hs3i7Wj_GP">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">opendtu.0.114181027413.power_control.limit_nonpersistent_relative</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get" id="f-QQvX^I+erkcz+GHjJ{">
                                                                    <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="variables_set" id="{^fV5=PB{XC?e]!wu;D,">
                                                                <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                <value name="VALUE">
                                                                  <block type="math_arithmetic" id="OQ}J6E%IrqC7I~/!eEmK">
                                                                    <field name="OP">MULTIPLY</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="/$l(MPqHA?=ICi;+v~b?">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="variables_get" id="U*Y(Ct34WvI}.CY4G)y6">
                                                                        <field name="VAR" id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="0Ym#CNQDcpZ)^(GVJeO$">
                                                                        <field name="NUM">1.1</field>
                                                                      </shadow>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="controls_if" id="H-BiEv~Jocc:-D$J5y!N">
                                                                    <value name="IF0">
                                                                      <block type="logic_compare" id="8$@JeCm5*,l=Kx30eow_">
                                                                        <field name="OP">GT</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="2D#rPoabK_A-p#8A4+(/">
                                                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="math_number" id="qFff(tYI5T8`d!5ldx-E">
                                                                            <field name="NUM">99</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="variables_set" id="|K:k#Y1@e(vbM[Mi0aE.">
                                                                        <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_number" id="AV82X[M0|BrCVtVR:.Qs">
                                                                            <field name="NUM">100</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                    <next>
                                                                      <block type="controls_if" id="(@V^]g%`iF;0!hg34qdI">
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="~m#[,:wU8_k4|pivp$8h">
                                                                            <field name="OP">LTE</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="avw5s_}OKo-SD.@}mVbj">
                                                                                <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="_-?1b={PG)4J`XKJ*!DR">
                                                                                <field name="NUM">10</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="variables_set" id="77Q1=pXvHftNRQC(ubu1">
                                                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="HXV*WU;?-g/Kp7@T5n$8">
                                                                                <field name="NUM">10</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="controls_if" id="t4@YF@QB2NfWXlEG?QDY">
                                                                            <value name="IF0">
                                                                              <block type="logic_multi_and" id="aB3^R23gOie0F2_m@*72">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                <value name="AND0">
                                                                                  <block type="logic_compare" id="mm+Op+|f[+8%/v0y!GVr">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="get_value" id="20au3)ik*wP|/QFP~zzX">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">0_userdata.0.Schalter600watt</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_boolean" id="uCmC{{VK_h9RFg%n8pz3">
                                                                                        <field name="BOOL">TRUE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="AND1">
                                                                                  <block type="logic_compare" id="z8Wr/lT!02Lhhh}/N|,/">
                                                                                    <field name="OP">GT</field>
                                                                                    <value name="A">
                                                                                      <block type="variables_get" id="UqV`cT:X%DaL12gH3|TT">
                                                                                        <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="math_number" id="B-lF]_S/PV]xdwII:I*{">
                                                                                        <field name="NUM">33.3</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="variables_set" id="p1-z7K[vc@qa._6Jc]}$">
                                                                                <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_number" id="`dp!.v?2Bi}WvrwNBgvU">
                                                                                    <field name="NUM">33.3</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="controls_if" id="zH3e~fyLcw7=+Z2o2%]p">
                                                                                <value name="IF0">
                                                                                  <block type="logic_compare" id="obZ8jVJokbIsP8KW;g_B">
                                                                                    <field name="OP">NEQ</field>
                                                                                    <value name="A">
                                                                                      <block type="get_value" id="j/b1a5Kg4L}~Iop$-KNY">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">opendtu.0.114182964339.power_control.limit_nonpersistent_relative</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="variables_get" id="+,au@^Z_lM{8TA~Lg2R/">
                                                                                        <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <statement name="DO0">
                                                                                  <block type="control" id="O2Bgk*D+E~-L-;h1G/BQ">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                    <field name="OID">opendtu.0.114182964339.power_control.limit_nonpersistent_relative</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="variables_get" id="Ynolt;*FACyhsGdg*GGO">
                                                                                        <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="variables_set" id="@k`B,U%PYD:D5h_EiQE)">
                                                                                    <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_arithmetic" id="A6a/%k(USWP~OzCLCm}L">
                                                                                        <field name="OP">MULTIPLY</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="/$l(MPqHA?=ICi;+v~b?">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="PCS2bnZJGfm]!J^Sh]{l">
                                                                                            <field name="VAR" id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="tWww~|tKxd$gAnPo*=3x">
                                                                                            <field name="NUM">0.5</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="controls_if" id="6nc,F^n@f$!y#xgllPyl">
                                                                                        <value name="IF0">
                                                                                          <block type="logic_compare" id="P;;2!iUZHMn:aXs@FSR3">
                                                                                            <field name="OP">GT</field>
                                                                                            <value name="A">
                                                                                              <block type="variables_get" id="x/RJrIS.!]ILAim`@n-x">
                                                                                                <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <block type="math_number" id="0c7:zdR=?K)C.gB0IAKI">
                                                                                                <field name="NUM">99</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="DO0">
                                                                                          <block type="variables_set" id=";4oXB]sMe!^5J:oZ=-%w">
                                                                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="math_number" id="QzP:d8*B(twh4UQ.[e_b">
                                                                                                <field name="NUM">100</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </statement>
                                                                                        <next>
                                                                                          <block type="controls_if" id="bVqX3+jcJRHoaUEG2=:j">
                                                                                            <value name="IF0">
                                                                                              <block type="logic_compare" id="LdESm@jnrV)wGjOyXe4^">
                                                                                                <field name="OP">LTE</field>
                                                                                                <value name="A">
                                                                                                  <block type="variables_get" id="|fuML/iGOniJv}/CwqCW">
                                                                                                    <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="math_number" id="hpB*fR#2ZUD+[7Na7[k#">
                                                                                                    <field name="NUM">5</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <statement name="DO0">
                                                                                              <block type="variables_set" id="Q(l1)}cD4mmY]|bZ=7`,">
                                                                                                <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="math_number" id="}cpVgx`0oHwp/=B6g.:2">
                                                                                                    <field name="NUM">5</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </statement>
                                                                                            <next>
                                                                                              <block type="controls_if" id="A|Bw;j/4Kk.*@(4#C/)0">
                                                                                                <value name="IF0">
                                                                                                  <block type="logic_multi_and" id="i@V@Wo/c;@:Ggw19TdV3">
                                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                                                    <value name="AND0">
                                                                                                      <block type="logic_compare" id="[:?}W1BJOA9zY{YLOJ!`">
                                                                                                        <field name="OP">EQ</field>
                                                                                                        <value name="A">
                                                                                                          <block type="get_value" id="!M,/163q33V8`Ofl[=T-">
                                                                                                            <field name="ATTR">val</field>
                                                                                                            <field name="OID">0_userdata.0.Schalter600watt</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <block type="logic_boolean" id=",2V;n3}2yu0Y6)Jp/?6B">
                                                                                                            <field name="BOOL">TRUE</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="AND1">
                                                                                                      <block type="logic_compare" id="yw4uCRn-YjX8[xf_5sgZ">
                                                                                                        <field name="OP">GT</field>
                                                                                                        <value name="A">
                                                                                                          <block type="variables_get" id="j6^gIfSr43/G9[}@dSjC">
                                                                                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <block type="math_number" id="1MzEEfF/MT@svhw-?FWK">
                                                                                                            <field name="NUM">13.3</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <statement name="DO0">
                                                                                                  <block type="variables_set" id="=S|UJk}!D7|S:zVaOA+J">
                                                                                                    <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                                    <value name="VALUE">
                                                                                                      <block type="math_number" id="OzcNbpP602D0yI%u16Rz">
                                                                                                        <field name="NUM">13.3</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </statement>
                                                                                                <next>
                                                                                                  <block type="controls_if" id="Xh$!POg.5l(N6dNh{g:W">
                                                                                                    <value name="IF0">
                                                                                                      <block type="logic_compare" id=";F*GfOr$4,$sp[.jpc9x">
                                                                                                        <field name="OP">NEQ</field>
                                                                                                        <value name="A">
                                                                                                          <block type="get_value" id="Jd_bgKPoGl%xLA|QuR+t">
                                                                                                            <field name="ATTR">val</field>
                                                                                                            <field name="OID">opendtu.0.116190744770.power_control.limit_nonpersistent_relative</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <block type="variables_get" id="()%1jy~}SD!;MYcE)~M_">
                                                                                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <statement name="DO0">
                                                                                                      <block type="control" id="@:bAl_)!Ac{#ulviPTi[">
                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                        <field name="OID">opendtu.0.116190744770.power_control.limit_nonpersistent_relative</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE">
                                                                                                          <block type="variables_get" id="!}Q3_L#f8{4td]8%i1vZ">
                                                                                                            <field name="VAR" id="-L6AA0uS$kSh~n8DSsJY">solarlimitkorrektur</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </statement>
                                                                                                    <next>
                                                                                                      <block type="debug" id="*?s+S9b;igKT=t,TS)hj" disabled-reasons="MANUALLY_DISABLED">
                                                                                                        <field name="Severity">warn</field>
                                                                                                        <value name="TEXT">
                                                                                                          <shadow type="text" id="GhK9E*i9z*IoFuBKSaq1">
                                                                                                            <field name="TEXT">test</field>
                                                                                                          </shadow>
                                                                                                          <block type="text_join" id="M7ulZrM8QtrUkNgk|bR^">
                                                                                                            <mutation items="2"></mutation>
                                                                                                            <value name="ADD0">
                                                                                                              <block type="text" id="P13_;S}vry=8G~hCajB=">
                                                                                                                <field name="TEXT">gesetztes Limit: </field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="ADD1">
                                                                                                              <block type="variables_get" id=":bnMTw%O*$-zoeF5=ba+">
                                                                                                                <field name="VAR" id=")2]D^Y|D:QS6S[A}9J=/">SolarLimit</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </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>
                                <statement name="ELSE">
                                  <block type="debug" id="W`uJUtj}viLn]#y?FexB" disabled-reasons="MANUALLY_DISABLED">
                                    <field name="Severity">warn</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="TvU=p}wAC??;$e@8F5)?">
                                        <field name="TEXT">keine Änderung</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="controls_if" id="SLxi`1z3+wB.aHMVu{=p">
            <value name="IF0">
              <block type="logic_compare" id=":h##RsH:snl9w;j1vO(5">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="{)jKi{]@u/L|NHcR{Lv$">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.Schalter600watt</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="e:$l(W{7MROMFAZi=BeL">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="control" id="Vy:1-?7e)6(upk1djobG">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">opendtu.0.114181027413.power_control.limit_nonpersistent_relative</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="math_number" id="Qv[Y%W5fIp^h~_Ocqhy^">
                    <field name="NUM">100</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="/YoP`t7kW-;{osC}6gV$">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">opendtu.0.114182964339.power_control.limit_nonpersistent_relative</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_number" id="oP`?ao.QK4x-Mq/KVE*G">
                        <field name="NUM">100</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="MOj]g8mP@urXAAlu(n_-">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">opendtu.0.116190744770.power_control.limit_nonpersistent_relative</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="b@izlr2d(Z,]?:SKi!Hz">
                            <field name="NUM">100</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>