OGS
ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve Struct Reference

Detailed Description

Definition at line 288 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

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

Definition at line 290 of file FlowAndTemperatureControl.h.

291 {
292 double const power_heating =
293 building_heating_curves.power_curve.getValue(time);
294 double const cop_heating =
295 building_heating_curves.cop_curve.getValue(T_out);
296
297 double const power_hot_water =
298 building_hot_water_curves.power_curve.getValue(time);
299 double const cop_hot_water =
300 building_hot_water_curves.cop_curve.getValue(T_out);
301
302 double const flow_rate = flow_curve.getValue(time);
303
304 double const power = power_heating - power_heating / cop_heating +
305 power_hot_water - power_hot_water / cop_hot_water;
306
307 return check_power_and_flow_rate(flow_rate,
308 power,
310 density,
311 T_out,
313 power_min);
314 }
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, building_hot_water_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::BuildingPowerCurveHotWaterCurveFlowCurve::building_heating_curves

Definition at line 315 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_hot_water_curves

BuildingPowerCurves const ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::building_hot_water_curves

Definition at line 316 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::density

Definition at line 320 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_curve

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

Definition at line 317 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::flow_rate_min

Definition at line 321 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::heat_capacity

Definition at line 319 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 323 of file FlowAndTemperatureControl.h.

◆ power_min

double ProcessLib::HeatTransportBHE::BHE::BuildingPowerCurveHotWaterCurveFlowCurve::power_min

Definition at line 322 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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