In current year, endurable and entire renewable energy resources are extensively used in electrical energy generation system. Mainly, solar energy conservation systems are apply in stand -alone system. Solar panels covert solar radiation into direct electrical energy. Solar panels are one of the most potential renewable energy technologies for refreshing building. In this study, responsibility analysis of a solar system installed in my collage academic block and hostel is investigated. The system includes solar panel, battery, generator, converter and loads. In this study we calculate overall load in academic block (Electrical engineering department and round building) and only boy hostel. After knowing overall loads result for these buildings we simulate this data through HOMER tool and we obtain the best result which is presented in this paper. The result obtained from the optimization gives the initial capital cost as 296.000$ while operating cost is 2,882$/yr. Total net present cost (NPC) is 332,846$ and the cost of energy (COE) is 0.212$/kWh. The main purpose of this research paper is that the maximum demand of energy consumption for both academic block and hostel are simulated through solar panel, for this purpose which amount of solar panel and battery is required.