OGS
ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling Struct Reference

Detailed Description

Definition at line 121 of file FlowAndTemperatureControl.h.

#include <FlowAndTemperatureControl.h>

Collaboration diagram for ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling:
[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
PowerWithCOP const building_active_cooling
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::BuildingPowerHotWaterActiveCooling::operator() ( double const T_out,
double const time ) const
inline

Definition at line 123 of file FlowAndTemperatureControl.h.

124 {
125 ParameterLib::SpatialPosition const x;
126 double const flow_rate = flow_rate_param(time, x)[0];
127 double const power_heating = building_heating.power_param(time, x)[0];
128 double const cop_heating = building_heating.cop_curve.getValue(T_out);
129
130 double const power_hot_water =
131 building_hot_water.power_param(time, x)[0];
132 double const cop_hot_water =
133 building_hot_water.cop_curve.getValue(T_out);
134
135 double const power_cooling =
136 building_active_cooling.power_param(time, x)[0];
137 double const cop_cooling =
138 building_active_cooling.cop_curve.getValue(T_out);
139
140 double const power = power_heating - power_heating / cop_heating +
141 power_hot_water - power_hot_water / cop_hot_water +
142 power_cooling - power_cooling / cop_cooling;
143
144 return check_power_and_flow_rate(flow_rate,
145 power,
147 density,
148 T_out,
150 power_min);
151 }
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_active_cooling, building_heating, building_hot_water, ProcessLib::HeatTransportBHE::BHE::check_power_and_flow_rate(), density, flow_rate_min, flow_rate_param, heat_capacity, and power_min.

Member Data Documentation

◆ building_active_cooling

PowerWithCOP const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling::building_active_cooling

Definition at line 155 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_heating

PowerWithCOP const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling::building_heating

Definition at line 153 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ building_hot_water

PowerWithCOP const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling::building_hot_water

Definition at line 154 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ density

double const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling::density

Definition at line 159 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_min

double const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling::flow_rate_min

Definition at line 160 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ flow_rate_param

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

Definition at line 156 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ heat_capacity

double const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling::heat_capacity

Definition at line 158 of file FlowAndTemperatureControl.h.

Referenced by operator()().

◆ is_power_bc

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

Definition at line 162 of file FlowAndTemperatureControl.h.

◆ power_min

double const ProcessLib::HeatTransportBHE::BHE::BuildingPowerHotWaterActiveCooling::power_min

Definition at line 161 of file FlowAndTemperatureControl.h.

Referenced by operator()().


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