OGS
ProcessLib::HeatTransportBHE::BHE::ActiveCooling Struct Reference

Detailed Description

Definition at line 314 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

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

Definition at line 316 of file FlowAndTemperatureControl.h.

317 {
318 ParameterLib::SpatialPosition const x;
319 double const flow_rate = flow_rate_param(time, x)[0];
320
321 double const power_cooling =
322 building_active_cooling.power_param(time, x)[0];
323 double const cop_cooling =
324 building_active_cooling.cop_curve.getValue(T_out);
325
326 double const power = power_cooling - power_cooling / cop_cooling;
327
328 return check_power_and_flow_rate(flow_rate,
329 power,
331 density,
332 T_out,
334 power_min);
335 }
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_active_cooling, ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), density, flow_rate_min, flow_rate_param, heat_capacity, and power_min.

Member Data Documentation

◆ building_active_cooling

PowerWithCOP const ProcessLib::HeatTransportBHE::BHE::ActiveCooling::building_active_cooling

Definition at line 337 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double const ProcessLib::HeatTransportBHE::BHE::ActiveCooling::density

Definition at line 341 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double const ProcessLib::HeatTransportBHE::BHE::ActiveCooling::flow_rate_min

Definition at line 342 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_param

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

Definition at line 338 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double const ProcessLib::HeatTransportBHE::BHE::ActiveCooling::heat_capacity

Definition at line 340 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 344 of file FlowAndTemperatureControl.h.

◆ power_min

double const ProcessLib::HeatTransportBHE::BHE::ActiveCooling::power_min

Definition at line 343 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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