This project comprises of workflows which use Simscape™ libraries to model the IEEE® 9-bus, 34-bus and 123-bus electrical power flow networks. Calculate the required charge points to satisfy the public charging demand for the chosen distribution network based on the EV vehicle flow and the power rating of the charge point. Simulate the distribution network with the estimated charge points to compute the bus node voltages and branch currents. Estimate the total cost to install the calculated charge points and leverage Global Optimization Toolbox to determine the optimal placement of charging stations to minimize the total cost. Run the optimization workflow in parallel using Parallel Computing Toolbox™
The subsequent workflows study the power quality impact of uncontrolled proliferation of EV charging stations in the distribution networks and show how smart charging stations involving bi-directional converters can improve the power quality of the distribution system.
In this project, you will learn how to:
![]() |
![]() |
![]() |
Model a distribution network. Calculate the total number of public fast charging points to satisfy EV charge demand. Estimate the total cost to install the charge points in the distribution network. |
- Clone and add the repository to the MATLAB® path.
- Open EVChargingStationPlacementWithSimscape.prj.
- In the toolstrip, use the project shortcut buttons to open the model and the workflows.
- This example requires MATLAB R2025a or later.
Copyright 2025 The MathWorks, Inc.





