modelAir
Information
This model applies an energy and a moisture mass balance on the air. The energy balance is done by taking into account:
- Sensible heat flows (i.e. all the flows connected to the heat port). These include sensible heat flows caused by convection at the heating pipes, the floor, the canopy, the cover, the thermal screen; and by ventilation with the top air zone and the outdoor air. The exchange between the two air zones through the thermal screen occurs because of the porosity material, nature of the latter. The exchange with the outside air accounts for infiltration/exfiltration and natural ventilation through the greenhouse windows.
- Short-wave radiation from the sun and/or supplementary lighting absorbed by the greenhouse construction elements and later released to the air (i.e. the forced flow from the input).
Since the short-wave radiation can origin from two sources (the sun and supplementary illumination), the short-wave radiation input connector (i.e. HeatFluxVectorInput) has the form of a vector. The parameter N_rad defines the dimension of the vector and needs to be set by the user. Therefore, if there is no supplementary lighting, the user must set N_rad to 1 (i.e. radiation only form the sun). However, if there is supplementary lighting, the user must set N_rad to 2 (i.e. radiatio from sun + lighting).
The vapor pressure of water of the greenhouse air is increased by the transpiration of the canopy and decreased by air exchange and condensation at the cover and the screen. This pressure is determined by the moisture mass balance on the air.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N_rad | 2 | Short-wave radiations are 2: if sun and illumination; 1 if just sun |
| Modelica.Units.SI.Density | rho | 1.2 | |
| Modelica.Units.SI.SpecificHeatCapacity | c_p | 1e3 | |
| Modelica.Units.SI.Area | A | Greenhouse floor surface | |
| Initialization | |||
| Modelica.Units.SI.Temperature | T_start | 298 | |
| Initialization › Initialization options | |||
| Boolean | steadystate | false | if true, sets the derivative of T to zero during Initialization |
| Boolean | steadystateVP | true | if true, sets the derivative of vapour pressure (VP) to zero during Initialization |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort | Heat port for sensible heat input | |
| Interfaces.Vapour.WaterMassPort_a | massPort | ||
| Interfaces.Heat.HeatFluxVectorInput[N_rad] | R_Air_Glob |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | h_Air | 4 | Height of the main air zone |
| Modelica.Units.SI.HeatFlowRate | Q_flow | Heat flow rate from port_a -> port_b | |
| Modelica.Units.SI.Temperature | T | ||
| Modelica.Units.SI.Power | P_Air | ||
| Real | RH | Relative humidity of the air | |
| Modelica.Units.SI.Volume | V | ||
| Modelica.Units.SI.Pressure | P_atm | 101325 | Atmospheric pressure |
| Real | R_a | 287 | Gas constant for dry air R_a = R_d (J/(kg.K)) |
| Real | R_s | 461.5 | |
| Modelica.Units.SI.MassFraction | w_air | Air humidity ratio (kg water / kg dry air) | |
| BasicComponents.AirVP | airVP |