NANDRAD Data Model Library  Version 2.0
NANDRAD
NANDRAD_NetworkInterfaceAdapterModel.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_NetworkInterfaceAdapterModelH
23 #define NANDRAD_NetworkInterfaceAdapterModelH
24 
25 #include "NANDRAD_HydraulicFluid.h"
26 
27 namespace NANDRAD {
28 
29 /*! A model that computes return temperature based on given supply temperature and mass flow by removing energy from the fluid.
30  Energy loss is retrieved from HeatLoadSummationModel.
31 */
33 public:
34 
35  NANDRAD_READWRITE
36 
37  /*! Checks parameters for valid values. */
38  void checkParameters() const;
39 
40  /*! Unique ID-number for this ventilation rate model. */
41  unsigned int m_id = NANDRAD::INVALID_ID; // XML:A:required
42  /*! Some display/comment name for this model (optional). */
43  std::string m_displayName; // XML:A
44 
45  /*! The fluid properties. */
46  IBK::Parameter m_fluidHeatCapacity; // XML:E
47 
48  /*! Reference to HeatLoadSummationModel required as source for heat load. */
49  unsigned int m_summationModelId = NANDRAD::INVALID_ID; // XML:A:required
50 };
51 
52 } // namespace NANDRAD
53 
54 #endif // NANDRAD_NetworkInterfaceAdapterModelH
IBK::Parameter m_fluidHeatCapacity
The fluid properties.
unsigned int m_summationModelId
Reference to HeatLoadSummationModel required as source for heat load.
unsigned int m_id
Unique ID-number for this ventilation rate model.
unsigned int INVALID_ID
defines an invalid id
std::string m_displayName
Some display/comment name for this model (optional).
The namespace NANDRAD contains the data model classes that make up the NANDRAD solver input data...
A model that computes return temperature based on given supply temperature and mass flow by removing ...
NANDRAD_READWRITE void checkParameters() const
Checks parameters for valid values.