OGS
ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterPassiveCooling Struct Reference

Detailed Description

Definition at line 165 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

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

Public Member Functions

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

Public Attributes

PowerWithCOP const building_heating
PowerWithCOP const building_hot_water
ParameterLib::Parameter< double > const & cooling_power_param
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::BuildingPowerHotWaterPassiveCooling::operator() ( double const T_out,
double const time ) const
inline

Definition at line 167 of file FlowAndTemperatureControl.h.

168 {
169 ParameterLib::SpatialPosition const x;
170 double const flow_rate = flow_rate_param(time, x)[0];
171 double const power_heating = building_heating.power_param(time, x)[0];
172 double const cop_heating = building_heating.cop_curve.getValue(T_out);
173
174 double const power_hot_water =
175 building_hot_water.power_param(time, x)[0];
176 double const cop_hot_water =
177 building_hot_water.cop_curve.getValue(T_out);
178
179 double const power_cooling = cooling_power_param(time, x)[0];
180
181 double const power = power_heating - power_heating / cop_heating +
182 power_hot_water - power_hot_water / cop_hot_water +
183 power_cooling;
184
185 return check_power_and_flow_rate(flow_rate,
186 power,
188 density,
189 T_out,
191 power_min);
192 }
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)

References building_heating, building_hot_water, ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), cooling_power_param, density, flow_rate_min, flow_rate_param, heat_capacity, and power_min.

Member Data Documentation

◆ building_heating

PowerWithCOP const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterPassiveCooling::building_heating

Definition at line 194 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_hot_water

PowerWithCOP const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterPassiveCooling::building_hot_water

Definition at line 195 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ cooling_power_param

ParameterLib::Parameter<double> const& ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterPassiveCooling::cooling_power_param

Definition at line 196 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterPassiveCooling::density

Definition at line 200 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterPassiveCooling::flow_rate_min

Definition at line 201 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_param

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

Definition at line 197 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterPassiveCooling::heat_capacity

Definition at line 199 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 203 of file FlowAndTemperatureControl.h.

◆ power_min

double const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterPassiveCooling::power_min

Definition at line 202 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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