NANDRAD Data Model Library  Version 2.0
NANDRAD
NANDRAD_InterfaceAirFlow.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_InterfaceAirFlowH
23 #define NANDRAD_InterfaceAirFlowH
24 
25 #include <IBK_Parameter.h>
26 #include "NANDRAD_LinearSplineParameter.h"
27 #include "NANDRAD_CodeGenMacros.h"
28 
29 namespace NANDRAD {
30 
31 /*! Contains parameters for convenctive air flow through construction. */
33  NANDRAD_READWRITE_PRIVATE
34 public:
35 
36  /*! Parameters to be defined for the various window model types. */
37  enum splinePara_t {
38  SP_PressureCoefficient, // Keyword: PressureCoefficient [---] 'Pressure coeffient.'
39  NUM_SP
40  };
41  /*! Model types supported by the window model. */
42  enum modelType_t {
43  MT_WindFlow, // Keyword: WindFlow 'Use results from external wind flow calculation.'
44  NUM_MT
45  };
46 
47  // *** PUBLIC MEMBER FUNCTIONS ***
48 
49  NANDRAD_READWRITE_IFNOTEMPTY(InterfaceAirFlow)
50  NANDRAD_COMP(InterfaceAirFlow)
51 
52  /*! Checks for valid parameters (value ranges).*/
53  void checkParameters() const;
54 
55  // *** PUBLIC MEMBER VARIABLES ***
56 
57  /*! Model type. */
58  modelType_t m_modelType = NUM_MT; // XML:A:required
59  /*! List of constant parameters.*/
61 
62 }; // InterfaceAirFlow
63 
64 } // namespace NANDRAD
65 
66 #endif // NANDRAD_InterfaceAirFlowH
Contains parameters for convenctive air flow through construction.
Class LinearSplineParameter stores a linear spline curve, the corresponding parameter name and a unit...
LinearSplineParameter m_splinePara[NUM_SP]
List of constant parameters.
void checkParameters() const
Checks for valid parameters (value ranges).
splinePara_t
Parameters to be defined for the various window model types.
modelType_t
Model types supported by the window model.
modelType_t m_modelType
Model type.
The namespace NANDRAD contains the data model classes that make up the NANDRAD solver input data...