The influence of distributed generation resources and energy storage units in distribution networks is increasing. Therefore, it is essential to examine their effect on network reliability. In this study, in order to present the optimal energy management strategy in the smart distribution network, the problem of multi-objective optimization of rearrangement of distribution feeders with the presence of distributed generation sources and energy storage units has been solved in a dynamic framework. Objective functions in this study include minimization of energy losses, redistributed energy and operating costs. In order to simultaneously optimize the reliability index and other objective functions, another optimal design for the production of distributed generation units, charging and discharging of energy storage systems as well as the topology of distribution network feeders is presented. In order to solve the multi-objective optimization problem in this study, a combination of particle social algorithms and frog mutation has been used. In order to show the ability of the method in providing an optimal energy management plan in a 95-bus network has been tested.