Dynamic Modeling, Control, and Analysis of a Solar Water Pumping System for Libya
In recent years, one of the suitable solar photovoltaic (PV) applications is a water pumping system. The simplest solar PV pumping system consists of PV array, DC-DC converter, DC motor, and water pump. In this paper, water pumping system sizing for Libya is evaluated based on a daily demand using HOMER software, and dynamic modeling of a solar PV water pumping system using a Permanent Magnet DC (PMDC) motor is presented in Matlab/Simulink environment. The system performance with maximum power point tracking (MPPT) based on Fractional Open Circuit Voltage (FOCV) is evaluated with and without a battery storage system. In some applications, a rated voltage is needed to connect a PMDC motor to a PV array through a DC-DC converter and in other applications the input voltage can vary. The evaluation of the system is based on the performance during a change in solar irradiation. Using Matlab/Simulink, simulation results are assessed to see the efficiency of the system when it is operating at a specific speed or at the MPPT. The results show that an improvement in the system efficiency can be achieved when the PMDC motor is running at a specific speed rather than at the peak PV power point.
In rural areas, standalone photovoltaic water pumping systems have become very competitive solution for water supply because the access to an electric grid is not available or costly effective. In Libya, standalone solar systems are gaining more interest than other renewable energy sources because many sunny days are available. Moreover, because of the environment issues such as global warming, researchers are led to develop the renewable energy sources such as solar systems.
One of the most important issues with PV standalone systems is its efficiency and performance over various operating conditions. In  a brushless DC motor solar water pumping system is described and simulated. The system model is developed from an individual component to assess the overall performance of the system. The results show that the efficiency of solar PV water pumping system over various operating conditions is improved compared to the existing systems. The performance of standalone solar systems is also associated with the parallel and series combination of PV module. In  a simulated model of directly connected solar PV system to a PMDC motor water pumping system and its experimental results are carried out and analyzed. For different solar irradiation and ambient temperature, a combination of series and parallel PV modules is analyzed in terms of their performance. The results show that a good matching cannot be achieved at low solar irradiation. A good matching can be achieved for a typical parallel and series combination of the PV module. Furthermore, the solar water pumping system performance is evaluated under fixed position and manual tracking of PV panel. The evaluation shows that the manual tracking for the water pumping system is 22.6% more efficient than the fixed PV panels.
Type of motor in standalone water pumping systems affects the overall system performance. In  a PV system, a permanent magnetic DC motor, and a single phase induction motor models are implemented in Matlab/Simulink environment. The use of PV system is to feed a water pumping system. A simulation and experimental results are carried out to evaluate the performance of the PMDC motor compared to the single phase induction motor. The result shows that the single phase induction motor has lower performance compared to the PMDC motor. The use of the PMDC motor to drive a water pump is simpler compared to using the single induction motor because the PMDC motor does not require an inverter and excitation system for its field. The performance of DC motor varies also according to its type. In  a comparative study based on Matlab simulation between a PMDC motor water pumping system and DC motor water pumping system is presented. The two systems are fed by a PV source whose power output varies according to the solar irradiation and ambient temperature. The result shows that the performance of a PMDC motor water pumping system is better.
Regulating water discharge of standalone solar water pumping systems during the variation of solar irradiation is one of the keys to assess their performance. In  a standalone solar PV water pumping system driven by a permanent magnetic synchronous motor (PMSM) is modeled in Matlab/Simulink environment. The PV system is connected to a boost converter to regulate and maintain the DC bus voltage at constant level. The three-phase voltage source inverter supplies the PMSM and it is controlled to regulate the water discharge during a variation of solar irradiation. The result shows that the performance of solar photovoltaic PMSM water pumping system provides a satisfied motor speed under a variation of solar irradiation.
Operating motor at maximum efficiency can enhance the overall efficiency of a solar water pumping system. In  a system that consists of a directly connected solar PV array to a Switched Reluctance Motor (SRM) driving a centrifugal water pump is presented. The system considers the SRM because its efficiency, reliability, and cost are comparative to the DC and AC conventional electric machine for this type of application. The system is mathematically modeled and simulated in Matlab environment. By controlling the motor input current, the solar PV array is operated at the point of extracting maximum power. For a set of different solar irradiation and ambient temperature, simulation results are carried out. The simplicity of the control system helps to achieve the maximum power point tracking of the PV system. This control demonstrates its achievement result through the dynamic simulation. However, in the case of induction motor water pumping system, the operation of the induction motor at its maximum efficiency is better than operating the solar PV array at its maximum power point to extract the peak power. In  a dynamic analysis and steady state operation of a water pumping system is presented. The water pumping system consists of an induction motor, a three-phase voltage source inverter, and solar PV array. The three-phase voltage inverter is controlled to achieve the maximum efficiency operation of the induction motor. The results show that the maximum efficiency of the induction motor and overall standalone solar system is achieved under a variation of the solar irradiation.
Improving efficiency of standalone solar water pumping systems can be achieved when a PV array operates at MPPT. In  photovoltaic DC motor water pumping system is modeled and simulated in Matlab. A DC motor is used and driven by a solar PV source through a DC-DC converter. The model evaluates the performance of the system using actual irradiation data. The performance is examined using P&O based MPPT algorithm and without MPPT algorithms. The performance parameters consider the produced power and the volume of the pumped water per day. The simulation results indicate that the system with P&O based MPPT algorithm has better efficiency and performance in comparison to the system without implementing the MPPT algorithm. However, the best performance for standalone water pumping systems without MPPT can be achieved with matching electromechanical characteristics of a motor and a solar PV array. In  theoretical and experimental results for a directly coupled solar PV water pumping system are presented. A centrifugal pump is driven by a PMDC motor which is directly connected to solar PV array. The experimental and simulation results are carried out based on a good match between the electromechanical characteristics of the PMDC motor and the solar PV array at various solar irradiation values. For low solar irradiation, the torque-speed curve should be steeper than the torque-speed curve for high solar irradiation. The performance of the simulated and experimented system is used for selecting a suitable PV array that has a good match with an electromechanical system.
This paper aims to achieve the highest efficiency of a standalone water pumping system by implementing MPPT and running a PMDC at the highest efficiency. By adding a storage battery system, the MPPT tracking can be implemented and the extra power can be stored. The water pumping system can run at specific speed to meet the daily demand for the specific location in Libya. At the same time the PMDC runs at the highest efficiency. The paper focuses on the performance of a directly coupled water pumping system with MPPT based on FOCV and compared it with the performance of solar water pumping system with a battery storage system. The comparison is based on the PMDC motor efficiency for a different scenario of rotor speed.
2. System Sizing and Components
The amount of water needed is the first step toward sizing a solar water pumping system. However, if the water needs are varying, the sizing should use the highest amount of water needs. Table 1 shows the approximated water usage per day.
The solar water pumping system is designed in this paper to water the needs of a small farm. The needs of the farm are associated with a family of six people water needs, two milking cows, two horse, twenty sheep, ten goats, and five thousand chickens in Libya. From Table 1 and the daily water needs for the farm, the total daily water needs per day are 750 gallons/day.
The peak sun hours in Libya are 3000–3500 hours per year. As a result, the number of peak sun hours per day is nine hours per day. To sustain the daily watering needs, the proposed solar water pumping system has to be capable of pumping gallons per minute. This is about 1.4 gallons per minute. Because of the variation in the peak sun hours between the winter and the summer, the amount of 1.4 gallons per minute should be considered as minimum rate flow of water. To meet the requirement in winter, the amount of 2 gallons per minutes is suitable. The total depth of the well is 90 ft. Figure 1 shows the relationship between the total depth and the rate flow of the water for different type of centrifugal water pump.
The SCB 20-45 at 105 V is chosen based on the water needs since the 2 gallons per minute is the goal of the water pumping system and the total depth is 90 ft. The power needs for water pump are 0.5 hp driven by a PMDC motor.
Since the electrical load is 0.37285 kw (0.5 hp) which is approximately 0.4 kW and the number of peak sun hours per day in Libya is nine hours per day, the Homer software (http://homerenergy.com) can be used to size the proposed water pumping system. Based on the Homer optimization result, the pump load needs fifteen 0.075 kW PV modules and sixteen batteries to sustain the daily watering needs. These results are based on the monthly averaged insolation incident on a horizontal surface (kWh/m2/day) in Libya. Figure 2 shows the system implementation in Homer software.
The categorized result of the optimization analysis indicates that the rated PV array is 1.2 kW and the number of batteries needed is sixteen.
The PV module uses a single diode model which is shown in Figure 3. Depending on solar irradiation and ambient temperature, the output power from the PV module varies.
The mathematical modeling of a PV cell is described by (1)–(6). The output current () from the PV module is given aswhere is the photon generated current from the PV module. is given aswhere is the actual solar irradiation, is the nominal irradiation at standard condition STC 1000 and 25°C, is the short circuit of the PV array at STC, is temperature coefficient of , is the actual temperature, and is 25°C. The diode current is given bywhere is the diode saturation current and it is given by (4) and is given by (5):where is the diode reverse saturation current, is the charge of electron (), is Boltzmann’s constant (), and is the diode ideality factor.where is the number of series cells in the PV module. The diode reverse saturation current is given by
The characteristic of the PV module can be obtained by modeling (1)–(6) in Matlab/Simulink. The standard test condition (1000 and 25°C) parameters for a ISOFOTON I-75 photovoltaic system is shown in Table 3.
Figure 4 shows the model of a ISOFOTON I-75 array in Matlab/Simulink. The ISOFOTON I-75 module is connected to a variable load resistance to examine the characteristic of the PV.
The curves for the PV array are shown in Figure 5. The model is simulated for various solar irradiation values which are 200 , 400 , 600 , 800 , and 1000 .
Figure 5 shows an increase in the PV array output power due to the increase in the solar irradiance. Figure 6 shows curves for the PV array. The results are carried out for various solar irradiance values. When the solar irradiance becomes higher, the PV array output is increased. As a result, the voltage across the PV output and the drawn current from the PV array becomes larger.
Figure 8 shows for the PV array at different ambient temperature.
Figure 8 indicates that the output voltage and current are lowered due to an increase in the ambient temperature.
3. DC-DC Boost Converter
The equivalent circuit of a boost converter is shown in Figure 9. The boost converter is connected to the photovoltaic array.
The parameters of the boost converter are shown in Table 4. These parameters are determined according to the ripple limit (δ = 1%) and by using the following expression:where is the duty ratio, is the input voltage, and is the output voltage. The inductance is calculated aswhere is the switching frequency and is the input current. The capacitance is calculated aswhere is the output current.
The DC-DC boost converter operates in continuous mode. There are two states of operation which are ON state and OFF state. During each state, a state of differential question is driven to describe the dynamic operation of the boost converter. Equations (10) are the state space model for the boost converter during ON and OFF state of operation.
The matrices , , and, are given by
The state space averaging technique is used. Therefore, the state vector which is is given as
The computation of matrix, matrix, and matrix is based on the state space averaging which is given as
From the transfer function of the boost converter, the PI controller is determined using SISO tool in Matlab/Simulink. The transfer function of the converter is given as
Also, the parameters of the PI controller are given as
Therefore, the parameters of the PI controller are and .
The step response for the system is shown in Figure 10.
4. Fractional Open Circuit Algorithm Based MPPT
The variation in voltage and maximum power point is associated with the unpredictable solar irradiation and ambient temperature. The approximated voltage at maximum power point is a fraction of the open circuit voltage. The fraction open circuit voltage method is based on the following formula:
Figure 11 shows the block diagram implementation of PI controller in Matlab/Simulink.
Factor in (16) is less than a unity, and it varies according to the solar irradiation and ambient temperature. The variation of factor is between 0.71 and 0.8, but the commonly used value for this factor is 0.76.
5. Permanent Magnetic PMDC Motor Model
In PMDC motors, the field winding is permanent magnetic, so the PMDC motors do not need an external excitation. Figure 12 shows the equivalent circuit of a PMDC motor.
From Figure 12, the terminal voltage () can be written aswhere is the DC source voltage (V), is the armature current (A), is the armature resistance (Ω), is the armature inductance (H), is the torque constant (), and is motor speed (rpm). The electrical torque () is given by
The motor speed as function in the electrical torque and the load torque () is given bywhere is inertia constant () and is constant (). By rearranging (17), (18), and (19), the dynamic model for a PMDC motor can be described as
A typical performance of a PMDC motor is shown in Figure 14. The highest efficiency can be achieved at a certain speed. Therefore, by controlling the PMDC motor speed, the PMDC can run efficiently.
The parameters for the PMDC motor are given in Table 5.
6. Directly Coupled PV Water Pumping System with MPPT Based FOCV
Figure 15 shows the Matlab model for the PV array connected directly to a permanent magnetic DC motor through a MPPT based FOCV method.
Figure 16 indicates that the fractional open circuit FOC based MPPT tracks the peak power from the PV array. The input power to the PMDC motor is increased when the solar irradiance increases from 400 to 600 . The input solar irradiation is increased at 0.32 seconds from 400 to 600 . Since the PV array is directly coupled to the PMDC motor through a FOC based MPPT, the power causes an increase in the mechanical output torque. Since the torque is proportional to the armature current, the current at 0.32 seconds is increased as shown in Figure 16. In addition, the rotor speed of the PMDC motor is increased proportionally to the increase in the solar irradiation as shown in Figure 17. The flow rate of the centrifugal pump is increased as well due to the increase in the PMDC rotor speed. Figure 17 shows the increase of the flow rate when the solar irradiance is increased at 0.32 seconds.
However, the input power to the PMDC motor is decreased when the solar irradiance decreases from 600 to 200 . The input solar irradiation is decreased at 0.48 seconds from 600 to 200 . Since the PV array is directly coupled to the PMDC motor through a FOC based MPPT, the power causes a decrease in the mechanical output torque as shown in Figure 16. Because the armature current is proportional to the torque, the armature current is decreased as well. The rotor speed is decreased since the input power is decreased. This results in decreasing the flow rate are shown in Figure 17.
7. Controlling the PMDC Motor Input Voltage with Boost Converter
To maintain the input voltage of the 0.5 hp PMDC motor, an additional boost converter is connected between the storage system and the PMDC motor to maintain the input voltage constant. The parameters of the boost converter for this stage are shown in Table 6.
By using the state space averaging technique in (13), the PI controller is designed using SISO tools in Matlab/Simulink. The open loop transfer function of the converter and the parameters of the PI controller are given as
Also, the parameters of the PI controller are given as
Therefore, the parameters of the PI controller are and .
The step response for the system is shown in Figure 18.
8. Battery Stoarge System
The charging control implementation in Matlab/Simulink is shown in Figure 19. Depending on the state of charge (SOC), the charging control works. The SOC contains a relay which opens when the battery reaches 95% of its charge. The SOC control does not allow the battery to be charged 100%. In addition, when the discharge of the battery reaches 50%, the battery is isolated from the load by opening its switch.
9. Water Pump Model
A centrifugal pump load is modeled by the following equation which indicates the load torque .
The flow rate according to  can be given aswhere () is the input power required (W), () is the fluid density (), () is the energy head added to the flow (m), () is the standard acceleration of gravity (9.80665 ), () is the flow rate (), and () is the efficiency of the pump plant.
10. Solar Water Pumping System with MPPT Based FOCV and Battery Storage System
The PV array model with charging battery controller has two effective components as shown in Figure 19. The battery storage with charging controller and boost converter to regulate the input voltage for the PMDC motor is added to the model as shown in Figure 20.
Figure 21 indicates the PV output peak power which is extracted by the FOCV Based MPPT method. The input solar irradiation is increased at 0.32 seconds from 400 to 600 . Since the PV array is not directly coupled to the PMDC motor, the mechanical output torque remains constant because of the regulating boost converter as shown in Figure 18. Although the input solar irradiation is decreased at 0.48 seconds from 600 to 200 , the mechanical torque remains constant due to the regulating boost converter as shown in Figure 21.
The input power to the PMDC motor remains constant when the solar irradiance increases from 400 to 600 . Because of the boost converter connected between the battery and PMDC motor, the input voltage is controlled by the boost converter. This makes the PMDC motor run at constant speed with different solar irradiation values. As a result of regulating boost converter, the rotor speed, the flow rate, and the armature current remain constant when the input solar irradiation is varying. This allows the PMDC motor to run at a constant speed with various solar irradiation values as shown in Figure 22. Initial simulation transient is also shown.
The added stage (Battery Storage and Regulation Boost Converter) controls the input power to the PMDC motor. Figure 18 shows that the solar irradiation is varying at 0.32 seconds and at 0.48 seconds. At 0.32 seconds, the solar irradiation is changed from 400 to 600 and it is changed at 0.48 seconds from 600 to 400 . However, the input power to the PMDC motor remains constant as shown in Figure 23 due to the regulating boost converter.
A part of the generated power by the PV array drives the PMDC motor which drives the centrifugal pump load, and the rest of the generated power by the PV array charges the battery. The charging controller is closed when the state charge percentage of the battery is less than 95%. The solar irradiance is changed from 400 to 600 at 0.32 seconds. At 0.32 seconds the PV array output power becomes higher. This increases the rate of charging for the battery as shown in Figure 24. State of charge at 0.32 becomes faster since the charging current and voltage become larger. However, when the solar irradiance is decreased from 600 to 200 at 0.48 seconds, the battery is slightly charged because the highest percentage of the PV output power goes directly to the PMDC motor. As shown in Figure 23, at 0.48 the charging current is small.
11. Discussion and Conclusion
The directly coupled solar water pumping system with MPPT and the solar water pumping system with battery storage through MPPT are modeled and simulated in Matlab/Simulink environment. The results are obtained from the simulation. For directly coupled solar water pumping system, the rotor speed, flow rate, and armature current are proportional to the solar irradiation. They vary according to the variation in the solar irradiation. This makes the performance of a PMDC less efficient since the efficiency of PMDC motor is a function of rotor speed. The highest efficiency of a PMDC motor can be achieved at one speed according to its characteristic curves. In addition, according to the demand of water, the input power cannot exceed the rated power of the PMDC motor. This leads to an increase in the hp rating of the chosen PMDC motor which is a function of the capital cost. Furthermore, water storage system (tank) needs to be bigger since the extra power will be stored as water for the next day. This leads to an increase in the capital cost of having bigger water tank. On the other hand, the solar water pumping system with battery storage and regulating boost converter leads to an efficient system because the system can be run at a specific speed. This allows the PMDC motor to be run at higher efficiency. The battery storage can be used to store the extra power for a few cloudy days which makes the system more reliable. The motor can be chosen with lower hp rating power which means lower capital cost and the storage water tank can be smaller in comparison to the directly coupling solar water pumping system. Although the battery storage and the extra converter can increase the capital cost, the efficiency and reliability of the solar water pumping system with battery storage and regulating boost converter are comparative.
The solar water pumping system with battery storage and regulating boost converter is an efficient and reliable system in comparison to directly coupling water pumping system. This is due the advantage of running the system at one speed which allows higher efficiency of PMDC motor, lower PMDC motor hp rating, and smaller water tank system.
Conflicts of Interest
The authors declare that they have no conflicts of interest regarding the publication of this paper.
The authors would like to thank the Libyan Government for funding this research.
W. Lawrance, B. Wichert, and D. Langridge, “Simulation and performance of a photovoltaic pumping system,” in Proceedings of the International Conference on Power Electronics and Drive Systems, vol. 1, pp. 513–518, February 1995.View at: Google Scholar
N. Chandrasekaran and K. Thyagarajah, “Simulation and experimental validation of AC motor and PMDC motor pumping system fed by photovoltaic cell,” Indian Journal of Engineering and Materials Sciences, vol. 21, no. 1, pp. 93–103, 2014.View at: Google Scholar
N. Chandrasekaran, B. Ganeshprabu, and K. Thyagarajah, “Matlab based comparative study of photovoltaic fed DC motor and PMDC motor pumping system,” ARPN Journal of Engineering and Applied Sciences, vol. 7, no. 5, pp. 543–547, 2012.View at: Google Scholar
S. Belliwali, A. Chakravarti, and A. B. Raju, “Mathematical modelling and simulation of directly coupled PV water pumping system employing Switched Reluctance Motor,” in Proceedings of the IEEE PES Innovative Smart Grid Technologies—India (ISGT India '11), Kollam Kerala, India, 2011.View at: Google Scholar
A. B. Raju, S. Ramesh Karnik, and R. Jyoti, “Maximum efficiency operation of a single stage inverter fed induction motor PV water pumping system,” in Proceedings of the 1st International Conference on Emerging Trends in Engineering and Technology (ICETET '08), pp. 905–910, Nagpur, India, July 2008.View at: Publisher Site | Google Scholar
A. Oi, M. Anwari, and M. Taufik, “Modeling and simulation of photovoltaic water pumping system,” in Proceedings of the 3rd Asia International Conference on Modelling Simulation, Bali, Indonesia, 2009.View at: Google Scholar
M. Boxwell, Solar Electricity, Greenstream Publishing, Coventry, UK, 2016, edition.
M. Taoufik, H. Karima, S. Lassaad, and G. Abdessattar, “Photovoltaic water pumping system with three-level NPC inverter,” International Journal of Engineering Sciences, vol. 3, no. 10, pp. 99–108, 2014.View at: Google Scholar
S. K. Gupta, M. R. Khan, and K. Jahan, “Modeling, Analysis and Control of Solar Water Pumping System,” http://www.krishisanskriti.org/vol_image/10Sep201511091751.pdf.View at: Google Scholar