OGS
ProcessLib::HeatTransportBHE::BHE::PowerCurveConstantFlow Struct Reference

Detailed Description

Definition at line 79 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

MathLib::PiecewiseLinearInterpolation const & power_curve
 
double flow_rate
 
double heat_capacity
 
double density
 

Member Function Documentation

◆ operator()()

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

Definition at line 81 of file FlowAndTemperatureControl.h.

82 {
83 double const power = power_curve.getValue(time);
84 if (power == 0)
85 {
86 return {0.0, T_out};
87 }
88 return {flow_rate, power / flow_rate / heat_capacity / density + T_out};
89 }
double getValue(double pnt_to_interpolate) const
Calculates the interpolation value.
MathLib::PiecewiseLinearInterpolation const & power_curve

References density, flow_rate, MathLib::PiecewiseLinearInterpolation::getValue(), heat_capacity, and power_curve.

Member Data Documentation

◆ density

double ProcessLib::HeatTransportBHE::BHE::PowerCurveConstantFlow::density

Definition at line 94 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate

double ProcessLib::HeatTransportBHE::BHE::PowerCurveConstantFlow::flow_rate

Definition at line 92 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double ProcessLib::HeatTransportBHE::BHE::PowerCurveConstantFlow::heat_capacity

Definition at line 93 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ power_curve

MathLib::PiecewiseLinearInterpolation const& ProcessLib::HeatTransportBHE::BHE::PowerCurveConstantFlow::power_curve

Definition at line 90 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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