In the last decade, solar energy has experienced a rapid growth, which brings both environmental and economic benefits. In many countries, there is still no electricity grid extension in rural areas, and in the absence of a reliable electricity supply, farmers have to resort to diesel-based pumping irrigation systems. The solar photovoltaic (PV) system generates clean energy and eliminates the risk of environmental pollution in the form of oil spills, contaminated soil and carbon dioxide emissions.