#ifndef _HOUSE_H_ #define _HOUSE_H_ #include "Temparray.h" #include "Sun.h" #include "Triangle.h" #include #include class House { public: House(float inittemp0, int earthx0, int earthy0, int earthz0, float collectortemp0, 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, 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_ */