<span lang="EN-US">Planning and management of distribution networks has become a very difficult task, especially with the strong expansion of renewable energy sources (RES) which are intermittent in nature. Maintaining fluidity and reliability of real-time decisions while taking into consideration uncertainties related to production and increasing the profit of distribution network operators is the objective of the system proposed in this work. It is an intelligent energy management system dedicated to the management of grid-integrated RES and battery energy storage systems (BESS), composed of: i) a real-time control and data acquisition model, ii) a model for forecasting the intermittent parameters of RES based on neural networks, iii) a long-term planning model based on the optimal placement and size of RES and BESS, and iv) an hourly planning model for scheduling the energy distribution between energy sources. The non-dominated sorting genetic algorithm and the entropy-TOPSIS method (technique for order of preference by similarity to ideal solution) form the basic block of this model. To evaluate it, a modified IEEE 33 bus network was used for testing and the results, for short-term scheduling, proved that the system succeeds in maximizing profits and significantly minimizing CO<sub>2</sub> emissions, in addition to power losses and voltage drops.</span>