In recent years, people's dependency for electrical energy has been increasing due to urbanization and technological developments. People turn their route to renewable energy that is an inexhaustible and harmless resource. To create more efficient systems, innovation is required in this field. It is aimed to solve the reliability problem of the renewable sources by adding battery storage to the system. In order to solve the inevitable economic problems, the system is designed in such a way that it can recover (sell) or store the surplus electricity. The more use of electricity by the consumers in the most economical way, the more system chooses the source under the defined conditions (scenario). This imagined system model is modeled on MATLAB / Simulink program and simulated on an hourly basis with the electricity consumption values of a real area. The simulated scenarios, whether they work clear or not, and their economic contribution are examined considering different conditions. Problems that may occur in such a system are determined and the economic profit that can be obtained is evaluated.