OGS
ProcessLib::HeatTransportBHE::BHE::PowerCurveFlowCurve Struct Reference

Detailed Description

Definition at line 155 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

MathLib::PiecewiseLinearInterpolation const & power_curve
 
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::PowerCurveFlowCurve::operator() ( double const T_out,
double const time ) const
inline

Definition at line 157 of file FlowAndTemperatureControl.h.

158 {
159 double const power = power_curve.getValue(time);
160 double const flow_rate = flow_curve.getValue(time);
161
162 return check_power_and_flow_rate(flow_rate,
163 power,
165 density,
166 T_out,
168 power_min);
169 }
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 & power_curve
MathLib::PiecewiseLinearInterpolation const & flow_curve

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

Member Data Documentation

◆ density

double ProcessLib::HeatTransportBHE::BHE::PowerCurveFlowCurve::density

Definition at line 174 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_curve

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

Definition at line 171 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double ProcessLib::HeatTransportBHE::BHE::PowerCurveFlowCurve::flow_rate_min

Definition at line 175 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double ProcessLib::HeatTransportBHE::BHE::PowerCurveFlowCurve::heat_capacity

Definition at line 173 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 177 of file FlowAndTemperatureControl.h.

◆ power_curve

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

Definition at line 170 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ power_min

double ProcessLib::HeatTransportBHE::BHE::PowerCurveFlowCurve::power_min

Definition at line 176 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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