The overall aim of this project is to improve and implement an optimal energy management system for generation systems based on photovoltaic panels and with storage units. These systems can be both on-grid (connected to the network) and off-grid (isolated systems, generally in remote locations), and connected to a small number of users, such as a home or a small business. Specifically, the management system…