From fd3c8843d0acc1d27a9bcaea475ea864508fb64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Ri=DF?= Date: Tue, 19 Jan 2010 20:06:14 +0100 Subject: ..... --- House.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'House.h') diff --git a/House.h b/House.h index 67d90f2..0278726 100644 --- a/House.h +++ b/House.h @@ -11,15 +11,23 @@ class House { public: House(float inittemp0, int earthx0, int earthy0, int earthz0, float collectortemp0, - float latitude0); + float radiation0, float latitude0, float eta00, float k10, float k20, float collectorarea0, + float watthoursperhuman, int humans); std::list getTriangles(){ std::list triangles = temp.getTriangles(); return triangles; } + + void calcefficiency(); + void calctemp(); private: Temparray temp; - float collectortemp, latitude; + float collectortemp, latitude, radiation, eta0, k1, k2, watthoursperhuman, collectorarea; + float tempinside[24], tempoutside[12][24], efficiencyflat[100], efficiencyvacuum[100], + anglecorrectionfactorflat[91], anglecorrectionfactortransversal[91], + anglecorrectionfactorlongitudinal[91]; + int humans; }; #endif /* _HOUSE_H_ */ -- cgit v1.2.3