Next Article in Journal
Hourly Solar Radiation Forecasting Using a Volterra-Least Squares Support Vector Machine Model Combined with Signal Decomposition
Previous Article in Journal
ACT-R Cognitive Model Based Trajectory Planning Method Study for Electric Vehicle’s Active Obstacle Avoidance System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy Consumption Prediction of a Greenhouse and Optimization of Daily Average Temperature

College of Electronics and Information Engineering, Tongji University, Shanghai 201804, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work and should be considered co-first authors.
Energies 2018, 11(1), 65; https://doi.org/10.3390/en11010065
Submission received: 4 December 2017 / Revised: 21 December 2017 / Accepted: 22 December 2017 / Published: 1 January 2018

Abstract

:
Greenhouses are high energy-consuming and anti-seasonal production facilities. In some cases, energy consumption in greenhouses accounts for 50% of the cost of greenhouse production. The high energy consumption has become a major factor hindering the development of greenhouses. In order to improve the energy efficiency of the greenhouse, it is important to predict its energy consumption. In this study, the energy consumption mathematical model of a Venlo greenhouse is established based on the principle of energy conservation. Three optimization algorithms are used to identify the parameters which are difficult to determine in the energy consumption model. In order to examine the accuracy of the model, some verifications are made. The goal of achieving high yield, high quality and high efficiency production is a problem in the study of greenhouse environment control. Combining the prediction model of greenhouse energy consumption with the relatively accurate weather forecast data for the next week, the energy consumption of greenhouse under different weather conditions is predicted. Taking the minimum energy consumption as the objective function, the indoor daily average temperatures of 7 days are optimized to provide the theoretical reference for the decision-making of heating in the greenhouse. The results show that the optimized average daily temperatures save 9% of the energy cost during a cold wave.

1. Introduction

Greenhouses represent a trend in agricultural development that indicates the level of agricultural modernization of a region. It is necessary to regulate the greenhouse environment to obtain high yields. The energy consumption of light-supplementation, dehumidification, heating, cooling and other measures in a greenhouse, is known as the basic energy consumption. Another part of the energy consumption is for driving the actuators. The basic energy consumption could account for more than 90% of the total energy consumption in the greenhouse [1]. In order to improve the management level of the greenhouse, it is of great importance to study the prediction of greenhouse energy consumption.
Mature prediction models of greenhouse energy consumption have been established both at home and abroad. De Zwart [2] used the greenhouse climate and control model KASPRO to simulate the greenhouse microclimate and predict the greenhouse energy consumption. Gupta and Chandra [3] studied the effect of various energy conservation measures to arrive at a set of design features for an energy efficient greenhouse. Su et al. [4] used fuzzy logic systems to track the temperature and humidity in the greenhouse. Spanomitsios [5] studied the efficiency and estimation of energy consumption in thin film greenhouses under different strategies. Based on the greenhouse microclimate model, Dai et al. [6] analyzed the influence of canopy transpiration and established a greenhouse energy consumption prediction model. Xu et al. [7] took glass-type greenhouses as the research object, analyzed the greenhouse radiation, convection, heat and mass exchange caused by crop transpiration, to establish a greenhouse temperature and humidity model. Combing with weather forecast information for the outdoor temperature, Ren et al. [8] used CFD methods, taking wet curtain-fan, solar radiation and other factors of greenhouse into consideration, and established a temperature prediction model of a large multi-span plastic greenhouse located in southern Jiangsu (China). However, there is great uncertainty about the selection of model parameters in the traditional greenhouse modeling process, and the model is not universal once it is established. It should be noted that the most commonly used method of black-box modeling for a nonlinear system was based on neural network, which was applied to establish the greenhouse model by Patil et al. [9], Ferreira et al. [10], Nabavi-Pelesaraei et al. [11], Kavga and Kappatos [12], Fourati [13] and Frausto and Pieters [14]. Trejoperea et al. [15] estimated greenhouse energy consumption by using neural networks, and proved that the model gave a better estimation of energy consumption, with an accuracy of 95%. However, neural networks are easily over-trained when the training data is inadequate. Since plant-related parameters in the energy model of greenhouse can be considered as constants only within a few days, it is almost impossible to collect all possible data to develop an accurate energy model.
Consequently, the large number of unknown parameters involved are an important problem appearing in any mathematical model, which require complex instrumentation and experimentation to find the right values. In order to find these appropriate values and avoid experimental issues, some proposals exist to handle this situation. In [16,17,18,19] the authors presented different methodologies based on heuristic methods for the parameter search of a greenhouse mathematical model. Similarly, based on new algorithms, Chen et al. [20,21] illustrated that the predicted heat power consumption performs a better accuracy in an experimental greenhouse. In [22] the authors presented the application and comparison of a collection of methods based on Particle Swarm Optimization (PSO) and Differential Evolution (DE), using them as the tools to identify the parameters that completed a proposed mathematical model for a greenhouse. However, these greenhouse energy consumption studies mainly focus on proposing new algorithm to improve the accuracy of the model, ignoring the analysis of using the model under actual conditions. Typically, the validation of these models is based on known data from the past rather than that in the future.
Due to the large number of parameters in the greenhouse mathematical model, some parameters are difficult to determine. In order to increase the accuracy of greenhouse physical models, three optimization algorithms are applied to adjust uncertain parameters of energy model. In this paper, taking better performance of computation speed and accuracy as the goal, an optimized model prediction methodology is presented. According to the best result of our optimized model, the energy consumption of the greenhouse under different weather conditions is predicted and this provides a theoretical reference for decision-making about heating in a greenhouse. Furthermore, this study provides a detailed description of how to use this model in practical situations and validates the energy efficiency in the field. Compared with the abovementioned references, the main contribution of this work is the comparison of three algorithms to estimate the parameters of a mathematical greenhouse model, and the application of the resulting prediction model to optimize the daily average temperature for one week to improve the energy efficiency in a greehouse.

2. Methodology

The temperature change in greenhouses is influenced by various heat and mass transfer processes. Therefore, to establish a relatively accurate greenhouse environmental system model, it is significant to study in details the mechanism of these heat and mass transfer processes. In winter greenhouse heating is affected by various factors such as the weather, crop growth and climate control devices. The dynamic process is mainly the energy exchange occurring inside and outside of the greenhouse. Therefore, the modeling of the greenhouse environment system consists in establishing the mathematical equations of these dynamic processes based on the thermodynamic theory. According to the principle of energy balance, we can establish the energy model of each dynamic processes.

2.1. Experimental Materials

The study object of this work is the Chongming greenhouse, located at 31°57′ N, 121°7′ E, whose length, breadth and height were 38 m, 24 m, 7.5 m, and which uses natural ventilation windows (divided into north and south top windows), an indoor heater and ground source heat pump (Figure 1).

2.2. Greenhouse Mathematical Model

Energy exchange between the greenhouse and the outside environment involves many factors (Figure 1), including indoor heating pipes, fan heating, ventilation, indoor and outdoor long-wave radiation [23]. Based on the principle of conservation of energy, the rate of change of air temperature inside the greenhouse is expressed as the result of heat exchange between the inside and outside of the greenhouse. Taking the greenhouse as a whole, the energy required for heating the greenhouse can be expressed as the energy absorbed by the greenhouse minus the solar radiation. The energy transferred to the greenhouse by heating is Q h e a t   ( W ) , and is expressed by the following formula:
Q h e a t = Q l o n g + Q v e n t + Q c o v e r + Q t r a n s + Q a i r + Q c r o p Q s o l a r
Heat transfer from heat pump to the inside greenhouse air depending on the difference between supply water and return water can be calculated as:
Q h e a t = ρ w a t e r · c w a t e r · v w a t e r · ( T i n ( t ) T o p t ( t ) )
where ρ w a t e r is water density ( kg · m 3 ) , c w a t e r is the specific heat capacity of water ( J · kg 1 · ° C 1 ) , v w a t e r is the flow rate of water in the pipeline ( m · s 1 ) , T i n ( t ) , T o p t ( t ) are the temperature of supply water and return water respectively (°C).
The thermal radiation transferring from the greenhouse inside to outside is significant for the greenhouse microclimate and can be expressed by the following formula:
Q l o n g = ε · S g · K · [ ( T a i r ( t ) + 273.15 ) 4 ( T o u t ( t ) + 273.15 ) 4 ] · X c o v e r
where ε is the mutual emission coefficient between the cover and the sky, S g is greenhouse cover surface area ( m 2 ) , K is the Stefan-Boltzmann constant ( W · m 2 · k 4 ) , T a i r ( t ) is the air temperature inside the greenhouse (°C), T o u t ( t ) is the air temperature outside the greenhouse (°C), and X c o v e r is influence coefficient of external glass.
The energy loss due to ventilation depends on the inside temperature, windows opening and the outside temperature, which is expressed by the following formula [24]:
Q v e n t = S g w · C d [ 2 g Δ T a i r T o u t ( A r o o f 2 · A s i d e 2 A r o o f 2 + A s i d e 2 ) + ( A r o o f + A s i d e 2 ) 2 C w V w i n d 2 ] 0.5 [ T a i r ( t ) T o u t ( t ) ] ρ a i r · c a i r
where S g w is greenhouse ground surface area ( m 2 ) , C d is the vent discharge coefficient, C w is the wind pressure coefficient, g is gravity acceleration coefficient ( m · s 2 ) , T a i r is the air temperature inside the greenhouse (°C), T o u t is the air temperature outside the greenhouse ( ° C ), A r o o f is area ratio of top windows to the ground, A s i d e is area ratio of side windows to ground, V w i n d is outdoor wind speed ( m · s 1 ) , ρ a i r is air density ( kg · m 3 ) , C a i r is specific heat capacity of air ( J · kg 1 · K 1 ) ;
A s i d e = U v e n t · A N , s i d e
A r o o f = U v e n t · A N , r o o f
U v e n t is open percentage of top windows, A N , s i d e is the maximum area of side windows, and A N , r o o f is the maximum area of top windows.
The energy exchange from the cover to the outside air is associated with conduction and convection, which depends on the difference between the air temperature outside and inside. Hence, the heat losses through the cover can be calculated as:
Q c o v e r = S g · X s c r e e n · X g l a s s · ( T a i r ( t ) T o u t ( t ) )
X s c r e e n is coefficient of internal thermal curtain infiltration,   X g l a s s is influence coefficient of external glass ( W · m 2 · K 1 ) .
The energy exchange between the inside air with plants is related to plant transpiration and respiration of plant canopy, which depends on the inside air, carbon dioxide concentration, and the relative humidity. The energy exchange between plants with the inside air can be calculated as [25]:
Q t r a n s = 2 ρ a i r · c a i r · LAI Δ H · γ · ( r b + r s ) ( V P c a n V P a i r ) S g w · L w a t e r
where LAI is leaf area index, Δ H is water evaporation latent heat constant ( J · kg 1 ), γ is the psychometric constant, r s and r b are the somatic resistances and aerodynamic of the leaves respectively ( s · m 1 ) , L w a t e r is the latent heat of evaporation for the leaf surface ( J · kg 1 ) . r b and r s are affected by variations in canopy temperature, air temperature, concentration, and solar radiation above the canopy, which can be calculated using the following formula:
r s = r s m i n R c a n + 4.3 R c a n + 0.6 ( 1 + X c o 2 ( ρ c o 2 200 ) 2 ) · ( 1 + X p ( V P c a n V P a i r ) 2 )
r s m i n is the minimum somatic resistances of the leaves ( s · m 1 ) , X c o 2 is influence coefficient of carbon dioxide on the stomatal opening degree, X p is influence coefficient of saturated vapor pressure, ρ c o 2 is the carbon dioxide concentration (ppm):
R c a n = 0.9 · τ c o v [ 1 ( 1 τ s c r ) U s c r ] · I g l o b
is the solar radiation of the canopy   ( W · m 2 ) . And τ c o v is the transition coefficient of covering material, τ s c r is influence coefficient of shading net, U s c r is open percentage of shading net, I g l o b is outdoor solar radiation flux ( W · m 2 ) , V P c a n is the crop canopy saturated vapor pressure and can be expressed as:
V P c a n = 2.229 × 10 11 · e 5385 T c a n + 273.15
where T c a n is the temperature of crop canopy, V P a i r can be expressed as:
V P a i r = H a i r · R · ( T a i r + 273.15 ) M H 2 O × 10 3
where R is the molar gas constant ( J · kmol 1 · K 1 ) , H a i r is the relative humidity, and M H 2 O is the molar mass of water ( kg · kmol 1 ) .
Heat flux of air is expressed by the temperature difference between inside air in time of t and time of t − 1, which can be expressed as:
Q a i r = ρ a i r · v g · c a i r · T a i r ( t ) T a i r ( t 1 ) Δ t .
where vg is greenhouse volume ( m 3 ) , T a i r ( t ) is the temperature at time t ( ° C ), and Δ t is the difference in time between t and t − 1, with a value of 300 (s).
Heat transfer from plant to greenhouse air depending on the difference between inside air and plant canopy can be calculated as:
Q c r o p = 2 S g w · LAI · ρ a i r · c a i r [ T a i r ( t ) T l e a f ( t ) ] r b
The solar radiation that penetrates the greenhouse cover is added into the greenhouse, and the energy absorbed by the greenhouse can be expressed as:
Q s o l a r = S g · 0.9 · τ c o v [ 1 ( 1 τ s c r ) U s c r ] · I g l o b
where I g l o b is the outdoor radiation ( W · m 2 ) .
The parameters in the mathematical model are analyzed according to the measured environmental parameters and energy consumption values inside and outside the greenhouse. Then, the parameters in the model are divided into constant and uncertain parameters. The constant parameters in the model are shown in Table 1.

2.3. Method of Optimizing Parameters

According to the principle of conservation of energy, physical sub-models of various energy flow processes are established. As shown in Figure 2, based on each sub-model, a greenhouse energy consumption prediction model is established. The physical parameters of the greenhouse were inspected in the field. In addition, the measured data of the sensors inside and outside the greenhouse were collected and regulated. The environmental parameters such as temperature, humidity, light and wind speed inside and outside greenhouse were input into the model. In order to increase the accuracy, three optimization algorithms were used to identify the uncertain parameters. The output of the model was compared with the measured energy consumption. Consequently, the eight uncertain parameters were validated by using the data inside and outside of the greenhouse on different days.

2.4. Optimization Algorithms

Particle Swarm Optimization (PSO) is a parallel algorithm [26]. On the basis of observing the behavior of animal clusters, PSO uses the information sharing among individuals to make the entire crowd in the space of solution from disorder to orderly evolution, so as to obtain the optimal solution. In this algorithm, each particle has two characteristics of velocity and position, and the updating formula of the velocity and position of each particle in the optimization process is expressed as:
v i k + 1 = ω · v i k + c 1 · r 1 · ( P i k x i k ) + c 2 · r 2 · ( g b e s t x i k )
x i k + 1 = x i k + v i k + 1
v i k + 1 in the above formula represents the speed of i-th particle in the k-th population evolution, and ω is inertia weight. c 1 and c 2 are the learning factor and the social factor respectively. r 1 and r 2 are the random number between (0, 1). P i k is the local optimal solution of the i-th particle after the k-th evolution. x i k is the i-th particle’s position in the k-th evolution, and g b e s t is the global optimal solution. PSO presents a series of characteristics that makes it the first choice in the algorithm selection for this research:
  • PSO has a real valued representation that allows avoiding the conversion to binary field and backwards, which is common in many heuristic algorithms.
  • PSO presents a swarm behavior, which is a sufficient approach in search spaces of considerable extension, due to the capability of exploration in steps of different lengths and the communication between particles, which share the information of the best results.
  • PSO is well known, therefore, there exists many publications about it, and numerous variations have already been proposed, in order to tackle problems of considerable complexity. In addition, there are already a lot of references about PSO calibration and stability.
Differential evolution algorithm (DE) [27], like PSO, as described in [28], is a computational algorithm based on the manipulation of a population of candidate solutions, applicable for complex search problems. It presents a series of interactions between the candidate solutions to produce new individuals, and such new members are tested and catalogued by a cost function, seeking for the survival of only the ones with the best performance. The characteristics that makes it a suitable option are enlisted below:
  • DE is recognized as a greedy search algorithm. This marks the difference between the PSO and the DE, and allows to check whether the group behavior is better than the greedy search in the questions raised in this study.
  • DE requires only two calibration factors, and the definition of these factors is quite small. This defines DE as a simple calibration algorithm.
Genetic algorithm (GA) [29], in the reference [30], is used to simulate natural selection and natural genetic process of reproduction, mating and mutation, one by one to produce the preferred individuals, and finally get the best individual. Genetic algorithm is also an adaptive search algorithm, its selection, crossover, mutation and other operations are carried out in the form of probability, there is a good global optimization and solving skills. The characteristics that makes it a suitable option are listed below:
  • Genetic algorithms are often used to generate high-quality solutions to optimize and search for problems, relying on bio-inspired operators such as crossover, mutation and selection.
  • Genetic algorithm simultaneously treats multiple individuals in a group, that is, evaluates multiple solutions in the search space, reduces the risk of falling into the local optimal solution, and simultaneously the algorithm itself is easy to realize parallelization.
According to the output of the energy consumption prediction model Q h e a t and the actual energy consumption Q w a t e r , the objective function is formulated as follows.
f i = 1 n t = 1 n [ Q h e a t ( t ) Q w a t e r ( t ) ] 2
Actually, the objective function means root-mean-square error (RMSE) in mathematics. Each individual is represented by a vector X = [ ε ,   X c o v e r ,   C d ,   C w ,   X s c r e e n ,   X g l a s s ,   τ c o v ,   τ s c r ] , where ε ,   X c o v e r ,   C d ,   C w ,   X s c r e e n ,   X g l a s s ,   τ c o v   and   τ s c r have been mentioned before. The ranges of these parameters are given in Table 2. Here, we use PSO as a representative to describe the whole procedures of our proposed algorithms, as shown by Algorithm 1. Afterwards, the steps of three algorithms can be summarized as follows.
Algorithm 1: Outline. Steps of three algorithms in optimization.
Input: The environmental data: T a i r ,   T o u t ,   A r o o f ,   V w i n d ,   ρ c o 2 ,   U s c r ,   I g l o b ,   T i n ,   T o p t ,   U v e n t ,   H a i r
Output: The best vector (solution): ε ,   X c o v e r ,   C d ,   C w ,   X s c r e e n ,   X g l a s s ,   τ c o v ,   τ s c r
Step 1:
Initialize the parameters of PSO such as ω ,   c 1 ,   c 2 , population size N, and the total generations Gen. Randomly initialize the velocity and position of the population, generating M vectors as N1, N2, ……, XN. Set the initial iteration number gen = 0.
Step 2:
Calculate the objective functions of the initial population according to Equation (18), where the values of Q h e a t   and   Q w a t e r are computed from the input environment data as described in Section 2.2.
Step 3:
Execute the PSO algorithm to perform the optimization procedure. Each individual is updated according to Equations (16) and (17), and then compute the objective function. Afterwards, the global optimal solution Gbest for the population and the current optimal solution Pbest for each individual is updated.
Step 4:
Update gen = gen + 1, if gen < Gen, go to step3, else stop.
The common parameters of the above three algorithms are given as the same values such as population size and the total generations, while the calibration factors and updating mechanism are set up respectively. If DE and GA are utilized to perform the optimization process, only Step 1 and Step 3 of Algorithm 1 need to be adjusted. For Step 1, some parameters with respect to these two algorithms should be set instead of those for PSO. While for Step 3, PSO is replaced by DE or GA, accordingly, the population is evolved to a better condition in the objective space and a global optimal solution Gbest is generated in each generation.

3. Results and Discussion

3.1. Optimization and Validation

For the computational implementation, the deployed equipment is an Intel® CoreTM i7-2630QM, with a 2.00 GHZ processor and 8.00 GB in RAM, DDR3 1333 MHz type; the OS of the computer is WindowsTM 10 Professional Edition, and the machine is also equipped with the MATLABTM R2015a version software.
For the three algorithms, population size N, and the total generations Gen are respectively set as 50 and 2000. The parameters of PSO such as ω , c 1 , and c 2 are respectively set as 0.9, 0.12 and 1.2. For the DE algorithm, the scaling factor F and the crossover probability Cr are respectively set as 0.5 and 0.9. For the GA algorithm, the crossover and mutation probabilities are 0.8 and 0.1 respectively. Moreover, the simulated binary crossover (SBX) and polynomial mutation operators are used to generate offspring solutions, where the distribution factors in are both 20.
According to the prediction model of the energy consumption and three optimization algorithms, we write the program of Matlab and identify the uncertain parameters in the parametric model. The obtained results of parameters by each algorithm are shown in Table 2. It should be noted that calibration parameters, like in the other algorithms, were selected experimentally, based on the best results obtained after several tests.
According to the parameters obtained in Table 2, Figure 3 and Figure 4 illustrate the actual power consumption and predicted power consumption by using PSO, DE and GA in optimization process respectively from 21 to 27 January. Further, Figure 5 illustrates that the RMSE of three algorithm changes in 2000 generation.
As is illustrated in Figure 3 and Figure 4, it is important to point out that PSO, DE and GA present good behavior, that is, the actual power and predicted power are changing almost synchronously in seven days. However, when the power changes rapidly in some partial levels, PSO has better tracking results than GA and DE, such as A, B, C. In real greenhouses, tracking of short-term power changes is very important because of the rapidly changing weather. Figure 5 shows RMSE changes with the generation in three optimization algorithms and it illustrates that when PSO runs to 87 generations, it completely converges, while GA and DE converge locally at 120 generations, then jump to local convergence at 600 generations and 700 generations respectively, which shows the global search ability of GA and DE. However, the PSO converges faster, and RSME is less than GA and DE.
According to the parameters obtained by the PSO optimization algorithm, the energy consumption prediction model is obtained. In order to check the model, the actual data of the five days from February 1 to 5 February 2016 is used for verification.
As shown in Figure 6, the predicted power consumption meets the actual power well in general. There is also some difference between predicted and actual power consumption, especially during the noon when heating system fluctuates more than usual. Finally, the daily energy consumption error was 7.42% and the model shows good robustness.
Table 3 describes the relative errors between the predicted and the actual power consumption which are measured from 6 to 15 February. When the greenhouse average daily solar radiation is between 160 ( W · m 2 ) and 270 ( W · m 2 ) , and the outdoor average temperature is between 3–5 (°C), the error of predicted power consumption is less than 11%. Consequently, when the daily average light and the outdoor average temperature change are small, the model shows a good performance for prediction of short-term greenhouse energy consumption.

3.2. Predict Energy Consumption Based on Model

In winter, normal greenhouse production requires efficient management of energy consumption. According to statistics, heating costs in winter greenhouse can reach more than 50% of greenhouse production costs [31]. As the accuracy of weather forecasting model increases, the prediction of the outdoor environment change is more reliable. Therefore, the accuracy of the temperature, light and wind speed has been guaranteed. At present, the outdoor weather data in one week can already be used to manage the greenhouse of heating production.
Taking the Chongming greenhouse as an example in this study, energy-related devices include top windows, external shading net, internal thermal curtain and internal shading net. From January to March, it is the coldest season of one year. In this period of time, these devices have some rules to follow, which are shown in Figure 7.
For example, at about 1 o’clock p.m., the top windows usually open for about two hours. At this time, the temperature is in the highest stage in the day, and the temperature in the room rises sharply. Thus, opening the top windows and the shading net helps to discharge excess heat in the greenhouse. As a result, heat transfer from heat pump to the greenhouse will be close to zero.
It can be seen that the greenhouse will not be heated when the shade net and the top windows are opened. When the greenhouse absorbs redundant energy, the power output resulting from the prediction model is negative and excess energy is released through the opening of top windows and the shade net. Therefore, to ensure the decrease of inside temperature, the output power of heat pump is kept as zero. In the night (7:00 p.m. to 8:00 a.m.) in order to resist the outdoor cold, the internal insulation is open, while the shade net is also open because the shading net could decrease the heat loss from the greenhouse to outside.
As shown in Figure 8 and Figure 9, from January 23 to January 27, the actual indoor and outdoor temperature, and light in the Chongming greenhouse change slowly. Furthermore, they follow the trend of first rising and then falling during a day.
Therefore, in daily management of greenhouses, based on the day’s outdoor temperature and indoor temperature trends from 23 to 27 January, the given average outdoor temperature and solar radiation can be converted into the same time series. According to the prediction model of energy consumption in greenhouse, the indoor daily average temperature is fixed at 22 °C, and the daily total energy consumption of greenhouse is predicted with different outdoor average temperature and light, as shown in Figure 10.
When we fix the average daily outdoor solar radiation at 200 W / m 2 , the daily total energy consumption of greenhouse is predicted according to different outdoor average temperature and indoor average temperature, as shown in Figure 11.
When the outdoor average temperature is constant, the total daily energy consumption decreases with the increase of the total solar radiation. Similarly, based on the given constant solar radiation, the total daily energy consumption also decreases with the increase of the outdoor average temperature. If the outdoor temperature and light are the same, the daily total energy consumption increases with rising of the indoor temperature. These reasonable results can provide guidance for management of the greenhouse.

3.3. Optimization of Daily Average Temperature

At different growth stages, crops’ requirements from the environment are an average amount. For example, the temperature requirement is in the form of accumulated temperature as long as instantaneous value is not too high or too low to damage the crop. Normally, the same accumulated temperature can resulted in the same yield for many crops [32,33,34]. In order to manage the greenhouse and realize the maximum profit, the energy consumption must be planned and optimized to deal with the changeable weather. Since crop growth stage is still a long time, crops’ one week average temperature requirement can be considered as constant through the planting cycle. In the greenhouse, when the average temperature of a week is given as constant, the daily average temperature still needs to be optimized according to the outdoor weather. The reason is that weather changes are complicated and extreme weather conditions such as cold waves may occur in a week. Compared with normal climatic conditions, achieving the same temperature setting consumes more energy in a cold wave period. Therefore, it is significant to optimize daily temperature under the given condition of weekly average temperature.

3.3.1. Energy Optimization Algorithm Objective Function

In this study, the heating system of the Chongming greenhouse uses hot water pipes for heating, which accounts for more than 90% of the production costs in winter. According to the energy consumption prediction model analyzed in the previous chapter, the objective function of energy consumption for optimizing the daily average temperature is as follows:
Min:
J ( x ) = i = 7 7 ( Q h e a t ( T D i ) )   x = [ T D 1 , T D 2 , T D 3 , T D 4 , T D 5 , T D 6 , T D 7 ]
subject to:
i = 7 7 T D i 7 = T w e e k   T m i n <   T D i <   T m a x   ( i = 1 ,   2 , ,   7 )
Among them, the objective function J(x) represents the total energy consumption of one week with different daily average temperatures. Q h e a t ( T D i ) represents the energy consumption prediction model obtained in the previous section, and x = [ T D 1 , T D 2 , T D 3 , T D 4 , T D 5 , T D 6 , T D 7 ] represents seven daily average temperatures. The equation constraint T w e e k is according to historical planting experience and crops growth characteristics. T m i n and T m a x represent the appropriate crop temperature range.

3.3.2. Optimization Process of Daily Average Temperature

Based on the accumulated temperature theory which has been mentioned before, the single-objective particle swarm optimization is used to optimize the daily average temperature, where one-week energy consumption is used as performance index, the average temperature of one week and each day are used as constraints to optimize the daily average temperatures. Corresponding to the lowest cost, the daily average temperatures are selected as the target setting values on the basis of meeting the above constraints.
In this paper, we use the average temperature under the control of the Chongming Priva system as the given average weekly temperature. As the Priva system is a mature control system, it has good effect on a global scale. It can be considered that the control result is able to meet the requirements of crops for temperature accumulation. From 22 to 28 February, this stage is the tomato growing period in the Chongming greenhouse, requiring a higher temperature during the day to 23–26 °C [23,24,25]. Where the actual average temperature is 23.6 °C in one week, the best daily average temperature range in greenhouse is 20–25 °C, and the allowable deviation range is 1 °C. Furthermore, 19 °C and 26 °C are the lower and upper boundary of optimization variables.
As shown in Figure 12, the actual average daily temperature of the Chongming greenhouse meets the crop temperature requirements in a week. The daily average temperatures without optimization remain stable in this week, however, as shown in Figure 12, from 25 to 27 February, the greenhouse experiences a short-term cold wave, and the outdoor extreme temperature reaches below −9 (°C). When compared with 24 February, heating the greenhouse to the same temperature will lose more energy due to the lower outdoor temperature.
Based on the optimization algorithm and weather forecast for one week, the daily average temperatures of 7 days are optimized. Consequently, in order to maintain the average temperatures of 7 days meeting with the weekly average temperature constraints, the daily average temperatures are appropriately increased before and decreased after the arrival of cold wave respectively. It will help to avoid the loss of energy cost caused by the constant temperature heating during the coldest period while ensuring the normal crop growth. The optimized seven-day average temperatures are verified by the energy consumption model in this paper.

3.4. Discussion

Taking again the Chongming greenhouse as an example in this study, we compare three classic algorithms to predict energy consumption. According to the parameters obtained by the best result, the greenhouse energy consumption prediction model is established. In order to verify the accuracy of the developed model, energy consumption from 6 to 15 February is predicted according to the greenhouse environmental data. The predicted energy consumption is almost in the same trend to the actual energy consumption, and the RMSE is less than 11%. Afterwards, the model shows a good performance for prediction of short-term greenhouse energy consumption.
Generally, the average temperature over a period of time is given according to the growth demand of crops. According to the outdoor weather forecast, the energy consumption at a given average temperature needs to be predicted to adjust the heating. However, the current studies on greenhouse energy consumption focus on proposing new algorithms to improve the accuracy of the model, ignoring the application of the model in practical situations. Uniquely, in this study, the energy consumption model is exploited for the real prediction of greenhouse energy consumption in actual production. Based on the law of energy-related devices and the outdoor weather forecasting, the daily average temperatures of 7 days are optimized during a cold wave. In terms of energy conservation, the optimized average temperatures save 9% of the energy cost, and provide considerable economic benefits in a greenhouse with a heating area of 1000 square meters. Compared with the previous research, this paper studies the use of energy consumption model in practical situations, and proposes the concept of daily average temperature optimization for the first time.

4. Conclusions

Based on the analysis of energy exchange between the greenhouse and the outside world, the mechanism model of a greenhouse is established. Combining the existing measured data with the optimized algorithm, the parameters are identified by optimization algorithms. The energy consumption prediction model of greenhouse is established, which provides reference for greenhouse energy consumption optimization and management. The conclusions are as follows:
(1)
The essence of temperature change is the result of various heat and mass transfer processes in greenhouse. Therefore, based on the dynamic equations of these processes and thermodynamic theory, greenhouse energy consumption model is established.
(2)
According to the analysis of the various parameters involved in the energy consumption model, we determine the parameters to be identified and the energy consumption model of the parameters to be calibrated. The measured data of greenhouse environment and the states information of devices are input into the model. Also, three optimization algorithms are used to identify the uncertain parameters in the prediction model. Finally, five days after of the greenhouse environmental data is used to verify the effectiveness of energy consumption prediction model.
(3)
At present, the accuracy of the weather forecast in one week has been guaranteed. Based on crops’ requirements on accumulated temperature theory, the energy consumption prediction model, the optimized economy is obtained under the constraints of weekly average temperature and daily average temperature. Optimizing the daily average temperature for one week can reasonably guide the greenhouse heating production under the extreme weather conditions. As a result, the energy consumption is reduced, and the normal crop growth is ensured. At the same time, the economic benefits of the greenhouse are improved.
This paper presents a greenhouse energy consumption prediction model for winter heating optimization. Combining with accumulated temperature theory, when the accuracy of the weather forecast is guaranteed, the daily temperature averages will be optimized in the current week. Finally, good results have been obtained. However, the process of energy exchange in the greenhouse is complicated and the outdoor weather varies. The energy consumption prediction model is also difficult to be apply to the energy prediction in different seasons within about 365 days of the year. The energy consumption prediction model for cooling in summer still needs to be further studied. Similarly, subject to the accuracy of the weather forecast, the current greenhouse can be used to optimize the daily average temperature with a given average temperature for one week. The further optimization of the weekly average temperature remains to be studied.

Acknowledgments

This work was supported in part by the National High-Tech N & E Program of China under Grant 2013AA103006-2, the National Science Foundation of China under Grant 61573258, and in part by the U.S. National Science Foundation’s BEACON Center for the Study of Evolution in Action, funded under Cooperative Agreement #DBI-0939454.

Author Contributions

Yongtao Shen and Ruihua Wei conceived and designed the experiments. Yongtao Shen performed the experiments. Ruihua Wei analyzed the data. Lihong Xu contributed materials/analysis tools. Yongtao Shen wrote the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hemming, S.; Balendonck, J.; Dieleman, J.A.; de Gelder, A.; Kempkes, F.L.K.; Swinkels, G.L.A.M.; de Visser, P.H.B.; de Zwart, H.F. Innovations in greenhouse systems—Energy conservation by system design, sensors and decision support systems. In Proceedings of the ISHS Acta Horticulturae 1170: International Symposium on New Technologies and Management for Greenhouses—GreenSys 2015, Evora, Portugal, 19–23 July 2015. [Google Scholar]
  2. De Zwart, H.F. Analyzing Energy-Saving Options in Greenhouse Cultivation Using a Simulation Model; DOL Institute of Agricultural and Environment: Wageningen, The Netherlands, 1996.
  3. Gupta, M.J.; Chandra, P. Effect of greenhouse design parameters on conservation of energy for greenhouse environmental control. Energy 2002, 27, 777–794. [Google Scholar] [CrossRef]
  4. Su, Y.; Xu, L.; Li, D. Adaptive fuzzy control of a class of MIMO nonlinear system with actuator saturation for greenhouse climate control problem. IEEE Trans. Autom. Sci. Eng. 2016, 13, 772–788. [Google Scholar] [CrossRef]
  5. Spanomitsios, G.K. SE—Structure and Environment: Temperature Control and Energy Conservation in a Plastic Greenhouse. J. Agric. Eng. Res. 2001, 80, 251–259. [Google Scholar] [CrossRef]
  6. Dai, J.; Luo, W.; Li, Y. A microclimate model-based energy consumption prediction system for greenhouse heating. Sci. Agric. Sin. 2006, 11, 21. [Google Scholar]
  7. Xu, F.; Zhang, L.; Chen, J.; Zhan, H. Modeling and simulation of subtropical greenhouse microclimate in China. Trans. Chin. Soc. Agric. Mach. 2005, 36, 102–105. [Google Scholar]
  8. Ren, S.; Yang, W.; Wang, H.; Xue, W.; Xu, H.; Xiong, Y. Prediction model on temporal and spatial variation of air temperature in greenhouse and ventilation control measures based on CFD. Trans. Chin. Soc. Agric. Eng. 2015, 31, 207–214. [Google Scholar]
  9. Patil, S.L.; Tantau, H.J.; Salokhe, V.M. Modelling of tropical greenhouse temperature by auto regressive and neural network models. Biosyst. Eng. 2008, 99, 423–431. [Google Scholar] [CrossRef]
  10. Ferreira, P.M.; Faria, E.A.; Ruano, A.E. Neural network models in greenhouse air temperature prediction. Neurocomputing 2002, 43, 51–75. [Google Scholar] [CrossRef]
  11. Nabavi-Pelesaraei, A.; Abdi, R.; Rafiee, S. Neural network modeling of energy use and greenhouse gas emissions of watermelon production systems. J. Saudi Soc. Agric. Sci. 2016, 15, 38–47. [Google Scholar] [CrossRef]
  12. Kavga, A.; Kappatos, V. Estimation of the Temperatures in an Experimental Infrared Heated Greenhouse Using Neural Network Models. Int. J. Agric. Environ. Inf. Syst. 2017, 4, 14–22. [Google Scholar] [CrossRef]
  13. Fourati, F. Multiple neural control of a greenhouse. Neurocomputing 2014, 139, 138–144. [Google Scholar] [CrossRef]
  14. Frausto, H.U.; Pieters, J.G. Modelling greenhouse temperature using system identification by means of neural networks. Neurocomputing 2004, 56, 423–428. [Google Scholar] [CrossRef]
  15. Trejoperea, M.; Herreraruiz, G.; Riosmoreno, J.; Miranda, R.C. Greenhouse energy consumption prediction using neural networks models. Int. J. Agric. Biol. 2009, 11, 1–6. [Google Scholar]
  16. Coelho, J.P.; Pbde, M.O.; Boaventura, C.J. Greenhouse air temperature predictive control using the particle swarm optimisation algorithm. Comput. Electron. Agric. 2005, 49, 330–344. [Google Scholar] [CrossRef]
  17. Pérez-González, A.; Begovich, O.; Ruiz-León, J. Modeling of a greenhouse prototype using PSO algorithm based on a LabViewTM application. In Proceedings of the 2014 11th International Conference on Electrical Engineering, Computing Science and Automatic Control, Campeche, Mexico, 29 September–3 October 2014; pp. 1–6. [Google Scholar]
  18. Hasni, A.; Taibi, R.; Draoui, B.; Boulard, T. Optimization of Greenhouse Climate Model Parameters Using Particle Swarm Optimization and Genetic Algorithms. Energy Procedia 2011, 6, 371–380. [Google Scholar] [CrossRef]
  19. Avila-Miranda, R.; Begovich, O.; Ruiz-León, J. An optimal and intelligent control strategy to ventilate a greenhouse. In Proceedings of the 2013 IEEE Congress on Evolutionary Computation, Cancun, Mexico, 20–23 June 2013; pp. 779–782. [Google Scholar]
  20. Chen, J.; Chen, J.; Yang, J.; Xu, F.; Zhen, S. Prediction on energy consumption of semi-closed greenhouses based on self-accelerating PSO-GA. Trans. Chin. Soc. Agric. Eng. 2015, 31, 186–198. [Google Scholar]
  21. Chen, J.; Yang, J.; Zhao, J.; Xu, F.; Zhen, S.; Zhang, L. Energy demand forecasting of the greenhouses using nonlinear models based on model optimized prediction method. Neurocomputing 2016, 174, 1087–1100. [Google Scholar] [CrossRef]
  22. Pérez-González, A.; Begovich-Mendoza, O.; Ruiz-León, J. Modeling of a greenhouse prototype using PSO and differential evolution algorithms based on a real-time LabView™ application. Appl. Soft Comput. 2018, 62, 86–100. [Google Scholar] [CrossRef]
  23. Eckel, D. Heat and Mass Transfer; Science Press: Beijing, China, 1963. [Google Scholar]
  24. Kittas, C.; Boulard, T.; Papadakis, G. Natural ventilation of a greenhouse with ridge and side openings: Sensitivity to temperature and wind effects. Am. Soc. Agric. Biol. Eng. 1997, 40, 415–425. [Google Scholar] [CrossRef]
  25. Stanghellini, C.; Jong, T.D. A model of humidity and its applications in a greenhouse. Agric. For. Meteorol. 1995, 76, 129–148. [Google Scholar] [CrossRef]
  26. Juang, C.F.; Liou, Y.C. On the hybrid of genetic algorithm and particle swarm optimization for evolving recurrent neural network. In Proceedings of the 2014 IEEE International Joint Conference on Neural Networks, Budapest, Hungary, 25–29 July 2004; Volume 3, pp. 2285–2289. [Google Scholar]
  27. Qin, A.K.; Huang, V.L.; Suganthan, P.N. Differential Evolution Algorithm with Strategy Adaptation for Global Numerical Optimization. IEEE Trans. Evol. Comput. 2009, 13, 398–417. [Google Scholar] [CrossRef]
  28. Qin, A.K.; Suganthan, P.N. Self-adaptive differential evolution algorithm for numerical optimization. In Proceedings of the 2005 IEEE Congress on Evolutionary Computation, Edinburgh, UK, 2–5 September 2005; Volume 2, pp. 1785–1791. [Google Scholar]
  29. Goldberg, D.E. Genetic Algorithm in Search, Optimization, and Machine Learning; Addison-Wesley Longman Publishing Co., Inc.: Boston, MA, USA, 1989. [Google Scholar]
  30. Zwickl, D.J. Genetic Algorithm Approaches for the Phylogenetic Analysis of Large Biological Sequence Datasets under the Maximum Likelihood Criterion. Ph.D. Thesis, University of Texas at Austin, Austin, TX, USA, May 2006. [Google Scholar]
  31. Wang, X.C.; Ding, W.M.; Luo, W.H.; Dai, J.F. An energy prediction model for modern greenhouse in the south of China. J. Nanjing Agric. Univ. 2006, 29, 116–120. [Google Scholar]
  32. He, C.; Zhang, Z. Modeling the relationship between tomato fruit growth and the effective accumulated temperature in solar greenhouse. In Proceedings of the ISHS Acta Horticulturae 718: III International Symposium on Models for Plant Growth, Environmental Control and Farm Management in Protected Cultivation (HortiModel 2006), Wageningen, The Netherlands, 29 October–2 November 2006. [Google Scholar]
  33. Guo, Z.H. Application of Accumulated Temperature Theory in Sunlight Greenhouse. J. Anhui Agric. Sci. 2011, 34, 225. [Google Scholar]
  34. Chen, Q.; Sun, Z. Energy-saving control strategy for greenhouse production based on crop temperature integration. Trans. Chin. Soc. Agric. Eng. 2005, 65, 93–108. [Google Scholar]
Figure 1. Energy exchange between the greenhouse and the outside world.
Figure 1. Energy exchange between the greenhouse and the outside world.
Energies 11 00065 g001
Figure 2. Parameter correction method of energy consumption prediction model.
Figure 2. Parameter correction method of energy consumption prediction model.
Energies 11 00065 g002
Figure 3. The actual power consumption and predicted power consumption with PSO and DE.
Figure 3. The actual power consumption and predicted power consumption with PSO and DE.
Energies 11 00065 g003
Figure 4. The actual power consumption and predicted power consumption with PSO and GA.
Figure 4. The actual power consumption and predicted power consumption with PSO and GA.
Energies 11 00065 g004
Figure 5. RMSE changes with the generation in three optimization algorithms.
Figure 5. RMSE changes with the generation in three optimization algorithms.
Energies 11 00065 g005
Figure 6. The actual power consumption and predicted power consumption with PSO in verification.
Figure 6. The actual power consumption and predicted power consumption with PSO in verification.
Energies 11 00065 g006
Figure 7. The open degree of execution agents.
Figure 7. The open degree of execution agents.
Energies 11 00065 g007
Figure 8. The temperature trends over time.
Figure 8. The temperature trends over time.
Energies 11 00065 g008
Figure 9. The light trends over time.
Figure 9. The light trends over time.
Energies 11 00065 g009
Figure 10. The predicted daily energy consumption under different outdoor temperature and solar radiation.
Figure 10. The predicted daily energy consumption under different outdoor temperature and solar radiation.
Energies 11 00065 g010
Figure 11. The predicted daily energy consumption under different outdoor temperature and indoor temperature.
Figure 11. The predicted daily energy consumption under different outdoor temperature and indoor temperature.
Energies 11 00065 g011
Figure 12. The daily average temperature in one week of optimization.
Figure 12. The daily average temperature in one week of optimization.
Energies 11 00065 g012
Table 1. Constant physical parameters in a greenhouse model.
Table 1. Constant physical parameters in a greenhouse model.
ParametersPhysical MeaningValueUnit
LAILeaf area index2m2·m−2
SgGreenhouse cover surface area1842m2
KStefan–Boltzmann constant 5.67 × 10 8 W·m−2·K−4
gGravity acceleration9.8m·s−2
AN,sideMaximum area of side windows0.10m2·m−2
AN,roofMaximum area of top windows0.18m2·m−2
ρairAir density1.2kg·m−3
cairSpecific heat capacity of air1008J·kg−1·K−1
ΔHWater evaporation latent heat constant 2.45 × 10 6 J·kg−1
γPsychometric constant65.8Pa·K
SgwGreenhouse ground surface area912m2
rsminMinimum somatic resistances of the leaves82s·m−1
LwaterLatent heat of evaporation for the leaf surface 2.45 × 10 6 J·kg−1
M H 2 O Molar mass of water18kg·kmol−1
RMolar gas constant8314J·kmol−1·K−1
νgGreenhouse volume6840m−3
rbAerodynamic resistances of the leaves275s·m−1
ρwaterWater density1000kg·m−3
cwaterSpecific heat capacity of water4200J·kg−1·°C−1
Table 2. The optimized parameters results with three algorithms.
Table 2. The optimized parameters results with three algorithms.
ParametersRangeGADEPSO
ε[0.5, 0.8]0.550.610.65
Xcover[0.1, 0.9]0.430.270.33
Cd[0.6, 0.8]0.710.740.77
Cw[0.05, 0.2]0.150.110.12
Xscreen[0.3, 0.9]0.490.520.55
Xglass[1, 10]5.796.235.19
τcov[0.6, 1]0.630.770.83
τscr[0.3, 0.9]0.720.870.71
Table 3. The relative errors between actual consumption and predicted consumption.
Table 3. The relative errors between actual consumption and predicted consumption.
Date (yy-mm-dd)Outdoor Average Light ( W · m 2 )Outdoor Average Temperature (°C)Average Power (kW)Relative Error (%)
2016-02-06167.13543.3031.329.12
2016-02-07210.34873.7333.458.34
2016-02-08223.98213.9032.837.71
2016-02-09218.66153.8833.216.21
2016-02-10228.42694.0331.585.19
2016-02-11245.54914.5627.4810.13
2016-02-12230.46584.1330.449.33
2016-02-13248.56114.6326.5510.42
2016-02-14270.46605.0121.1210.57
2016-02-15297.45585.9517.4310.85

Share and Cite

MDPI and ACS Style

Shen, Y.; Wei, R.; Xu, L. Energy Consumption Prediction of a Greenhouse and Optimization of Daily Average Temperature. Energies 2018, 11, 65. https://doi.org/10.3390/en11010065

AMA Style

Shen Y, Wei R, Xu L. Energy Consumption Prediction of a Greenhouse and Optimization of Daily Average Temperature. Energies. 2018; 11(1):65. https://doi.org/10.3390/en11010065

Chicago/Turabian Style

Shen, Yongtao, Ruihua Wei, and Lihong Xu. 2018. "Energy Consumption Prediction of a Greenhouse and Optimization of Daily Average Temperature" Energies 11, no. 1: 65. https://doi.org/10.3390/en11010065

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop