1. Introduction
Food security is a prerequisite for the well-being and progress of the population. According to the International Renewable Energy Agency, there is an urgent need to increase food production by 60% and increase water availability by 55% by 2030 [
1]. This increased demand depends primarily on agriculture, which represents one of humanity's oldest occupations and endeavors, with a variety of influences that include natural resources, economic interactions, energy needs, and public health. Greenhouses are proving to be a promising alternative to meet these increasing demands as they have the potential to meet both energy and food production needs [
2]. Ensuring the environmental sustainability of agricultural systems represents a major challenge for nations, especially given the need to adapt to climate change and mitigate its impacts on agriculture [
3,
4,
5]. Given that the agricultural sector is highly energy dependent, sustainable agriculture has become imperative to address current environmental issues and adapt to the energy transition.
The effectiveness of agricultural production depends on a variety of environmental factors. These include elements that influence photosynthesis, such as light intensity, atmospheric CO
2 concentration, water supply, and mineral content. Climatic conditions, particularly temperature and precipitation, are also essential factors [
6,
7]. In addition, the quality of the soil, including the presence of ions, water circulation, and oxygenation of roots, has a significant impact on agricultural success [
8]. Even the presence of a deficiency in one of these factors can limit plant production, irrespective of variations in other factors [
9]. This leads to considerations about the feasibility of controlling environmental factors [
10].
Therefore, sustainability and efficient energy management have become a topic of great interest in various sectors, including transportation, industry, and agriculture. An effective strategy to mitigate future global warming is to reduce dependence on fossil fuels through the use of alternative energy sources [
11]. The key to achieving sustainability and reducing carbon emissions lies in improving energy efficiency in all sectors and transitioning from traditional energy sources to renewable energy sources (REs) [
12,
13]. Recently, renewable energy technologies such as solar energy, geothermal energy [
14,
15,
16] biomass [
17,
18,
19], wind energy [
20], hydrogen [
21] and photovoltaic energy [
22,
23,
24] have gained global attention as new alternatives to electricity generation for conditioning agricultural greenhouses. The share of renewable energy in electricity generation is expected to increase from less than 27% in 2019 to 30% in 2050 [
25,
26]. Farms that use renewable energy sources offer numerous benefits, including improved energy self-sufficiency, income diversification, and improved resilience to climate change [
27,
28]. In recent years there has been a growing interest in exploring soilless technologies, particularly in greenhouses, where the use of renewable energy offers significant prospects for reducing energy [
29]. In this context, solar energy greenhouse represents an alternative to traditional agricultural systems [
30,
31,
32,
33,
34]. Likewise, photovoltaic hydroponic systems offer a unique range of benefits including significantly reduced water consumption, improved health outcomes through minimal pesticide use, high crop yields, and rapid plant growth [
35,
36,
37].
Moreover, it's fascinating to see how the concept of smart farming is catching the attention of farmers, agriculturists, and researchers alike. One of the prominent approaches to smart farming is the use of smart greenhouse farming, which is an enclosed cultivation process that leverages information and communication technology to improve the quality and quantity of crops with minimal human intervention. With the advent of IoT technology, there is a vast potential for innovative methods and smart solution development that can revolutionize the agriculture sector. Therefore, integrating the Internet of Things (IoT) with a greenhouse can transform it into a smart and automated greenhouse, which is considered to be one of the ideal solutions. By doing so, IoT-enabled greenhouses can address various challenges and assist growers in enhancing the productivity of food and crops [
38]. Numerous scientific investigations have been conducted to advance the application of smart technologies within agricultural practices, particularly in hydroponic greenhouses. An illustrative case is the study by Sadek and al. [
39], in which they developed a smart hydroponic and aeroponic system that included advanced sensors and devices for monitoring various meteorological parameters both inside and outside the agricultural greenhouse. This innovative system enables automated regulation of internal environmental conditions, tailored to specific plant species and seasonal requirements. The results led to an 80% reduction in water and energy consumption and a remarkable shortening of the growth period by 45 days compared to 75 days with the traditional system. Sudana et al. [
40] developed a circulation-free drip hydroponic system using IoT technology for pepper plants, which are among the most vitamin-rich vegetables and provide an excellent opportunity for local and export markets. However, due to its susceptibility to temperature and nutrient fluctuations, this plant requires intensive treatment. On the other hand, evaporation from the plants also decreases within the greenhouse, and therefore the pepper rots, especially in the rainy season. Therefore, the solution proposed in this work is an effective way to reduce risks and we have seen that thanks to this approach we have been able to minimize plant degradation and contribute to the preservation of nutrient solutions. Then, smart and remotely connected agricultural greenhouses emerged with a sustainable development architecture such as the prototype of Fernandes et al. [
41], who developed a connected hydroponic system that allows users to remotely monitor and control plant growth and environmental conditions. The results of the work carried out made it possible to implement optimal control strategies to reduce costs while increasing crop growth. With the same goal, Chaiwongsai [
42] was interested in developing a hydroponic system in a tropical climate that can automatically control the factors suitable for different vegetables in different nutrient solution tanks using IoT to monitor crop condition, water levels, and others control pH value. Al-Naemi and Al-Otoom [
43] are developing a smart, sustainable greenhouse model powered by solar energy, advanced control systems, and efficient water management, with significant benefits including reduced water consumption, profitable vegetable farming, and significant potential to improve food security in the Gulf Countries Council (GCC) countries. The economic analysis for commercial implementation revealed an attractive investment with a return on investment of 340% and a payout period of 5 years. The study by Andrianto et al. [
44] focuses on developing IoT-based smart greenhouses for pesticide-free hydroponic cultivation using an Arduino Mega2560 controller to monitor and control various environmental parameters. The system enables remote monitoring and control via a smartphone application, ensuring efficient and pesticide-free plant growth.
In Tunisia, photovoltaic hydroponic systems can significantly contribute to the development of sustainable agriculture due to sufficient solar resources and an ever-growing policy approach to promoting renewable energy and fighting global warming. To this end, the photovoltaic hydroponic system installed at the site of Borj Cedria-Tunis, developed by Bouadila et al. [
45,
46] constitutes a prototype aimed at improving the production and use of PV energy in agricultural systems. In addition, this energy is then transmitted to the electricity network, which will help to increase the penetration rate of renewable energy in the distribution network. This flexibility allows for optimal energy management and ensures that the system can operate even in the event of a power outage. The system has two operating modes: ON-GRID and OFF-GRID. In ON-GRID mode, the air conditioner is powered directly from the grid. In OFF-GRID mode, however, the air conditioning system is powered by the PV source. The main aim of this work is to analyze and experiment with the standalone PV conditioning system of the hydroponic greenhouse. The focus is on modeling and control to ensure optimal performance and efficiency. Through experimental studies, we hope to gain valuable insights into the behavior of the system and identify opportunities for improvement. The work is divided into four main parts. The first part focuses on the mathematical modeling of the various components of the system. The second part deals with the development of control laws to optimize system performance. A numerical simulation using Simulink is also presented to demonstrate the effectiveness of the proposed study. The fourth part of the article focuses on the experimental implementation of a smart solution based on an IoT-based solution to remotely control the internal and external parameters of the hydroponic PV system. This solution uses sensors, microcontrollers, and other devices to monitor and maintain the ideal growing conditions for the plants.
6. Conclusions
The study aims to investigate and experiment with a smart stand-alone photovoltaic conditioning system of a hydroponic greenhouse. The main focus is on modeling and control to achieve optimal performance and efficiency. The study aims to gain valuable insights into the system's behavior and identify opportunities for enhancement through experimental research.
The first step involves mathematical modeling of the system's various components. Subsequently, control laws based on the Field Oriented PI Controller are developed to optimize system performance. A numerical simulation using Simulink is also presented to demonstrate the effectiveness of the proposed solution.
The study then moves on to implementing a smart IoT-based solution for remotely managing the hydroponic PV system's internal and external parameters. This solution uses DHT 11, LDR, and moisture sensors, along with the ESP32 microcontroller, to monitor and maintain the ideal growing conditions for the plants. A web application is designed to control the variation of temperature, humidity, soil moisture, and light intensity of the PV-HG.
Author Contributions
Conceptualization, R.M. and S.K.; methodology, R.M., S.K. and M.C.; software, R.M., S.K. and S.B.; validation, R.M., S.K. and S.B; formal analysis, M.C. and S.B.; investigation, M.C. and S.B.; resources, R.M., S.K. and A.C.; data curation, M.C. and A.C.; writing—original draft preparation, R.M..; writing—review and editing, R.M., M.C. and S.B.; visualization, S.B. and A.C.; supervision, A.C.; project administration, R.M. All authors have read and agreed to the published version of the manuscript.
Figure 1.
The PV alimentation source (a), the storage batteries system (b), the internal view of the PV-HG (c) and (d) Actuators.
Figure 1.
The PV alimentation source (a), the storage batteries system (b), the internal view of the PV-HG (c) and (d) Actuators.
Figure 2.
The synoptic scheme of the PV Hydroponic Greenhouse.
Figure 2.
The synoptic scheme of the PV Hydroponic Greenhouse.
Figure 3.
The synoptic scheme of the stand-alone PV-HG conditioning system.
Figure 3.
The synoptic scheme of the stand-alone PV-HG conditioning system.
Figure 4.
Influence of variations in solar irradiation (a) and temperature (b) on characterized curves of PVG.
Figure 4.
Influence of variations in solar irradiation (a) and temperature (b) on characterized curves of PVG.
Figure 5.
The synoptic scheme of Hydroponic greenhouse.
Figure 5.
The synoptic scheme of Hydroponic greenhouse.
Figure 6.
Schematic representation of the heat flux in hydroponic greenhouse.
Figure 6.
Schematic representation of the heat flux in hydroponic greenhouse.
Figure 7.
d and q axes decoupling in the motor pump model.
Figure 7.
d and q axes decoupling in the motor pump model.
Figure 8.
Current regulation loop.
Figure 8.
Current regulation loop.
Figure 9.
Speed regulation loop.
Figure 9.
Speed regulation loop.
Figure 10.
Trajectory of MPP under different solar irradiation values.
Figure 10.
Trajectory of MPP under different solar irradiation values.
Figure 11.
The synoptic diagram of the PV-HG system with the field-oriented control and the MPPT.
Figure 11.
The synoptic diagram of the PV-HG system with the field-oriented control and the MPPT.
Figure 12.
Solar irradiation profile (a), PV current (b), and DC-bus voltage (b) waveforms.
Figure 12.
Solar irradiation profile (a), PV current (b), and DC-bus voltage (b) waveforms.
Figure 13.
Reference and measured motor speed waveforms.
Figure 13.
Reference and measured motor speed waveforms.
Figure 14.
Resistive and electromagnetic versus speed.
Figure 14.
Resistive and electromagnetic versus speed.
Figure 15.
Pump speed and water flow waveforms.
Figure 15.
Pump speed and water flow waveforms.
Figure 16.
Temperature and humidity waveforms.
Figure 16.
Temperature and humidity waveforms.
Figure 17.
The smart IoT-based PV-HG system.
Figure 17.
The smart IoT-based PV-HG system.
Figure 18.
Implementation of the smart IoT-based PV-HG into the hydroponic greenhouse.
Figure 18.
Implementation of the smart IoT-based PV-HG into the hydroponic greenhouse.
Figure 19.
Web application for the smart PV-HG parameters controlling.
Figure 19.
Web application for the smart PV-HG parameters controlling.
Figure 20.
Climatic conditions (a) and Electrical energy consumption (b) of the PV-HG.
Figure 20.
Climatic conditions (a) and Electrical energy consumption (b) of the PV-HG.
Figure 21.
Waveform of temperature inside the greenhouse with and without a heating system for ten days.
Figure 21.
Waveform of temperature inside the greenhouse with and without a heating system for ten days.
Figure 22.
Waveform of temperature inside the greenhouse with a heating system for 30 days.
Figure 22.
Waveform of temperature inside the greenhouse with a heating system for 30 days.
Figure 23.
Waveform of humidity inside the greenhouse with a heating system for 30 days.
Figure 23.
Waveform of humidity inside the greenhouse with a heating system for 30 days.
Table 1.
Actuators used in the hydroponic greenhouse.
Table 1.
Actuators used in the hydroponic greenhouse.
Equipment (units) |
Technical specifications |
Power (kW) |
Heat pump |
Absorption chiller (NH3/H2O), model GA Line ACF 60-00 of the ROBUR brands |
17.72 |
Device for oxygenation (2) |
AquaOxy 4800 |
0.06 |
Variable speed control (1) |
CHINT NVF2-1.5/TS4 inverter |
0.9 |
Fan type 1 and 2 (2/1) |
THERMIVENT extractors |
0.250/0.05 |
Controller for irrigation (1) |
Hunter X-core controller |
0.010 |
Centrifugal water pump (2) |
DAB, KPS 30/16 M |
0.370 |
Dosing pump (1) |
Green Line Dosatron D25 |
0.01 |
Lighting fixture (8) |
Fluorescent lamp |
0.016 |
Table 2.
Daily power of the centrifugal pump.
Table 2.
Daily power of the centrifugal pump.
Daily power of the centrifugal pump (kW) |
Studied cases |
0 |
Measured case |
0.5 |
Simulated case 0.5 |
1 |
Simulated case 1 |
1.5 |
Simulated case 1.5 |
2 |
Simulated case 2 |