NEWS
Mathematik in Blockly - was übersehe ich?
-
Hallo,
ich versuche gerade, den Taupunkt mit einem Blockly Script zu berechnen.Die Formeln dafür sind folgende:
Bezeichnungen: r = relative Luftfeuchte T = Temperatur in °C TD = Taupunkttemperatur in °C DD = Dampfdruck in hPa SDD = Sättigungsdampfdruck in hPa Parameter: a = 7.5, b = 237.3 für T >= 0 a = 7.6, b = 240.7 für T < 0 über Wasser (Taupunkt) Formeln: SDD(T) = 6.1078 * 10^((a*T)/(b+T)) DD(r,T) = r/100 * SDD(T) r(T,TD) = 100 * SDD(TD) / SDD(T) TD(r,T) = b*v/(a-v) mit v(r,T) = log10(DD(r,T)/6.1078)und ich habe das im Blockly folgendermassen umgesetzt:

Leider kommt da ein konstanter falscher Wert raus.
Ich vergleiche das einfach mit einer Berechnung in Excel.Ich mutmasse, ich mache irgendwas im Blockly falsch.
Jemand eine Idee, was genau?

@bertderkleine sagte: DD(r,T) = r/100 * SDD(T)
Division durch 100 vergessen?
-
@bertderkleine sagte: DD(r,T) = r/100 * SDD(T)
Division durch 100 vergessen?
@paul53
Hm. Ich habe einen DP mit einem Wert von z.B. 85%, während die Formel m.E. davon ausgeht, dass da eine Angabe "85" stünde.
Daher habe ich bisher noch nicht zusätzlich mit /100 hantiert. -
@paul53
Hm. Ich habe einen DP mit einem Wert von z.B. 85%, während die Formel m.E. davon ausgeht, dass da eine Angabe "85" stünde.
Daher habe ich bisher noch nicht zusätzlich mit /100 hantiert.@bertderkleine sagte: Wert von z.B. 85%
Dann muss mit 0,85 multipliziert werden. Der Dampfdruck kann nicht höher sein als der Sättigungsdampfdruck.
-
@bertderkleine sagte: Wert von z.B. 85%
Dann muss mit 0,85 multipliziert werden. Der Dampfdruck kann nicht höher sein als der Sättigungsdampfdruck.
@paul53
Danke Dir für den Anstoss. Es lag tatsächlich an dieser 100er Sache.Irgendwie deutet das Blockly den DP, der in Objekten als 85% angezeigt wird als 85 und daher braucht es in der Formel dann auch die /100.
In meinem Excel muss ich die /100 weglassen, wenn ich 85% (also 0,85) reinfüttere. Da darf ich die /100 nur nutzen, wenn ich wirklich 85 reinschiebe.
-
@paul53
Danke Dir für den Anstoss. Es lag tatsächlich an dieser 100er Sache.Irgendwie deutet das Blockly den DP, der in Objekten als 85% angezeigt wird als 85 und daher braucht es in der Formel dann auch die /100.
In meinem Excel muss ich die /100 weglassen, wenn ich 85% (also 0,85) reinfüttere. Da darf ich die /100 nur nutzen, wenn ich wirklich 85 reinschiebe.
@bertderkleine sagte in Mathematik in Blockly - was übersehe ich?:
Irgendwie deutet das Blockly den DP, der in Objekten als 85% angezeigt wird als 85
natürlich!
der Wert ist 85, egal ob dahinter Gramm, Kilometer oder %steht -
@paul53
Danke Dir für den Anstoss. Es lag tatsächlich an dieser 100er Sache.Irgendwie deutet das Blockly den DP, der in Objekten als 85% angezeigt wird als 85 und daher braucht es in der Formel dann auch die /100.
In meinem Excel muss ich die /100 weglassen, wenn ich 85% (also 0,85) reinfüttere. Da darf ich die /100 nur nutzen, wenn ich wirklich 85 reinschiebe.
@bertderkleine sagte in Mathematik in Blockly - was übersehe ich?:
der in Objekten als 85% angezeigt
Weil das ja auch nur die Anzeige ist.
-
Hallo,
ich versuche gerade, den Taupunkt mit einem Blockly Script zu berechnen.Die Formeln dafür sind folgende:
Bezeichnungen: r = relative Luftfeuchte T = Temperatur in °C TD = Taupunkttemperatur in °C DD = Dampfdruck in hPa SDD = Sättigungsdampfdruck in hPa Parameter: a = 7.5, b = 237.3 für T >= 0 a = 7.6, b = 240.7 für T < 0 über Wasser (Taupunkt) Formeln: SDD(T) = 6.1078 * 10^((a*T)/(b+T)) DD(r,T) = r/100 * SDD(T) r(T,TD) = 100 * SDD(TD) / SDD(T) TD(r,T) = b*v/(a-v) mit v(r,T) = log10(DD(r,T)/6.1078)und ich habe das im Blockly folgendermassen umgesetzt:

Leider kommt da ein konstanter falscher Wert raus.
Ich vergleiche das einfach mit einer Berechnung in Excel.Ich mutmasse, ich mache irgendwas im Blockly falsch.
Jemand eine Idee, was genau?

Magst du vom. Fertigen blockly mal ein Export einstellen?
-
Magst du vom. Fertigen blockly mal ein Export einstellen?
@david-g
Hier bitte:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="o^g9yz%FO3Goz?PTyr+/">T</variable> <variable id="/q-tbHA$#DweiRyI85Hq">TK</variable> <variable id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</variable> <variable id="5FvdDCV{-Un4tsilkDOO">mW</variable> <variable id="7-+N_9$/y/?4lB%@r6s!">r</variable> <variable id="qO}1VIq:VG#teK8H{Q4o">a</variable> <variable id="Yid+hQ){2[1t@fzM[EY#">b</variable> <variable id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</variable> <variable id="t+LFI{ndYb2NM8ioU%NJ">DD</variable> <variable id="Xr*@=()f6?V%ZK:=E@Tr">v</variable> <variable id="1Zb0r2[j`H4MZ*o:{q%_">TD</variable> <variable id="L8Cs7E?B?X]eu~q}*h;c">AF</variable> </variables> <block type="comment" id="e/XG;L@R{l_MrKgz2wL$" x="-312" y="-412"> <field name="COMMENT">Taupunkt alle 10 min berechnen</field> <next> <block type="schedule" id="TUQF2dy37MgW{wvm~}`5"> <field name="SCHEDULE">*/10 * * * *</field> <statement name="STATEMENT"> <block type="comment" id="-S_d,l^g66TccZ6Dluxy"> <field name="COMMENT">Temperatur in Celsius</field> <next> <block type="variables_set" id="cMw[E}*rvBK?67B.uka+"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> <value name="VALUE"> <block type="get_value" id="^$OQa^0epGPjBS=UDTqO"> <field name="ATTR">val</field> <field name="OID">alias.0.Aussentemperatur_Gartenhaus</field> </block> </value> <next> <block type="comment" id="?#6B,h,dlaaVn4!Ht]Xr"> <field name="COMMENT">Temperatur in Kelvin</field> <next> <block type="variables_set" id="=.KEIqXrg[J|=#[-CRSo"> <field name="VAR" id="/q-tbHA$#DweiRyI85Hq">TK</field> <value name="VALUE"> <block type="math_arithmetic" id="%f2BAdP!||(YPmVS6R`B"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="]tBY4[E@/n2~LgCQ=4Xa"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <shadow type="math_number" id="%i5(V)~ho0r^wg4LuT0("> <field name="NUM">273.15</field> </shadow> </value> </block> </value> <next> <block type="comment" id=";yf%7$SvHhMb:gnxMt]4"> <field name="COMMENT">universelle Gaskonstante</field> <next> <block type="variables_set" id=";hoSsSn$O~DUmpP_^cW~"> <field name="VAR" id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</field> <value name="VALUE"> <block type="math_number" id=",)dyI53B)#Z6{0Iz1$$h"> <field name="NUM">8314.3</field> </block> </value> <next> <block type="comment" id="o4nL4JPOcDabtv$!8rqt"> <field name="COMMENT">Molekulargewicht des Wasserdampfes</field> <next> <block type="variables_set" id="UKpN6SN{7^kCC+xdaRL^"> <field name="VAR" id="5FvdDCV{-Un4tsilkDOO">mW</field> <value name="VALUE"> <block type="math_number" id="oplrQ(+U81?Z,^X5nbZ;"> <field name="NUM">18.016</field> </block> </value> <next> <block type="comment" id="CFdIX4T6q6z3!0g[e-Lr"> <field name="COMMENT">relative Luftfeuchtigkeit</field> <next> <block type="variables_set" id="mi_e#JAmoPGAIS~w=Yi}"> <field name="VAR" id="7-+N_9$/y/?4lB%@r6s!">r</field> <value name="VALUE"> <block type="get_value" id="`uaC7n[Sb*+Om~9nmxmb"> <field name="ATTR">val</field> <field name="OID">alias.0.Luftfeuchtigkeit_Gartenhaus</field> </block> </value> <next> <block type="comment" id="C!^1|nSXSe@[X~_7q_^p"> <field name="COMMENT">Parameter</field> <next> <block type="variables_set" id="/7.+ip2BYsVMRRl;XA06"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> <value name="VALUE"> <block type="logic_ternary" id="qKv~NI-*wL.5v_u*9W|P"> <value name="IF"> <block type="logic_compare" id="e}glge,w!C+fSS%p|S9i"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="qAAC7iqL[RiR6To5?uoT"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <block type="math_number" id="prP{Vn?kMYq0~W6pA=au"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="THEN"> <block type="math_number" id="`@,@vz+~5Gl,lfeeUIbi"> <field name="NUM">7.5</field> </block> </value> <value name="ELSE"> <block type="math_number" id="m*CVnA~edQjHkQ~cMjtd"> <field name="NUM">7.6</field> </block> </value> </block> </value> <next> <block type="variables_set" id=":FW]I8jfA/Cj)+)_}Kix"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> <value name="VALUE"> <block type="logic_ternary" id="mIV3AE6DL#4{wZNrfVsw"> <value name="IF"> <block type="logic_compare" id="gM?{6WJ8`#eO`5S{(~L-"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="aZ{s|I|[b@T}x5eSmQKQ"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <block type="math_number" id="npT|Gr-G?~T$i:DmX]PA"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="THEN"> <block type="math_number" id="6o?ac_FukueC-kk@nq!o"> <field name="NUM">237.3</field> </block> </value> <value name="ELSE"> <block type="math_number" id="4;4K[{0)4(Vozm%75+_i"> <field name="NUM">240.7</field> </block> </value> </block> </value> <next> <block type="comment" id="$B*=}.rL,X,qPq#qBoZo"> <field name="COMMENT">Sättigungsdampfdruck in hPa</field> <next> <block type="variables_set" id="Q?E@]+o%?A5Vst;#UC%`"> <field name="VAR" id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</field> <value name="VALUE"> <block type="math_arithmetic" id="(ZGnUJEP%3s.TfrDsFbS"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="L@$PW9Ryp)lwi@}/4d@L"> <field name="NUM">6.1078</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="6!68UCqmG^mt}ntwAw$="> <field name="NUM">1</field> </shadow> <block type="math_single" id="M:d2,qt=[n!JG^%L9;X."> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number" id="F^/V0W(V%SRkgBJ[G~Lc"> <field name="NUM">9</field> </shadow> <block type="math_arithmetic" id="=Ik).QQ[s15+h0A?;;yb"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="u#-uB_ADf8(QQ}AkR5zI"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="8ukI~R3.t!)Qsp:B54:*"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=":yHv-G%d7WkP)fIHpxXn"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="^;M`T+e|OgmujVUBpBKf"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> </block> </value> <value name="B"> <shadow type="math_number" id="#0eZmW-$afJh^VxL${6-"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="Hn7+4.rg.?69*!?/CZB,"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="`N@cOBS1|I]jT+ex2qEf"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="6l%(Jm)9WT[?a@3kI=cK"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="Ws4MAaUO?jkUPN$*tIrT"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="zY)d82gl|jfTj5;k%I8i"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> </block> </value> <value name="B"> <shadow type="math_number" id="EaZjCk!yPqCGmFWT6Z|?"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="T{h;k2FnMx*`:D,h6uUa"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="comment" id="3Kh+_+mXR:2GO:O*m)vs"> <field name="COMMENT">Dampfdruck in hPa</field> <next> <block type="variables_set" id="*ErK7$+[hH1[QvidG`i,"> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> <value name="VALUE"> <block type="math_arithmetic" id=".|hBJ(g|S-4zqJ)f*?C|"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id=";T4GYS;.Q9f.KvVhNK(1"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="R?0v,jH7n,nd#LD[2GT0"> <field name="VAR" id="7-+N_9$/y/?4lB%@r6s!">r</field> </block> </value> <value name="B"> <shadow type="math_number" id="8{M@RD3*mP}Oq0M?3^v$"> <field name="NUM">100</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="C(ggyO^$BRr(2B(zV-YH"> <field name="NUM">273.15</field> </shadow> <block type="variables_get" id="v_4VxNdh{u|Q%DJq_UVo"> <field name="VAR" id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</field> </block> </value> </block> </value> <next> <block type="comment" id="]pfz|t_tdKSGb?BhvlTI"> <field name="COMMENT">Taupunkttemperatur in Celsius</field> <next> <block type="variables_set" id=")e/Z/L)M5Zkkn|fY9*~z"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> <value name="VALUE"> <block type="math_single" id="]1b%g?0DLLaCIQ62Y#cX"> <field name="OP">LOG10</field> <value name="NUM"> <shadow type="math_number" id="|~oa]5S~HC~,9hN8N{uO"> <field name="NUM">9</field> </shadow> <block type="math_arithmetic" id="bFL4a$XZpyR.8(1pnljn"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="b`FE:4Mv_xu.zS/[{s=/"> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> </block> </value> <value name="B"> <shadow type="math_number" id="yDGe4DBI6[!rju*,~6Gv"> <field name="NUM">6.1078</field> </shadow> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="K.PrWMw1NF?-!1Yv0NlE"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> <value name="VALUE"> <block type="math_arithmetic" id="FWOFiM+$xJIje~$92),]"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="x-2PrSvt}r^~duF[:XB$"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="lQWPuEueD1(5aXT%[]{L"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> </block> </value> <value name="B"> <shadow type="math_number" id=";/SQ.lAAZv7b+0gvFW@G"> <field name="NUM">100</field> </shadow> <block type="variables_get" id="5)jLL?zx00kul:qSj({A"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="nN_FxmGiO#EIrz9fdKU5"> <field name="NUM">273.15</field> </shadow> <block type="math_arithmetic" id="}BfF:`jjZ$b+HY+pshlH"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@*t^U#2,Bb%/sxFtswiH"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> </block> </value> <value name="B"> <shadow type="math_number" id="9Rr.;!sNpE@)3yM++X+G"> <field name="NUM">100</field> </shadow> <block type="variables_get" id="Y1NKFr4@.ovjmsh|i86u"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id=".4P[N8va8y=j{Lj8@;we"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="N1$OJw{0.kSSpr0VFdff"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="Z_Z84~P.^8$.DxHls01{"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id=",!jdOQ|*w!hTFBqGy-W:"> <field name="TEXT">TD: </field> </block> </value> <value name="ADD1"> <block type="convert_tostring" id="J0~r{svo*_c2`@-(TOhU"> <value name="VALUE"> <block type="math_rndfixed" id="^O|nnaKw,4mVG_y-e.|*"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id=",I*vaowB$Hmhp.(w@r,@"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="|vxUuOJ)`_y!E7M1:[G5"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Taupunkttemperatur</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="#vcLzyhM7I4?/a*/C|wZ"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="0V,PrytRUU,U}-5BO_7i"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> </block> </value> </block> </value> <next> <block type="comment" id="9|.{=E@==ZQ;1EkqRkD!"> <field name="COMMENT">Absolute Feuchte in g Wasserdampf / m³ Luft</field> <next> <block type="variables_set" id=")9u6oO!u}QJJUi_tDk+5"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</field> <value name="VALUE"> <block type="math_arithmetic" id="kaMi[~Jau7@BS)[E`d`}"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="O19FA=:II#Kcwv?X0rz["> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="f[@igd43wi@4fSwj8jY$"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=".s%?!UB#kYk;Q%|sdDl["> <field name="NUM">1</field> </shadow> <block type="math_single" id="gdI6-ta$wYA]Br*bx9^`"> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number" id="W_TwJZ|B;BNQ*AzGhI5;"> <field name="NUM">5</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="cT]_U4(ip$:HMyH1#9a`"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="H-MnP?wN3}0a?bhsow(2"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="rgL9sWwN2|NiXFoBA]gd"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="TB0o1JRY?:EQk+*cFFNK"> <field name="VAR" id="5FvdDCV{-Un4tsilkDOO">mW</field> </block> </value> <value name="B"> <shadow type="math_number" id="on1g-.T|%6K|mN1EptH("> <field name="NUM">1</field> </shadow> <block type="variables_get" id=")C/K[O_aI+PLQJS1R+C("> <field name="VAR" id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</field> </block> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="_L;Fa|jJ0iLxY7d%Q9dA"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="hGD$Sj+;$UCiqB1o]tjH"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="{iLKlZfF,7VDbLu@9VpK"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="eFMv@K+RsMr@Bywc|uC."> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> </block> </value> <value name="B"> <shadow type="math_number" id="^8_oE4fa6e]WwWVE(SG6"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="hGPiU3?F@*mckz9{Ka!e"> <field name="VAR" id="/q-tbHA$#DweiRyI85Hq">TK</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id="*HpEuUA{7WQz9{rrr4D`"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="N1$OJw{0.kSSpr0VFdff"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="jpOK{]/zjubFSYYjIc:]"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="5{?Q$XBORl%wZ)b8bHtw"> <field name="TEXT">AF: </field> </block> </value> <value name="ADD1"> <block type="convert_tostring" id="N(i~+Jz~W[8zJoW@m`Fo"> <value name="VALUE"> <block type="math_rndfixed" id="2L{?jY$.A?jFI+0WyPY,"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="hfIPp/E~X4b?V#l#UQCm"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="eX+we--@Ze)JpaA*3j?d"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Absolute_Feuchte</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="xY9-+o53nTWYE`PV!(K:"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="u7J)@W[vp4x`nKq!fJju"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</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> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml> -
@david-g
Hier bitte:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="o^g9yz%FO3Goz?PTyr+/">T</variable> <variable id="/q-tbHA$#DweiRyI85Hq">TK</variable> <variable id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</variable> <variable id="5FvdDCV{-Un4tsilkDOO">mW</variable> <variable id="7-+N_9$/y/?4lB%@r6s!">r</variable> <variable id="qO}1VIq:VG#teK8H{Q4o">a</variable> <variable id="Yid+hQ){2[1t@fzM[EY#">b</variable> <variable id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</variable> <variable id="t+LFI{ndYb2NM8ioU%NJ">DD</variable> <variable id="Xr*@=()f6?V%ZK:=E@Tr">v</variable> <variable id="1Zb0r2[j`H4MZ*o:{q%_">TD</variable> <variable id="L8Cs7E?B?X]eu~q}*h;c">AF</variable> </variables> <block type="comment" id="e/XG;L@R{l_MrKgz2wL$" x="-312" y="-412"> <field name="COMMENT">Taupunkt alle 10 min berechnen</field> <next> <block type="schedule" id="TUQF2dy37MgW{wvm~}`5"> <field name="SCHEDULE">*/10 * * * *</field> <statement name="STATEMENT"> <block type="comment" id="-S_d,l^g66TccZ6Dluxy"> <field name="COMMENT">Temperatur in Celsius</field> <next> <block type="variables_set" id="cMw[E}*rvBK?67B.uka+"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> <value name="VALUE"> <block type="get_value" id="^$OQa^0epGPjBS=UDTqO"> <field name="ATTR">val</field> <field name="OID">alias.0.Aussentemperatur_Gartenhaus</field> </block> </value> <next> <block type="comment" id="?#6B,h,dlaaVn4!Ht]Xr"> <field name="COMMENT">Temperatur in Kelvin</field> <next> <block type="variables_set" id="=.KEIqXrg[J|=#[-CRSo"> <field name="VAR" id="/q-tbHA$#DweiRyI85Hq">TK</field> <value name="VALUE"> <block type="math_arithmetic" id="%f2BAdP!||(YPmVS6R`B"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="]tBY4[E@/n2~LgCQ=4Xa"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <shadow type="math_number" id="%i5(V)~ho0r^wg4LuT0("> <field name="NUM">273.15</field> </shadow> </value> </block> </value> <next> <block type="comment" id=";yf%7$SvHhMb:gnxMt]4"> <field name="COMMENT">universelle Gaskonstante</field> <next> <block type="variables_set" id=";hoSsSn$O~DUmpP_^cW~"> <field name="VAR" id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</field> <value name="VALUE"> <block type="math_number" id=",)dyI53B)#Z6{0Iz1$$h"> <field name="NUM">8314.3</field> </block> </value> <next> <block type="comment" id="o4nL4JPOcDabtv$!8rqt"> <field name="COMMENT">Molekulargewicht des Wasserdampfes</field> <next> <block type="variables_set" id="UKpN6SN{7^kCC+xdaRL^"> <field name="VAR" id="5FvdDCV{-Un4tsilkDOO">mW</field> <value name="VALUE"> <block type="math_number" id="oplrQ(+U81?Z,^X5nbZ;"> <field name="NUM">18.016</field> </block> </value> <next> <block type="comment" id="CFdIX4T6q6z3!0g[e-Lr"> <field name="COMMENT">relative Luftfeuchtigkeit</field> <next> <block type="variables_set" id="mi_e#JAmoPGAIS~w=Yi}"> <field name="VAR" id="7-+N_9$/y/?4lB%@r6s!">r</field> <value name="VALUE"> <block type="get_value" id="`uaC7n[Sb*+Om~9nmxmb"> <field name="ATTR">val</field> <field name="OID">alias.0.Luftfeuchtigkeit_Gartenhaus</field> </block> </value> <next> <block type="comment" id="C!^1|nSXSe@[X~_7q_^p"> <field name="COMMENT">Parameter</field> <next> <block type="variables_set" id="/7.+ip2BYsVMRRl;XA06"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> <value name="VALUE"> <block type="logic_ternary" id="qKv~NI-*wL.5v_u*9W|P"> <value name="IF"> <block type="logic_compare" id="e}glge,w!C+fSS%p|S9i"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="qAAC7iqL[RiR6To5?uoT"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <block type="math_number" id="prP{Vn?kMYq0~W6pA=au"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="THEN"> <block type="math_number" id="`@,@vz+~5Gl,lfeeUIbi"> <field name="NUM">7.5</field> </block> </value> <value name="ELSE"> <block type="math_number" id="m*CVnA~edQjHkQ~cMjtd"> <field name="NUM">7.6</field> </block> </value> </block> </value> <next> <block type="variables_set" id=":FW]I8jfA/Cj)+)_}Kix"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> <value name="VALUE"> <block type="logic_ternary" id="mIV3AE6DL#4{wZNrfVsw"> <value name="IF"> <block type="logic_compare" id="gM?{6WJ8`#eO`5S{(~L-"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="aZ{s|I|[b@T}x5eSmQKQ"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <block type="math_number" id="npT|Gr-G?~T$i:DmX]PA"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="THEN"> <block type="math_number" id="6o?ac_FukueC-kk@nq!o"> <field name="NUM">237.3</field> </block> </value> <value name="ELSE"> <block type="math_number" id="4;4K[{0)4(Vozm%75+_i"> <field name="NUM">240.7</field> </block> </value> </block> </value> <next> <block type="comment" id="$B*=}.rL,X,qPq#qBoZo"> <field name="COMMENT">Sättigungsdampfdruck in hPa</field> <next> <block type="variables_set" id="Q?E@]+o%?A5Vst;#UC%`"> <field name="VAR" id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</field> <value name="VALUE"> <block type="math_arithmetic" id="(ZGnUJEP%3s.TfrDsFbS"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="L@$PW9Ryp)lwi@}/4d@L"> <field name="NUM">6.1078</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="6!68UCqmG^mt}ntwAw$="> <field name="NUM">1</field> </shadow> <block type="math_single" id="M:d2,qt=[n!JG^%L9;X."> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number" id="F^/V0W(V%SRkgBJ[G~Lc"> <field name="NUM">9</field> </shadow> <block type="math_arithmetic" id="=Ik).QQ[s15+h0A?;;yb"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="u#-uB_ADf8(QQ}AkR5zI"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="8ukI~R3.t!)Qsp:B54:*"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=":yHv-G%d7WkP)fIHpxXn"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="^;M`T+e|OgmujVUBpBKf"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> </block> </value> <value name="B"> <shadow type="math_number" id="#0eZmW-$afJh^VxL${6-"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="Hn7+4.rg.?69*!?/CZB,"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="`N@cOBS1|I]jT+ex2qEf"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="6l%(Jm)9WT[?a@3kI=cK"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="Ws4MAaUO?jkUPN$*tIrT"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="zY)d82gl|jfTj5;k%I8i"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> </block> </value> <value name="B"> <shadow type="math_number" id="EaZjCk!yPqCGmFWT6Z|?"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="T{h;k2FnMx*`:D,h6uUa"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="comment" id="3Kh+_+mXR:2GO:O*m)vs"> <field name="COMMENT">Dampfdruck in hPa</field> <next> <block type="variables_set" id="*ErK7$+[hH1[QvidG`i,"> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> <value name="VALUE"> <block type="math_arithmetic" id=".|hBJ(g|S-4zqJ)f*?C|"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id=";T4GYS;.Q9f.KvVhNK(1"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="R?0v,jH7n,nd#LD[2GT0"> <field name="VAR" id="7-+N_9$/y/?4lB%@r6s!">r</field> </block> </value> <value name="B"> <shadow type="math_number" id="8{M@RD3*mP}Oq0M?3^v$"> <field name="NUM">100</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="C(ggyO^$BRr(2B(zV-YH"> <field name="NUM">273.15</field> </shadow> <block type="variables_get" id="v_4VxNdh{u|Q%DJq_UVo"> <field name="VAR" id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</field> </block> </value> </block> </value> <next> <block type="comment" id="]pfz|t_tdKSGb?BhvlTI"> <field name="COMMENT">Taupunkttemperatur in Celsius</field> <next> <block type="variables_set" id=")e/Z/L)M5Zkkn|fY9*~z"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> <value name="VALUE"> <block type="math_single" id="]1b%g?0DLLaCIQ62Y#cX"> <field name="OP">LOG10</field> <value name="NUM"> <shadow type="math_number" id="|~oa]5S~HC~,9hN8N{uO"> <field name="NUM">9</field> </shadow> <block type="math_arithmetic" id="bFL4a$XZpyR.8(1pnljn"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="b`FE:4Mv_xu.zS/[{s=/"> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> </block> </value> <value name="B"> <shadow type="math_number" id="yDGe4DBI6[!rju*,~6Gv"> <field name="NUM">6.1078</field> </shadow> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="K.PrWMw1NF?-!1Yv0NlE"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> <value name="VALUE"> <block type="math_arithmetic" id="FWOFiM+$xJIje~$92),]"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="x-2PrSvt}r^~duF[:XB$"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="lQWPuEueD1(5aXT%[]{L"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> </block> </value> <value name="B"> <shadow type="math_number" id=";/SQ.lAAZv7b+0gvFW@G"> <field name="NUM">100</field> </shadow> <block type="variables_get" id="5)jLL?zx00kul:qSj({A"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="nN_FxmGiO#EIrz9fdKU5"> <field name="NUM">273.15</field> </shadow> <block type="math_arithmetic" id="}BfF:`jjZ$b+HY+pshlH"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@*t^U#2,Bb%/sxFtswiH"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> </block> </value> <value name="B"> <shadow type="math_number" id="9Rr.;!sNpE@)3yM++X+G"> <field name="NUM">100</field> </shadow> <block type="variables_get" id="Y1NKFr4@.ovjmsh|i86u"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id=".4P[N8va8y=j{Lj8@;we"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="N1$OJw{0.kSSpr0VFdff"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="Z_Z84~P.^8$.DxHls01{"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id=",!jdOQ|*w!hTFBqGy-W:"> <field name="TEXT">TD: </field> </block> </value> <value name="ADD1"> <block type="convert_tostring" id="J0~r{svo*_c2`@-(TOhU"> <value name="VALUE"> <block type="math_rndfixed" id="^O|nnaKw,4mVG_y-e.|*"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id=",I*vaowB$Hmhp.(w@r,@"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="|vxUuOJ)`_y!E7M1:[G5"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Taupunkttemperatur</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="#vcLzyhM7I4?/a*/C|wZ"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="0V,PrytRUU,U}-5BO_7i"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> </block> </value> </block> </value> <next> <block type="comment" id="9|.{=E@==ZQ;1EkqRkD!"> <field name="COMMENT">Absolute Feuchte in g Wasserdampf / m³ Luft</field> <next> <block type="variables_set" id=")9u6oO!u}QJJUi_tDk+5"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</field> <value name="VALUE"> <block type="math_arithmetic" id="kaMi[~Jau7@BS)[E`d`}"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="O19FA=:II#Kcwv?X0rz["> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="f[@igd43wi@4fSwj8jY$"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=".s%?!UB#kYk;Q%|sdDl["> <field name="NUM">1</field> </shadow> <block type="math_single" id="gdI6-ta$wYA]Br*bx9^`"> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number" id="W_TwJZ|B;BNQ*AzGhI5;"> <field name="NUM">5</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="cT]_U4(ip$:HMyH1#9a`"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="H-MnP?wN3}0a?bhsow(2"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="rgL9sWwN2|NiXFoBA]gd"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="TB0o1JRY?:EQk+*cFFNK"> <field name="VAR" id="5FvdDCV{-Un4tsilkDOO">mW</field> </block> </value> <value name="B"> <shadow type="math_number" id="on1g-.T|%6K|mN1EptH("> <field name="NUM">1</field> </shadow> <block type="variables_get" id=")C/K[O_aI+PLQJS1R+C("> <field name="VAR" id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</field> </block> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="_L;Fa|jJ0iLxY7d%Q9dA"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="hGD$Sj+;$UCiqB1o]tjH"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="{iLKlZfF,7VDbLu@9VpK"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="eFMv@K+RsMr@Bywc|uC."> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> </block> </value> <value name="B"> <shadow type="math_number" id="^8_oE4fa6e]WwWVE(SG6"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="hGPiU3?F@*mckz9{Ka!e"> <field name="VAR" id="/q-tbHA$#DweiRyI85Hq">TK</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id="*HpEuUA{7WQz9{rrr4D`"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="N1$OJw{0.kSSpr0VFdff"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="jpOK{]/zjubFSYYjIc:]"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="5{?Q$XBORl%wZ)b8bHtw"> <field name="TEXT">AF: </field> </block> </value> <value name="ADD1"> <block type="convert_tostring" id="N(i~+Jz~W[8zJoW@m`Fo"> <value name="VALUE"> <block type="math_rndfixed" id="2L{?jY$.A?jFI+0WyPY,"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="hfIPp/E~X4b?V#l#UQCm"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="eX+we--@Ze)JpaA*3j?d"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Absolute_Feuchte</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="xY9-+o53nTWYE`PV!(K:"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="u7J)@W[vp4x`nKq!fJju"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</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> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml>@bertderkleine sagte in Mathematik in Blockly - was übersehe ich?:
erfüllt aber auch den Zweck:
naja, kommt auf dden Zweck an.
Diese Ausgabe kann man aber nicht mehr nach Blockly wandeln um sie dort anzupassen. -
@david-g
Hier bitte:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="o^g9yz%FO3Goz?PTyr+/">T</variable> <variable id="/q-tbHA$#DweiRyI85Hq">TK</variable> <variable id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</variable> <variable id="5FvdDCV{-Un4tsilkDOO">mW</variable> <variable id="7-+N_9$/y/?4lB%@r6s!">r</variable> <variable id="qO}1VIq:VG#teK8H{Q4o">a</variable> <variable id="Yid+hQ){2[1t@fzM[EY#">b</variable> <variable id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</variable> <variable id="t+LFI{ndYb2NM8ioU%NJ">DD</variable> <variable id="Xr*@=()f6?V%ZK:=E@Tr">v</variable> <variable id="1Zb0r2[j`H4MZ*o:{q%_">TD</variable> <variable id="L8Cs7E?B?X]eu~q}*h;c">AF</variable> </variables> <block type="comment" id="e/XG;L@R{l_MrKgz2wL$" x="-312" y="-412"> <field name="COMMENT">Taupunkt alle 10 min berechnen</field> <next> <block type="schedule" id="TUQF2dy37MgW{wvm~}`5"> <field name="SCHEDULE">*/10 * * * *</field> <statement name="STATEMENT"> <block type="comment" id="-S_d,l^g66TccZ6Dluxy"> <field name="COMMENT">Temperatur in Celsius</field> <next> <block type="variables_set" id="cMw[E}*rvBK?67B.uka+"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> <value name="VALUE"> <block type="get_value" id="^$OQa^0epGPjBS=UDTqO"> <field name="ATTR">val</field> <field name="OID">alias.0.Aussentemperatur_Gartenhaus</field> </block> </value> <next> <block type="comment" id="?#6B,h,dlaaVn4!Ht]Xr"> <field name="COMMENT">Temperatur in Kelvin</field> <next> <block type="variables_set" id="=.KEIqXrg[J|=#[-CRSo"> <field name="VAR" id="/q-tbHA$#DweiRyI85Hq">TK</field> <value name="VALUE"> <block type="math_arithmetic" id="%f2BAdP!||(YPmVS6R`B"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="]tBY4[E@/n2~LgCQ=4Xa"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <shadow type="math_number" id="%i5(V)~ho0r^wg4LuT0("> <field name="NUM">273.15</field> </shadow> </value> </block> </value> <next> <block type="comment" id=";yf%7$SvHhMb:gnxMt]4"> <field name="COMMENT">universelle Gaskonstante</field> <next> <block type="variables_set" id=";hoSsSn$O~DUmpP_^cW~"> <field name="VAR" id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</field> <value name="VALUE"> <block type="math_number" id=",)dyI53B)#Z6{0Iz1$$h"> <field name="NUM">8314.3</field> </block> </value> <next> <block type="comment" id="o4nL4JPOcDabtv$!8rqt"> <field name="COMMENT">Molekulargewicht des Wasserdampfes</field> <next> <block type="variables_set" id="UKpN6SN{7^kCC+xdaRL^"> <field name="VAR" id="5FvdDCV{-Un4tsilkDOO">mW</field> <value name="VALUE"> <block type="math_number" id="oplrQ(+U81?Z,^X5nbZ;"> <field name="NUM">18.016</field> </block> </value> <next> <block type="comment" id="CFdIX4T6q6z3!0g[e-Lr"> <field name="COMMENT">relative Luftfeuchtigkeit</field> <next> <block type="variables_set" id="mi_e#JAmoPGAIS~w=Yi}"> <field name="VAR" id="7-+N_9$/y/?4lB%@r6s!">r</field> <value name="VALUE"> <block type="get_value" id="`uaC7n[Sb*+Om~9nmxmb"> <field name="ATTR">val</field> <field name="OID">alias.0.Luftfeuchtigkeit_Gartenhaus</field> </block> </value> <next> <block type="comment" id="C!^1|nSXSe@[X~_7q_^p"> <field name="COMMENT">Parameter</field> <next> <block type="variables_set" id="/7.+ip2BYsVMRRl;XA06"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> <value name="VALUE"> <block type="logic_ternary" id="qKv~NI-*wL.5v_u*9W|P"> <value name="IF"> <block type="logic_compare" id="e}glge,w!C+fSS%p|S9i"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="qAAC7iqL[RiR6To5?uoT"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <block type="math_number" id="prP{Vn?kMYq0~W6pA=au"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="THEN"> <block type="math_number" id="`@,@vz+~5Gl,lfeeUIbi"> <field name="NUM">7.5</field> </block> </value> <value name="ELSE"> <block type="math_number" id="m*CVnA~edQjHkQ~cMjtd"> <field name="NUM">7.6</field> </block> </value> </block> </value> <next> <block type="variables_set" id=":FW]I8jfA/Cj)+)_}Kix"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> <value name="VALUE"> <block type="logic_ternary" id="mIV3AE6DL#4{wZNrfVsw"> <value name="IF"> <block type="logic_compare" id="gM?{6WJ8`#eO`5S{(~L-"> <field name="OP">GTE</field> <value name="A"> <block type="variables_get" id="aZ{s|I|[b@T}x5eSmQKQ"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> <value name="B"> <block type="math_number" id="npT|Gr-G?~T$i:DmX]PA"> <field name="NUM">0</field> </block> </value> </block> </value> <value name="THEN"> <block type="math_number" id="6o?ac_FukueC-kk@nq!o"> <field name="NUM">237.3</field> </block> </value> <value name="ELSE"> <block type="math_number" id="4;4K[{0)4(Vozm%75+_i"> <field name="NUM">240.7</field> </block> </value> </block> </value> <next> <block type="comment" id="$B*=}.rL,X,qPq#qBoZo"> <field name="COMMENT">Sättigungsdampfdruck in hPa</field> <next> <block type="variables_set" id="Q?E@]+o%?A5Vst;#UC%`"> <field name="VAR" id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</field> <value name="VALUE"> <block type="math_arithmetic" id="(ZGnUJEP%3s.TfrDsFbS"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="L@$PW9Ryp)lwi@}/4d@L"> <field name="NUM">6.1078</field> </shadow> </value> <value name="B"> <shadow type="math_number" id="6!68UCqmG^mt}ntwAw$="> <field name="NUM">1</field> </shadow> <block type="math_single" id="M:d2,qt=[n!JG^%L9;X."> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number" id="F^/V0W(V%SRkgBJ[G~Lc"> <field name="NUM">9</field> </shadow> <block type="math_arithmetic" id="=Ik).QQ[s15+h0A?;;yb"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="u#-uB_ADf8(QQ}AkR5zI"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="8ukI~R3.t!)Qsp:B54:*"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=":yHv-G%d7WkP)fIHpxXn"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="^;M`T+e|OgmujVUBpBKf"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> </block> </value> <value name="B"> <shadow type="math_number" id="#0eZmW-$afJh^VxL${6-"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="Hn7+4.rg.?69*!?/CZB,"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="`N@cOBS1|I]jT+ex2qEf"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="6l%(Jm)9WT[?a@3kI=cK"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="Ws4MAaUO?jkUPN$*tIrT"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="zY)d82gl|jfTj5;k%I8i"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> </block> </value> <value name="B"> <shadow type="math_number" id="EaZjCk!yPqCGmFWT6Z|?"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="T{h;k2FnMx*`:D,h6uUa"> <field name="VAR" id="o^g9yz%FO3Goz?PTyr+/">T</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="comment" id="3Kh+_+mXR:2GO:O*m)vs"> <field name="COMMENT">Dampfdruck in hPa</field> <next> <block type="variables_set" id="*ErK7$+[hH1[QvidG`i,"> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> <value name="VALUE"> <block type="math_arithmetic" id=".|hBJ(g|S-4zqJ)f*?C|"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id=";T4GYS;.Q9f.KvVhNK(1"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="R?0v,jH7n,nd#LD[2GT0"> <field name="VAR" id="7-+N_9$/y/?4lB%@r6s!">r</field> </block> </value> <value name="B"> <shadow type="math_number" id="8{M@RD3*mP}Oq0M?3^v$"> <field name="NUM">100</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="C(ggyO^$BRr(2B(zV-YH"> <field name="NUM">273.15</field> </shadow> <block type="variables_get" id="v_4VxNdh{u|Q%DJq_UVo"> <field name="VAR" id="v_}/{Xu~.;Z@PKJ)hhWo">SDD</field> </block> </value> </block> </value> <next> <block type="comment" id="]pfz|t_tdKSGb?BhvlTI"> <field name="COMMENT">Taupunkttemperatur in Celsius</field> <next> <block type="variables_set" id=")e/Z/L)M5Zkkn|fY9*~z"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> <value name="VALUE"> <block type="math_single" id="]1b%g?0DLLaCIQ62Y#cX"> <field name="OP">LOG10</field> <value name="NUM"> <shadow type="math_number" id="|~oa]5S~HC~,9hN8N{uO"> <field name="NUM">9</field> </shadow> <block type="math_arithmetic" id="bFL4a$XZpyR.8(1pnljn"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="b`FE:4Mv_xu.zS/[{s=/"> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> </block> </value> <value name="B"> <shadow type="math_number" id="yDGe4DBI6[!rju*,~6Gv"> <field name="NUM">6.1078</field> </shadow> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="K.PrWMw1NF?-!1Yv0NlE"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> <value name="VALUE"> <block type="math_arithmetic" id="FWOFiM+$xJIje~$92),]"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="V%Oa/,@9=Eir:1y2fvfV"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="x-2PrSvt}r^~duF[:XB$"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="lQWPuEueD1(5aXT%[]{L"> <field name="VAR" id="Yid+hQ){2[1t@fzM[EY#">b</field> </block> </value> <value name="B"> <shadow type="math_number" id=";/SQ.lAAZv7b+0gvFW@G"> <field name="NUM">100</field> </shadow> <block type="variables_get" id="5)jLL?zx00kul:qSj({A"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="nN_FxmGiO#EIrz9fdKU5"> <field name="NUM">273.15</field> </shadow> <block type="math_arithmetic" id="}BfF:`jjZ$b+HY+pshlH"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="~?p.B[/Q*Me.QKW$;|CD"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="@*t^U#2,Bb%/sxFtswiH"> <field name="VAR" id="qO}1VIq:VG#teK8H{Q4o">a</field> </block> </value> <value name="B"> <shadow type="math_number" id="9Rr.;!sNpE@)3yM++X+G"> <field name="NUM">100</field> </shadow> <block type="variables_get" id="Y1NKFr4@.ovjmsh|i86u"> <field name="VAR" id="Xr*@=()f6?V%ZK:=E@Tr">v</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id=".4P[N8va8y=j{Lj8@;we"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="N1$OJw{0.kSSpr0VFdff"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="Z_Z84~P.^8$.DxHls01{"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id=",!jdOQ|*w!hTFBqGy-W:"> <field name="TEXT">TD: </field> </block> </value> <value name="ADD1"> <block type="convert_tostring" id="J0~r{svo*_c2`@-(TOhU"> <value name="VALUE"> <block type="math_rndfixed" id="^O|nnaKw,4mVG_y-e.|*"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id=",I*vaowB$Hmhp.(w@r,@"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="|vxUuOJ)`_y!E7M1:[G5"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Taupunkttemperatur</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="#vcLzyhM7I4?/a*/C|wZ"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="0V,PrytRUU,U}-5BO_7i"> <field name="VAR" id="1Zb0r2[j`H4MZ*o:{q%_">TD</field> </block> </value> </block> </value> <next> <block type="comment" id="9|.{=E@==ZQ;1EkqRkD!"> <field name="COMMENT">Absolute Feuchte in g Wasserdampf / m³ Luft</field> <next> <block type="variables_set" id=")9u6oO!u}QJJUi_tDk+5"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</field> <value name="VALUE"> <block type="math_arithmetic" id="kaMi[~Jau7@BS)[E`d`}"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="O19FA=:II#Kcwv?X0rz["> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="f[@igd43wi@4fSwj8jY$"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id=".s%?!UB#kYk;Q%|sdDl["> <field name="NUM">1</field> </shadow> <block type="math_single" id="gdI6-ta$wYA]Br*bx9^`"> <field name="OP">POW10</field> <value name="NUM"> <shadow type="math_number" id="W_TwJZ|B;BNQ*AzGhI5;"> <field name="NUM">5</field> </shadow> </value> </block> </value> <value name="B"> <shadow type="math_number" id="cT]_U4(ip$:HMyH1#9a`"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="H-MnP?wN3}0a?bhsow(2"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="rgL9sWwN2|NiXFoBA]gd"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="TB0o1JRY?:EQk+*cFFNK"> <field name="VAR" id="5FvdDCV{-Un4tsilkDOO">mW</field> </block> </value> <value name="B"> <shadow type="math_number" id="on1g-.T|%6K|mN1EptH("> <field name="NUM">1</field> </shadow> <block type="variables_get" id=")C/K[O_aI+PLQJS1R+C("> <field name="VAR" id="g/*k5EP.^7F[)F^Fo1Sm">Rstern</field> </block> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="_L;Fa|jJ0iLxY7d%Q9dA"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="hGD$Sj+;$UCiqB1o]tjH"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="{iLKlZfF,7VDbLu@9VpK"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="eFMv@K+RsMr@Bywc|uC."> <field name="VAR" id="t+LFI{ndYb2NM8ioU%NJ">DD</field> </block> </value> <value name="B"> <shadow type="math_number" id="^8_oE4fa6e]WwWVE(SG6"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="hGPiU3?F@*mckz9{Ka!e"> <field name="VAR" id="/q-tbHA$#DweiRyI85Hq">TK</field> </block> </value> </block> </value> </block> </value> <next> <block type="debug" id="*HpEuUA{7WQz9{rrr4D`"> <field name="Severity">info</field> <value name="TEXT"> <shadow type="text" id="N1$OJw{0.kSSpr0VFdff"> <field name="TEXT">test</field> </shadow> <block type="text_join" id="jpOK{]/zjubFSYYjIc:]"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="5{?Q$XBORl%wZ)b8bHtw"> <field name="TEXT">AF: </field> </block> </value> <value name="ADD1"> <block type="convert_tostring" id="N(i~+Jz~W[8zJoW@m`Fo"> <value name="VALUE"> <block type="math_rndfixed" id="2L{?jY$.A?jFI+0WyPY,"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="hfIPp/E~X4b?V#l#UQCm"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</field> </block> </value> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="eX+we--@Ze)JpaA*3j?d"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Absolute_Feuchte</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="xY9-+o53nTWYE`PV!(K:"> <field name="n">2</field> <value name="x"> <shadow type="math_number" id="5o~4bRrx(^NK-!jZ%2,R"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="u7J)@W[vp4x`nKq!fJju"> <field name="VAR" id="L8Cs7E?B?X]eu~q}*h;c">AF</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> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml>@bertderkleine
Bitte XML nur zusätzlich (im Spoiler) mitliefern. Nicht jeder mag das erstmal importieren, um zu sehen was da Sache ist.Blockly bitte primär immer als Screenshot.
-
@bertderkleine
Bitte XML nur zusätzlich (im Spoiler) mitliefern. Nicht jeder mag das erstmal importieren, um zu sehen was da Sache ist.Blockly bitte primär immer als Screenshot.
@codierknecht
Hat er doch oder? Den Code hat er mir auf Nachfrage gesendet. -
@codierknecht
Hat er doch oder? Den Code hat er mir auf Nachfrage gesendet.@david-g sagte in Mathematik in Blockly - was übersehe ich?:
Hat er doch oder? Den Code hat er mir auf Nachfrage gesendet.
@David-G @BertDerKleine
Sorry, glatt übersehen :-( Asche auf mein Haupt.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden