NANDRAD Data Model Library  Version 2.0
NANDRAD
NANDRAD::HydraulicNetworkHeatExchange Class Reference

Detailed Description

Encapsulates all data defining heat exchange between flow elements and the environment or other models/elements.

Definition of heat exchange is done in each flow element definition. If missing, the flow element is treated as adiabat.

Definition at line 41 of file NANDRAD_HydraulicNetworkHeatExchange.h.

#include <NANDRAD_HydraulicNetworkHeatExchange.h>

Collaboration diagram for NANDRAD::HydraulicNetworkHeatExchange:

Public Types

enum  ModelType {
  T_TemperatureConstant, T_TemperatureSpline, T_TemperatureSplineEvaporator, T_TemperatureZone,
  T_TemperatureConstructionLayer, T_HeatLossConstant, T_HeatLossSpline, T_HeatLossSplineCondenser,
  NUM_T
}
 Defines the type of heat exchange. More...
 
enum  para_t { P_Temperature, P_HeatLoss, P_ExternalHeatTransferCoefficient, NUM_P }
 Parameters for the element . More...
 
enum  splinePara_t { SPL_Temperature, SPL_HeatLoss, NUM_SPL }
 Spline parameter as functions of time. More...
 
enum  References { ID_ZoneId, ID_ConstructionInstanceId, NUM_ID }
 Integer/whole number parameters. More...
 

Public Member Functions

 HydraulicNetworkHeatExchange (ModelType modelType)
 
NANDRAD_READWRITE void checkParameters (const std::map< std::string, IBK::Path > &placeholders, const std::vector< Zone > &zones, const std::vector< ConstructionInstance > &conInstances)
 Tests all parameter and initializes linear spline parameters for calculation, including reading of potentially referenced TSV files.
 
bool operator!= (const HydraulicNetworkHeatExchange &other) const
 

Static Public Member Functions

static std::vector< ModelTypeavailableHeatExchangeTypes (const HydraulicNetworkComponent::ModelType modelType)
 

Public Attributes

ModelType m_modelType = NUM_T
 Model/type of heat exchange. More...
 
IDType m_idReferences [NUM_ID]
 Integer parameters. More...
 
IBK::Parameter m_para [NUM_P]
 Parameter.
 
LinearSplineParameter m_splPara [NUM_SPL]
 Time-series of heat flux or temperature (can be spline or tsv-file). More...
 

Member Enumeration Documentation

◆ ModelType

Defines the type of heat exchange.

Enumerator
T_HeatLossSplineCondenser 

Heat loss from condenser is not the heat loss of the fluid, hence different parameter than T_HeatLossSpline.

Definition at line 47 of file NANDRAD_HydraulicNetworkHeatExchange.h.

◆ para_t

Parameters for the element .

Definition at line 81 of file NANDRAD_HydraulicNetworkHeatExchange.h.

◆ splinePara_t

Spline parameter as functions of time.

Defined similarly as time series for location object (i.e. with start time shift).

Enumerator
SPL_HeatLoss 

Heat loss spline is used for models T_HeatLossSpline and T_HeatLossSplineCondenser.

Definition at line 89 of file NANDRAD_HydraulicNetworkHeatExchange.h.

◆ References

Integer/whole number parameters.

Definition at line 97 of file NANDRAD_HydraulicNetworkHeatExchange.h.

Member Data Documentation

◆ m_modelType

ModelType NANDRAD::HydraulicNetworkHeatExchange::m_modelType = NUM_T

Model/type of heat exchange.

Definition at line 104 of file NANDRAD_HydraulicNetworkHeatExchange.h.

◆ m_idReferences

IDType NANDRAD::HydraulicNetworkHeatExchange::m_idReferences[NUM_ID]

Integer parameters.

Definition at line 107 of file NANDRAD_HydraulicNetworkHeatExchange.h.

◆ m_splPara

LinearSplineParameter NANDRAD::HydraulicNetworkHeatExchange::m_splPara[NUM_SPL]

Time-series of heat flux or temperature (can be spline or tsv-file).

Definition at line 113 of file NANDRAD_HydraulicNetworkHeatExchange.h.


The documentation for this class was generated from the following file: