In today's world, the daily need for and cost of energy sources increase and this forces industrial institutions to seek for new ways to generate their own energy. The developments in photovoltaic systems have recently drawn attention in the business world. Although their installation costs are high, they are environmentally friendly and profitable investments in the long run. The cost analysis of a large-scale photovoltaic generator in the climatic conditions of Kahramanmaraş will lead the way to new investments. In this study, the modeling and cost analysis of an on-grid photovoltaic generator of 500 kW, which was installed to provide energy for a textile factory located in the Pazarcık district of Kahramanmaraş Province (37.5• N, 37.