OGS
ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve Struct Reference

Detailed Description

Definition at line 295 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

Collaboration diagram for ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve:
[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
 
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::BuildingPowerCurveHotWaterCurveFlowCurve::operator() ( double const T_out,
double const time ) const
inline

Definition at line 297 of file FlowAndTemperatureControl.h.

298 {
299 double const power_heating =
301 double const cop_heating =
303
304 double const power_hot_water =
306 double const cop_hot_water =
308
309 double const flow_rate = flow_curve.getValue(time);
310
311 double const power = power_heating - power_heating / cop_heating +
312 power_hot_water - power_hot_water / cop_hot_water;
313
314 return check_power_and_flow_rate(flow_rate,
315 power,
317 density,
318 T_out,
320 power_min);
321 }
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_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_heating_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::building_heating_curves

Definition at line 322 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_hot_water_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::building_hot_water_curves

Definition at line 323 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::density

Definition at line 327 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_curve

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

Definition at line 324 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::flow_rate_min

Definition at line 328 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::heat_capacity

Definition at line 326 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 330 of file FlowAndTemperatureControl.h.

◆ power_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::power_min

Definition at line 329 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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