The main focus of this article is the optimal allocation of wind turbines, solar PV and storage in 33 bus radial distribution system. The arithmetic optimization algorithm (AOA) was employed in this work for the optimal sizing of wind turbine and solar PV units with batteries in 33 bus distribution networks. The 1 year period is divided into multiple time segments, and each time segment is evaluated independently. For each time slot solar irradiance and wind speed are generated using suitable probability distribution function. Sensitivity analysis was done to find potential buses that might be placed to reduce computation time and search space. The Backward-Forward sweep technique was used to conduct load flow analysis. For the sake of stability, a reasonable penetration level is selected. The overall energy loss is minimized by the AOA optimization method under equality and inequality constraints. The suggested technique was tested on 33 buses, and it was observed that correct sizing and placement of DG units results in a significant decrease in losses with improved voltage profile.