The article is dedicated to an urgent problem today; Energy problems are one of the most important global problems of our time and directly affect many countries. Insufficient electricity production and its high cost hinder not only the establishment of industry and manufacturing industries, but also social development. The energy sector in Iraq suffers from a severe shortage of energy supplies with the continuous increase in demand for electrical energy consumption for domestic, industrial and commercial purposes. Therefore, there has been an urgent need to benefit from renewable energy resources, including solar energy, as it is quick to install compared to traditional power plants that require long periods of time, in addition to the environmental damage caused by the use of fossil fuels. The purpose of this work is to increase the efficiency of the energy complex using photovoltaic. To achieve this goal, it is necessary to analyze the operating modes of a photovoltaic system and study various modeling methods and experimental models for a photovoltaic system. The results appear that Iraq has the high intensive solar irradiation in the world during the year that lead to ability high annual generation energy from PV system and for 25 year through the life cycle that net power generation gradually declines slightly, without high affecting production efficiency. The practical value of the research lies in the improved electrical circuit of the photovoltaic generating system, its control elements, increased energy generation efficiency. This significantly increases the efficiency of the production of renewable energy systems. In addition to that, the theoretical significance of the study lies in the use of mathematical programs for modeling the operating modes of solar power generation systems, which significantly improve the operating parameters of control units and auxiliary systems and increase the production of electric energy.