Electric vehicle charging stations (EVCSs) and renewable energy sources (RESs) have been widely integrated into distribution systems. Electric vehicles (EVs) offer advantages for distribution systems, such as increasing reliability and efficiency, reducing pollutant emissions, and decreasing dependence on non-endogenous resources. In addition, vehicle-to-grid (V2G) technology has made EVs a potential form of portable energy storage, alleviating the random fluctuation of renewable energy power. This paper simulates the optimal design of a photovoltaic/wind/battery hybrid energy system as a power system combined with an electric vehicle charging station (EVCS) using V2G technology in a grid-connected system. The rule-based energy management strategy (RB-EMS) is used to control and observe the proposed system power flow. A multi-objective improved arithmetic optimization algorithm (MOIAOA) concept is proposed to analyze the optimal sizing of the proposed system components by calculating the optimal values of the three conflicting objectives: grid contribution factor (GCF), levelled cost of electricity (LCOE), and energy sold to the grid (ESOLD). This research uses a collection of meteorological data such as solar radiation, temperature, and wind speed captured every ten minutes for one year for a government building in Al-Najaf Governorate, Iraq. The results indicated that the optimal configuration of the proposed system using the MOIAOA method consists of eight photovoltaic modules, two wind turbines, and thirty-three storage batteries, while the fitness value is equal to 0.1522, the LCOE is equal to 2.66 × 10−2 USD/kWh, the GCF is equal to 7.34 × 10−5 kWh, and the ESOLD is equal to 0.8409 kWh. The integration of RESs with an EV-based grid-connected system is considered the best choice for real applications, owing to their remarkable performance and techno-economic development.