OGS
ProcessLib::HeatTransportBHE::BHE::Power Struct Reference

Detailed Description

Definition at line 66 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

ParameterLib::Parameter< double > const & power_param
ParameterLib::Parameter< double > const & flow_rate_param
double const heat_capacity
double const density
double const flow_rate_min
double const power_min

Static Public Attributes

static constexpr bool is_power_bc = true

Member Function Documentation

◆ operator()()

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

Definition at line 68 of file FlowAndTemperatureControl.h.

69 {
70 ParameterLib::SpatialPosition const x;
71 double const flow_rate = flow_rate_param(time, x)[0];
72 double const power = power_param(time, x)[0];
73 return check_power_and_flow_rate(flow_rate,
74 power,
76 density,
77 T_out,
79 power_min);
80 }
FlowAndTemperature check_power_and_flow_rate(double flow_rate, double power, double const heat_capacity, double const density, double const T_out, double const flow_rate_min, double const power_min)
ParameterLib::Parameter< double > const & flow_rate_param
ParameterLib::Parameter< double > const & power_param

References ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), density, flow_rate_min, flow_rate_param, heat_capacity, power_min, and power_param.

Member Data Documentation

◆ density

double const ProcessLib::HeatTransportBHE::BHE::Power::density

Definition at line 86 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double const ProcessLib::HeatTransportBHE::BHE::Power::flow_rate_min

Definition at line 87 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_param

ParameterLib::Parameter<double> const& ProcessLib::HeatTransportBHE::BHE::Power::flow_rate_param

Definition at line 84 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double const ProcessLib::HeatTransportBHE::BHE::Power::heat_capacity

Definition at line 85 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 89 of file FlowAndTemperatureControl.h.

◆ power_min

double const ProcessLib::HeatTransportBHE::BHE::Power::power_min

Definition at line 88 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ power_param

ParameterLib::Parameter<double> const& ProcessLib::HeatTransportBHE::BHE::Power::power_param

Definition at line 83 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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