Skip to Content
AgriEngineeringAgriEngineering
  • Article
  • Open Access

25 January 2024

17 Pages

Modelling the Temperature Inside a Greenhouse Tunnel

,
,
,
and
1
Electrical and Electronic Engineering, Stellenbosch University, Stellenbosch 7600, South Africa
2
Department of Agronomy, Stellenbosch University, Stellenbosch 7600, South Africa
3
Faculty of AgriSciences, Stellenbosch University, Stellenbosch 7600, South Africa
4
Industrial Engineering, Stellenbosch University, Stellenbosch 7600, South Africa

Abstract

Climate-change-induced unpredictable weather patterns are adversely affecting global agricultural productivity, posing a significant threat to sustainability and food security, particularly in developing regions. Wealthier nations can invest substantially in measures to mitigate climate change’s impact on food production, but economically disadvantaged countries face challenges due to limited resources and heightened susceptibility to climate change. To enhance climate resilience in agriculture, technological solutions such as the Internet of Things (IoT) are being explored. This paper introduces a digital twin as a technological solution for monitoring and controlling temperatures in a greenhouse tunnel situated in Stellenbosch, South Africa. The study incorporates an aeroponics trial within the tunnel, analysing temperature variations caused by the fan and wet wall temperature regulatory systems. The research develops an analytical model and employs a support vector regression algorithm as an empirical model, successfully achieving accurate predictions. The analytical model demonstrated a root mean square error (RMSE) of 2.93 °C and an R 2 value of 0.8, while the empirical model outperformed it with an RMSE of 1.76 °C and an R 2 value of 0.9 for a one-hour-ahead simulation. Potential applications and future work using these modelling techniques are then discussed.

1. Introduction

Thermal modelling in greenhouse tunnels is paramount for optimising agricultural productivity. These models—the focus of this paper—simulate temperature variations, helping farmers make informed decisions about ventilation, heating, and crop management. By accurately predicting temperature fluctuations, growers can mitigate risks associated with extreme weather, ensuring optimal conditions for plant growth.
Climate change significantly hampers global agricultural productivity, characterised by erratic rainfall patterns, extreme temperatures, and prolonged droughts, posing a substantial risk to global food security [1,2,3,4,5,6]. This challenge is particularly pronounced in under-resourced countries where governments and private agencies face increasing difficulties coping with climate-induced food insecurity. Africa, heavily reliant on rainfall for irrigation, is projected to be the most adversely affected continent [7,8,9,10]. Farmers often depend on short-term weather patterns and forecasts, exacerbating the vulnerability of the agricultural sector to the impacts of climate change [11,12].
Recognising the imperative for transformative measures, the agricultural sector must shift from conventional practices to technology-based solutions to meet the growing global population’s food demand [13]. The adoption of innovative technologies can enhance food production sustainably, addressing challenges such as hunger and malnutrition [14,15]. Countries like Japan and Abu Dhabi have successfully implemented climate-smart farming practices, with Abu Dhabi’s agricultural sector contributing significantly to the country’s GDP [16,17].
Despite the potential benefits, the adoption of climate-smart farming practices in African countries lags behind the severity of climate change impacts. The incorporation of these technologies could not only mitigate the adverse effects on agriculture but also uplift the socioeconomic status of those dependent on farming for survival. Given the agricultural sector’s prominent role in African countries’ GDP, embracing climate-smart technologies becomes crucial for fostering resilience and sustainable growth.
This paper emphasises the urgency of adopting climate-smart farming practices, drawing attention to successful implementations in other regions. It highlights the economic benefits witnessed in Abu Dhabi, showcasing the potential positive impact on GDP. The slow adoption in African countries is underscored, urging expedited integration to effectively address the challenges posed by climate change on agricultural systems and the broader economy.
One such climate-smart farming method is precision agriculture (PA). It introduces a dynamic relationship between sensor data and agriculture. Through feedback control systems, data can aid the growing of certain crops under specific conditions. These conditions can be controlled by researchers through the use of actuators and different types of sensors. The Internet of Things (IoT) has revolutionised precision agriculture by connecting sensors to the internet for remote access and dataset creation [18].
This paper presents a piece in the PA puzzle—an empirical (data-based) and analytical (physics-based) thermal model is presented that accurately models the ambient temperature inside a greenhouse tunnel.

3. Thermal Model Development

3.1. Tunnel Parameters and Data Acquisition

This study was situated in a closed tunnel at the Welgevallen Experimental Farm, part of Stellenbosch University in South Africa. Data were collected from 18 November to 30 December 2022, spanning a period of 42 days. The tunnel has a dome-shaped structure with dimensions of 28 m in length, 9 m in width, and 3 m in height. Three sensors were strategically placed at twelve-meter intervals, starting from the tunnel entrance and extending to the wet wall. The extraction fan makes up one-third of the wall space adjacent to the tunnel entrance. Figure 1a,b depict the tunnel during an experimental trial and illustrate its layout, respectively.
Figure 1. The tunnel is arranged as shown in these figures, with the placement of each temperature and humidity sensor shown in relation to the climate control (comprising a fan and wet wall). (a) The tunnel is approximately 28 m in length and has a wet wall on the one end, and an extraction fan on opposite ends, with no other openings. (b) Tunnel layout with sensor positions [39].
The tunnel layout, as depicted in Figure 1b, consists of a fan facing east and a wet wall facing west. The fan side of the tunnel, therefore, receives the majority of the sunlight in the morning and afternoon, while the wet wall side receives its sunlight mainly in the afternoon. The aeroponics system is on the fan side of the tunnel closest to the front temperature and humidity sensor as seen in Figure 1b. The ground is covered in a PVC covering to prevent water drainage affecting the trestle tables on which the aeroponics system stands. The setup is tailored to collect data from sensors in three segments of the 28 m tunnel (Figure 1a). Temperature and humidity were measured with DHT22 sensors. They have a temperature range of − 40 to 80 °C and humidity range of 0 to 100%, and accuracies of ±0.5 °C for temperature and 5% for humidity. We used a Raspberry Pi Model 3B to aggregate sensor data, provide internet connectivity, save a local CSV file on the device, interface with the actuator control mechanisms, and support potential expansions.
Each sensor recorded humidity and temperature readings every minute for a five-minute duration. Thereafter, averages were calculated and stored in the local CSV file. In addition to temperature and humidity data, the timestamps and a binary value (0 or 1) were stored, indicating whether the fan and wet wall were active. At the end of each day, the CSV file was uploaded to the cloud for off-site access.
The temperature in the tunnel was regulated by concurrent control of the extraction fan and wet wall. The middle sensor (Figure 1b), which is approximately 12 m from the fan and 16 m from the wet wall, was used to affect the control. To reduce the potential for spurious readings resulting in erroneous control, the controlling temperature sensor was read 10 times per min, and the median value used to control the fan and wet wall. We empirically determined a hysteresis band for temperature control: below 22 °C, the climate control turned off, and above 30 °C, it turned on. A Solid State Relay (SSR) was used to control the fan and wet wall pump through contactors connected to these actuators. We only used the middle sensor’s temperature readings to develop the analytical and empirical model studied in this paper. Although this reduces the spatial resolution of the data by focusing on a single area of the tunnel, we identified in preliminary results that the biasing from the sides of the tunnel, the fan, and the wet wall produced skewed results. These models therefore focus on giving agricultural researchers and farmers the ability to characterise their greenhouse tunnel in a general sense as to aid decision making as to which crops can and cannot be grown.

3.2. Analytical Thermal Model Development

A physics-based, analytical model is developed with the aim of predicting the internal temperature in the greenhouse tunnel. Kittas et al. [40,41] developed heat transfer equations for evaporative cooling systems similar to that of the greenhouse tunnel studied in this paper. Evaporative cooling is caused by water flowing over cooling pads of a certain material; thereafter, an extraction fan pulls water vapour from these pads into the greenhouse, which causes evaporation, leaving cooler temperatures throughout the tunnel. Kittas et al. [40,41] argue that the internal temperature is affected mainly by six factors: the heat loss coefficient of the tunnel cover, shading inside the tunnel, ventilation rate, water evaporation from the wet wall, plant transpiration, and soil evaporation. However, the last factor is largely neglected in this model. Instead of a time-based model, they developed a model that is dependent on the airflow path in the tunnel, which is longitudinally from the wet wall. The data captured in this present study form a time series, meaning this model can then determine the temperature in the current instant without temporal dependencies assuming a steady state is reached. Furthermore, the data are recorded in five-minute intervals, leading to a reasonable assumption that sudden changes in temperature would reach a steady state in that time interval. Using time series data in this way has the added benefit of using forecasted data (namely for solar radiation and ambient temperature) to describe the internal temperatures of the tunnel. The heat balance equation from Kittas et al. [40,41] is stated as:
V ρ C p d T i n = [ τ ( 1 − α ) R g − β e s , i n ] d x − K c P [ T i n ( x ) − T o ] d x
Equation (5) is corrected for the erroneous exclusion of ρ , the air density ( kg m 3 ), which is written as a subscript of the variable V, the ventilation rate ( m 3 s ), in Kittas et al. [41]. A list of variables, their units, and their assumed values are described in Table 1.
Table 1. List of all variables and constants used in the development of the analytical thermal model.
Through numerous simplifications and assumptions, including the assumption that solar radiation has the largest effect on the internal temperature as compared to the evapotranspiration process in the plants and soil, the final model equation becomes:
T i n ( x ) = T o + [ − η ( T o − T o , w ) − A 1 ] e ( − A 2 x ) + A 1
where:
A 1 = [ τ ( 1 − α ) R g ] L K c P
and:
A 2 = K c P V ρ C p
A1 and A2 were erroneous in Kittas et al. [41] compared to their original derivation in Kittas et al. [40] and were corrected for their mistake in Equations (7) and (8).
In Kittas et al. [40,41], the parameters chosen for their model were optimised to best fit their measured data and their greenhouse. However, their greenhouse had a different orientation and size and could not be used for the parameters in this model. Therefore, the results from the parameter optimisation for the model in this paper were relatively close to those seen in Kittas et al. The transmissivity of the greenhouse cover, τ , was expected to be higher as the greenhouse’s internal temperatures were heavily influenced by solar radiation. A large portion of the solar radiation, however, is potentially absorbed by the greenhouse cover, or is reflected back into the surrounding space. α , the plant transpiration coefficient, was much higher than that in [41], which may be due to the black containers in the aeroponics system and various control crops used in the trial inside the tunnel. For V, the ventilation rate, the optimisation found 2 m3/s to be the best choice for the model, which is close to the 2.4 m3 s based on the fan’s advertised ventilation rate [42]. The heat loss coefficient, K c , was 3 W/m23 °C, whereas the value used in [41] was 4.2 W/m2 °C. This is expected as a different covering to that in Kittas et al. was used [41]. Finally, η , the cooling efficiency of the wet wall, was unexpectedly 0.3 compared to the 0.8 that Kittas et al. used. This inefficiency may be due to the age of the wet wall that led to a lower cooling efficiency.
Due to the model being dependent on the fan state, a simulation was run using the analytical model’s energy balance equation and model parameters to predict the fan state. This is due to the ventilation rate of the tunnel reducing to 0 m3/s when the fan is off, which directly affects the model. The simulation process is as follows:
  • Take the current time step’s outside temperature and solar radiation, with the first recorded instance of the fan state to predict the inside temperature.
  • Use this prediction with the previous fan state to simulate the fan being on or off.
  • Predict the next inside temperature.
  • Store the simulated fan state and predicted temperature in an array to be exported at a later stage.

3.3. Empirical Data-Driven Model Development (Support Vector Regression)

A data-driven model was developed using the measured data. The measured data were augmented with irradiation (W/m2) and ambient temperature, both sampled hourly, from MeteoBlue© [43] for the town. To account for the fact that the measured data were in five minute intervals, and those of MeteoBlue© were hourly, the hourly data were linearly interpolated into five minute intervals for better training with the other input features that were also in five minute intervals.
Finally, since the two sensors at the entrance and rear of the tunnel are influenced by their proximity to the fan or the wet wall, the model to predict the ambient temperature inside the tunnel was developed using only the middle sensor. This sensor is also adequate for model development as the majority of the crops are in the area of this sensor.
The regression model served dual purposes: first, it was employed to generate predictions for the next five minutes, and second, the anticipated temperature was used as an input for the model to simulate conditions within the tunnel. An SVR was developed to predict internal temperatures and the fan and wet wall state. The input features for these models were previous inside temperature ( T [ n − 1 ] ), previous outside temperature ( T [ n − 1 ] ), solar radiation (W/m2), and climate control (fan and wet wall) status (on or off). The dataset used an 80:20 split to train and test the model, with model parameters being optimised using the training set only. The results, as shown in the results section below, are only the test set results of both the analytical and empirical model. We published the data, including the models’ outputs in Hull et al. [44].
Support Vector Regression (SVR) is an efficient choice for regression owing to its swift computation and the assumption that data are non-linear. The algorithm establishes a hyperplane, separating input data into two groups by projecting them into a higher-dimensional space. An ϵ -sensitive tube outlines an acceptable error band around predicted values. Additionally, the regularisation parameter C balances maximising this error margin and minimising errors within it. Equation (9) outlines SVR’s general form, resembling linear regression with x as the input vector, w as the weighting vector, and b as the bias or error term.
f ( x ) = w T x + b
The prediction error, ϵ , is calculated by:
ϵ i = y i − f ( x i )
where y i represents the actual output of the ith training output. Importantly, SVR is a dual optimization problem where there is a minimisation function and a maximisation function.
m i n i m i z e 1 2 ‖ w ‖ 2 + C ∑ i = 1 N ( ξ i + ξ i * )
subject to:
ϵ i − ξ i ≤ y i − f ( x i ) ≤ ϵ i + ξ i w h e r e ξ i , ξ i * ≥ 0
Equation (12) shows that the error is bounded by ϵ and the slack variables ξ and ξ * . Accounting for the dual optimisation problem, the maximisation function is then:
m a x i m i s e ∑ i = 1 N α i − 1 2 ∑ i , j = 1 N α i α j y i y j K ( x i , x j )
subject to:
0 ≤ α i , α j * ≤ C
∑ i = 1 N ( α i − α i * ) = 0
In Equation (13), α i and α i * represent the Lagrange multipliers, and K ( x i , x j ) represents the kernel function used to project input data to a higher-dimensional space. From this, to solve the dual optimisation problem:
w = ∑ i = 1 N ( α i − α i * ) y i x i
b = 1 N ∑ i = 1 N ( y i − ϵ i − ξ i )
Therefore, substituting w and b into Equation (9):
f ( x ) = ∑ i = 1 N ( α i − α i * ) K ( x i , x ) + 1 N ∑ 1 N ( y i − ϵ i − ξ i )
In this paper, a Gaussian kernel function (radial basis function) was used:
K ( x i , x ) = e − γ | x − x i | 2
Four parameters can be manipulated to improve the solution given by Equations (18) and (19): the regularisation term (C), the kernel function (K), gamma ( γ ), and the error margin ( ϵ ). C affects which extent errors are rewarded/punished: a smaller C is more forgiving. If the the kernel function is changed, it affects the data’s projection to higher-dimensional spaces (e.g., whether it uses a quadratic or linear transformation). Changing γ affects the decision boundary’s shape. Changing ϵ affects the error margin.
SVR is highly sensitive to the model’s parameters, and it is therefore important to optimise these parameters. A Grid Search Cross-Validation (GSCV) algorithm was used to optimise the kernel function, C, γ , and ϵ by using the simulation algorithm on a day in the test set and choosing the best parameter value based on the R 2 value. The values determined as optimal for the model were: the radial basis function for the kernel, 7.63157894736842 for C, 1.3526315789473684 for γ , and 0.02894736842105263 for ϵ . The simulation process entails:
  • Forecasting the subsequent 5 min internal temperature using the present time step’s input vector.
  • Forecasting the subsequent 5 min internal temperature, incorporating it into the input vector for forecasting the subsequent time step’s internal temperature.
  • Accumulating predictions in an error vector for each 5 min span over 12 predictions (1 h duration).
  • Packing each prediction in an vector that contains the errors and depicting the 12th prediction.
  • Progressing one time step of 5 min, and then repeating the process until the test set concludes.

4. Results

4.1. Analytical Model

Firstly, the results from the parameter optimisation were relatively close to what was expected. For V, the ventilation rate, the optimisation found 2 m3/s to be the best choice for the model, which is close to the 2.4 m3/s based on the fan’s advertised ventilation rate [42]. The heat loss coefficient (or thermal conductivity), K c , was 3 W/m2 °C, whereas the value used in Kittas et al. [41] was 4.2 W/m2 °C. A slight difference was expected, however, as the type of covering used was different in both cases. The transmissivity of the greenhouse cover, τ , was expected to be higher as the greenhouse’s internal temperatures are heavily influenced by solar radiation.
However, it seems that a large portion of the solar radiation energy is absorbed by the greenhouse cover or is reflected back into the surrounding air. The plant transpiration coefficient, α , was much higher than Kittas et al. [41]. As we mentioned earlier, this may be due to the black aeroponics containers and the crops used in the trial inside the tunnel. Finally, η , the cooling efficiency of the wet wall, was unexpectedly 0.3 compared to the 0.8 that Kittas et al. [41] used. Again, this inefficiency may be due to the age of the wet wall.
The resultant analytical model in Figure 2 performs well but has significant errors in certain edge cases.
Figure 2. Analytical model (in red) compared to the actual temperature (in blue). Replicated with permission from [45].
For the analytical model, the outside temperature and solar radiation significantly affect the model’s predictions, which can be seen where the predicted inside temperature is the same as the outside temperature at 13 °C. Further, on the second day in the test set, a large error of 10 °C occurs. This can be attributed to the model’s reliance on outside temperature and solar radiation, which is lower than expected for this day. As this weather station is not located at the farm, the conditions it experienced were vastly different to the tunnel, which is evident as the inside temperature reached 36 °C.
The predictive capabilities of the model are clear in Figure 3. The model’s simulated inside temperatures (on the y-axis) compared to the actual inside temperature (on the x-axis) is a way to confirm the model is predicting actual values rather than predicting random ones. A generally linear relationship is present, proving the predictions are not random. However, large variations are seen at high temperatures above about 24 °C. This is when the fan is predicted to turn on, which heavily influences the predictive accuracy of the model.
Figure 3. The trend (dotted black line) shows a linear relationship between the actual temperatures and the analytical model’s temperatures (orange dots); however, this relationship has an R2 value of 0.8, which is clear with the larger variances in simulated temperatures, compared to the actual observed temperatures. Replicated with permission from [45].

4.2. SVR Predictive Model

Figure 4 displays a one-hour-ahead simulation, demonstrating the method’s accuracy in predicting tunnel temperatures, despite occasional larger errors caused by abrupt temperature changes. The model effectively captures temperature variations, especially during rapid changes like shifts in cloud cover. Additionally, the model accurately simulates the fan and wet wall states based on predicted temperatures, showcasing its ability to account for these factors’ impact on internal temperatures.
Figure 4. Data-driven model. The model closely follows the measured temperatures. However, the simulated fan does not always turn on at lower temperatures.
Figure 5 substantiates the model’s credibility by illustrating a generally linear relationship between simulated and actual temperatures, dispelling concerns of random noise predictions. Despite a margin of error at higher temperatures, particularly during midday when cloud cover affects solar radiation, the model maintains overall accuracy.
Figure 5. Relationship between the simulated measured and predicted temperatures. The trend (dotted black line) shows a linear relationship between the actual temperatures and the model’s temperatures (orange dots) An R2 value of 0.9 was achieved with the SVR model and the correlation is clear between the observed and simulated data.
Comparing Figure 3 and Figure 5 highlights the superior performance of the Support Vector Regression (SVR) model over the analytical model in terms of prediction accuracy. This outcome aligns with expectations, as the SVR model excels at capturing underlying patterns, overcoming limitations imposed by assumptions in the analytical model for computational ease.
Figure 6 shows the distribution of prediction errors in five minute increments. The results indicate significant errors, approaching approximately 12 °C for one-hour-ahead predictions. However, even for this forecast horizon, the median error is still 1.3 °C. When predicting for 15 min ahead, the error is 0.66 °C. This is smaller than the RMSE reported in Table 2. In total, the incremental predictions integrate over the multiple estimations, thereby increasing the error for predictions further ahead.
Figure 6. The prediction errors for incremental prediction horizons, illustrating the increasing simulation errors.
Table 2. Models’ performance.

4.3. Model Performance

Table 2 quantifies the accuracies of the simulation process. The simulation becomes increasingly less accurate in its predictions from 5 min ahead to 1 h ahead. Regardless, the RMSEs for both 30 min and 1 h ahead are less than 1 °C more than the five-minute-ahead prediction. R 2 reduces from 0.98 to 0.9 for the three predictions. The model’s MAE accuracy is therefore slightly more than 1 °C for the case of predicting one hour ahead. Further, it is clear in Figure 5 that there is a wide variance in error for some predictions. This variation is largest at temperatures between when the fan and wet wall turn on or off. Because of the fan and wet wall’s effect on the internal temperatures of the greenhouse, the model is more likely to overpredict what the temperature is likely to be while simulating as it expects the temperature to continue to rise, but it is reduced by the fan and wet wall. This is clear at lower temperatures where the variation in the predicted temperatures is much lower than that at higher temperatures.
Compared to the empirical model, the analytical model is far less accurate in predicting the internal conditions of the tunnel. This may be due to the absence of the model accounting for time dependencies in the inside temperature, which leads to larger errors. Further, because this model is more dependent on solar radiation and the outside temperature, it leads to larger errors as seen in the RMSE value of 2.93 °C. In applications in different locations, the model does not need to be compensated to a large extent. Instead, the model requires hourly data to be interpolated into five minute intervals, or to use five minute intervals for the outside temperature data. Finally, it is less accurate when describing the data as seen by the R 2 value of 0.8. Despite the reduction in accuracy, this model does not require previous inside temperatures to predict the internal temperatures of the tunnel and can use forecasted data for the outside temperature and solar radiation. Further, it is possible to create a binary classifier based on the outside temperature and solar radiation to predict the fan/wet wall state. This means the analytical model can act independently from temporal data, which allows flexibility for a farmer to apply the outside temperature and solar radiation at any time of the day to see the internal temperatures of their greenhouse tunnel.

5. Discussion: Applications and Future Work

Based on the models developed in this study, real-time modelling of the temperature inside of the greenhouse tunnel is possible at an acceptable accuracy. By forecasting internal temperatures of the day using available weather services and measured data, predictive forecasting using the empirical model can occur to provide accurate feedback on the temperature of the greenhouse. Further, the analytical model can be used for an overall temperature profile of the greenhouse temperature for the entire day. Although the analytical model is not as accurate, it can give an insight for agriculturalists to plan and prepare for temperature variations within the tunnel, and use the model to plan what crops to grow. Using this forecasting method allows for improved preparedness in addressing the temperature variability associated with climate change and its impact on agriculture. This can aid in choosing the right plants and growing orientations for precision agriculture. The spatial resolution can be improved with an increased number of sensors dispersed throughout a tunnel to characterise the temperature biases that exist in a greenhouse tunnel. Moreover, it is crucial to explore the evident aspect of the relationship between plant life in the greenhouse and the climatic environment. To achieve this, a comprehensive study should be undertaken to investigate the impact of altering temperature ranges through fan and wet wall control on crop physiology. Future applications and developments of these models can include the introduction of neural networks and other computationally heavy models to edge devices within the greenhouse for improved real-time forecasting and prediction. Using such models can lead to advanced digital twins that can improve productivity and, potentially, even yield if used for decision making. Further, as discussed before, Fu and Zhou [28] used agricultural modelling to simulate energy consumption in a greenhouse. Although our work focused on the thermal modelling, we believe our models can be combined to develop a full digital twin solution that can provide different energy transfers in to and out of a greenhouse. For South African farmers, this could lead to fully self-sufficient greenhouses that only use renewable energy for agricultural production, promoting improved climate change resilience. Other work can focus on the economic viability of this solution and how it can affect self-sufficient farmers.

6. Conclusions

The objective of this study was to develop a smart digital twin solution to assist farmers in decision-making. The focus was on understanding thermodynamics and delivering predictive solutions to benefit farmers. This body of work can be adapted to provide similar digital twin solutions to Zhang et al. [27], excluding the electrical energy modelling.
The work conducted in this study represents a first step in thermal modelling of a greenhouse tunnel in the Stellenbosch area of South Africa. The tunnel, with its specific orientation, has been modelled in an empirical and analytical model that is capable of predicting the interior temperatures accurately.
Compared to Jogunola et al. [38], the RMSE for the SVR simulation process is significantly higher (1.76 °C vs. 0.025 °C). Due to the nature of the CNN and LSTM learning process, these models are able to learn sequences of time-dependent events better than the almost linear SVR process. This leads to better predictive capabilities and much more accurate modelling. However, the resolution of the data in Jogunola et al. [38] was hourly using either all or only one input feature. The disparity in RMSE is then justified as a higher resolution can introduce more errors into the model, especially when a prediction is fed back into the model to predict the following time. Further, the major trade-off in this accuracy is computation time for the neural network models compared to the simplistic nature of the SVR. For the analytical model, its RMSE is also significantly higher than that seen in Jogunola et al. [38], but this too is a much simpler and quicker modelling technique that requires a one-off parameter optimization for the different environmental variables.
When focusing on the analytical model, it is clear that it is accurate when compared to other literature, in particular, Nauta et al. [34] in which they achieved an RMSE of 4.25 °C. In Tong et al. [36], the authors used far more sensors and more cumbersome thermodynamic and heat transfer equations to produce an error of 1.0 °C at night and 1.5 °C during the day. Therefore, it is clear that although the models are not as accurate as the models developed in the literature, they have a low computational cost and simpler implementation of modelling techniques that can lead to similar results and a higher resolution of predictions that can aid in decision making in near real time. Having the capability to forecast tunnel temperatures one hour in advance allows farmers to enhance their readiness for unforeseen temperature changes. This, in turn, enables farmers to make more informed decisions regarding crop management within greenhouse tunnels. Additionally, this advancement contributes to an enhanced comprehension of thermodynamics within South African greenhouse tunnels, paving the way for improved physics-based modelling of African greenhouses in the times to come.

Author Contributions

Conceptualization: M.J.B., K.H., M.M., E.E.P. and P.D.v.S.; Methodology: K.H. and M.M.; Software: K.H. and P.D.v.S.; Validation: K.H., P.D.v.S. and M.J.B.; Formal Analysis: M.J.B., K.H., M.M., E.E.P. and P.D.v.S.; Investigation: K.H.; Resources: M.M., E.E.P. and M.J.B.; Data Curation: K.H.; Writing—Original Draft Preparation: M.J.B., K.H., M.M., E.E.P. and P.D.v.S.; Writing—Review and Editing: K.H., M.J.B. and P.D.v.S.; Visualization: K.H.; Supervision: M.J.B. and E.E.P.; Project Administration: M.J.B., M.M. and E.E.P.; Funding Acquisition: M.J.B. and E.E.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by MTN South Africa and the National Research Foundation (NRF) of South Africa through Grant SRUG220328968.

Data Availability Statement

Data collected and used in this study can be found in Hull et al. [44].

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mohamed, M.A.; El Afandi, G.S.; El-Mahdy, M.E.S. Impact of climate change on rainfall variability in the Blue Nile basin. Alex. Eng. J. 2022, 61, 3265–3275. [Google Scholar] [CrossRef] [Scilit]
  2. Yang, H.; He, J.; Su, Y.; Xu, J. Adaptation to climate change: Ethnic groups in Southwest China. Environ. Hazards 2022, 21, 117–136. [Google Scholar] [CrossRef] [Scilit]
  3. Eftekhari, M.S. Impacts of Climate Change on Agriculture and Horticulture. In Climate Change; Springer: Berlin/Heidelberg, Germany, 2022; pp. 117–131. [Google Scholar]
  4. Wang, X.B.; Azarbad, H.; Leclerc, L.; Dozois, J.; Mukula, E.; Yergeau, É. A Drying-Rewetting Cycle Imposes More Important Shifts on Soil Microbial Communities than Does Reduced Precipitation. Msystems 2022, 7, e00247-22. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Bopche, U.; Kingra, P.K.; Setia, R.; Singh, S.P. Spatio-temporal analysis of meteorological drought in Punjab under past, present and future climate change scenarios. Arab. J. Geosci. 2022, 15, 756. [Google Scholar] [CrossRef] [Scilit]
  6. Ahmad, M.M.; Yaseen, M.; Saqib, S.E. Climate change impacts of drought on the livelihood of dryland smallholders: Implications of adaptation challenges. Int. J. Disaster Risk Reduct. 2022, 80, 103210. [Google Scholar] [CrossRef] [Scilit]
  7. Fujimori, S.; Wu, W.; Doelman, J.; Frank, S.; Hristov, J.; Kyle, P.; Sands, R.; Van Zeist, W.J.; Havlik, P.; Domínguez, I.P.; et al. Land-based climate change mitigation measures can affect agricultural markets and food security. Nat. Food 2022, 3, 110–121. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Munaweera, T.; Jayawardana, N.; Rajaratnam, R.; Dissanayake, N. Modern plant biotechnology as a strategy in addressing climate change and attaining food security. Agric. Food Secur. 2022, 11, 26. [Google Scholar] [CrossRef] [Scilit]
  9. Wang, H.; Xu, C.; Liu, Y.; Jeppesen, E.; Svenning, J.C.; Wu, J.; Zhang, W.; Zhou, T.; Wang, P.; Nangombe, S.; et al. From unusual suspect to serial killer: Cyanotoxins boosted by climate change may jeopardize megafauna. Innovation 2021, 2, 100092. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Ruggerio, C.A. Sustainability and sustainable development: A review of principles and definitions. Sci. Total Environ. 2021, 786, 147481. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Abbass, K.; Qasim, M.Z.; Song, H.; Murshed, M.; Mahmood, H.; Younis, I. A review of the global climate change impacts, adaptation, and sustainable mitigation measures. Environ. Sci. Pollut. Res. 2022, 29, 42539–42559. [Google Scholar] [CrossRef] [Scilit]
  12. Waaswa, A.; Oywaya Nkurumwa, A.; Mwangi Kibe, A.; Ngeno Kipkemoi, J. Climate-Smart agriculture and potato production in Kenya: Review of the determinants of practice. Clim. Dev. 2022, 14, 75–90. [Google Scholar] [CrossRef] [Scilit]
  13. Ogunyiola, A.; Gardezi, M.; Vij, S. Smallholder farmers’ engagement with climate smart agriculture in Africa: Role of local knowledge and upscaling. Clim. Policy 2022, 22, 411–426. [Google Scholar] [CrossRef] [Scilit]
  14. von Braun, J. Food insecurity, hunger and malnutrition: Necessary policy and technology changes. New Biotechnol. 2010, 27, 449–452. [Google Scholar] [CrossRef] [Scilit]
  15. Anderson, M.D.; Rivera Ferre, M.G. Unsustainable by design: Extractive narratives of ending hunger and regenerative alternatives. Curr. Opin. Environ. Sustain. 2020. [Google Scholar] [CrossRef]
  16. Benke, K.; Tomkins, B. Future food-production systems: Vertical farming and controlled-environment agriculture. Sustain. Sci. Pract. Policy 2017, 13, 13–26. [Google Scholar] [CrossRef] [Scilit]
  17. Puri-Mirza, A. UAE: Abu Dhabi Contribution of Agriculture, Forestry and Fishing to the GDP 2019. 2021. Available online: https://www.statista.com/statistics/818124/uae-contribution-of-agriculture-forestry-and-fishing-to-the-gdp-in-abu-dhabi/ (accessed on 17 November 2023).
  18. Shafi, U.; Mumtaz, R.; García-Nieto, J.; Hassan, S.A.; Zaidi, S.A.R.; Iqbal, N. Precision agriculture techniques and practices: From considerations to applications. Sensors 2019, 19, 3796. [Google Scholar] [CrossRef] [Scilit]
  19. Lowenberg-DeBoer, J.; Erickson, B. Setting the record straight on precision agriculture adoption. Agron. J. 2019, 111, 1552–1569. [Google Scholar] [CrossRef] [Scilit]
  20. Montzka, S.A.; Dlugokencky, E.J.; Butler, J.H. Non-CO2 greenhouse gases and climate change. Nature 2011, 476, 43–50. [Google Scholar] [CrossRef] [Scilit]
  21. Balafoutis, A.; Beck, B.; Fountas, S.; Vangeyte, J.; Van der Wal, T.; Soto, I.; Gómez-Barbero, M.; Barnes, A.; Eory, V. Precision agriculture technologies positively contributing to GHG emissions mitigation, farm productivity and economics. Sustainability 2017, 9, 1339. [Google Scholar] [CrossRef] [Scilit]
  22. Mabitsela, M.M.; Motsi, H.; Hull, K.J.; Labuschagne, D.P.; Booysen, M.J.; Mavengahama, S.; Phiri, E.E. First report of aeroponically grown Bambara groundnut, an African indigenous hypogeal legume: Implications for climate adaptation. Heliyon 2023, 9. [Google Scholar] [CrossRef] [Scilit]
  23. Mizik, T. Climate-smart agriculture on small-scale farms: A systematic literature review. Agronomy 2021, 11, 1096. [Google Scholar] [CrossRef] [Scilit]
  24. Doyle, L.; Oliver, L.; Whitworth, C. Design of a climate smart farming system in East Africa. In Proceedings of the 2018 IEEE Global Humanitarian Technology Conference (GHTC), San Jose, CA, USA, 18–21 October 2018; pp. 1–6. [Google Scholar]
  25. Atayero, A.A.; Oluwatobi, S.; Alege, P.O. An assessment of the Internet of Things (IoT) adoption readiness of Sub-Saharan Africa. J. S. Afr. Bus. Res. 2016, 13, 1–13. [Google Scholar] [CrossRef] [Scilit]
  26. Nigussie, E.; Olwal, T.; Musumba, G.; Tegegne, T.; Lemma, A.; Mekuria, F. IoT-based irrigation management for smallholder farmers in rural sub-Saharan Africa. Procedia Comput. Sci. 2020, 177, 86–93. [Google Scholar] [CrossRef] [Scilit]
  27. Zhang, X.; Fu, X.; Xue, Y.; Chang, X.; Bai, X. A review on basic theory and technology of agricultural energy internet. IET Renew. Power Gener. 2023. Available online: https://ietresearch.onlinelibrary.wiley.com/doi/pdf/10.1049/rpg2.12808 (accessed on 15 January 2024).
  28. Fu, X.; Zhou, Y. Collaborative Optimization of PV Greenhouses and Clean Energy Systems in Rural Areas. IEEE Trans. Sustain. Energy 2023, 14, 642–656. [Google Scholar] [CrossRef] [Scilit]
  29. Jans-Singh, M.; Leeming, K.; Choudhary, R.; Girolami, M. Digital twin of an urban-integrated hydroponic farm. Data-Centric Eng. 2020, 1, e20. [Google Scholar] [CrossRef] [Scilit]
  30. Patil, S.; Tantau, H.; Salokhe, V. Modelling of tropical greenhouse temperature by auto regressive and neural network models. Biosyst. Eng. 2008, 99, 423–431. [Google Scholar] [CrossRef] [Scilit]
  31. Allouhi, A.; Choab, N.; Hamrani, A.; Saadeddine, S. Machine learning algorithms to assess the thermal behavior of a Moroccan agriculture greenhouse. Clean. Eng. Technol. 2021, 5, 100346. [Google Scholar] [CrossRef] [Scilit]
  32. Aissa, M.; Boutelhig, A. CFD Comparative Study between Different Forms of Solar Greenhouses and Orientation Effect. Int. J. Heat Technol. 2021, 39, 433–440. [Google Scholar] [CrossRef] [Scilit]
  33. Mobtaker, H.G.; Ajabshirchi, Y.; Ranjbar, S.F.; Matloobi, M. Simulation of thermal performance of solar greenhouse in north-west of Iran: An experimental validation. Renew. Energy 2019, 135, 88–97. [Google Scholar] [CrossRef] [Scilit]
  34. Nauta, A.; Lubitz, W.D.; Tasnim, S.; Mahmud, S. Thermal modelling of greenhouse using 1D lumped capacitance model. In Proceedings of the 5th International Conference of the International Commission of Agricultural and Biosystems Engineering, Quebec, BC, Canada, 10–14 May 2021. [Google Scholar]
  35. Tadj, N.; Draoui, B.; Theodoridis, G.; Bartzanas, T.; Kittas, C. Convective heat transfer in a heated greenhouse tunnel. In Proceedings of the VIII International Symposium on Protected Cultivation in Mild Winter Climates: Advances in Soil and Soilless Cultivation under 747; Acta Horticulture: Agadir, Morocco, 2006; pp. 113–120. [Google Scholar]
  36. Tong, G.; Christopher, D.; Li, B. Numerical modelling of temperature variations in a Chinese solar greenhouse. Comput. Electron. Agric. 2009, 68, 129–139. [Google Scholar] [CrossRef] [Scilit]
  37. Tacarindua, C.R.; Shiraiwa, T.; Homma, K.; Kumagai, E.; Sameshima, R. The effects of increased temperature on crop growth and yield of soybean grown in a temperature gradient chamber. Field Crop. Res. 2013, 154, 74–81. [Google Scholar] [CrossRef] [Scilit]
  38. Jogunola, O.; Hull, K.; Mabitsela, M.; Phiri, E.E.; Booysen, M.J. Deep Learning-Enabled Temperature Simulation of a Greenhouse Tunnel. 2023. Available online: https://www.researchgate.net/publication/377265253_Deep_Learning-Enabled_Temperature_Simulation_of_a_Greenhouse_Tunnel (accessed on 15 January 2024).
  39. Hull, K.; Mabitsela, M.; Phiri, E.; Booysen, M. Dataset of temperature, humidity, and actuator states of an east-facing South African Greenhouse Tunnel. Data Brief 2023, 51, 109633. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Kittas, C.; Bartzanas, T.; Jaffrin, A. Greenhouse evaporative cooling: Measurement and data analysis. Trans. ASAE 2001, 44, 683. [Google Scholar] [CrossRef] [Scilit]
  41. Kittas, C.; Bartzanas, T.; Jaffrin, A. Temperature gradients in a partially shaded large greenhouse equipped with evaporative cooling pads. Biosyst. Eng. 2003, 85, 87–94. [Google Scholar] [CrossRef] [Scilit]
  42. CFWFans. Maxiflow Fans. Available online: https://www.cfwfans.co.za/wp-content/uploads/2019/07/Maxiflow-Brochure.pdf (accessed on 10 August 2023).
  43. Meteoblue. Universität Basel, Basel, Switzerland. Available online: https://www.meteoblue.com (accessed on 15 August 2023).
  44. Hull, K.; Mabitsela, M.; Phiri, E.E.; Booysen, M. Temperature and Humidity Dataset of an East-Facing South African Greenhouse Tunnel. Mendeley Data 2024, V2. [Google Scholar] [CrossRef]
  45. Hull, K.; Booysen, M.; Mabitsela, M.; Phiri, E.E. Using a Digital Twin for Greenhouse Tunnel Temperature Management and Prediction. In Proceedings of the 2023 IEEE AFRICON, Nairobi, Kenya, 20–22 September 2023; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.