Next Article in Journal
A Low-Cost Breath Analyzer Module in Domiciliary Non-Invasive Mechanical Ventilation for Remote COPD Patient Monitoring
Next Article in Special Issue
A Crop Canopy Localization Method Based on Ultrasonic Ranging and Iterative Self-Organizing Data Analysis Technique Algorithm
Previous Article in Journal
Indoor Trajectory Reconstruction of Walking, Jogging, and Running Activities Based on a Foot-Mounted Inertial Pedestrian Dead-Reckoning System
Previous Article in Special Issue
Assessment of Laying Hens’ Thermal Comfort Using Sound Technology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Use of Artificial Neural Networks for Forecasting of Air Temperature inside a Heated Foil Tunnel

by
Sławomir Francik
1,* and
Sławomir Kurpaska
2
1
Department of Mechanical Engineering and Agrophysics, University of Agriculture in Krakow, 31-120 Kraków, Poland
2
Department of Bioprocess, Power Engineering and Automation, University of Agriculture in Krakow, 31-120 Kraków, Poland
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(3), 652; https://doi.org/10.3390/s20030652
Submission received: 31 December 2019 / Revised: 20 January 2020 / Accepted: 22 January 2020 / Published: 24 January 2020
(This article belongs to the Special Issue Sensors in Agriculture 2019)

Abstract

:
It is important to correctly predict the microclimate of a greenhouse for control and crop management purposes. Accurately forecasting temperatures in greenhouses has been a focus of research because internal temperature is one of the most important factors influencing crop growth. Artificial Neural Networks (ANNs) are a powerful tool for making forecasts. The purpose of our research was elaboration of a model that would allow to forecast changes in temperatures inside the heated foil tunnel using ANNs. Experimental research has been carried out in a heated foil tunnel situated on the property of the Agricultural University of Krakow. Obtained results have served as data for ANNs. Conducted research confirmed the usefulness of ANNs as tools for making internal temperature forecasts. From all tested networks, the best is the three-layer Perceptron type network with 10 neurons in the hidden layer. This network has 40 inputs and one output (the forecasted internal temperature). As the networks input previous historical internal temperature, external temperature, sun radiation intensity, wind speed and the hour of making a forecast were used. These ANNs had the lowest Root Mean Square Error (RMSE) value for the testing data set (RMSE value = 3.7 °C).

1. Introduction

Agriculture plays a critical role in the global economy. Agriculture development requires the introduction of new farming technologies. Digital agriculture (a new scientific field) uses data intense approaches to increase agricultural productivity, economic efficiency, and optimal use of scarce resources while minimizing its environmental impact. One opportunity to increase agricultural productivity is to use a protected and controlled environment such as greenhouse systems. The controlled environment of a greenhouse prolongs the cultivation periods of seasonal crops, increases yield, reduces transportation distances, decreases water consumption, land usage and reduces the need for pesticides. Greenhouse systems are an essential element of agricultural production. They are an important way to meet the growing food demand. Crops can be produced year-round regardless of the climate. Greenhouse cultivation is the most intensive way of producing mainly vegetables and flowers. Over one hundred countries use the agricultural greenhouses for the commercial vegetable production [1,2,3,4,5,6,7]. Additionally, for opencast agriculture, the change in land usage usually causes soil erosion [8,9,10,11,12]. For this reason, the agricultural solution on adverse climatic conditions, e.g., droughts and temporary frost, is the greenhouse microclimate.
Today, there is a great interest in using automation and electronics for monitoring and controlling all the processes on farms. An example would be monitoring and forecasting climate conditions. Scientific studies have shown that, for opencast agriculture, Fourier analysis of hourly data demonstrates that the atmospheric pressure intervened in the occurrence of rainfall on semi-arid regions [13,14,15,16]. The production management in greenhouse systems demands decision-making over several timescales. Decisions regarding controlling the internal environment of the greenhouse are particularly difficult. Climatic conditions inside greenhouses are often very complex and depend considerably on the external climatic conditions. Therefore, frequent and fast decisions are required for the system to be adaptable to alternating weather conditions. Maintaining the environmental conditions in greenhouse systems, for the appropriate quality and productivity of plant growth, involves monitoring and regulating temperature, relative humidity, carbon dioxide levels, light availability and water usage. Continuous monitoring of these environmental variables gives information to the horticulturalists on how to maintain maximal crop productivity. Controlling each of the variables affecting the internal environment of a greenhouse is a dynamic procedure, which requires the use of computers (computer Decision Support Systems—DSSs). It is important to correctly predict microclimate of a greenhouse for control and crop management purposes [2,6,17,18,19,20].
Greenhouses are energy-intensive compared to other sectors of the agricultural industry, therefore energy-efficient operation of a greenhouse is an important aspect. Reducing their energy consumption is one of the means to reduce the cost production. For effective decision-making, greenhouse control systems require energy models to accurately predict the thermal process in greenhouses [2,6,21,22]. Modelling the microclimatic parameters of a greenhouse is critical to optimize internal climatic conditions of greenhouses during different stages of plant growth. The basic problem is to develop an accurate model [7,19,23,24].
The greenhouse environment is a very complex, nonlinear, multi-input and multi-output dynamic system. It is a complex thermodynamic system—the internal greenhouse climate is a function of heat and mass transfer. This system is described by many interconnected variables such as light, temperature, relative humidity and carbon dioxide concentration. There are also time delays and intensive disturbances from the surroundings. This makes establishing an accurate mathematical model of a greenhouse’s microclimate intricate and difficult [2,4,6,18,20,24].
A great deal of research has been done in greenhouse modeling in the recent years. Many models have been developed to predict energy consumption and greenhouse microclimatic parameters. The internal greenhouse conditions depend on three major variable types, namely weather variables, control variables, and state variables. Thus, it is necessary to develop a suitable greenhouse model to control microclimatic variables [25]. One such type of a model are simulation models that allow for correctly predicting the internal temperature as a function of external climate parameters and greenhouse characteristics [6,20,23,26].
Accurately predicting temperatures in greenhouses has been a focus of research as internal temperature is one of the most important influencing factors for crop growth and development. Therefore, it is important to set up a precise predictive model of temperature that can predict temperatures several hours in advance. The modeling method must be successful enough to accurately forecast the greenhouse temperature with incomplete information [4,18,27]. For example, time series analysis techniques and auto regression models have been implemented to predict the internal temperature of a greenhouse. The model parameters, external air temperature, external air relative humidity, external solar radiation and cloud cover used as inputs were found to be sufficient to predict the internal temperature of a greenhouse [18].
Weather forecasting is useful, as it has several applications and it may provide basis for many human endeavors. For example, agriculture is often extremely sensitive to climate change. Weather predictions are meaningful for producers to make decisions regarding activities and property protection. Areas such as high-precision vehicle localization, energy, transportation, aviation, and inventory planning can also clearly take advantage of weather predictions [28]. External climate parameters and their forecast are also used in many varying branches of science (e.g., wind farm energy production, epidemiology and cooling systems).
Wang et al. [29] conducted research with the purpose of developing a mathematical model for wind speed forecasts. Accurate wind speed forecasts play an important role in reducing uncertainty of wind power and enhancing utilization efficiency of wind energy. It is also essential to enhance the ability of wind speed forecasting for wind farm management systems. The simulation results demonstrate that the developed, improved, innovative hybrid model for wind velocity forecasting (which consists of a feature selection module based on empirical wavelet transformation–Kullback–Leibler divergence, a long memory extraction module based on autoregressive, fractionally integrated moving average, an input–output determination module based on phase space reconstruction, an optimization module based on modified bat algorithm with cognition strategy and a forecast module based on improved Back-propagation (BP) Neural Network) outperforms several common benchmark models (Back-propagation Neural Network, Extreme Learning Machine, Kernel Ridge Regression, least squares support vector machines, Naïve technique, improved Back-propagation Neural Network, and Empirical Wavelet Transform).
Climate and weather influence population health through a number of interrelated pathways. The growth, survival and dispersal of microorganisms is determined by environmental and hydrometeorological conditions. Research is being carried out to elucidate the interactions and biological mechanisms through which weather influences health. For example, Colston et al. [30] conducted research with the aim of selecting climate data and assessing their performance as predictors of rotavirus infections.
Li et al. [31] devised the Following Day Load Simulation (FDLS) method using weather forecast parameters, and a simulated test was carried out on an office building with an ice storage cooling system. Accurate simulation and forecast of cooling load is vital in the design of efficient cooling in a cold storage system. The accuracy of FDLS was validated by comparing the simulation results with the actual data collected from the cold storage building.
Xing et al. [32] proposed a new data-driven model based on the support vector machine. Data-driven models were developed and achieved good accuracy in monthly and daily soil temperature predictions of a single site taking air temperature, solar radiation and time as inputs. The new model considers daily soil temperature variations as superposition of annual average ground temperature predictions (long-term climate impact) and daily ground temperature amplitude predictions (short-term climate impact).
In recent years, different computational approaches were applied for temperature prediction. The temperature prediction methods can be divided into physical methods based on mathematical theory and black box methods based on modern computational technology [27]. The former group of methods is also based on modern computational technologies. Generally, the physical methods have a high degree of complexity with many parameters that have to be determined. It is often a difficult task to measure the parameters or get them from the sub-models. In contrast to physical methods, the ‘black box’ prediction methods don’t need to determine every parameter value [33]. As the latter group of methods are extremely effective, they are used to find answers to many research problems, though without being able to explain the system structure.
For finding dependencies among individual values describing air temperature inside a heated object, it is possible to use methods of Artificial Intelligence. Artificial Neural Network (ANN) is one such method.
The term Artificial Neural Network refers to computational and machine learning techniques inspired by the functions of biological neural networks. ANNs were designed to simulate the behavior of the human neural system based on the relationships between input information and the target. A biological neural network consists of many interconnected biological neurons. ANNs are formed by simple units of processing, called neurons [34,35,36,37].
One type of neural networks is Multilayer Perceptron Neural Networks (MLPs). An MLP consists of the input layer, the hidden layer (one or two) and the output layer. Each layer consists of neurons with a nonlinear activation function, which are connected to each other. MLP learning is based on a gradient descent method that minimizes the sum of squared errors between actual and desired output values [38,39].
ANNs are powerful computational models. ANNs are also universal nonlinear approximators and can detect relationships between input and output variables, even if they are complex or unknown. ANNs are able to describe any nonlinear function given enough hidden units and learning data. ANN is a robust data modeling tool that is widely used in many applications, such as regression, classification, and approximation-based learning processes. Implementation of Artificial Neural Networks for different research proved to be very efficient and accurate. ANNs are characterized by very high accuracy in comparison with other mathematical models (regression models, general linear models, regression trees) [1,5,6,35,36,40,41,42,43]. For example, Kasantikul et al. [36] proposed a combination of an ANN and a particle filter (PF) to estimate wind speed. The overall root mean-square error of different ANN techniques (the ANN based PSO, meaning Particle Swarm Optimization combined with PF, the ANN based BP, and the ANN based PSO) is better than the regression.
Nonlinear models, especially ANNs, are also increasingly used in agriculture, often obtaining better analysis results than classical statistical methods [44].
Castaneda-Miranda and Castano [45] used an MLP for frost control in a greenhouse. The error values of the best models: ARX (the autoregressive models with external input) and ANN for the summer and the winter seasons were compared. ANN models obtained less Standard Error of Prediction (SEP) and Mean Absolute Percentage Error (MAPE) than ARX models.
ANNs are widely employed to exploit the empirical knowledge. Particularly, ANNs are applied in modelling, classification and clustering tasks, prediction processes, decision-making processes and management of industrial production systems [46]. ANNs are used in various scientific fields including, for example, bioinformatics, biochemistry, medicine, meteorology, economic sciences, robotics, aquaculture, food security and climatology. ANNs are also used in agriculture, agrophysics or agricultural engineering [1,35,40,41,42,43,47].
All applications of ANNs can be classified into six typical groups of techniques: association (for reducing data dimensionality), classification (for grouping data into classes), conceptualization (for conceptualizing ideas based on concrete data), prediction (for predicting values), optimization (for seeking convergence to a minimum or maximum), and filtering (for sifting data according to restrictions) [48].
One of the tasks that can be performed by an ANN is prediction. This task is used to assist in the control and monitoring of numerous variables in several areas [37]. Many ANN applications are related to renewable energy sources (different uses of ANN models for better energy production predictions). Research addresses, for example, the use of ANNs to forecast solar radiation (the main problem for the best use of photovoltaic systems) and wind power forecasting [37,38,48,49,50]. ANNs are applied for forecasting building energy usage and demand [34]. The ANN for the prediction of odor properties of post-fermentation sludge from a biological-mechanical wastewater treatment plant was developed. The ANN comprised of four layers: input layer (eight neurons), two hidden layers (four and two neurons) and output layer (one neuron) [51]. In medicine, ANNs are used to predict mortality risk and incidence of disease. In the area of railway engineering, studies have predicted failure points in rail turnouts and the rates of wear of wheels and rails [37]. Several works investigate an ANN approach to paper-making (mainly addressing the application of neural models for paper properties’ prediction). An ANN was implemented to predict the fibres’ length as a function of the refining processes’ variables. The prediction of this parameter is crucial to obtain a high-performance process [46]. Another example is a neural network model that was created for predicting tool wear and surface roughness during turning. The validation using neural networks gave better results than the one using regression models. The developed forecasting system was able to accurately predict surface wear and roughness [52]. In the fault prognosis context, ANNs are important tools as they enable the implementation of the prediction task easily and accurately [37].
Many applications of ANNs involve forecasting and prediction in agriculture. The MLP neural network, with one hidden layer, was developed to predict the normalized undrained shear strength of organic soils. The MLP neural network, with an architecture of 5–4–1, provided a more reliable prediction in comparison to the empirical methods [53]. The ANNs with MLP topology to forecast winter rapeseed yields and winter wheat yield were developed. Using ANNs makes it possible to obtain an accurate yield forecast before harvesting (all tested models were characterized by high forecast accuracy) [39,44]. ANNs are also employed to control and predict variables in agricultural drying processes. For example, scientists, using an ANN, designed a system to identify the dynamics of the drying process in a rotary dryer, developed a tomato drying model, developed a system for predicting variables related to tobacco and willow woodchips’ drying processes [42,54]. The diversification of ANN applications is large, demonstrating the importance of this tool. They achieve high accuracy, are computationally efficient, and require no knowledge of the physical relationships between inputs and outputs. ANNs are a powerful tool for making predictions based on a large number of interrelated experimental data [5,6,21,27,40,41,42,43,54,55,56].
As the greenhouse system is nonlinear and variable in time, ANNs have been applied to greenhouse environment modeling, including internal temperature. For the first time, ANNs were used to predict greenhouse temperatures in the early 1990s [24,57,58]. Ferriera at al. [59] have used ANNs for determining the temperatures inside the greenhouse. They have taken into consideration solar radiation, both internal and external temperature and internal relative humidity. Linker and Seginer [60] used three models of ANNs for modeling the temperature inside of a greenhouse, namely: a model with a sigmoid function, a physical model with a hybrid function and a sigmoid model with utilization measured in situ value of meteorological data. Uchida Frausto and Pieters [61] have used an ANN for modeling temperatures inside of a greenhouse as a function of external temperature; air humidity; radiation intensity, and cloud state. They have ascertained on the base of analysis that the number of neurons, hidden layers and iterations renders important influence on accuracy of approximation. The variation of internal air temperature in a tropical greenhouse was investigated. The study included an auto regressive model with an external input, an auto regressive moving average model with an external input and a neural network auto regressive model with an external input. The model parameters—external air temperature, external air relative humidity, external solar radiation and cloud cover—used as inputs were found to be sufficient to predict the internal temperature of the greenhouse [18]. Dariouchy et al. [62] developed an ANN and used it to predict the internal temperature and the internal moisture inside the greenhouse starting from the external climatic data. This model can perform better than the time series prediction models. Trejo-Perea et al. [63] employed a MLP model validated with measured data and a nonlinear regression model for the prediction of greenhouse electricity usage. He and Ma [33] developed an ANN model for modelling air humidity inside a greenhouse in northern China during the winter period. A Back-propagation Neural Network based on principal component analysis was proposed for modeling the internal humidity of a greenhouse. An ANN was developed in order to predict the temperature and relative humidity in a greenhouse [64]. The previous values of the external temperature, the external relative humidity, command of heater and ventilator, and the previous values of internal temperature and internal relative humidity were defined as inputs. The current internal temperature and the internal relative humidity were considered as the outputs. This work demonstrates the applicability of the neural networks to model the internal air temperature and relative humidity in a greenhouse. Castaneda-Miranda and Castano [45] used a MLP for frost control in a greenhouse. Its ability to predict temperatures within control offers the benefit of being easy to implement without the need for a complex mathematical model a priori.
As it can be seen from quoted research results, researchers used neural networks for engineer forecasting in agricultural objects. The purpose of our research was elaboration of a model that would allow to forecast changes of temperatures inside the heated foil tunnel using ANNs.

2. Materials and Methods

The literature survey and our experience obtained during the creation of neural models allowed to identify several characteristic stages occurring during this process [20,25,37,39,40,41,42,44,45,52]. The creation of an ANN model proceeds in five stages:
  • Formulating a semantic model.
  • Gathering experimental data.
  • Selecting neural network’s type and architecture.
  • Carrying out the process of networks’ learning.
  • Choosing and assessing the best model.

2.1. Formulating a Semantic Model

The creation of a forecast model begins with adopting a semantic model—conceptual model. Such model should logically resemble the theory describing modelled phenomenon in the form of a system of objects and relations between them. In case of the absence of theoretical assumptions, the experiment is used. In the case of forecast models, the development of the semantic model requires the selection of forecast variables, characterizing the forecasted phenomenon, and interpretative variables. Frequently, the determination of time horizon’s length, meaning the period of time for which the forecast is made, and the determination of historical data analysis period’s length is required.
In the case of the heated foil tunnel, internal temperature is the effect of heat transfer with the environment. From the heat transfer theory derives the fact that the covers’ insulation, surrounding climate’s parameters and required temperature inside the facility are the factors deciding the intensity of heat transfer between the interior of the facility and its environment. The factor summarizing the intensity of transfer is the rate of heat permeation through the cover, which is dependent on e.g., air velocity around the cover [65]. On the other hand, the heat transfer and the intensity of solar rays’ permeation through the transparent cover of the facility is dependent not only on the type of the cover but also on the shape of the roof [66].
As a result, in the paper, for the analysed type of the facility, for the forecast of internal temperature (a dependent variable) the intensity of solar radiation (S), temperaturę of the environment (Tex), wind velocity (W) and the heater temperature (Th) were taken into account as independent variables. Similar variables were adopted by other authors for forecasting the greenhouse microclimate’s parameters [21,23,27,45,62].
The values of external climate’s parameters (Tex, S, W) change over time randomly. In case of solar radiation and external temperature intensity, apart from random deviations, periodical change during the day and throughout the whole year can be detected. Therefore, for each adopted independent variable, several historical values (Tex, Th, S, W and Tin) were taken into account in the model. As the independent variables (inputs of the ANN), the date and hour of forecast was also adopted. It was assumed that this model would enable the forecast of temperature 1 to 4 h in advance (time horizon of forecast tHP= 1, 2, 3, 4).
As the base for creation of the prognostic model, it accepts the hypothesis:
T i n ( t 0 + t H P ) = f   {   D   ( t 0 )   ,   t 0   ,   t H P   ,   T e x   ( t 0 i )   , T   ( t 0 i )   ,   S   ( t 0 i )   ,     W   ( t 0 i )   , T i n   ( t 0 i )   } ,
where:
  • Tin(t0 + tHP)—forecasted internal temperature for moment t0+HP, [°C]
  • t0—moment (hour), in which prediction was executed, [h]
  • tHP—time horizon of prediction; tHP = 1, 2, 3, 4, [h]
  • D(t0)—next day of year, in which prediction was executed
  • Tex(t0−i)—external temperature in moment (t0−i), [°C]
  • Th(t0−i)—temperature of heater in moment (t0−i), [°C]
  • S(t0−i)—sunny radiation intensity in moment (t0−i), [W⋅m−2]
  • W(t0−i)—wind speed in moment (t0-i), [m⋅s−1]
  • Tin(t0−i)—internal temperature in moment (t0−i), [°C]
  • i—slip index in time; i = 0, 1, 2, 3, 4, 20, 21, 22, 23, [h].

2.2. Gathering Experimental Data

Experimental research was carried out in a heated foil tunnel situated on the property of the Agricultural University of Krakow. The experimental foil tunnel with dimension length × width: 9 m × 6 m was equipped with a standard heating system. Foremost walls of tunnels were covered with polycarbonate, with thickness of about 6 mm, and the arc part was covered with polyethylene foil, with thickness of about 0.18 mm. The total protection surface was 113 m2. Polycarbonate plates were fastened with T profiles. Heating installation consisted of two rows of heaters (with diameter of 75 mm) with total heating surface of circa 19 m2. Heating of hot water proceeded through an installed electric heater in the flow-heater.
During the experiments, sensors for measuring the heating water temperature and internal air temperature were installed in the researched tunnel. Outside of the tunnel temperature, air humidity, sun radiation intensity and wind speed were continuously measured. Monitored parameters were sent by a check-measuring system and recorded in a PC computer. During the research in the tunnel, work conditions (work–break cycle) were registered for the heater. Obtained results served as data for ANNs.
The scheme of the research object is presented in Figure 1.

2.3. Selecting Neural Network’s Type and Architecture

The learning process of a neural network requires extracting subsets containing learning patterns and patterns used to assess the quality of the neural network (test and, possibly, validation patterns) from the data set (time series).
Data obtained from measurements were prepared for the neural network creation. Results of independent variable measurements executed from the 2nd to the 29th of April and from the 1st of October to the 2nd of November (1364 pattern) were randomly divided into three sets: learning (744 pattern), validation (312 pattern), and testing (312 pattern).
Two different types of Feed-Forward ANNs (Radial Basis Function networks and MLP networks) were researched as the best suitable for forecasting temperature.
Establishing the ANN architecture requires determining the number of layers and the number of neurons in hidden layers. A larger number of layers and neurons in those allows for building a more complicated model but requires more learning patterns.

2.4. Carrying out the Process of Networks’ Learning

For creating the models and the learning process of ANNs, the function “Automatic Designer” of Statistica was used.
The Back-propagation Learning Algorithm and then the Conjugate Gradient Algorithm (CGA were used for each ANN. Both of these algorithms are supervised learning methods. A supervised learning method requires a set of training patterns and their corresponding desired outputs. During the learning process, the algorithm corrects the connection weights among neurons according to imposed learning rules. As a result, ANNs obtain knowledge from the learning data. The Back-propagation Algorithm (BPA) is the best known learning method for neural networks and one of the most useful. It has lower memory requirements than most algorithms and usually reaches an acceptable error level quite quickly, although it can then be very slow to converge properly on an error minimum. The CGA is an advanced method of learning. It usually performs significantly better than BPA and can be used wherever the latter can be. BPA adjusts the network weights after each case, whereas CGA works out the average gradient of the error surface across all cases before updating the weights once at the end of the epoch.
During the learning process, 100 networks of different architectures were analysed, from which the best ten models were maintained.

2.5. Choosing and Assessing the Best Model

The value of root mean-square error (RMSE) calculated for testing data set was the criterion of choice. RSME is a commonly used statistical error to evaluate the model’s performance [36,39].
The RMSE was calculated from formula:
R M S E = 1 n i = 1 n ( T m e , i T c a l , i ) 2
where:
  • Tme,i—measured value of internal temperature, [°C]
  • Tcal,i—calculated by ANN value of internal temperature, [°C]
  • n—number of observations.

3. Results

Preliminary research showed that the best forecasts were obtained with three- and four-layers’ MLP type networks. As a result of using Automatic Designer 10, networks of three-layer MLPs were developed. Characteristics of the networks are presented in Table 1.
In Figure 2, RMSE values for learning, validation and testing data sets are presented.
Taking into consideration all forecasts ascertained that networks ann02 and ann03 most accurately predict temperature inside of the tunnel. These two ANNs had the lowest error value for the testing data set (RMSE = 3.7 °C). RMSE values for other networks that ranged from 3.8 °C to 4.0 °C (for the testing data set). Neural models ann02 and ann03 had also the lowest error value for the validating data set (RMSE = 3.0 °C).
Finally, as a model for forecasting, the internal temperature ann02 network has been chosen on account of the smallest value of error for teaching data—for ann02, RMSE has reached a value of 2.7 °C and for ann03 RMSE = 3.3 °C.
Table 2 summarizes the RMSE values for different forecasting time horizons (tHP = 1, 2, 3, 4 h).
In Figure 3, the structure of chosen neural model is presented. Neural network ann02 is a three-layer MLP with 10 neurons in the hidden layer and one neuron in the output layer. Values of forty variables served as the input. On the output of neuron network, the forecasted internal temperature for assigned forecast time horizon is obtained.
Figure 4 and Figure 5 show examples of internal temperature changes obtained from measurements and forecasts, for the time horizon of the forecast from one hour to four hours. Forecasts were made for testing data—examples of days: April 3rd, 8th and 19th, and October 3rd, 14th and 29th.

4. Discussion

Devised neural models maintained the ability to generalize obtained knowledge. RMSE values for all 10 neural models (Figure 2) evaluate to the highest values for the testing data set (RMSE = 3.7 ÷ 4.0 °C), which were not used to create neural models. Significantly lower values were obtained for data from the learning data set (RMSE = 2.7 ÷ 3.3 °C) and validating data set (RMSE = 2.9 ÷ 3.0 °C). Such result is in line with the theory of ANNs. The increase in error value for tested data is marginal, which is indicative of devised neural models maintaining the ability to generalize. If the difference was greater, it would mean that overlearning occurred. Overlearning is the result of an overly complex structure of a neural network compared to the amount of learning data. For a chosen neural model, the ann02 RMSE value for tested data was 36% higher in comparison with learning data and 22% higher compared to validating data.
After analyzing RMSE values for different forecast time horizons (Table 2), it can be stated that, with an increase in tHP, the RMSE value also increases. Error values for all devised ANN models for tested data amount to: RMSE = 2.5 ÷ 3.0 °C (for tHP = 1 h), RMSE = 3.3 ÷ 3.6 °C (for tHP = 2 h), RMSE = 3.9 ÷ 4.3 °C (for tHP = 3 h), RMSE = 4.5 ÷ 5.0 °C (for tHP = 4 h). Error for learning data is, respectively: RMSE = 2.0 ÷ 2.8 °C (for tHP = 1 h), RMSE = 2.5 ÷ 3.0 °C (for tHP = 2 h), RMSE = 2.7 ÷ 3.4 °C (for tHP = 3 h), RMSE = 3.2 ÷ 4.2 °C (for tHP = 4 h). In addition, for validating data: RMSE = 2.2 ÷ 2.5 °C (for tHP = 1 h), RMSE = 2.7÷3.0 °C (for tHP = 2 h), RMSE = 3.1 ÷ 3.3 °C (for tHP = 3 h), RMSE = 3.4 ÷ 3.7 °C (for tHP = 4 h).
For a chosen neural model, the ann02 RMSE value for testing data set increased with higher tHP values, respectively: 2.5 °C → 3.4 °C → 4.1 °C → 4.6 °C. The increase in RMSE values for the learning data set, along with an increase in forecast horizons, progresses as follows: 2.0 °C → 2.5 °C → 2.8 °C → 3.4 °C. However, for the validating data set, RMSE values amount to 2.3 °C → 3.0 °C → 3.3 °C → 3.5 °C.
Proven decrease in forecast accuracy with an increase in forecast time horizon is in line with the theory. The impossibility to predict interferences of forecasted system causes the inversion of trends present at the moment of making the forecast, which causes very rapid increase in forecast error. In the case of heated foil tunnels, such quickly changing system parameters are wind speed and sun radiation intensity.
The analysis of forecasted air temperature values inside the foil tunnel obtained using the chosen best neural model ann02 allows for concluding that they do not significantly stray from intended values (Figure 4 and Figure 5). For forecasts made for chosen days in April, only for the 3rd of April (Figure 4a) are greater differences for forecast time horizons of the 3rd and 4th hours. For October, however, the largest differences between the forecasted and measured internal air temperature are present on the 3rd of October for forecast time horizons of the 2nd, 3rd and 4th h (Figure 5a).
It is noteworthy that the greatest differences between forecasted and measured air temperature values are present from 10:00 a.m. to 4:00 p.m. (Figure 4a, Figure 5a–c). For night hours, however, forecast accuracy is very good. It is probably due to the influence of rapidly and chaotically changing sun radiation intensity on the temperature inside the tunnel.
After comparing internal temperature forecast errors for different forecast time horizons, it was stated that, for tHP = 1 h and tHP = 2 h devised ANN, ann02 accurately predicts the temperature. The differences between forecasted and measured temperature inside the tunnel do not exceed several degrees centigrade. Therefore, the devised neural model can be used as a supporting element for decision making in automatic temperature regulating systems.
ANNs forecasting temperature changes in the heated foil tunnel are used to devise a Decision Support System for heating control. The system would react in advance according to predicted temperature changes, which allows for saving energy used to heat the tunnel.

5. Conclusions

Conducted research confirmed the usefulness of ANNs as tools for making internal temperature forecasts. RMSE values didn’t exceed 4 °C (RMSE = 2.7 ÷ 3.3 °C for learning data, RMSE = 2.9 ÷ 3.0 °C and RMSE = 3.7 ÷ 4.0 °C for testing data). The increase in error value for tested data is marginal, which is indicative of the devised neural models’ maintained ability to generalize (the overlearning phenomenon does not occur). Therefore, it can be stated that the number of neurons in hidden layers was selected correctly and the learning data were sufficient.
From all tested networks, the best is the three-layer MLP type network with 10 neurons in the hidden layer. This network has 40 inputs and one output (prediction of internal temperature). As the networks input previous historical internal temperature, external temperature, sun radiation intensity, wind speed and the hour of making a forecast were used. Other developed models were only slightly worse (had slightly higher RMSE value).
The ANN with forecast horizon of 1 h most accurately describes the course of temperature inside of the tunnel. An increase in prediction time increases the differences between measured and calculated values of temperature. In the case of prediction time horizon equal to 1 h, maximum absolute differences in forecasted temperature are within the range of 0 to ca. 7 °C. RMSE values for tHP = 1 h amounted respectively to 2.5 °C (for testing data), 2.0 °C (for learning data) and 2.3 °C (for validating data). With an increase in tHP, the error in forecasted RMSE values also increased. For example, for testing data with tHP increasing from 1 to 4 h, RMSE values changed as follows: 2.5 °C → 3.4 °C → 4.1 °C → 4.6 °C. We ascertained that the ANN model allows for generating accurately enough temperature forecasts up to two hours in advance.
The neural model forecasting temperature changes inside the heated foil tunnel obtained as a result of conducted research enables the optimization of decisions regarding the control of heating system. Consequently, this allows for lowering the energy usage needed to ensure an optimal internal climate in a heated foil tunnel. The ANN model can be also a part of a more complex DSS designated for internal climate management. Such systems are currently a subject of interest of many researchers and the number of scientific papers describing varying uses of even more accurate DSSs increases from year to year.

Author Contributions

Conceptualization, methodology, software, validation, formal analysis, writing—original draft preparation, writing—review and editing, S.F.; Conceptualization, methodology, investigation, data curation, writing—original draft preparation, S.K. All authors have read and agreed to the published version of the manuscript.

Funding

Article Processing Charges were financed from the subsidy of the Ministry of Science and Higher Education for the Agricultural University of Hugo Kołłątaj in Krakow for the year 2020.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liakos, K.G.; Busato, P.; Moshou, D.; Pearson, S.; Bochtis, D.D. Machine Learning in Agriculture: A Review. Sensors 2018, 18, 2674. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Maher, A.; Kamel, E.; Enrico, F.; Atif, I.; Abdelkader, M. An intelligent system for the climate control and energy savings in agricultural greenhouses. Energy Effic. 2016, 9, 1241–1255. [Google Scholar] [CrossRef]
  3. Moon, T.; Hong, S.; Choi, H.Y.; Jung, D.H.; Chang, S.H.; Son, J.E. Interpolation of greenhouse environment data using multilayer perceptron. Comput. Electron. Agric. 2019, 166, 105023. [Google Scholar] [CrossRef]
  4. Mostafavi, S.A.; Rezaei, A. Energy consumption in greenhouses and selection of an optimized heating system with minimum energy consumption. Heat Transf. Asian Res. 2019, 48, 3257–3277. [Google Scholar] [CrossRef]
  5. Vlontzos, G.; Pardalos, P.M. Assess and prognosticate green house gas emissions from agricultural production of EU countries, by implementing, DEA Window analysis and artificial neural networks. Renew. Sustain. Energy Rev. 2017, 76, 155–162. [Google Scholar] [CrossRef]
  6. Iddio, E.; Wang, L.; Thomas, Y.; McMorrow, G.; Denzer, A. Energy efficient operation and modeling for greenhouses: A literature review. Renew. Sustain. Energy Rev. 2020, 117, 109480. [Google Scholar] [CrossRef]
  7. Choab, N.; Allouhi, A.; El Maakoul, A.; Kousksou, T.; Saadeddine, S.; Jamil, A. Review on greenhouse microclimate and application: Design parameters, thermal modeling and simulation, climate controlling technologies. Solar Energy 2019, 191, 109–137. [Google Scholar] [CrossRef]
  8. Borrelli, P.; Panagos, P.; Ballabio, C.; Lugato, E.; Weynants, M.; Montanarella, L. Towards a pan-European assessment of land susceptibility to wind erosion. Land Degrad. Dev. 2016, 27, 1093–1105. [Google Scholar] [CrossRef]
  9. Castañeda-Miranda, A.; Alemán-Ayala, K.; Castaño-Meneses, V.M. The Development of a new virtual croplands erosion measurement system using three-dimensional laser scanner and empirical Kostiakov-Lewis models. Opt. Laser Technol. 2019, 117, 316–332. [Google Scholar] [CrossRef]
  10. Colazo, J.C.; Buschiazzo, D. The Impact of Agriculture on Soil Texture Due to Wind Erosion. Land Degrad. Dev. 2015, 26, 62–70. [Google Scholar] [CrossRef]
  11. Galdino, S.; Sano, E.E.; Andrade, R.G.; Grego, C.R.; Nogueira, S.F.; Bragantini, C.; Flosi, A.H.G. Large-scale Modeling of Soil Erosion with RUSLE for Conservationist Planning of Degraded Cultivated Brazilian Pastures. Land Degrad. Dev. 2016, 27, 773–784. [Google Scholar] [CrossRef] [Green Version]
  12. Prosdocimi, M.; Cerdà, A.; Tarolli, P. Soil water erosion on Mediterranean vineyards: A review. Catena 2016, 141, 1–21. [Google Scholar] [CrossRef]
  13. Castañeda-Miranda, A.; Icaza-Herrera, M.D.; Castaño-Meneses, V.M. Meteorological temperature and humidity prediction from fourier-statistical analysis of hourly data. Adv. Meteorol. 2019, 2019. [Google Scholar] [CrossRef]
  14. Kaplani, E.; Kaplanis, S.; Mondal, S. A spatiotemporal universal model for the prediction of the global solar radiation based on Fourier series and the site altitude. Renew. Energy 2018, 126, 933–942. [Google Scholar] [CrossRef] [Green Version]
  15. Krzyszczak, J.; Baranowski, P.; Zubik, M.; Hoffmann, H. Temporal scale influence on multifractal properties of agro-meteorological time series. Agric. For. Meteorol. 2017, 239, 223–235. [Google Scholar] [CrossRef]
  16. Yang, Z.-C. Hourly ambient air humidity fluctuation evaluation and forecasting based on the least-squares Fourier-model. Meas. J. Int. Meas. Confed. 2019, 133, 112–123. [Google Scholar] [CrossRef]
  17. Gravalos, I.; Tsiropoulos, Z.; Xyradakis, P.; Moshou, D.; Kateris, D.L. A low-cost greenhouse monitoring system based on internet connectivity. Acta Hortic. 2012, 952, 937–944. [Google Scholar] [CrossRef]
  18. 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]
  19. Kolokotsa, D.; Saridakis, G.; Dalamagkidis, K.; Dolianitis, S.; Kaliakatsos, I. Development of an intelligent indoor environment and energy management system for greenhouses. Energy Convers. Manag. 2010, 51, 155–168. [Google Scholar] [CrossRef]
  20. Wang, H.; Li, L.; Wu, Y.; Meng, F.; Wang, H.; Sigrimis, N.A. Recurrent Neural Network Model for Prediction of Microclimate in Solar Greenhouse. IFAC Pap. 2018, 51, 790–795. [Google Scholar]
  21. Zheng, M.; Leib, B.; Wright, W.; Ayers, P. Neural models to predict temperature and natural ventilation in a high tunnel. Trans. ASABE 2019, 62, 761–769. [Google Scholar] [CrossRef]
  22. Rasheed, A.; Lee, J.W.; Lee, H.W. Development and optimization of a building energy simulation model to study the effect of greenhouse design parameters. Energies 2018, 11, 2001. [Google Scholar] [CrossRef] [Green Version]
  23. Reyes-Rosas, A.; Molina-Aiz, F.D.; Valera, D.L.; López, A.; Khamkure, S. Development of a single energy balance model for prediction of temperatures inside a naturally ventilated greenhouse with polypropylene soil mulch. Comput. Electron. Agric. 2017, 142, 9–28. [Google Scholar] [CrossRef]
  24. Wang, H.; Sanchez-Molina, J.A.; Li, M.; Díaz, F.R. Improving the performance of vegetable leaf wetness duration models in greenhouses using decision tree learning. Water 2019, 11, 158. [Google Scholar] [CrossRef] [Green Version]
  25. Soundiran, R.; Radhakrishnan, T.K.; Natarajan, S. Modeling of greenhouse agro-ecosystem using optimally designed bootstrapping artificial neural network. Neural Comput. Appl. 2019, 31, 7821–7836. [Google Scholar] [CrossRef]
  26. Shen, Y.; Wei, R.; Xu, L. Energy consumption prediction of a greenhouse and optimization of daily average temperature. Energies 2018, 11, 65. [Google Scholar] [CrossRef] [Green Version]
  27. Yu, H.; Chen, Y.; Hassan, S.G.; Li, D. Prediction of the temperature in a Chinese solar greenhouse based on LSSVM optimized by improved PSO. Comput. Electron. Agric. 2016, 122, 94–102. [Google Scholar] [CrossRef]
  28. Soares, E.; Costa, P.; Costa, B.; Leite, D. Ensemble of evolving data clouds and fuzzy models for weather time series prediction. Appl. Soft Comput. J. 2018, 64, 445–453. [Google Scholar] [CrossRef]
  29. Wang, J.; Li, Y. An innovative hybrid approach for multi-step ahead wind speed prediction. Appl. Soft Comput. J. 2019, 78, 296–309. [Google Scholar] [CrossRef]
  30. Colston, J.M.; Ahmed, T.; Mahopo, C.; Kang, G.; Kosek, M.; de Sousa Junior, F.; Shrestha, P.S.; Svensen, E.; Turab, A.; Zaitchik, B.; et al. Evaluating meteorological data from weather stations, and from satellites and global models for a multi-site epidemiological study. Environ. Res. 2018, 165, 91–109. [Google Scholar] [CrossRef]
  31. Li, N.; Wang, K.; Cheng, J. A research on a following day load simulation method based on weather forecast parameters. Energy Convers. Manag. 2015, 103, 691–704. [Google Scholar] [CrossRef]
  32. Xing, L.; Li, L.; Gong, J.; Ren, C.; Liu, J.; Chen, H. Daily soil temperatures predictions for various climates in United States using data-driven model. Energy 2018, 160, 430–440. [Google Scholar] [CrossRef]
  33. He, F.; Ma, C. Modeling greenhouse air humidity by means of artificial neural network and principal component analysis. Comput. Electron. Agric. 2010, 71, S19–S23. [Google Scholar] [CrossRef]
  34. Runge, J.; Zmeureanu, R. Forecasting Energy Use in Buildings Using Artificial Neural Networks: A Review. Energies 2019, 12, 3254. [Google Scholar] [CrossRef] [Green Version]
  35. Tamouridou, A.A.; Pantazi, E.X.; Alexandridis, T.; Lagopodi, A.; Kontouris, G.; Moshou, D. Spectral Identification of Disease in Weeds Using Multilayer Perceptron with Automatic Relevance Determination. Sensors 2018, 18, 2770. [Google Scholar] [CrossRef] [Green Version]
  36. Kasantikul, K.; Yang, D.; Wang, Q.; Lwin, A. A Novel Wind Speed Estimation Based on the Integration of an Artificial Neural Network and a Particle Filter Using BeiDou GEO Reflectometry. Sensors 2018, 18, 3350. [Google Scholar] [CrossRef] [Green Version]
  37. Sampaio, G.S.; de Aguiar Vallim Filho, A.R.; da Silva, L.S.; da Silva, L.A. Prediction of Motor Failure Time Using an Artificial Neural Network. Sensors 2019, 19, 4342. [Google Scholar]
  38. Liu, Y.; Zhang, S.; Chen, X.; Wang, J. Artificial Combined Model Based on Hybrid Nonlinear Neural Network Models and Statistics Linear Models—Research and Application for Wind Speed Forecasting. Sustainability 2018, 10, 4601. [Google Scholar] [CrossRef] [Green Version]
  39. Niedbała, G.; Nowakowski, K.; Rudowicz-Nawrocka, J.; Magdalena, P.; Tomczak, R.J.; Tyksiński, T.; Pinto, A.A. Multicriteria Prediction and Simulation of Winter Wheat Yield Using Extended Qualitative and Quantitative Data Based on Artificial Neural Networks. Appl. Sci. 2019, 9, 2773. [Google Scholar] [CrossRef] [Green Version]
  40. Wrobel, M.; Fraczek, J.; Francik, S.; Slipek, Z.; Mudryk, K. Modelling of unit contact surface of bean seeds using Artificial Neural Networks. In Proceedings of the 12th International Scientific Conference Engineering for Rural Development, Jelgava, Latvia, 23–24 May 2013; pp. 287–291. [Google Scholar]
  41. Mudryk, K.; Francik, S.; Fraczek, J.; Slipek, Z.; Wrobel, M. Model of actual contact area of rye and wheat grains with flat surface. In Proceedings of the 12th International Scientific Conference Engineering for Rural Development, Jelgava, Latvia, 23–24 May 2013; pp. 292–296. [Google Scholar]
  42. Francik, S.; Łapczyńska-Kordon, B.; Francik, R.; Wójcik, A. Modeling and Simulation of Biomass Drying Using Artificial Neural Networks. In Renewable Energy Sources: Engineering, Technology, Innovation; Mudryk, K., Werle, S., Eds.; Springer International Publishing AG: Cham, Switzerland, 2018; pp. 571–581. ISBN 9783319723716. [Google Scholar]
  43. Francik, S.; Ślipek, Z.; Frączek, J.; Knapczyk, A. Present Trends in Research on Application of Artificial Neural Networks in Agricultural Engineering. Agric. Eng. 2016, 20, 15–25. [Google Scholar] [CrossRef] [Green Version]
  44. Niedbała, G. Application of Artificial Neural Networks for Multi-Criteria Yield Prediction of Winter Rapeseed. Sustainability 2019, 11, 533. [Google Scholar] [CrossRef] [Green Version]
  45. Castañeda-Miranda, A.; Castaño, V.M. Smart frost control in greenhouses by neural networks models. Comput. Electron. Agric. 2017, 137, 102–114. [Google Scholar] [CrossRef]
  46. Almonti, D.; Baiocco, G.; Tagliaferri, V.; Ucciardello, N. Artificial Neural Network in Fibres Length Prediction for High Precision Control of Cellulose Refining. Materials 2019, 12, 3730. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  47. Tamouridou, A.A.; Alexandridis, T.K.; Pantazi, X.E.; Lagopodi, A.L.; Kashefi, J.; Kasampalis, D.; Kontouris, G.; Moshou, D. Application of Multilayer Perceptron with Automatic Relevance Determination on Weed Mapping Using. Sensors 2017, 17, 2307. [Google Scholar] [CrossRef] [PubMed]
  48. Bermejo, J.F.; Fernandez, J.F.G.; Polo, F.O.; Marquez, A.C. A Review of the Use of Artificial Neural Network Models for Energy and Reliability Prediction. A Study of the Solar PV, Hydraulic and Wind Energy Sources. Appl. Sci. 2019, 9, 1844. [Google Scholar] [CrossRef] [Green Version]
  49. Tina, G.M. Special Issue on Applications of Artificial Neural Networks for Energy Systems. Appl. Sci. 2019, 9, 3734. [Google Scholar] [CrossRef] [Green Version]
  50. Zhou, J.; Xu, X.; Huo, X.; Li, Y. Forecasting Models for Wind Power Using Extreme-Point Symmetric Mode Decomposition and Artificial Neural Networks. Sustainability 2019, 11, 650. [Google Scholar] [CrossRef] [Green Version]
  51. Byliński, H.; Sobecki, A.; Gębicki, J. The Use of Artificial Neural Networks and Decision Trees to Predict the Degree of Odor Nuisance of Post-Digestion Sludge in the Sewage Treatment Plant Process. Sustainability 2019, 11, 4407. [Google Scholar] [CrossRef] [Green Version]
  52. Twardowski, P.; Wiciak-Pikuła, M. Prediction of Tool Wear Using Artificial Neural Networks during Turning of Hardened Steel. Materials 2019, 12, 3091. [Google Scholar] [CrossRef] [Green Version]
  53. Lechowicz, Z.; Fukue, M.; Rabarijoely, S.; Sulewska, M.J. Evaluation of the Undrained Shear Strength of Organic Soils from a Dilatometer Test Using Artificial Neural Networks. Appl. Sci. 2018, 8, 1395. [Google Scholar] [CrossRef] [Green Version]
  54. Martinez-Martinez, V.; Baladron, C.; Gomez-Gil, J.; Ruiz-Ruiz, G.; Navas-Garcia, L.M.; Aguiar, J.M.; Carro, B. Temperature and Relative Humidity Estimation and Prediction in the Tobacco Drying Process Using Artificial Neural Networks. Sensors 2012, 12, 14004–14021. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  55. Rodrigues, E.; Gomes, Á.; Gaspar, A.R.; Henggeler Antunes, C. Estimation of renewable energy and built environment-related variables using neural networks—A review. Renew. Sustain. Energy Rev. 2018, 94, 959–988. [Google Scholar] [CrossRef] [Green Version]
  56. Reynolds, J.; Ahmad, M.W.; Rezgui, Y.; Hippolyte, J.L. Operational supply and demand optimisation of a multi-vector district energy system using artificial neural networks and a genetic algorithm. Appl. Energy 2019, 235, 699–713. [Google Scholar] [CrossRef]
  57. Seginer, I.; Boulard, T.; Bailey, B.J. Neural Network Models of the Greenhouse Climate. J. Agric. Eng. Res. 1994, 59, 203–216. [Google Scholar] [CrossRef]
  58. Kok, R.; Lacroix, R.; Clark, G.; Taillefer, E. Imitation of a procedural greenhouse model with an artificial neural network. Can. Agric. Eng. 1994, 36, 117–126. [Google Scholar]
  59. 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] [Green Version]
  60. Linker, R.; Seginer, I. Greenhouse temperature modeling: A comparison between sigmoid neural networks and hybrid models. Math. Comput. Simul. 2004, 65, 19–29. [Google Scholar] [CrossRef]
  61. Uchida Frausto, H.; Pieters, J.G. Modelling greenhouse temperature using system identification by means of neural networks. Neurocomputing 2004, 56, 423–428. [Google Scholar] [CrossRef] [Green Version]
  62. Dariouchy, A.; Aassif, E.; Lekouch, K.; Bouirden, L.; Maze, G. Prediction of the intern parameters tomato greenhouse in a semi-arid area using a time-series model of artificial neural networks. Meas. J. Int. Meas. Confed. 2009, 42, 456–463. [Google Scholar] [CrossRef]
  63. Trejo-Perea, M.; Herrera-Ruiz, G.; Rios-Moreno, J.; Miranda, R.C.; Rivas-Araiza, E. Greenhouse energy consumption prediction using neural networks models. Int. J. Agric. Biol. 2009, 11, 1–6. [Google Scholar]
  64. Outanoute, M.; Lachhab, A.; Selmani, A.; Oubehar, H.; Guerbaoui, M. Neural network based models for estimating the temperature and humidity under greenhouse. Int. J. Multi Discip. Sci. 2016, 3, 26–33. [Google Scholar]
  65. Bejan, A. Convection Heat Transfer, 4th ed.; John Wiley & Sons Inc.: Hoboken, NJ, USA, 2013; ISBN 9780470900376. [Google Scholar]
  66. Ahamed, M.S.; Guo, H.; Tanino, K. Energy-efficient design of greenhouse for Canadian Prairies using a heating simulation model. Int. J. Energy Res. 2018, 42, 2263–2272. [Google Scholar] [CrossRef]
Figure 1. Scheme of the research stand.
Figure 1. Scheme of the research stand.
Sensors 20 00652 g001
Figure 2. Values of RMSE for learning, validation and testing data sets.
Figure 2. Values of RMSE for learning, validation and testing data sets.
Sensors 20 00652 g002
Figure 3. Structure of the ANN model.
Figure 3. Structure of the ANN model.
Sensors 20 00652 g003
Figure 4. Forecasted and measured values of internal temperatures for selected days of April (test data) for various forecast time horizons: (a) 3th April; (b) 8th April; (c) 19th April.
Figure 4. Forecasted and measured values of internal temperatures for selected days of April (test data) for various forecast time horizons: (a) 3th April; (b) 8th April; (c) 19th April.
Sensors 20 00652 g004
Figure 5. Forecasted and measured values of internal temperatures for selected days of October (test data) for various forecast time horizons: (a) 3rd October; (b) 14th October; (c) 29th October.
Figure 5. Forecasted and measured values of internal temperatures for selected days of October (test data) for various forecast time horizons: (a) 3rd October; (b) 14th October; (c) 29th October.
Sensors 20 00652 g005
Table 1. Characteristics of neural models.
Table 1. Characteristics of neural models.
ANN ModelType of NetworkNumber of InputsNumber of Neutrons in Hidden Layers
ann01MLP 32-8-1328
ann02MLP 40-10-14010
ann03MLP 15-8-1158
ann04MLP 31-10-13110
ann05MLP 26-7-1267
ann06MLP 18-9-1189
ann07MLP 16-8-1168
ann08MLP 13-6-1136
ann09MLP 8-8-188
ann10MLP 22-6-1226
Table 2. RMSE values for different forecast time horizons.
Table 2. RMSE values for different forecast time horizons.
Data SetANN ModeltHP = 1htHP = 2htHP = 3htHP = 4h
Learningann012.102.542.933.41
ann022.012.542.813.38
ann032.632.953.384.01
ann042.152.482.743.23
ann052.372.793.224.01
ann062.753.013.364.10
ann072.192.683.003.59
ann082.342.913.343.80
ann092.212.933.404.16
ann102.162.673.023.39
Validationann012.36 2.87 3.17 3.63
ann022.28 2.97 3.30 3.49
ann032.47 2.83 3.13 3.60
ann042.37 2.78 3.17 3.66
ann052.40 2.78 3.10 3.63
ann062.50 2.83 3.08 3.53
ann072.49 2.90 3.12 3.39
ann082.45 2.74 3.15 3.50
ann092.19 2.81 3.13 3.51
ann102.36 2.68 3.08 3.50
Testingann012.57 3.41 4.12 4.65
ann022.53 3.39 4.07 4.59
ann032.80 3.38 3.94 4.48
ann042.53 3.35 4.22 5.01
ann052.61 3.34 4.10 4.82
ann062.96 3.61 4.28 4.96
ann072.83 3.42 4.09 4.70
ann082.90 3.37 4.15 4.95
ann092.52 3.40 4.11 4.81
ann102.81 3.29 4.07 4.87
RMSE: root mean-square error; tHP: time horizon of prediction.

Share and Cite

MDPI and ACS Style

Francik, S.; Kurpaska, S. The Use of Artificial Neural Networks for Forecasting of Air Temperature inside a Heated Foil Tunnel. Sensors 2020, 20, 652. https://doi.org/10.3390/s20030652

AMA Style

Francik S, Kurpaska S. The Use of Artificial Neural Networks for Forecasting of Air Temperature inside a Heated Foil Tunnel. Sensors. 2020; 20(3):652. https://doi.org/10.3390/s20030652

Chicago/Turabian Style

Francik, Sławomir, and Sławomir Kurpaska. 2020. "The Use of Artificial Neural Networks for Forecasting of Air Temperature inside a Heated Foil Tunnel" Sensors 20, no. 3: 652. https://doi.org/10.3390/s20030652

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