OGS 6.3.0-179-g962fdcd4e.dirty.20200403132553
ProcessLib::HeatTransportBHE::BHE::PowerCurveConstantFlow Struct Reference

Detailed Description

Definition at line 67 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

Collaboration diagram for ProcessLib::HeatTransportBHE::BHE::PowerCurveConstantFlow:

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 69 of file FlowAndTemperatureControl.h.

References ProcessLib::HeatTransportBHE::BHE::FlowAndTemperature::flow_rate, and MaterialPropertyLib::heat_capacity.

70  {
71  double const power = power_curve.getValue(time);
72  if (power == 0)
73  {
74  return {0.0, T_out};
75  }
76  return {flow_rate, power / flow_rate / heat_capacity / density + T_out};
77  }
MathLib::PiecewiseLinearInterpolation const & power_curve
double getValue(double pnt_to_interpolate) const
Calculates the interpolation value.

Member Data Documentation

◆ density

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

Definition at line 82 of file FlowAndTemperatureControl.h.

◆ flow_rate

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

Definition at line 80 of file FlowAndTemperatureControl.h.

◆ heat_capacity

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

Definition at line 81 of file FlowAndTemperatureControl.h.

◆ power_curve

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

Definition at line 78 of file FlowAndTemperatureControl.h.


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