OGS
ProcessLib::HeatTransportBHE::BHE::BuildingPower Struct Reference

Detailed Description

Definition at line 92 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

PowerWithCOP const building_power
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::BuildingPower::operator() ( double const T_out,
double const time ) const
inline

Definition at line 94 of file FlowAndTemperatureControl.h.

95 {
96 ParameterLib::SpatialPosition const x;
97 double const flow_rate = flow_rate_param(time, x)[0];
98 double const power_building = building_power.power_param(time, x)[0];
99 double const cop = building_power.cop_curve.getValue(T_out);
100
101 double const power = power_building - power_building / cop;
102
103 return check_power_and_flow_rate(flow_rate,
104 power,
106 density,
107 T_out,
109 power_min);
110 }
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

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

Member Data Documentation

◆ building_power

PowerWithCOP const ProcessLib::HeatTransportBHE::BHE::BuildingPower::building_power

Definition at line 112 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double const ProcessLib::HeatTransportBHE::BHE::BuildingPower::density

Definition at line 115 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double const ProcessLib::HeatTransportBHE::BHE::BuildingPower::flow_rate_min

Definition at line 116 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_param

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

Definition at line 113 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double const ProcessLib::HeatTransportBHE::BHE::BuildingPower::heat_capacity

Definition at line 114 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 118 of file FlowAndTemperatureControl.h.

◆ power_min

double const ProcessLib::HeatTransportBHE::BHE::BuildingPower::power_min

Definition at line 117 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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