NEWS
Berechnung Photovoltaik Werte
-
Guten Morgen, ich habe mir mal wieder meine Berechnungen für die PV angeschaut und folgendes in Blockly umgesetzt:
Habe diverese Konstelationen durchgespielt, für mich passen die Ergebnisse der einzelnen Berechnungen.
Passt das so, oder habe ich hier irgendwo noch einen Denkfehler?
Blockly:
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="DIuaOHu%Kh=95,0,cX^)">stromzaehler_haus_bezug</variable> <variable type="" id="SNi(eldA{VB?Pi]olFJ3">pv_ac_aktuell</variable> <variable type="" id="q`S0WeIfY-dUhd4jhA44">pv_strang_1</variable> <variable type="" id="l+5/Cc]lUQJy0jRdP,@,">pv_strang_2</variable> </variables> <block type="schedule" id="j5(u(H0Lh|?,`Boku(]P" x="88" y="188"> <field name="SCHEDULE">*/3 * * * * *</field> <statement name="STATEMENT"> <block type="variables_set" id="tq3^S2ea)ASwBCazV$O}" disabled="true"> <field name="VAR" id="DIuaOHu%Kh=95,0,cX^)" variabletype="">stromzaehler_haus_bezug</field> <value name="VALUE"> <block type="math_number" id="QN{Ok$`:T1M?A;BAr#A]"> <field name="NUM">-8000</field> </block> </value> <next> <block type="variables_set" id="~P^yZcFOP2GgZK9v+Hch" disabled="true"> <field name="VAR" id="SNi(eldA{VB?Pi]olFJ3" variabletype="">pv_ac_aktuell</field> <value name="VALUE"> <block type="math_number" id="#dTS.$;yfqmJ[)L@ZRZv"> <field name="NUM">9000</field> </block> </value> <next> <block type="variables_set" id="7l~isT7Fl-!K.uZ{VI,d"> <field name="VAR" id="DIuaOHu%Kh=95,0,cX^)" variabletype="">stromzaehler_haus_bezug</field> <value name="VALUE"> <block type="get_value" id="O%B}0.z0-?%Q#;E#`Jwo"> <field name="ATTR">val</field> <field name="OID">smartmeter.1.1-0:16_7_0_255.value</field> </block> </value> <next> <block type="variables_set" id=";,I^X{mB[KCK,mBSoUHy"> <field name="VAR" id="SNi(eldA{VB?Pi]olFJ3" variabletype="">pv_ac_aktuell</field> <value name="VALUE"> <block type="get_value" id="TL8T!awVWav?$MSD+sot"> <field name="ATTR">val</field> <field name="OID">javascript.0.Strom.Photovoltaik.Leistung_aktuell</field> </block> </value> <next> <block type="variables_set" id="9FO)gJ{iY{2b)Jt3Dq/("> <field name="VAR" id="q`S0WeIfY-dUhd4jhA44" variabletype="">pv_strang_1</field> <value name="VALUE"> <block type="get_value" id="mR/6GwKOUyBO}j$3jjhL"> <field name="ATTR">val</field> <field name="OID">javascript.0.Strom.Photovoltaik.Leistung_Strang1</field> </block> </value> <next> <block type="variables_set" id="LvXv=kd$|ySZXkgee*gV"> <field name="VAR" id="l+5/Cc]lUQJy0jRdP,@," variabletype="">pv_strang_2</field> <value name="VALUE"> <block type="get_value" id="x{HtCuTMpPEoL`()(WXJ"> <field name="ATTR">val</field> <field name="OID">javascript.0.Strom.Photovoltaik.Leistung_Strang2</field> </block> </value> <next> <block type="debug" id="j;l.1,jci|7f$+oANc_Y"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="3m9Rn::/c8*v=k?s58:H"> <field name="TEXT">test</field> </shadow> <block type="text" id="hegx`~d_0Z_$H%qZSMoP"> <field name="TEXT">-------------</field> </block> </value> <next> <block type="debug" id="$iC=8Esva9spBE-,.,W:"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="3m9Rn::/c8*v=k?s58:H"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="Ut}oZ_r;T$BlYgb`EV2^"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="j?ekrYVhb2}W(/KOo]Id"> <field name="TEXT">Bezug: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="v_9Elb;%Vsg#b+aglnjW"> <field name="VAR" id="DIuaOHu%Kh=95,0,cX^)" variabletype="">stromzaehler_haus_bezug</field> </block> </value> <value name="ADD2"> <block type="text" id="aeT`J=4QLX{wpNBZ$?-`"> <field name="TEXT"> | PV: </field> </block> </value> <value name="ADD3"> <block type="variables_get" id="R*KIFl/|A.KFx8x|8M@F"> <field name="VAR" id="SNi(eldA{VB?Pi]olFJ3" variabletype="">pv_ac_aktuell</field> </block> </value> </block> </value> <next> <block type="comment" id="5~/z0SmuEx{yt=9FxKkE"> <field name="COMMENT">Aktueller Verbrauch</field> <next> <block type="debug" id=";t`-*Imy!C{W1?knhFM("> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="3m9Rn::/c8*v=k?s58:H"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="TX_YG]ntZG(if](r!^|,"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="QP^K]jvsM%(CGrdO5IL="> <field name="TEXT">Aktueller Vebrauch: </field> </block> </value> <value name="ADD1"> <block type="math_arithmetic" id="$LwZ`C+MhBms|oVVW=WU"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="K:[VkapP/y@AX^bQ]Q`["> <field name="NUM">1</field> </shadow> <block type="variables_get" id="fHq@c#=}0QuikxmZtmN1"> <field name="VAR" id="DIuaOHu%Kh=95,0,cX^)" variabletype="">stromzaehler_haus_bezug</field> </block> </value> <value name="B"> <shadow type="math_number" id="[(0#T2[*)kJ#4}]yM,d5"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="zwZxzP66-F[#+IO]BqP0"> <field name="VAR" id="SNi(eldA{VB?Pi]olFJ3" variabletype="">pv_ac_aktuell</field> </block> </value> </block> </value> </block> </value> <next> <block type="comment" id="(c/pUl/T5{HO9v!Q!mU?"> <field name="COMMENT">Eigenverbrauch</field> <next> <block type="controls_if" id="/U:m0yVN)(hvkQ*%r~,4"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="#JXy}y!Gbx/t_vk]L^bf"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="ZI(+!Q^LPMT`[D^P-uT~"> <field name="VAR" id="DIuaOHu%Kh=95,0,cX^)" variabletype="">stromzaehler_haus_bezug</field> </block> </value> <value name="B"> <block type="math_number" id="Tkxh~6KLzBa=Ctm5~ka8"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="Z^yn`au4~n4m$FrK]E8."> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="3m9Rn::/c8*v=k?s58:H"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="J%AFq;4=WEEh:2j($C^Z"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="=+Xc:#$+=xu3*lw!S1dk"> <field name="TEXT">Eigenverbrauch: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="pKW!w%#HJQ;(}EPxNi,M"> <field name="VAR" id="SNi(eldA{VB?Pi]olFJ3" variabletype="">pv_ac_aktuell</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="debug" id="hi[!PT.b*)eQ:gaEkNC("> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="3m9Rn::/c8*v=k?s58:H"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="G}T3S#jKRvD4s|zJ7Ml/"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="?nG7w%!ja-IL3*IqYQmA"> <field name="TEXT">Eigenverbrauch: </field> </block> </value> <value name="ADD1"> <block type="math_arithmetic" id="zqFM5k];#:[QQJt)izhD"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="K:[VkapP/y@AX^bQ]Q`["> <field name="NUM">1</field> </shadow> <block type="variables_get" id="s?J(8FkZ9b0=#KdtE(@l"> <field name="VAR" id="DIuaOHu%Kh=95,0,cX^)" variabletype="">stromzaehler_haus_bezug</field> </block> </value> <value name="B"> <shadow type="math_number" id="[(0#T2[*)kJ#4}]yM,d5"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="(5K)vaSqaA(1FJ`%][hY"> <field name="VAR" id="SNi(eldA{VB?Pi]olFJ3" variabletype="">pv_ac_aktuell</field> </block> </value> </block> </value> </block> </value> </block> </statement> <next> <block type="comment" id="z8~ILLiYP2TIqR[iHH$b"> <field name="COMMENT">Verkauf</field> <next> <block type="controls_if" id="E2B=jaeN8;Z?6o#$}a,c"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id=".zva-z;Ks6:GKhO}BVa,"> <field name="OP">LT</field> <value name="A"> <block type="variables_get" id="{YSAay+E:Th!,2.RvijN"> <field name="VAR" id="DIuaOHu%Kh=95,0,cX^)" variabletype="">stromzaehler_haus_bezug</field> </block> </value> <value name="B"> <block type="math_number" id="jc]t]a%JT5(ad~Sn.IPf"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="{[x6d*]1|$O~:EiU/)3Y"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="3m9Rn::/c8*v=k?s58:H"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="wG9+![N?2xPEE{J_2[Nt"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="PNt[YA29qm~)N,SbZ$?R"> <field name="TEXT">Verkauf: </field> </block> </value> <value name="ADD1"> <block type="variables_get" id="ZTeoowlvA9b=h@y0N~cF"> <field name="VAR" id="DIuaOHu%Kh=95,0,cX^)" variabletype="">stromzaehler_haus_bezug</field> </block> </value> </block> </value> </block> </statement> <statement name="ELSE"> <block type="debug" id="Q0$QwyY?UOh.@`R$/Rma"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="4+g.vtET[z=T51E8@HcT"> <field name="TEXT">test</field> </shadow> <block type="math_number" id="kN)t|^Mmz|(:Y[WzV]n9"> <field name="NUM">0</field> </block> </value> </block> </statement> <next> <block type="comment" id="%E@BH@[,wI=:N2?zUkyt"> <field name="COMMENT">Wirkungsgrad</field> <next> <block type="comment" id="(_VF5.f@xy1x#5$3*.rb"> <field name="COMMENT">var wirkungsgrad = (pwr / (p1+p2)) * 100;</field> <next> <block type="debug" id="Qa7)aqv,;8JNI;eC^C4f"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="@8#Am2smxIkW20,{D9;]"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="XrV9!Ukc[;-Yc-=q[KK-"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="W|5V$Xh!GcT@f@mmsuBP"> <field name="TEXT">Wirkunsgrad: </field> </block> </value> <value name="ADD1"> <block type="math_rndfixed" id="IsmrY-Hp[hh#%jTg5cLo"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="/c[Zl@!1GUxkj7dA,8jB"> <field name="NUM">3.1234</field> </shadow> <block type="math_arithmetic" id="}8Y?dt[#t(lKNq7kQ;s("> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="kX-rs9@npodOsC4-}_wd"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="7*I$Hq$3~dLCrp^~Jd`W"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="N^2UL^%f-f}.kz$55T:N"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="S+OeCBF{ZZo$Y=jsv`Ei"> <field name="VAR" id="SNi(eldA{VB?Pi]olFJ3" variabletype="">pv_ac_aktuell</field> </block> </value> <value name="B"> <shadow type="math_number" id="t^xrb(?]2CuIm^j]QR%U"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id=",D+iI/R3hWZt2NvbS[7?"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="K:[VkapP/y@AX^bQ]Q`["> <field name="NUM">1</field> </shadow> <block type="variables_get" id="pAFCJFARh{zak[CoQGdQ"> <field name="VAR" id="q`S0WeIfY-dUhd4jhA44" variabletype="">pv_strang_1</field> </block> </value> <value name="B"> <shadow type="math_number" id="[(0#T2[*)kJ#4}]yM,d5"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="}k1ReVcKM|6?/xa#b3Kh"> <field name="VAR" id="l+5/Cc]lUQJy0jRdP,@," variabletype="">pv_strang_2</field> </block> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="M{02*-fl#5{,g%.1ZI_D"> <field name="NUM">100</field> </shadow> </value> </block> </value> </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> </statement> </block> </xml>
-
@darkiop sagte in Berechnung Photovoltaik Werte:
für mich passen die Ergebnisse der einzelnen Berechnungen.
Und was passt nicht?
-
Guten Morgen Rainer, wie gesagt passt für mich - die Frage war ob ich irgendwas übersehen habe bzw. was könnte an noch berechnen?
-
@darkiop sagte in Berechnung Photovoltaik Werte:
was könnte an noch berechnen?
Da gibt es noch gaaanz viel.
Hier ein paar Möglichkeiten
-
Super, Danke dir
So schauts aktuell bei mir aus:
Mir ist aufgefallen das die Werte für 'aktueller Monat' nicht stimmen können ... da muss ich ggf. mal auf SourceAnalytix von Dutchman umstellen.
Wie berechnest du deine Tageswerte?
-
@darkiop sagte in Berechnung Photovoltaik Werte:
Mir ist aufgefallen das die Werte für 'aktueller Monat' nicht stimmen können ... da muss ich ggf. mal auf SourceAnalytix von Dutchman umstellen.
immer gerne auch feedback wen da im adapter was net läuft
Er wird innerhalb der naehsten 3 Wochen nach stabile released. -
@darkiop sagte in Berechnung Photovoltaik Werte:
Wie berechnest du deine Tageswerte?
Etwas kompliziert
Habe je zwei Datenpunkte angelegt für Verbrauch, Einspeisung und Erzeugung.
In einem wird der Zählerstand vom tagesende des Vortrages reingeschrieben, im nächsten wird kontinuierlich die aktuelle Differenz des Zählerstandes hochgerechnet. Um 23:59:45 wird dann der aktuelle Zählerstand in den ersten Datenpunkt geschrieben.