OGS
ProcessLib::HeatTransportBHE::BHE::ActiveCoolingCurveFlowCurve Struct Reference

Detailed Description

Definition at line 430 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

BuildingPowerCurves const building_active_cooling_curves
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::ActiveCoolingCurveFlowCurve::operator() ( double const T_out,
double const time ) const
inline

Definition at line 432 of file FlowAndTemperatureControl.h.

433 {
434 double const power_cooling =
435 building_active_cooling_curves.power_curve.getValue(time);
436 double const cop_cooling =
437 building_active_cooling_curves.cop_curve.getValue(T_out);
438
439 double const flow_rate = flow_curve.getValue(time);
440
441 double const power = power_cooling - power_cooling / cop_cooling;
442
443 return check_power_and_flow_rate(flow_rate,
444 power,
446 density,
447 T_out,
449 power_min);
450 }
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)

References building_active_cooling_curves, ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), density, flow_curve, flow_rate_min, heat_capacity, and power_min.

Member Data Documentation

◆ building_active_cooling_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::ActiveCoolingCurveFlowCurve::building_active_cooling_curves

Definition at line 451 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double ProcessLib::HeatTransportBHE::BHE::ActiveCoolingCurveFlowCurve::density

Definition at line 455 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_curve

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

Definition at line 452 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double ProcessLib::HeatTransportBHE::BHE::ActiveCoolingCurveFlowCurve::flow_rate_min

Definition at line 456 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double ProcessLib::HeatTransportBHE::BHE::ActiveCoolingCurveFlowCurve::heat_capacity

Definition at line 454 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 458 of file FlowAndTemperatureControl.h.

◆ power_min

double ProcessLib::HeatTransportBHE::BHE::ActiveCoolingCurveFlowCurve::power_min

Definition at line 457 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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