OGS
ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveActiveCoolingCurveFlowCurve Struct Reference

Detailed Description

Definition at line 333 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

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

Definition at line 335 of file FlowAndTemperatureControl.h.

336 {
337 double const power_heating =
339 double const cop_heating =
341
342 double const power_cooling =
344 double const cop_cooling =
346
347 double const flow_rate = flow_curve.getValue(time);
348
349 double const power = power_heating - power_heating / cop_heating +
350 power_cooling - power_cooling / cop_cooling;
351
352 return check_power_and_flow_rate(flow_rate,
353 power,
355 density,
356 T_out,
358 power_min);
359 }
double getValue(double pnt_to_interpolate) const
Calculates the interpolation value.
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)
MathLib::PiecewiseLinearInterpolation const & cop_curve
MathLib::PiecewiseLinearInterpolation const & power_curve

References building_active_cooling_curves, building_heating_curves, ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurves::cop_curve, density, flow_curve, flow_rate_min, MathLib::PiecewiseLinearInterpolation::getValue(), heat_capacity, ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurves::power_curve, and power_min.

Member Data Documentation

◆ building_active_cooling_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveActiveCoolingCurveFlowCurve::building_active_cooling_curves

Definition at line 361 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_heating_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveActiveCoolingCurveFlowCurve::building_heating_curves

Definition at line 360 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveActiveCoolingCurveFlowCurve::density

Definition at line 365 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_curve

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

Definition at line 362 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveActiveCoolingCurveFlowCurve::flow_rate_min

Definition at line 366 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveActiveCoolingCurveFlowCurve::heat_capacity

Definition at line 364 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 368 of file FlowAndTemperatureControl.h.

◆ power_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveActiveCoolingCurveFlowCurve::power_min

Definition at line 367 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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