General description of the model

The study determined the potential available at the site under study, considered the high potential of renewable energy as a source of electrical power generation, then looked at the form used to supply the required load. Initial studies at the site under study identified solar and wind energy as high potential sources, which can be seen in subsequent sections on the amount of sunlight and wind. In the next step, the photovoltaic cell model used was coded in MATLAB, and HOMER software was used to simulate the system, factoring in data on the amount of sunlight, wind and electricity required. The wind and radiation intensity data for the study area (Tehran) was taken from the NASA site. The data on the electricity required was obtained from the Ministry of Energy. The equipment needed for the system was determined. The objective function was implemented with the optimal approach from the economic point of view while being able to reliably meet the maximum load demanded. The study also looks at the production of hydrogen as a clean fuel, which can be considered as a fuel cell input source for generating thermal energy or for use in a gas turbine or as car fuel.
Solar radiation intensity
The solar radiation intensity data for Karaj for 2017/18 was obtained from the NASA site and inputted in Homer software. The daily solar radiation in this region was 4.89 KWh/m2/d, as shown in Fig. 2.