## 4 Solar Pumping System Design  
Due to their capacity to reduce carbon emissions and mitigate the effects of global warming, the use of renewable energy has increased recently and received considerable attention. However, the performance of photovoltaic systems is affected by a few variables, such as temperature, shading, and uneven sunlight. The design and optimization of photovoltaic systems can benefit from the use of modeling tools, and two of the most popular programs for doing so are MATLAB 9.10.0.1577079 and SketchUp 8.0.16846. The use of these programs to create a solar pumping system that can produce 7.5 kW will be covered in this study. In the Wafaa area of the Al-Anbar province in Iraq, which covers an area of 7639 square kilometers and depends on wells to meet daily needs, the Ministry of Water Management and the General Directorate for Ground Water applied to the Department of Geology to obtain all the information about the land and the specifications of the well in the area as shown as shown in Table 1. A water well with a depth of 144 m was drilled with the use of a solar panel type (Trina type) with a capacity of 600 watts, which is available in local markets, with the use of a submersible water pump type (Grundfos Lenntech pump SP9-40 Rp2 4''3X380-415/50 7.5 kW pump) that has a capacity of 7.5 kW and includes other details for the design of the system [24]. In the following scenarios, the solar system will be examined and simulated:  
1. The first case involves a system with a natural design and knowledge of its productivity;
2. The second instance involves positioning solar panels at various angles and analyzing the system's performance;
3. In the third instance, we divided the matrix into ten panels in the south, four panels in the east, and four panels in the west, and we looked at the system's productivity in each of these areas. * The First instance: The system consists of 18 solar panels, each with a 600 W capacity, arranged in three rows. It has six panels. A three-phase, 11 kW agricultural inverter was employed. In the first scenario, every panel is in position. As a result, the angle of inclination is 30 degrees after accounting for the fact that Iraq is a sunny country and the site coordinators as shown in Figure 5.
* We found the following results for the Al-Wafaa district in Al-Anbar. Tests and simulation results  
In the first instance, all panels are positioned so that the angle of inclination is 30 degrees, taking into consideration that Iraq is a sunny country and the site coordinators. For the Al-Wafaa neighborhood in Al-Anbar, using modeling, we determined the daily productivity from sunrise to sunset see Table 2, as well as the monthly and annual productivity as shown in Figure 6. And A graph showing Figure 7 the inverter's current and voltages. The second instance, to increase working hours and compare productivity, the solar panels were installed at different angles, each with six panels at different angles, respectively. We divided the matrix equally into six southern panels, six eastern panels, and six western panels, as shown in the Figure 8, using the SketchUp program, and the data and shape were entered into the MATLAB program as follows: the pump, well, and solar cell data were entered while changing the inclination angles of the solar cells while maintaining the same number of panels. This is called the installation of irregular solar panels, and they can be used in agricultural areas and large industrial projects to achieve the maximum benefit from solar rays and obtain high efficiency. \begin{table}
\begin{tabular}{c c c c} \hline \hline N & 33 & 25 & 46 \\ \hline E & 42 & 30 & 20 \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Geographical site data for the Al-Wafaa district in the Al-Anbar province of Iraq in which the study was conducted.