In this study, a fuzzy multi-objective framework is performed for optimization of a hybrid microgrid (HMG) including photovoltaic (PV) and wind energy sources linked with battery energy storage (PV/WT/BES) in a 33-bus distribution network to minimize the cost of energy losses, minimizing the voltage oscillations as well as power purchased minimization from the HMG incorporated forecasted data. The variables are microgrid optimal location and capacity of the HMG components in the network which are determined through a multi-objective improved Kepler optimization algorithm (MOIKOA) modeled by Kepler’s laws of planetary motion, piecewise linear chaotic map and using the FDMT. In this study, a machine learning approach using a multilayer perceptron artificial neural network (MLP-ANN) has been used to forecast solar radiation, wind speed, temperature, and load data. The optimization problem is implemented in three optimization scenarios based on real and forecasted data as well as the investigation of the battery's depth of discharge in the HMG optimization in the distribution network and its effects on the different objectives. The results including energy losses, voltage deviations, and purchased power from the HMG have been presented. Also, the MOIKOA superior capability is validated in comparison with the multi-objective conventional Kepler optimization algorithm, multi-objective particle swarm optimization, and multi-objective genetic algorithm in problem-solving. The findings are cleared that microgrid multi-objective optimization in the distribution network considering forecasted data based on the MLP-ANN causes an increase of 3.50%, 2.33%, and 1.98%, respectively, in annual energy losses, voltage deviation, and the purchased power cost from the HMG compared to the real data-based optimization. Also, the outcomes proved that increasing the battery depth of discharge causes the BES to have more participation in the HMG effectiveness on the distribution network objectives and affects the network energy losses and voltage deviation reduction.