1 /***************************************************************************
3 * SpaceHeating.h Copyright (C) 2008 by Jon Rumble *
4 * j.w.rumble@reading.ac.uk *
7 * This file is part of HECS, *
9 * HECS is free software: you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation, either version 2 of the License, or *
12 * (at your option) any later version. *
15 * HECS is distributed in the hope that it will be useful, *
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
18 * GNU General Public License for more details. *
20 * You should have received a copy of the GNU General Public License *
21 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
22 ***************************************************************************/
24 #ifndef SPACEHEATING_H
25 #define SPACEHEATING_H
27 #include "ConfigParser.h"
34 SpaceHeating (const ConfigParser
& config
,Gains
*gains
);
38 void setFracHeatFromSecondary ( double val_in
);
39 double getFracHeatFromSecondary ( );
40 void setEffcyMainHeatingSys ( int val_in
);
41 int getEffcyMainHeatingSys ( );
42 void setEffcySecondaryHeatingSystem ( int val_in
);
43 int getEffcySecondaryHeatingSystem ( );
44 void setSpaceHeatingFuelMainReq ( double val_in
);
45 double getSpaceHeatingFuelMainReq ( );
46 void setSpaceHeatingFuelSecondary ( double val_in
);
47 double getSpaceHeatingFuelSecondary ( );
53 double m_fracHeatFromSecondary
;
54 int m_effcyMainHeatingSys
;
55 int m_effcySecondaryHeatingSystem
;
56 double m_spaceHeatingFuelMainReq
;
57 double m_spaceHeatingFuelSecondary
;
60 void calcSpaceHeatingFuelMain();
61 void calcSpaceHeatingFuelSec();
68 #endif //END OF SPACEHEATING_H