OGS
ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve Struct Reference

Detailed Description

Definition at line 208 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

Collaboration diagram for ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve:
[legend]

Public Member Functions

FlowAndTemperature operator() (double const T_out, double const time) const
 

Public Attributes

BuildingPowerCurves const building_heating_curves
 
BuildingPowerCurves const building_hot_water_curves
 
BuildingPowerCurves const building_active_cooling_curves
 
MathLib::PiecewiseLinearInterpolation const & flow_curve
 
double heat_capacity
 
double density
 
double flow_rate_min
 
double power_min
 

Static Public Attributes

static constexpr bool is_power_bc = true
 

Member Function Documentation

◆ operator()()

FlowAndTemperature ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::operator() ( double const T_out,
double const time ) const
inline

Definition at line 210 of file FlowAndTemperatureControl.h.

211 {
212 double const power_heating =
214 double const cop_heating =
216
217 double const power_hot_water =
219 double const cop_hot_water =
221
222 double const power_cooling =
224 double const cop_cooling =
226
227 double const flow_rate = flow_curve.getValue(time);
228
229 double const power = power_heating - power_heating / cop_heating +
230 power_hot_water - power_hot_water / cop_hot_water +
231 power_cooling - power_cooling / cop_cooling;
232
233 return check_power_and_flow_rate(flow_rate,
234 power,
236 density,
237 T_out,
239 power_min);
240 }
double getValue(double pnt_to_interpolate) const
Calculates the interpolation value.
FlowAndTemperature check_power_and_flow_rate(double flow_rate, double power, double heat_capacity, double density, double T_out, double flow_rate_min, double power_min)
MathLib::PiecewiseLinearInterpolation const & cop_curve
MathLib::PiecewiseLinearInterpolation const & power_curve

References building_active_cooling_curves, building_heating_curves, building_hot_water_curves, ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurves::cop_curve, density, flow_curve, flow_rate_min, MathLib::PiecewiseLinearInterpolation::getValue(), heat_capacity, ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurves::power_curve, and power_min.

Member Data Documentation

◆ building_active_cooling_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::building_active_cooling_curves

Definition at line 243 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_heating_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::building_heating_curves

Definition at line 241 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_hot_water_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::building_hot_water_curves

Definition at line 242 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::density

Definition at line 247 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_curve

MathLib::PiecewiseLinearInterpolation const& ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::flow_curve

Definition at line 244 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::flow_rate_min

Definition at line 248 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::heat_capacity

Definition at line 246 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

bool ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::is_power_bc = true
staticconstexpr

Definition at line 250 of file FlowAndTemperatureControl.h.

◆ power_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveActiveCoolingCurveFlowCurve::power_min

Definition at line 249 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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