OGS
ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveFlowCurve Struct Reference

Detailed Description

Definition at line 399 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

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

Definition at line 401 of file FlowAndTemperatureControl.h.

402 {
403 double const power_heating =
404 building_heating_curves.power_curve.getValue(time);
405 double const cop_heating =
406 building_heating_curves.cop_curve.getValue(T_out);
407
408 double const flow_rate = flow_curve.getValue(time);
409
410 double const power = power_heating - power_heating / cop_heating;
411
412 return check_power_and_flow_rate(flow_rate,
413 power,
415 density,
416 T_out,
418 power_min);
419 }
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_heating_curves, ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), density, flow_curve, flow_rate_min, heat_capacity, and power_min.

Member Data Documentation

◆ building_heating_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveFlowCurve::building_heating_curves

Definition at line 420 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveFlowCurve::density

Definition at line 424 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_curve

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

Definition at line 421 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveFlowCurve::flow_rate_min

Definition at line 425 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveFlowCurve::heat_capacity

Definition at line 423 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 427 of file FlowAndTemperatureControl.h.

◆ power_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveFlowCurve::power_min

Definition at line 426 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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