This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Simple mathematical question
#3
(16.03.2019, 22:09)Tokatubs Wrote: I have no idea, but maybe this will work

A = grp.getvalue('6/6/1')
B = grp.getvalue('6/6/2')
C = grp.getvalue('6/6/4')
D = math.round((B - A) / (C - A) *100, 2)
grp.write('6/6/10', D)

Hi.
Thanks for the reply. I sort of found it out in the meanwhile (:

A = grp.getvalue ('6/6/1') --Temp before the heat-recovery (outside temp)
B = grp.getvalue ('6/6/2') --Temp after the heat-recovery
C = grp.getvalue ('6/6/4') --Return temp from house (before the heat-recovery)
D = grp.find ('6/6/10') -- Efficiency heat-recovery

D :write(((B-A)/(C-A))*100)

Now i get the efficiency in % of my "rotating heat recovery unit" in my "house ventilation" (:
Reply


Messages In This Thread
Simple mathematical question - by Kai-Roger - 16.03.2019, 22:01
RE: Simple mathematical question - by Kai-Roger - 16.03.2019, 22:28

Forum Jump: