NANDRAD Data Model Library  Version 2.0
NANDRAD
NANDRAD_InterfaceHeatConduction.h
1 /* The NANDRAD data model library.
2 
3  Copyright (c) 2012-today, Institut für Bauklimatik, TU Dresden, Germany
4 
5  Primary authors:
6  Andreas Nicolai <andreas.nicolai -[at]- tu-dresden.de>
7  Anne Paepcke <anne.paepcke -[at]- tu-dresden.de>
8 
9  This library is part of SIM-VICUS (https://github.com/ghorwin/SIM-VICUS)
10 
11  This library is free software: you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  This library is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 */
21 
22 #ifndef NANDRAD_InterfaceHeatConductionH
23 #define NANDRAD_InterfaceHeatConductionH
24 
25 #include <IBK_Parameter.h>
26 #include "NANDRAD_CodeGenMacros.h"
27 
28 namespace NANDRAD {
29 
30 /*! Contains parameters for convenctive heat exchange between walls and
31  zones/ambient climate.
32 */
34  NANDRAD_READWRITE_PRIVATE
35 public:
36  /*! Model types supported by this model. */
37  enum modelType_t {
38  /*! Constant transfer coefficient. */
39  MT_Constant, // Keyword: Constant 'Constant heat exchange coefficient'
40  NUM_MT // Keyword: None 'No convective heat exchange'
41  };
42 
43  /*! Parameters. */
44  enum para_t {
45  /*! Constant heat transfer coefficient [W/m2K] */
46  P_HeatTransferCoefficient, // Keyword: HeatTransferCoefficient [W/m2K] 'Convective heat transfer coefficient'
47  NUM_P
48  };
49 
50  // *** PUBLIC MEMBER FUNCTIONS ***
51 
52  NANDRAD_READWRITE_IFNOTEMPTY(InterfaceHeatConduction)
53  NANDRAD_COMP(InterfaceHeatConduction)
54 
55  /*! Checks for valid parameters (value ranges). */
56  void checkParameters() const;
57 
58  // *** PUBLIC MEMBER VARIABLES ***
59 
60  /*! Model type. */
61  modelType_t m_modelType = NUM_MT; // XML:A:required
62  /*! List of constant parameters. */
63  IBK::Parameter m_para[NUM_P]; // XML:E
64 
65 }; // InterfaceHeatConduction
66 
67 } // namespace NANDRAD
68 
69 #endif // NANDRAD_InterfaceHeatConductionH
modelType_t
Model types supported by this model.
void checkParameters() const
Checks for valid parameters (value ranges).
Contains parameters for convenctive heat exchange between walls and zones/ambient climate...
IBK::Parameter m_para[NUM_P]
List of constant parameters.
The namespace NANDRAD contains the data model classes that make up the NANDRAD solver input data...