modelExtremeAmbientConditions

Validation model for to ensure that collectors do not freeze or boil

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model validates the correct implementation of the heat transfer to the collector when ambient temperatures are very low or irradiation is very large. It applies a ramp boundary condition that reduces the ambient temperature to -60°C to verify that the collector fluid temperature does not drop below Medium.T_min. Afterwards, the solar irradiation is increased to overheat the collector. If the fluid temperature approaches Medium.T_max, then the solar heat gain is reduced to zero. Ensuring these bounds is important as otherwise, the collector model would trigger an assertion and the simulation would stop. The tested collector models are Buildings.Fluid.SolarCollectors.ASHRAE93 and Buildings.Fluid.SolarCollectors.EN12975.

Note that the medium has been declared as Buildings.Media.Water(T_min=273.15, T_max=273.15+100) to set the two bounds for the water temperature.

Connectors

TypeNameDefaultDescription
BoundaryConditions.WeatherData.BusweaBus

Components

TypeNameDefaultDescription
ASHRAE93solAshFlat plate solar collector model using the ASHRAE model
EN12975solEnFlat plate solar collector model using the EN 12975 model
Sources.MassFlowSource_TsouInlet boundary conditions
Sources.Boundary_pTsou1Inlet boundary conditions
Modelica.Blocks.Sources.RampTAmbAmbient temperature
Modelica.Blocks.Sources.RampHSolSolar irradiation
Sources.MassFlowSource_Tsou2Inlet boundary conditions
Modelica.Blocks.Sources.ConstantconstConstant that outputs zero
Modelica.Blocks.Sources.ConstantsolTimSolar time
Modelica.Blocks.Sources.ConstantlatLocation latitude
Modelica.Blocks.Sources.ConstantaltLocation altitude
Modelica.Blocks.Sources.Constantconst1Constant that outputs zero

Contents

NameDescription
MediumMedium in the system

Revisions

  • September 25, 2023, by Michael Wetter:
    Corrected connect statement with wrong quantity.
  • September 16, 2021, by Michael Wetter:
    Removed parameter assignment for lat.
    This is for IBPSA, #1477.
  • June 30, 2015, by Michael Wetter:
    First implementation.