Flows¶
The Flows package contains models of the flows that are encountered in a greenhouse system. It is organized in eight sub-packages that model the heat, vapor mass and CO2 mass transfer, as well as fluid flow. It also contains a sub-package of interfaces, which defined the type of connectors used in the library.
Heat flows¶
The HeatTransfer sub-package models the heat flows in a greenhouse, which can originate from convection at surfaces, ventilation processes, conduction at the soil and long-wave infrared radiation (FIR).
Convective and conductive heat flows are function of the heat exchange coefficient and are described by:
FreeConvection¶
Typically, convective processes in greenhouses are governed by free convection. In this case, the Nusselt (Nu) number describing the convective exchange process can be defined as a function of the Rayleigh (Ra) number [5]. The heat exchange coefficients are therefore modeled based on the Nu-Ra relation, as presented in [10].
Upward or downward heat exchange by free convection from an horizontal or tilted surface. In the greenhouse, this comprises the convection at the cover, the thermal screen and at the floor.
PipeConvection¶
Free convection at the pipes with the greenhouse air. For the pipes situated close to the canopy and the floor, the heat exchange is considered to be hindered, compared to a pipe in free air. The heat exchange coefficients of these forced processes are modeled by experimental results [6].
PipeConvection_N¶
This model is a variant of the PipeConvection model, in which a single-port is replaced by a multi-port, thus enabling the computation of the heat flow when using discretized pipes models.
CanopyFreeConvection¶
The leaves heat exchange by free convection with the air is function of the Leaf Area Index (LAI) and the leaves heat transfer coefficient.
OutsideAirConvection¶
Convective heat exchange at the cover with the outside air. Convection, driven by wind speed, is considered to be forced.
SoilConduction¶
The only conductive flow considered in greenhouse modeling is the conduction through the greenhouse soil. The soil under the greenhouse floor represents a big thermal capacity with a poor thermal conductivity. The floor surface can show temperature variations of 10 K during a day. To be able to describe the temperature gradient, the soil is modeled in several layers, using the following heat exchange coefficient.
FreeVentilation¶
Convective flows caused by ventilation processes are modeled based on the air exchange rate fij between two air volumes i and j, as described by:
The library offers two models (NaturalVentilationRate_1 and NaturalVentilationRate_2) to compute the air ventilation rate caused by natural ventilation with the outside air. The models are based on two different models from the literature. By default, fAirOut is described by the model NaturalVentilationRate_2, which is based on Boulard and Baille (1993).
The leakage rate through the greenhouse structure is dependent on the wind speed and the leakage coefficient of the greenhouse, characteristic of its structure. It can be described by:
AirThroughScreen¶
The air ventilation between the main and top air zones is caused by two mechanisms: the air through the openings in the fabric of the screen and the air through a gap when the screen is opened. Balemans, 1989studied the temperature driven air exchange through fully closed screens (uScr =1) and derived a fitted function through experimental data. When the screen is open (uScr <1), the air exchanged through the gap, caused by density difference, will dominate the exchange through the screen. This exchange was theoretically modeled by Miguel, 1998 using the Navier-Stokes equation. Combining the air flow through the screen and through the gap, the total air ventilation rate between the air and top zones is described by:
Radiation_T4¶
The thermal radiation, i.e. the electromagnetic radiation emitted between two bodies i and j as a result of their temperatures, is described by the Stefan-Boltzman equation:
The view factors of the greenhouse elements are computed according to [10] in each component model (i.e. the components described in the Greenhouse section). The exchange with the sky, whose temperature is estimated from meteorological data by an approach proposed in [10], is also considered.The emission coefficients are characteristic of the surfaces. For the greenhouse elements, the following values are proposed:
Component Value Glass cover 0.84 Pipes 0.88 Canopy leaves 1.00 Concrete floor 0.89 Thermal screen 1.00
Radiation_N¶
This model is a variant of the Radiation_T4 model, in which a single-port is replaced by a multi-port, thus enabling the computation of the radiative flow when using discretized pipes models.
Vapor flows¶
MV_cnv_condensation¶
The vapor mass transfer caused by condensation at a surface is linearly related to its convective heat exchange coefficient by a conversion factor. In the greenhouse, condensation may occur at the lower side of the cover and the thermal screen. The model excludes evaporation at these surfaces.
Because of the direction nature of this flow, the model is not reversible and must be connected as following: air (filled port) - surface (empty port).
MV_cnv_evaporation¶
The vapor mass transfer caused by evaporation at a surface is linearly related to its convective heat exchange coefficient by a conversion factor. In the greenhouse, evaporation may occur at the upper side of the thermal screen. The model excludes condensation at this surface. By allowing a mass flow rate from the upper surface of the screen to the top air compartment, the model assumes that the screen is capable of transporting water through its fabric. Water is transported from the lower side to the upper and storage of water in the screen is neglected. Therefore, evaporation from the upper side is only possible when condensation takes place at the lower side. Moreover, the evaporation rate must be lower or equal than the condensation rate.
Because of the direction nature of this flow, the model is not reversible and must be connected as following: surface (filled port) - air (empty port).
MV_Ventilation¶
Mass transfer also occurs in ventilation processes. The computation of the vapor flow exchanged by ventilation from the indoor to outdoor air is modeled by:
where fij can be fAirOut or fTopOut.
MV_AirThroughScreen¶
The computation of the vapor flow exchanged by ventilation between the main and top air zones is described similarly than in MV_Ventilation, but applying the air exchange coefficient fAirTop.
MV_CanopyTranspiration¶
The vapor flow from the canopy to the greenhouse air originates from a phase interface somewhere inside the cavities of a leaf. The resistance to vapor transport from the canopy leaves to the greenhouse air is made of an internal resistance and a boundary layer resistance [30]. According to the latter, the canopy transpiration can be defined by:
Heat and Vapor Flows¶
In the vapor model, all flows result from convective exchange processes and in order to compute them, the heat exchange coefficient of these convective processes is used. Therefore, in order to reduce the number of connections and inputs when building a greenhouse model, the heat and vapor models of convective processes are lumped into single models in which both computations are performed simultaneously. The HeatAndVaporTransfer sub-package includes the lumped models.
AirThroughScreen¶
Combines the equations of AirThroughScreen from the HeatTransfer sub-package and MV_AirThroughScreen.
VentilationRates¶
This sub-package contains two different models for computing the air exchange rate in convective processes, and a model for computing the air rate due to a forced ventilation system.
- NaturalVentilationRate_1: based on [20]. The air exchange rate is modeled in function of the wind and temperature. The contribution of the temperature driven ventilation in the total ventilation is small but can be important during nighttime and winter. The wind speed driven ventilation is computed differently for vents in the windward side and the leeside side. The air exchange is related to the wind speed and the opening of a window.
- NaturalVentilationRate_2: based on [7]. The air ventilation ratedepends mainly on the windows opening (uvent) and is influenced by the wind pressure coefficient and the coefficient of energy discharge caused by friction at the windows.
- ForcedVentilationRate: The air exchange rate caused by a mechanical ventilation system is function of the speficic air flow capacity of the ventilation system and its control.
CO2 flows¶
In the greenhouse, there are three CO2 flows associated to the ventilation processes and two forced flows, i.e. the canopy consumption and the CO2 enrichment.
MC_ventilation¶
The CO2 flow accompanying an air flow is function of the air flow rate and can be described by:
MC_AirCan¶
The greenhouse CO2 net assimilation rate by the canopy is computed in the yield model and used as an input in this model.
Fluid flows¶
Cell1DimInc¶
Fluid flows are modeled using the finite volume approach by means of a discretized model for incompressible flow, adapted from [26]. The model distinguishes between two types of variables: cell and node variables. The basic fluid flow component is a cell in which the dynamic energy balance and static mass and momentum balances are applied. Node variables correspond to the inlet and outlet nodes of each cell. The relation between the cell and node values depend on the selected discretization scheme (upwind or central differences). In the cell, uniform velocity through the cross section and constant pressure are assumed. Axial thermal energy transfer is neglected.
Flow1DimInc¶
The overall flow model can be build by connecting several cells in series. The model is compatible with the textit{Media} package of the Modelica Standard Library, at the condition that the considered fluid is incompressible.