TY - JOUR AU - Alghamdi, Thamer A. H. AB - 1. Introduction Faced with environmental and energy challenges, sustainable agriculture encounters a major problem in regions where rainfall is insufficient to meet water requirements. In this context, the implementation of pumping systems becomes imperative to ensure an adequate water supply [1, 2]. Historically, solutions to this water shortage have often relied on the use of diesel or butane pumps. However, the advent of solar-powered pumping systems today represents both an environmentally friendly and economically advantageous alternative, marking a significant departure in energy choices for agricultural irrigation as reported in [3–5]. The viability studies carried out unequivocally confirm the numerous advantages of solar water pumping systems over their conventional counterparts in [6, 7]. This finding establishing their superiority makes solar systems an undisputed priority for meeting the growing water needs of agriculture, particularly in areas characterized by limited water resources. By embracing this transition to sustainable energy solutions, agricultural areas can not only overcome the challenges of limited water availability, but also make a significant contribution to preserving the environment by reducing their carbon footprint and promoting a more responsible use of natural resources [8]. The widespread adoption of solar-powered pumping systems is therefore a strategic and beneficial move, both environmentally and economically for the future of agriculture. The challenges facing the world’s energy supply are extremely diverse, ranging from continued dependence on fossil fuels to major environmental concerns linked to greenhouse gas emissions. The urgent need to reduce these emissions while ensuring a stable energy supply has highlighted the crucial importance of renewable energies [9, 10]. Among these alternative sources, solar energy stands out for its inestimable potential, particularly in regions of the globe with abundant sunshine. The judicious exploitation of this solar resource offers a significant opportunity to help mitigate the effects of climate change, while meeting growing energy needs in a sustainable way Indeed, the increased use of solar energy represents a promising way of overcoming current and future energy challenges, marking a transition towards more sustainable, environmentally friendly energy practices [11]. The increasing use of solar energy as a viable and renewable energy solution is becoming an essential strategy for tackling the complex energy challenges facing the world. This transition to more extensive use of solar energy will not only help to reduce greenhouse gas emissions, but will also help to create a more resilient, promising and sustainable energy future on a global scale [12]. Solar energy is emerging as an innovative source with multiple applications, revolutionizing diverse sectors such as electrification of remote regions [13], powering structures [14], as well as transport and agriculture [15]. Among these applications, solar water pumping systems are particularly significant, offering the possibility of irrigating agricultural fields far from traditional power grids, thus making a substantial contribution to promoting sustainable agriculture and guaranteeing local food security. Exploring these diverse applications in detail, it becomes apparent that solar energy stands out for its exceptional versatility. However, to fully optimize the use of solar energy, specific technical challenges need to be overcome. These include the continuous improvement of technologies such as solar cells and solar trackers, with particular emphasis on maximum power point tracking (MPPT) [16], the control of pumping machines [17, 18], and, DC-DC converters [19, 20]. The latter devices play a crucial role in real-time adjustment of the static DC-DC converter duty cycle to manage the amount of energy available in the PV grid, thus maximizing solar energy capture [21]. It is imperative to highlight that advances in MPPT technology in these areas are fundamental to significantly increasing the efficiency of solar energy, and to solving practical problems that arise when it is used on a large scale. Ongoing research and innovative development in solar technologies are crucial to unlocking the full potential of solar energy and driving a global energy transition to renewable sources. Traditional MPPT methods, such as P&O [22] and INC [23], are widely used to optimize GPV power generation. They adjust electrical parameters, such as voltage or current, to track the MPP. The tracking speed of conventional MPPTs can be slow, resulting in insufficient responsiveness to changes in weather conditions, such as temperature or irradiance [24], and therefore sub-optimization of energy. In fact, these traditional techniques always have a trade-off between tracking speed and oscillations, and these two performances are inverse. In fact, increasing the tracking speed leads to significant oscillations around MPP, which is not only inefficient, but can also lead to premature degradation of system components. To overcome these problems, traditional variable-step MPPT techniques are used in [25, 26]. However, another major drawback is that these techniques do not always distinguish between the local power point and the global power point in the case of partial shading, which limits their ability to maximize the energy produced by photovoltaic panels under different conditions [27]. To overcome these limitations, the use of artificial intelligence-based techniques, such as neural networks [28], and genetic algorithms [29], is proving effective. However, learning and testing phases are essential to adapt these techniques to the specificities of solar panels, and powerful computers are required to solve tracking speed problems. The transition to clean energy sources is imperative. It requires MPPT optimization techniques that are at the cutting edge of current research. These techniques are based on the search for optimal solutions using natural phenomena such as Particle Swarm Optimization (PSO) [30], Frog-Leaping [31], Firefly Based Ant Colony (FBAC) [32] and MPPT-bats. These techniques require no training other than prior testing on PVGs, and are adaptable to all kinds of solar applications. This research paper discusses the bat metaheuristic method, which offers an innovative approach, drawing on biological concepts to solve the problems described above. This approach represents a significant advance in optimizing the energy efficiency of solar water pumping systems. By adjusting electrical parameters as a function of distance from the point of maximum power, this method guarantees rapid responsiveness to changing weather conditions, while minimizing unwanted oscillations. In addition, it makes a more precise distinction between local and global power points, enabling more accurate and efficient adaptation to actual conditions [33]. Applying the bat method to a solar water pumping system enables more optimal use of solar energy, thus contributing to more sustainable management of energy resources. Solar pump system optimization depends heavily on control of the induction machine, which contributes significantly to energy efficiency. This control covers all components, from the photovoltaic generator to the motor pump. The latter assumes particular importance in meeting crop water requirements via the hydraulic system. An inappropriate pumping profile can lead to significant pressure losses and problems that can result in damage to the system [34]. To ensure the safety of these installations, a pump motor control strategy is required. Here’s where direct torque control (DTC) is particularly relevant. The DTC controller has the advantage of being relatively simple to implement, requiring fewer hardware components and sensors than other control techniques [35]. This simplicity facilitates maintenance and increases the system’s durability. As a control system, DTC provides fast, precise control of solar pump motors. Its distinctive feature derives from its ability to adjust motor torque in real time as conditions require, without the need for a complex external control loop. Integrating the DTC into solar water pumping systems offers the possibility of maximizing energy efficiency while ensuring a reliable supply of water for crop irrigation. The aim of this research paper is to improve the energy efficiency of solar water pumping systems by using a two-stage process. In the first phase, attention is focused on the maximum extraction of energy generated by PVGs using the MPPT-Bat technique. This method adjusts the PVG parameters in real time to extract the fully of available energy. The second part of the study focuses on the application of DTC control to ensure optimum exploitation of the energy generated by the PVGs through the induction machine. As such, the DTC controller is deployed to ensure optimum performance of solar water pumping systems by precisely and responsively controlling motor torque, helping to ensure efficient use of available solar energy. This integrated approach, combining Bat optimization and DTC control of pumping motors, aims to maximize the energy efficiency of these systems crucial to water supply in agricultural environments. This paper makes several notable contributions, which are highlighted as follows: An approach to optimize SWPS using MPPT-Bat approach on the PVG side and DTC on the induction motor side. Under different weather conditions, the MPPT-bat technique is characterized by the ability to extract maximum power from PVG side. Meanwhile, the DTC optimize the use of the energy generated by the PVG. It provides precise, responsive control of the pump motor. Following a description of the system, a model of the entire SWPS is presented. A carefully selected setpoint profile, derived from the evolution of the actual irradiance recorded by an experimental weather station, is used to evaluate the performance of the two proposed techniques. The results highlight the effectiveness found in terms of variations, accuracy and tracking speed. Both techniques offer significant advantages for SWPS, providing a convincing solution for improving the overall performance and energy efficiency, although the parameters of each technique must be carefully selected according to the size of the installation in order to guarantee the good performances. The remainder of this paper is organized as follows. Section 2 describes the modeling of this system, just as Section 3 explores the proposed optimization techniques Bat and DTC. Section 4 deals with a parametric study, analyzing the results and their implications. Finally, Section 5 summarizes the results and outlines prospects for future research. 2. Solar water pumping system modeling This section is devoted to modeling the different components of the solar water pumping system under investigation, which is illustrated in full in Fig 1. At the heart of the system is the photovoltaic generator (PVG), responsible for converting solar energy into electricity to power the motor-pump assembly. To improve the efficiency of energy production, the use of a boost converter regulates the duty cycle using a metaheuristic method based on the bat principle. This Bat optimization technique is used to accurately monitor the amount of energy available in the PVG in real time. The inverter, guided by the DTC control, adjusts the energy of the asynchronous machine according to the amount of energy available at the output of the DC-DC converter in an optimal way. The asynchronous motor, because of its robustness and ability to operate efficiently in a wide range of environments, turns the centrifugal pump to transport water to agricultural areas. The synergy of these components contributes to the overall performance of the solar water pumping system, ensuring efficient use of solar energy in the context of sustainable agricultural irrigation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 1. SWPS description diagram. https://doi.org/10.1371/journal.pone.0309330.g001 2.1 PVG for solar water pumping system Fig 2 depicts a two-diode electrical model [36]. This is the key element in in-depth studies of solar cell behavior within photovoltaic modules. The PV cells as the fundamental elements of these modules are often arranged in series and in parallel to create photovoltaic generators capable of producing the necessary voltage and current. In each photovoltaic module, several cells are carefully assembled, establishing series and parallel connections. This complex configuration meets the system’s need for sufficient electrical energy. Modeling solar cells is a delicate process, involving the choice of an appropriate model that may comprise one, two or even three diodes. This choice depends closely on the specific characteristics of the cells, such as the type of material used and the percentages of losses modeled by resistance and precision as a function of climate change. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. Two-diode electrical model of a photovoltaic cell. https://doi.org/10.1371/journal.pone.0309330.g002 The current-voltage characteristics of a photovoltaic cell are expressed in Eq (1) [37], where the thermodynamic potential (Vth) is determined by key factors such as temperature, the Boltzmann constant (K), the electron charge (e), and the junction non-ideality factor (n1, n2). Temperature has a significant influence on the thermodynamic potential, while the Boltzmann constant (K) provides adjustments related to the energy distribution. The electron charge (e) is a fundamental component, and the non-ideality factor of the junction (n1, n2) introduces realistic nuances. These elements interact in a complex way to give the relationship between current (I) and voltage (V) at the cell output, which makes it possible to define the electrical performance of the photovoltaic cell under given conditions. (1) Table 1 shows the various parameters of the main electrical characteristics inherent in each module studied. This is a Centrosolar America EP7 295 SW. The generator has five modules in series and one string in parallel. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. EP7 295 SW parameters. https://doi.org/10.1371/journal.pone.0309330.t001 Fig 3 completes the picture by highlighting the variation of the photovoltaic generator’s output in relation to irradiation fluctuations. This graphical representation clearly and concisely visualizes the direct impact of irradiation on the energy performance of the photovoltaic array, providing valuable information for the optimization and efficient management of solar power generation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. PVG Power characteristics under various irradiance. https://doi.org/10.1371/journal.pone.0309330.g003 2.2 MPPT for solar water pumping system The maximum power point tracker is an essential component of the solar water pumping system, designed as a boost converter composed of a inductor, a power switch and two filter capacitors, as shown in Fig 4. Its basic function is to regulate the generator output voltage by adjusting the duty cycle, using the MPPT-Bat technique in order to obtain the maximum power voltage. This process is designed to optimize energy transfer from the PVG to the centrifugal pump via the inverter, thereby maximizing the energy efficiency of the solar water pumping system. Eq (2) [38] describes the relationship between the input/output voltage of this tracker as a function of the duty cycle. (2) Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 4. MPPT-bat for solar water pumping system. https://doi.org/10.1371/journal.pone.0309330.g004 The Table 2 shows the different parameters of boost converter used in this investigation. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 2. Parameters of boost converter. https://doi.org/10.1371/journal.pone.0309330.t002 2.3 Voltage inverter for solar water pumping system The voltage inverter is a static converter used to convert the DC bus voltage at the output of the boost converter into an AC voltage to power the induction motor employed to turn the pump. It is used to impose variable amplitude and frequency voltages on the motor in relation to the control commands for this solar water pumping system. The schematic diagram of this two-level voltage converter is shown in the Fig 5. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 5. Structure of a two-stage voltage inverter for SWPS. https://doi.org/10.1371/journal.pone.0309330.g005 The architecture of this converter includes three independent arms, each equipped with two power switches. Each power switch is designed with a thyristor or a transistor associated with a diode in antiparallel. This switch must be equipped with a control circuit and a cooling block. The pairs of switches must be controlled in a complimentary way for the good of the installation. The state of the switches is defined by three Boolean control variables Hi (i = 1,2,3). These will also be determined by the DTC control strategy described in this article. The conversion matrix used to model this type of energy transfer is given by Eq (3), where the simple voltages delivered by the inverter are obtained directly from the states of the control variables H1,2,3, which represent the control signals. (3) 2.4 Asynchronous motor for solar water pumping system The induction motor takes a leading role in the energy chain of this solar water pumping system. Its role is crucial, as it acts as a connecting link between the inverter, responsible for converting the energy extracted from the MPPT-PSO available in the DC bus into AC energy, and the centrifugal pump that efficiently extracts the water from its source. This remarkable relationship between the asynchronous motor and the system components generates a continuous flow of water, guaranteeing a reliable and constant supply to meet agricultural needs. It is therefore of the utmost importance to establish a formalized understanding of the behavior of the asynchronous motor. This can be achieved by describing its mathematical model in the reference frame (α, β), taking into account the many parameters. This model reduces the complexity of the machine’s three-phase representation (a,b,c), and it is expressed by the following equations [39]. Electrical equations: (4) Magnetic equations: (5) Mechanical equations: (6) The expression for electromagnetic torque is given by the following equation: (7) The asynchronous motor draws its essence from these different principles, which can be presented in matrix format by Eq 8. This holistic approach provides a comprehensive understanding of the nuances involved in asynchronous motor operation, facilitating efficient use and optimization of the entire system. (8) with, , ,. The Table 3 shows the different parameters of the asynchronous motor used in this investigation. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. Parameters of induction motor. https://doi.org/10.1371/journal.pone.0309330.t003 2.5 Centrifugal pump for solar water pumping system The industry has made remarkable progress in developing various types of hydraulic pumps, such as positive displacement, piston and centrifugal models. The centrifugal pumps became the most appropriate choice for pumping applications [40]. This is because the resistive torque generated by the centrifugal pump is ingeniously formulated to respect the quadratic structure of the drive speed, as elegantly demonstrated by Eq (9). A careful analysis of the characteristics of the torque/speed relationship reveals the insignificance of the initial torque exerted on the pump. This characteristic can be attributed to the pump’s remarkable ability to operate optimally even at extremely low solar irradiation levels. As solar irradiation levels increase, the drive motor can reach higher speeds, inducing instantaneous flow. (9)(10) 2.1 PVG for solar water pumping system Fig 2 depicts a two-diode electrical model [36]. This is the key element in in-depth studies of solar cell behavior within photovoltaic modules. The PV cells as the fundamental elements of these modules are often arranged in series and in parallel to create photovoltaic generators capable of producing the necessary voltage and current. In each photovoltaic module, several cells are carefully assembled, establishing series and parallel connections. This complex configuration meets the system’s need for sufficient electrical energy. Modeling solar cells is a delicate process, involving the choice of an appropriate model that may comprise one, two or even three diodes. This choice depends closely on the specific characteristics of the cells, such as the type of material used and the percentages of losses modeled by resistance and precision as a function of climate change. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. Two-diode electrical model of a photovoltaic cell. https://doi.org/10.1371/journal.pone.0309330.g002 The current-voltage characteristics of a photovoltaic cell are expressed in Eq (1) [37], where the thermodynamic potential (Vth) is determined by key factors such as temperature, the Boltzmann constant (K), the electron charge (e), and the junction non-ideality factor (n1, n2). Temperature has a significant influence on the thermodynamic potential, while the Boltzmann constant (K) provides adjustments related to the energy distribution. The electron charge (e) is a fundamental component, and the non-ideality factor of the junction (n1, n2) introduces realistic nuances. These elements interact in a complex way to give the relationship between current (I) and voltage (V) at the cell output, which makes it possible to define the electrical performance of the photovoltaic cell under given conditions. (1) Table 1 shows the various parameters of the main electrical characteristics inherent in each module studied. This is a Centrosolar America EP7 295 SW. The generator has five modules in series and one string in parallel. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. EP7 295 SW parameters. https://doi.org/10.1371/journal.pone.0309330.t001 Fig 3 completes the picture by highlighting the variation of the photovoltaic generator’s output in relation to irradiation fluctuations. This graphical representation clearly and concisely visualizes the direct impact of irradiation on the energy performance of the photovoltaic array, providing valuable information for the optimization and efficient management of solar power generation. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. PVG Power characteristics under various irradiance. https://doi.org/10.1371/journal.pone.0309330.g003 2.2 MPPT for solar water pumping system The maximum power point tracker is an essential component of the solar water pumping system, designed as a boost converter composed of a inductor, a power switch and two filter capacitors, as shown in Fig 4. Its basic function is to regulate the generator output voltage by adjusting the duty cycle, using the MPPT-Bat technique in order to obtain the maximum power voltage. This process is designed to optimize energy transfer from the PVG to the centrifugal pump via the inverter, thereby maximizing the energy efficiency of the solar water pumping system. Eq (2) [38] describes the relationship between the input/output voltage of this tracker as a function of the duty cycle. (2) Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 4. MPPT-bat for solar water pumping system. https://doi.org/10.1371/journal.pone.0309330.g004 The Table 2 shows the different parameters of boost converter used in this investigation. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 2. Parameters of boost converter. https://doi.org/10.1371/journal.pone.0309330.t002 2.3 Voltage inverter for solar water pumping system The voltage inverter is a static converter used to convert the DC bus voltage at the output of the boost converter into an AC voltage to power the induction motor employed to turn the pump. It is used to impose variable amplitude and frequency voltages on the motor in relation to the control commands for this solar water pumping system. The schematic diagram of this two-level voltage converter is shown in the Fig 5. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 5. Structure of a two-stage voltage inverter for SWPS. https://doi.org/10.1371/journal.pone.0309330.g005 The architecture of this converter includes three independent arms, each equipped with two power switches. Each power switch is designed with a thyristor or a transistor associated with a diode in antiparallel. This switch must be equipped with a control circuit and a cooling block. The pairs of switches must be controlled in a complimentary way for the good of the installation. The state of the switches is defined by three Boolean control variables Hi (i = 1,2,3). These will also be determined by the DTC control strategy described in this article. The conversion matrix used to model this type of energy transfer is given by Eq (3), where the simple voltages delivered by the inverter are obtained directly from the states of the control variables H1,2,3, which represent the control signals. (3) 2.4 Asynchronous motor for solar water pumping system The induction motor takes a leading role in the energy chain of this solar water pumping system. Its role is crucial, as it acts as a connecting link between the inverter, responsible for converting the energy extracted from the MPPT-PSO available in the DC bus into AC energy, and the centrifugal pump that efficiently extracts the water from its source. This remarkable relationship between the asynchronous motor and the system components generates a continuous flow of water, guaranteeing a reliable and constant supply to meet agricultural needs. It is therefore of the utmost importance to establish a formalized understanding of the behavior of the asynchronous motor. This can be achieved by describing its mathematical model in the reference frame (α, β), taking into account the many parameters. This model reduces the complexity of the machine’s three-phase representation (a,b,c), and it is expressed by the following equations [39]. Electrical equations: (4) Magnetic equations: (5) Mechanical equations: (6) The expression for electromagnetic torque is given by the following equation: (7) The asynchronous motor draws its essence from these different principles, which can be presented in matrix format by Eq 8. This holistic approach provides a comprehensive understanding of the nuances involved in asynchronous motor operation, facilitating efficient use and optimization of the entire system. (8) with, , ,. The Table 3 shows the different parameters of the asynchronous motor used in this investigation. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. Parameters of induction motor. https://doi.org/10.1371/journal.pone.0309330.t003 2.5 Centrifugal pump for solar water pumping system The industry has made remarkable progress in developing various types of hydraulic pumps, such as positive displacement, piston and centrifugal models. The centrifugal pumps became the most appropriate choice for pumping applications [40]. This is because the resistive torque generated by the centrifugal pump is ingeniously formulated to respect the quadratic structure of the drive speed, as elegantly demonstrated by Eq (9). A careful analysis of the characteristics of the torque/speed relationship reveals the insignificance of the initial torque exerted on the pump. This characteristic can be attributed to the pump’s remarkable ability to operate optimally even at extremely low solar irradiation levels. As solar irradiation levels increase, the drive motor can reach higher speeds, inducing instantaneous flow. (9)(10) 3. Solar water pumping system optimization This section is devoted to the two approaches used to optimize solar water pumping systems. First, the MPPT metaheuristic technique based on the Bat principle. The main objective is to maximize the extraction of available power from the PVG. This intelligent approach adjusts the electrical parameters of the solar water pumping system in real time to ensure that the PVG is constantly operating at the MPP. Furthermore, particular attention focuses on the DTC technique applied to the induction motor side of the system. This approach aims to make more efficient use of the power extracted from the solar generator. By regulating the torque and magnetic flux of the induction motor directly and precisely. This dual approach, combining MPPT to optimize solar extraction and DTC for efficient generator operation, is a powerful strategy for improving the reliability and overall efficiency of solar water pumping systems. 3.1 Optimization technique based on the Bat principle The bat technique is a metaheuristic optimization method inspired by nature. This technique is used to improve the energy efficiency of a photovoltaic system. In this context, the main objective is to adjust the PV generator’s electrical parameters, such as operating voltage and current, in order to maximize the power output of PVGs [41]. The bat metaheuristic method aims to find efficient solutions without the need for testing, training or non-linear modeling of the PVGs. It focuses on optimizing the electrical parameters PVGs without requiring a precise model. The bat algorithm, by its iterative nature, constantly strives to find the optimal maximum power point, reacting to changing environmental conditions. The first step consists of initializing the photovoltaic system, where the specific parameters of the PVG are defined, such as maximum operating voltage, short-circuit current, and rated power. In addition, the parameters of the bat algorithm are also initialized, such as the number of bats, the pulse frequency, the pulse amplitude, and the search bounds for the PV generator parameters. At the start of the optimization, the chopper duty cycle is initialized to 0.5, which assumes that the operating point of the pumping system lies at the intersection of the current-voltage characteristics of the PVG and the torque imposed by the induction motor. Once the system is configured, the main loop of the bat algorithm begins. Bats position themselves randomly (xi) and fly randomly with fixed velocity (vi) and frequency (f), respectively according to Eqs (12–13) [42], and vary wavelengths when foraging [43]. At each iteration, the bats adjust their frequencies by a random vector drawn from a uniform distribution that corresponds to the electrical voltage of PVGs, thereby adjusting their positions according to Eq (11). This generally involves modifying the operating voltage to get closer to the global power point. (11)(12)(13) Once the various outputs have been calculated, the algorithm compares these values to find the optimum output, which corresponds to the maximum overall power the PVG can deliver under the given operating conditions. To do this, it calculates the errors between the different power ratings and selects the best solution that optimizes overall system performance. System performance is assessed by calculating the power output of the PVG parameter set, using the current irradiation conditions. The process continues by updating the best set of local and global parameters based on the calculated performance of each individual. The aim is to identify the parameters that maximize energy production. The tracking error is calculated by subtracting the measured current power of the solar array with the best overall power found. This error represents the gap between the PV generator’s current performance and its optimum potential. Finally, the PVG parameters are adjusted according to this tracking error, enabling the system to converge towards the MPP. At the end of the loop, once predefined stopping criteria has been reached (such as a specific number of iterations), the optimal electrical parameters of the PVG are determined [44]. These parameters aim to maximize the solar panel’s power output under the environmental conditions. The stages of this process are described in detail in the diagram in Fig 6. The parameters used to optimize the pumping system are shown in Table 4. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 6. Pseudocode for MPPT-bat technique. https://doi.org/10.1371/journal.pone.0309330.g006 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 4. various parameters of MPPT-Bat. https://doi.org/10.1371/journal.pone.0309330.t004 3.2 DTC techniques for solar water pumping systems The control strategy used to drive the induction machine is based on Direct Torque Control. This approach is chosen to optimally exploit the energy generated by the MPPT, which is based on the bat metaheuristic technique. The fundamental objective of DTC is to continuously adjust stator energy flow and electromagnetic force by implementing hysteresis controllers and a switching table to control the inverter, as shown in Fig 7. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 7. DTC control principle applied to the solar water pumping system. https://doi.org/10.1371/journal.pone.0309330.g007 To simplify the study of the time equations, a transformation is performed on the three-phase stator field windings, converting them into fictitious two-phase windings in the (α, β) reference frame using the Concordia transformation, the calculation procedure which is defined by Eq (14) [45]. This transformation facilitates the estimation of stator flux and electromagnetic torque. The components (α, β) of the stator currents and voltages are used to calculate the stator flux and electromagnetic torque, as detailed later. This approach offers a more practical representation of the relevant variables in this repository for better management of the induction machine control system. (14) a. Stator flux estimation. The Stator flux is estimated from stator voltage and current vectors, expressed by Eq (15). (15) The stator flux vector is calculated from its two-phase components of axes (α,β), as in Eq (16). (16) The stator flux modulus is written as: (17) With, (18) The stator current components are obtained by applying the Concordia transformation to the measured currents. (19) The components of the stator voltage vector vsα and vsβ are obtained from the measurement of the DC voltage Vdc and the state of switches H1,2,3, using Eq (20). (20) The sector Si in which the stator flux vector lies is determined by the components ψsα and ψsβ. The angle θs between the stator frame of reference and the vector , calculated by Eq (21). (21) b. Electromagnetic torque estimation. The electromagnetic torque can be estimated from the estimated fluxes and measured currents, and expressed in the form of Eq (22). From this equation, it can be seen that the accuracy of the electromagnetic torque modulus depends on the accuracy of the stator current measurement and the quality of the stator flux estimation. (22) c. Flux controller design. This corrector is designed to keep the end of the flux vector within a circular band, as shown in the Fig 8. A hysteresis comparator is used for stator flux correction. The comparator output indicates the direction of flux modulus evolution, in order to select the appropriate voltage vector. The difference between the reference flux and the estimated flux is entered into a two-level hysteresis controller, which generates the Boolean variable Hψ at its output [46]. This variable directly indicates whether the flux amplitude should be increased (Hψ = 1) or decreased (Hψ = 0) in order to keep the difference between the estimated flux and the flux reference within a hysteresis width Δψ, and the inequation should be checked. If ε > Δψ or ε ˂- Δψ, this means that the flux is moving out of the hysteresis band. In the first case, we’ll need to impose a voltage vector that will increase the flux modulus. In the second case, we’ll impose a voltage vector whose effect will be to decrease the flux modulus. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Hysteresis comparator principle for stator flux control. https://doi.org/10.1371/journal.pone.0309330.g008 d. Torque controller design. The principle of this hysteresis corrector is illustrated in Fig 9. Its role is to maintain the electromagnetic torque within the difference between the reference torque and the estimated torque within a hysteresis band. This difference is fed into a three-level hysteresis comparator, which generates at its output a Boolean variable directly indicating whether the torque amplitude should be increased in absolute value (HTem = 1 for a positive setpoint and HTem = -1 for a negative setpoint) or decreased (HTem = 0). It should be noted that increasing the levels of the corrector minimizes the average switching frequency of the switches [46]. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. Electromagnetic torque hysteresis controller. https://doi.org/10.1371/journal.pone.0309330.g009 e. Switching table design. The two-level voltage inverter supplies the asynchronous motor via a control command generated from a switching table of this DTC controller. The latter selects the appropriate voltage vector at each sampling time according to the state of the Boolean variables (Hψ & HTem) at the output of the two flux correctors and the electromagnetic torque, as well as the Si sector giving information on the position of the flux vector in the (α,β) space, which is summarized by the Table 5 [47]. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 5. DTC controller switching table. https://doi.org/10.1371/journal.pone.0309330.t005 3.1 Optimization technique based on the Bat principle The bat technique is a metaheuristic optimization method inspired by nature. This technique is used to improve the energy efficiency of a photovoltaic system. In this context, the main objective is to adjust the PV generator’s electrical parameters, such as operating voltage and current, in order to maximize the power output of PVGs [41]. The bat metaheuristic method aims to find efficient solutions without the need for testing, training or non-linear modeling of the PVGs. It focuses on optimizing the electrical parameters PVGs without requiring a precise model. The bat algorithm, by its iterative nature, constantly strives to find the optimal maximum power point, reacting to changing environmental conditions. The first step consists of initializing the photovoltaic system, where the specific parameters of the PVG are defined, such as maximum operating voltage, short-circuit current, and rated power. In addition, the parameters of the bat algorithm are also initialized, such as the number of bats, the pulse frequency, the pulse amplitude, and the search bounds for the PV generator parameters. At the start of the optimization, the chopper duty cycle is initialized to 0.5, which assumes that the operating point of the pumping system lies at the intersection of the current-voltage characteristics of the PVG and the torque imposed by the induction motor. Once the system is configured, the main loop of the bat algorithm begins. Bats position themselves randomly (xi) and fly randomly with fixed velocity (vi) and frequency (f), respectively according to Eqs (12–13) [42], and vary wavelengths when foraging [43]. At each iteration, the bats adjust their frequencies by a random vector drawn from a uniform distribution that corresponds to the electrical voltage of PVGs, thereby adjusting their positions according to Eq (11). This generally involves modifying the operating voltage to get closer to the global power point. (11)(12)(13) Once the various outputs have been calculated, the algorithm compares these values to find the optimum output, which corresponds to the maximum overall power the PVG can deliver under the given operating conditions. To do this, it calculates the errors between the different power ratings and selects the best solution that optimizes overall system performance. System performance is assessed by calculating the power output of the PVG parameter set, using the current irradiation conditions. The process continues by updating the best set of local and global parameters based on the calculated performance of each individual. The aim is to identify the parameters that maximize energy production. The tracking error is calculated by subtracting the measured current power of the solar array with the best overall power found. This error represents the gap between the PV generator’s current performance and its optimum potential. Finally, the PVG parameters are adjusted according to this tracking error, enabling the system to converge towards the MPP. At the end of the loop, once predefined stopping criteria has been reached (such as a specific number of iterations), the optimal electrical parameters of the PVG are determined [44]. These parameters aim to maximize the solar panel’s power output under the environmental conditions. The stages of this process are described in detail in the diagram in Fig 6. The parameters used to optimize the pumping system are shown in Table 4. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 6. Pseudocode for MPPT-bat technique. https://doi.org/10.1371/journal.pone.0309330.g006 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 4. various parameters of MPPT-Bat. https://doi.org/10.1371/journal.pone.0309330.t004 3.2 DTC techniques for solar water pumping systems The control strategy used to drive the induction machine is based on Direct Torque Control. This approach is chosen to optimally exploit the energy generated by the MPPT, which is based on the bat metaheuristic technique. The fundamental objective of DTC is to continuously adjust stator energy flow and electromagnetic force by implementing hysteresis controllers and a switching table to control the inverter, as shown in Fig 7. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 7. DTC control principle applied to the solar water pumping system. https://doi.org/10.1371/journal.pone.0309330.g007 To simplify the study of the time equations, a transformation is performed on the three-phase stator field windings, converting them into fictitious two-phase windings in the (α, β) reference frame using the Concordia transformation, the calculation procedure which is defined by Eq (14) [45]. This transformation facilitates the estimation of stator flux and electromagnetic torque. The components (α, β) of the stator currents and voltages are used to calculate the stator flux and electromagnetic torque, as detailed later. This approach offers a more practical representation of the relevant variables in this repository for better management of the induction machine control system. (14) a. Stator flux estimation. The Stator flux is estimated from stator voltage and current vectors, expressed by Eq (15). (15) The stator flux vector is calculated from its two-phase components of axes (α,β), as in Eq (16). (16) The stator flux modulus is written as: (17) With, (18) The stator current components are obtained by applying the Concordia transformation to the measured currents. (19) The components of the stator voltage vector vsα and vsβ are obtained from the measurement of the DC voltage Vdc and the state of switches H1,2,3, using Eq (20). (20) The sector Si in which the stator flux vector lies is determined by the components ψsα and ψsβ. The angle θs between the stator frame of reference and the vector , calculated by Eq (21). (21) b. Electromagnetic torque estimation. The electromagnetic torque can be estimated from the estimated fluxes and measured currents, and expressed in the form of Eq (22). From this equation, it can be seen that the accuracy of the electromagnetic torque modulus depends on the accuracy of the stator current measurement and the quality of the stator flux estimation. (22) c. Flux controller design. This corrector is designed to keep the end of the flux vector within a circular band, as shown in the Fig 8. A hysteresis comparator is used for stator flux correction. The comparator output indicates the direction of flux modulus evolution, in order to select the appropriate voltage vector. The difference between the reference flux and the estimated flux is entered into a two-level hysteresis controller, which generates the Boolean variable Hψ at its output [46]. This variable directly indicates whether the flux amplitude should be increased (Hψ = 1) or decreased (Hψ = 0) in order to keep the difference between the estimated flux and the flux reference within a hysteresis width Δψ, and the inequation should be checked. If ε > Δψ or ε ˂- Δψ, this means that the flux is moving out of the hysteresis band. In the first case, we’ll need to impose a voltage vector that will increase the flux modulus. In the second case, we’ll impose a voltage vector whose effect will be to decrease the flux modulus. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Hysteresis comparator principle for stator flux control. https://doi.org/10.1371/journal.pone.0309330.g008 d. Torque controller design. The principle of this hysteresis corrector is illustrated in Fig 9. Its role is to maintain the electromagnetic torque within the difference between the reference torque and the estimated torque within a hysteresis band. This difference is fed into a three-level hysteresis comparator, which generates at its output a Boolean variable directly indicating whether the torque amplitude should be increased in absolute value (HTem = 1 for a positive setpoint and HTem = -1 for a negative setpoint) or decreased (HTem = 0). It should be noted that increasing the levels of the corrector minimizes the average switching frequency of the switches [46]. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. Electromagnetic torque hysteresis controller. https://doi.org/10.1371/journal.pone.0309330.g009 e. Switching table design. The two-level voltage inverter supplies the asynchronous motor via a control command generated from a switching table of this DTC controller. The latter selects the appropriate voltage vector at each sampling time according to the state of the Boolean variables (Hψ & HTem) at the output of the two flux correctors and the electromagnetic torque, as well as the Si sector giving information on the position of the flux vector in the (α,β) space, which is summarized by the Table 5 [47]. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 5. DTC controller switching table. https://doi.org/10.1371/journal.pone.0309330.t005 a. Stator flux estimation. The Stator flux is estimated from stator voltage and current vectors, expressed by Eq (15). (15) The stator flux vector is calculated from its two-phase components of axes (α,β), as in Eq (16). (16) The stator flux modulus is written as: (17) With, (18) The stator current components are obtained by applying the Concordia transformation to the measured currents. (19) The components of the stator voltage vector vsα and vsβ are obtained from the measurement of the DC voltage Vdc and the state of switches H1,2,3, using Eq (20). (20) The sector Si in which the stator flux vector lies is determined by the components ψsα and ψsβ. The angle θs between the stator frame of reference and the vector , calculated by Eq (21). (21) b. Electromagnetic torque estimation. The electromagnetic torque can be estimated from the estimated fluxes and measured currents, and expressed in the form of Eq (22). From this equation, it can be seen that the accuracy of the electromagnetic torque modulus depends on the accuracy of the stator current measurement and the quality of the stator flux estimation. (22) c. Flux controller design. This corrector is designed to keep the end of the flux vector within a circular band, as shown in the Fig 8. A hysteresis comparator is used for stator flux correction. The comparator output indicates the direction of flux modulus evolution, in order to select the appropriate voltage vector. The difference between the reference flux and the estimated flux is entered into a two-level hysteresis controller, which generates the Boolean variable Hψ at its output [46]. This variable directly indicates whether the flux amplitude should be increased (Hψ = 1) or decreased (Hψ = 0) in order to keep the difference between the estimated flux and the flux reference within a hysteresis width Δψ, and the inequation should be checked. If ε > Δψ or ε ˂- Δψ, this means that the flux is moving out of the hysteresis band. In the first case, we’ll need to impose a voltage vector that will increase the flux modulus. In the second case, we’ll impose a voltage vector whose effect will be to decrease the flux modulus. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Hysteresis comparator principle for stator flux control. https://doi.org/10.1371/journal.pone.0309330.g008 d. Torque controller design. The principle of this hysteresis corrector is illustrated in Fig 9. Its role is to maintain the electromagnetic torque within the difference between the reference torque and the estimated torque within a hysteresis band. This difference is fed into a three-level hysteresis comparator, which generates at its output a Boolean variable directly indicating whether the torque amplitude should be increased in absolute value (HTem = 1 for a positive setpoint and HTem = -1 for a negative setpoint) or decreased (HTem = 0). It should be noted that increasing the levels of the corrector minimizes the average switching frequency of the switches [46]. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. Electromagnetic torque hysteresis controller. https://doi.org/10.1371/journal.pone.0309330.g009 e. Switching table design. The two-level voltage inverter supplies the asynchronous motor via a control command generated from a switching table of this DTC controller. The latter selects the appropriate voltage vector at each sampling time according to the state of the Boolean variables (Hψ & HTem) at the output of the two flux correctors and the electromagnetic torque, as well as the Si sector giving information on the position of the flux vector in the (α,β) space, which is summarized by the Table 5 [47]. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 5. DTC controller switching table. https://doi.org/10.1371/journal.pone.0309330.t005 4. Results and discussion The performance of the SWPS is related to the region’s solar deposit and its evolution in relation to other climatic changes such as temperature, humidity and especially irradiance, which is the most important and variable parameter during the day. In this contribution, we keep all parameters constant and test the robustness of the system as a function of irradiance, because the other parameters act with a very low correction coefficient, so that, for example, the module temperature studied affects power by 0.0334. However, as the performance is closely linked to the amount of irradiation available, it must be evaluated by carefully choosing the most appropriate form of evolution of this variable. This contribution is based on real irradiation data collected by a meteorological station at the Meknes Faculty of Science, recorded every hour during the year 2022. This station records minimum, average and maximum variations in several meteorological parameters such as temperature, wind speed, precipitation, irradiation and many other climatic parameters. The choice of setpoint for performance tests must be based on the evolution of real values; in this case, it is based on the analysis of the evolution of 36 days, randomly selected, corresponding to the first, tenth and twentieth days of each month, as illustrated in Fig 10. A detailed analysis of the data revealed different forms of irradiance profile during time intervals, such as uniform ("constant change"), abrupt ("rapid change") and constant ("constant value"). It should also be noted that the irradiation profile illustrated corresponds to the average irradiation; according to a detailed analysis of this variable by the monitoring station, its maximum variation can reach 250w.m-2 compared to the average irradiation. In addition, a maximum value of 1152w.m-2 was reached on Tuesday, May 03, 2022, in the region. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 10. Average irradiance in the region in 2022. https://doi.org/10.1371/journal.pone.0309330.g010 4.1 Irradiance profile used to assess the performances of SWPS The performance of the solar water pumping system is evaluated in this study using two different approaches. Firstly, the global power point tracking method using the bat metaheuristic technique on the PVG side. Secondly, the extracted energy is utilized by a DTC controller on the induction machine side. This evaluation is carried out under fluctuating irradiance conditions, simulating realistic situations. This analysis is based on the results shown in Fig 10. To test the robustness of the solar water pumping system, the profile used in Fig 11 is specially designed to include fast, slow, abrupt and habitual changes. These variations represent a remarkable test that provides an in-depth assessment of the system’s operation under diverse and dynamic conditions that reflect the reality of irradiance changes. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 11. Irradiation profile used to assess performances SWPS. https://doi.org/10.1371/journal.pone.0309330.g011 4.2 Simulation results Fig 12 shows the evolution of the main electrical, mechanical and hydraulic parameters of the solar water pumping system, namely Fig 12(a) the power obtained from the photovoltaic generator using the MPPT-bat technique, Fig 12(b) the speed of the motor-pump unit using the DTC technique, Fig 12(c) the instantaneous flow rate as a function of time, Fig 12(d) the evolution of the electromagnetic torque of the induction machine and Fig 12(e) the current absorbed by the machine as a function of time. These quantities are used to evaluate the performance of the system. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 12. SWPS optimization results. https://doi.org/10.1371/journal.pone.0309330.g012 4.3 Analysis and discussion The integration of the MPPT-bat and DTC optimization techniques on this SWPS demonstrates a remarkable performance, as shown by the results in Fig 12. The advantages offered by these two techniques can be summarized as follows: The performance obtained using the MPPT-bat technique, shown in Fig 12(a), demonstrates a fast response of the system to different irradiance conditions. This responsiveness is interpreted by the increased efficiency of the proposed technique. The behavior of the induction machine speed in Fig 12(b) shows that the system responds quickly, accurately, without static or drag errors and with a low overshoot of less than 0.4%. This dynamic tracking confirms the success of the DTC control in ensuring system reliability. The evolution of the instantaneous flow rate is shown in Fig 12(c), which shows a similarity between the irradiance and the flow rate of the pumped water. This linearity is also justified by the relationship between flow rate and velocity in equation (10) and the results in Fig 12b. These results show the success of the two proposed techniques in power extraction and the application of compatible electromagnetic torque in Fig 12(d) for good energy management. Fig 12(e) shows the evolution of the current drawn by the induction motor. The sinusoidal shape of the absorbed current indicates a low level of harmonic distortion, which means a good quality of energy transfer to the induction machine. In addition, the evolution of the current is linearly related to the irradiance, further demonstrating the success of the two techniques proposed for the energy optimization of this SWPS. To further validate the performance of the proposed techniques, Table 6 illustrates a comparative study between the maximum power that can be supplied by the PVG from Fig 3 and the power extracted using the MPPT-bat under different climatic conditions from Fig 12(a). Download: PPT PowerPoint slide PNG larger image TIFF original image Table 6. Comparative study of power versus irradiance. https://doi.org/10.1371/journal.pone.0309330.t006 The results obtained highlight the positive performance of the solar water pumping system studied. The absence of static errors allows precise regulation of the irrigation flow rate, which can be particularly advantageous in slightly sloping terrain. These results suggest that the system has great potential for efficient use of water resources, contributing to increasing agricultural yields. 4.4 Results summary In order to highlight the usefulness and success of the proposed technique, a comparative study with other techniques is presented in Table 7. This study examines performance on a global scale, as it’s difficult to find optimization techniques applied to the same water pumping system. This is due to the diversity of possibilities available for realizing such a solar pumping system. This diversity is due to the different types of static inverters (choppers, inverters), the different types of storage such as water tower or batteries, as well as the types of electric motors driving the hydraulic pump (DC, AC). It should also be noted that when the size of the system changes, parameters such as the sizing and choice of power components need to be adapted. This adaptation is essential to maintain system efficiency and reliability. The results of this comparative analysis underline the remarkable effectiveness of the proposed method, highlighting its relevance and potential in different application contexts. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 7. Comparative study of SWPS optimization techniques. https://doi.org/10.1371/journal.pone.0309330.t007 4.5 Validation with a real profile This section uses an authentic setpoint data collected from a meteorological station located at the Faculty of Science in the city of Meknes, Morocco. As the solar water pumping system can only operate during periods of sunshine, the irradiation setpoint is used exclusively for a total duration of 16 hours, with the simulation starting at 6 a.m. The main objective is to carefully evaluate the effectiveness and efficiency of the two proposed techniques. These careful evaluations are intended to provide a clear understanding of the overall effectiveness of this approach. They are also intended to inspire and motivate farmers to adopt these highly beneficial systems to meet the needs of sustainable, environmentally friendly agriculture. The results show that both techniques perform exceptionally well, exceeding expectations. Bat’s optimization technique not only controls the maximum available power point in all cases, but also guarantees minimum disturbance, as shown visually in Fig 13(b). This level of control guarantees optimum energy extraction, thus optimizing the process. On the other hand, Direct Torque Control (DTC) ensures that the system perfectly maintains the predetermined speed setpoint throughout the day. The precision with which it maintains the pump speed, as clearly shown in Fig 13(c), guarantees a stable, optimum water flow, as shown in Fig 13(d). These results hold great promise for improving the energy efficiency of water pumps, as they show that the combination of DTC and Bat techniques can effectively overcome the limitations of conventional maximum power point tracking approaches. As a result, this combination offers a number of benefits that can be summarized as follows: First and foremost, it leads to an increase in solar power generation, thereby reducing costs and strengthening sustainability efforts. It also improves the quality of the power supply, extending the life of the system and minimizing the risk of operational disruption. In addition, the fusion improves the tracking speed, which ultimately increases the flow rate of the pumped water. Finally, it helps to reduce the carbon footprint, which plays an important role in preserving the environment. Taken together, these benefits offer a wealth of promising prospects for the integration of solar water pumping systems into sustainable agriculture. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 13. SWPS optimization results for the real setpoint. https://doi.org/10.1371/journal.pone.0309330.g013 4.1 Irradiance profile used to assess the performances of SWPS The performance of the solar water pumping system is evaluated in this study using two different approaches. Firstly, the global power point tracking method using the bat metaheuristic technique on the PVG side. Secondly, the extracted energy is utilized by a DTC controller on the induction machine side. This evaluation is carried out under fluctuating irradiance conditions, simulating realistic situations. This analysis is based on the results shown in Fig 10. To test the robustness of the solar water pumping system, the profile used in Fig 11 is specially designed to include fast, slow, abrupt and habitual changes. These variations represent a remarkable test that provides an in-depth assessment of the system’s operation under diverse and dynamic conditions that reflect the reality of irradiance changes. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 11. Irradiation profile used to assess performances SWPS. https://doi.org/10.1371/journal.pone.0309330.g011 4.2 Simulation results Fig 12 shows the evolution of the main electrical, mechanical and hydraulic parameters of the solar water pumping system, namely Fig 12(a) the power obtained from the photovoltaic generator using the MPPT-bat technique, Fig 12(b) the speed of the motor-pump unit using the DTC technique, Fig 12(c) the instantaneous flow rate as a function of time, Fig 12(d) the evolution of the electromagnetic torque of the induction machine and Fig 12(e) the current absorbed by the machine as a function of time. These quantities are used to evaluate the performance of the system. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 12. SWPS optimization results. https://doi.org/10.1371/journal.pone.0309330.g012 4.3 Analysis and discussion The integration of the MPPT-bat and DTC optimization techniques on this SWPS demonstrates a remarkable performance, as shown by the results in Fig 12. The advantages offered by these two techniques can be summarized as follows: The performance obtained using the MPPT-bat technique, shown in Fig 12(a), demonstrates a fast response of the system to different irradiance conditions. This responsiveness is interpreted by the increased efficiency of the proposed technique. The behavior of the induction machine speed in Fig 12(b) shows that the system responds quickly, accurately, without static or drag errors and with a low overshoot of less than 0.4%. This dynamic tracking confirms the success of the DTC control in ensuring system reliability. The evolution of the instantaneous flow rate is shown in Fig 12(c), which shows a similarity between the irradiance and the flow rate of the pumped water. This linearity is also justified by the relationship between flow rate and velocity in equation (10) and the results in Fig 12b. These results show the success of the two proposed techniques in power extraction and the application of compatible electromagnetic torque in Fig 12(d) for good energy management. Fig 12(e) shows the evolution of the current drawn by the induction motor. The sinusoidal shape of the absorbed current indicates a low level of harmonic distortion, which means a good quality of energy transfer to the induction machine. In addition, the evolution of the current is linearly related to the irradiance, further demonstrating the success of the two techniques proposed for the energy optimization of this SWPS. To further validate the performance of the proposed techniques, Table 6 illustrates a comparative study between the maximum power that can be supplied by the PVG from Fig 3 and the power extracted using the MPPT-bat under different climatic conditions from Fig 12(a). Download: PPT PowerPoint slide PNG larger image TIFF original image Table 6. Comparative study of power versus irradiance. https://doi.org/10.1371/journal.pone.0309330.t006 The results obtained highlight the positive performance of the solar water pumping system studied. The absence of static errors allows precise regulation of the irrigation flow rate, which can be particularly advantageous in slightly sloping terrain. These results suggest that the system has great potential for efficient use of water resources, contributing to increasing agricultural yields. 4.4 Results summary In order to highlight the usefulness and success of the proposed technique, a comparative study with other techniques is presented in Table 7. This study examines performance on a global scale, as it’s difficult to find optimization techniques applied to the same water pumping system. This is due to the diversity of possibilities available for realizing such a solar pumping system. This diversity is due to the different types of static inverters (choppers, inverters), the different types of storage such as water tower or batteries, as well as the types of electric motors driving the hydraulic pump (DC, AC). It should also be noted that when the size of the system changes, parameters such as the sizing and choice of power components need to be adapted. This adaptation is essential to maintain system efficiency and reliability. The results of this comparative analysis underline the remarkable effectiveness of the proposed method, highlighting its relevance and potential in different application contexts. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 7. Comparative study of SWPS optimization techniques. https://doi.org/10.1371/journal.pone.0309330.t007 4.5 Validation with a real profile This section uses an authentic setpoint data collected from a meteorological station located at the Faculty of Science in the city of Meknes, Morocco. As the solar water pumping system can only operate during periods of sunshine, the irradiation setpoint is used exclusively for a total duration of 16 hours, with the simulation starting at 6 a.m. The main objective is to carefully evaluate the effectiveness and efficiency of the two proposed techniques. These careful evaluations are intended to provide a clear understanding of the overall effectiveness of this approach. They are also intended to inspire and motivate farmers to adopt these highly beneficial systems to meet the needs of sustainable, environmentally friendly agriculture. The results show that both techniques perform exceptionally well, exceeding expectations. Bat’s optimization technique not only controls the maximum available power point in all cases, but also guarantees minimum disturbance, as shown visually in Fig 13(b). This level of control guarantees optimum energy extraction, thus optimizing the process. On the other hand, Direct Torque Control (DTC) ensures that the system perfectly maintains the predetermined speed setpoint throughout the day. The precision with which it maintains the pump speed, as clearly shown in Fig 13(c), guarantees a stable, optimum water flow, as shown in Fig 13(d). These results hold great promise for improving the energy efficiency of water pumps, as they show that the combination of DTC and Bat techniques can effectively overcome the limitations of conventional maximum power point tracking approaches. As a result, this combination offers a number of benefits that can be summarized as follows: First and foremost, it leads to an increase in solar power generation, thereby reducing costs and strengthening sustainability efforts. It also improves the quality of the power supply, extending the life of the system and minimizing the risk of operational disruption. In addition, the fusion improves the tracking speed, which ultimately increases the flow rate of the pumped water. Finally, it helps to reduce the carbon footprint, which plays an important role in preserving the environment. Taken together, these benefits offer a wealth of promising prospects for the integration of solar water pumping systems into sustainable agriculture. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 13. SWPS optimization results for the real setpoint. https://doi.org/10.1371/journal.pone.0309330.g013 5. Conclusion This research paper investigates an approach to SWPS optimization. The approach is based on the use of MPPT-bat techniques on the PVG side and DTC on the induction motor side. These techniques respond quickly to irradiance changes, ensure that the pump motor speed is maintained accurately and establish an effective correlation between the instantaneous water flow rate and the amount of energy available in the PVG. The implications of these results are very encouraging as they have the potential to improve the energy efficiency of renewable SWPS. One of the key benefits of MPPT-bat is its ability to extract maximum power from the PVG regardless of weather conditions. In addition, the DTC enables precise, responsive control of the pump motor, optimizing the use of the energy produced by the PVG. The integration of these two techniques, MPPT-Bat and DTC, offers significant benefits. These include increased solar energy production, improved power quality and fast response. As a result, these improvements lay the foundation for more sustainable agricultural irrigation practices. The implementation of MPPT-Bat and DTC techniques results in reduced agricultural energy costs, extended irrigation system life and improved pumped water flow rates. In addition, increased solar energy production helps to reduce dependence on fossil fuels. This has a positive impact on the environment. Indeed, these results suggest that these techniques can overcome the limitations generally associated with conventional MPPT approaches. As a limitation of this approach, it should be noted that, according to the results obtained, there is a fluctuation in the electromagnetic torque. These fluctuations can be reduced by using intelligent estimation techniques. Also, the speed can be estimated to avoid the use of the speed sensor, which would make the system even more advantageous. These limitations will be the subject of our future research. Supporting information S1 Dataset. https://doi.org/10.1371/journal.pone.0309330.s001 (RAR) TI - Optimization of solar water pumping systems through a combined approach based on MPPT-Bat and DTC JF - PLoS ONE DO - 10.1371/journal.pone.0309330 DA - 2024-12-30 UR - https://www.deepdyve.com/lp/public-library-of-science-plos-journal/optimization-of-solar-water-pumping-systems-through-a-combined-046xmrvZYq SP - e0309330 VL - 19 IS - 12 DP - DeepDyve ER -