MARATTO

article · Scientific Reports

EV charging station selection and routing flask application with ACO and NSGA-II including photovoltaic energy constraints

2026Open accessCadi Ayyad University

Abstract

This paper presents an intelligent electric vehicle routing and charging optimization framework designed to minimize travel distance, energy consumption, and charging costs while maximizing the integration of photovoltaic energy. The proposed hybrid model combines Ant Colony Optimization for efficient route planning with the Non-dominated Sorting Genetic Algorithm II for multi-objective optimization under realistic conditions, including State of Charge, vehicle speed, charger occupancy, dynamic pricing, and renewable energy availability. Implemented as a Flask application with real-time communication via MQTT, the framework was validated across five realistic driving scenarios in Morocco, encompassing urban, suburban, and highway routes. Results demonstrate that the proposed algorithm significantly outperforms traditional A*, Ant Colony Optimization , and Non-dominated Sorting Genetic Algorithm II approaches, reducing travel distance by 7-10% and energy consumption by 10-15% compared to A*, and achieving up to 15-20% faster travel times than Non-dominated Sorting Genetic Algorithm II. In scenarios with photovoltaic availability, it lowers charging costs by 30-40%, increases renewable energy utilization remains high (≈70-98%) achieving ≈3-4 kg CO₂ reduction per trip relative to grid-only charging. Overall, the hybrid PV-aware optimization framework surpasses all benchmark algorithms by jointly enhancing efficiency, economic performance, and environmental sustainability, establishing a scalable foundation for next-generation electric vehicle routing and charging management in smart cities.

Research topics

  • Electric Vehicles and Infrastructure
  • Photovoltaic Systems and Sustainability
  • solar cell performance optimization

Sustainable Development Goals

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.1038/s41598-026-50734-5

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.