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

Detailed Description

Definition at line 201 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 203 of file FlowAndTemperatureControl.h.

204 {
205 double const power_heating =
206 building_heating_curves.power_curve.getValue(time);
207 double const cop_heating =
208 building_heating_curves.cop_curve.getValue(T_out);
209
210 double const power_hot_water =
211 building_hot_water_curves.power_curve.getValue(time);
212 double const cop_hot_water =
213 building_hot_water_curves.cop_curve.getValue(T_out);
214
215 double const power_cooling =
216 building_active_cooling_curves.power_curve.getValue(time);
217 double const cop_cooling =
218 building_active_cooling_curves.cop_curve.getValue(T_out);
219
220 double const flow_rate = flow_curve.getValue(time);
221
222 double const power = power_heating - power_heating / cop_heating +
223 power_hot_water - power_hot_water / cop_hot_water +
224 power_cooling - power_cooling / cop_cooling;
225
226 return check_power_and_flow_rate(flow_rate,
227 power,
229 density,
230 T_out,
232 power_min);
233 }
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)

References building_active_cooling_curves, building_heating_curves, building_hot_water_curves, ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), density, flow_curve, flow_rate_min, heat_capacity, and power_min.

Member Data Documentation

◆ building_active_cooling_curves

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

Definition at line 236 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_heating_curves

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

Definition at line 234 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_hot_water_curves

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

Definition at line 235 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

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

Definition at line 240 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_curve

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

Definition at line 237 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

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

Definition at line 241 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

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

Definition at line 239 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 243 of file FlowAndTemperatureControl.h.

◆ power_min

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

Definition at line 242 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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