Clear Filters
Clear Filters

how to model an electric vehicle and its charge discharge

46 views (last 30 days)
Want to model electric vehicle (30kW battery capacity) and charge by 1C/2C/3C rates with 3kW/5kW/10kW charger and consumption 150Wh/km.
How can I model it in simulink to charge it from transformer and after discharge in certain time period then again charge. First need to model one EV then I will go throgh multiple EVs with different battery capacity and their charge discharge caracteristics.
Please also provide any reference for study for simulation
  1 Comment
MUKESH KUMAR on 16 Oct 2019
Can I write the script for it in .m file rather than simulink model design of full EV, how to write code for this ??

Sign in to comment.

Answers (7)

Tony Lennon
Tony Lennon on 11 Oct 2019

Tony Lennon
Tony Lennon on 10 Oct 2019
Hi Mukesh,
Please take a look at this content that was presented in a MOOC.
  1 Comment
MUKESH KUMAR on 11 Oct 2019
Dont need to go in detailed modeling, i need only consumption of EVs in kW in a regular time interval like 15 0r 30 min with a 30kW battery capacity ,charging with charger of 3kW or 5kW ? then modeling large numbers of EVs

Sign in to comment.

Chirag on 10 Oct 2019
Hi Mukesh,
From your question, it seems like you are focusing on Charger performance and interaction with Battery, but care less about detailed model of Electric Vehicle.
If that is true, examples in Simscape Electrical can help you create a system level model. Here are some examples that you can refer to.
For Battery Model:
For Detailed Battery Management System: (Only in R2019b)
MUKESH KUMAR on 11 Oct 2019
Not going in details with EV modeling and charger, just taken an EV and its charging behaviour with any charger type then want to model similar more number of EVs in 1000 times to see the impact on Grid.
Nasifah Zailan
Nasifah Zailan on 21 Nov 2020
hello Mukesh Kumar, can you please share your answer once you got it? Thanks

Sign in to comment.

YOGALAKSHMI R on 21 Jun 2021
Dear sir,
Can you provide us the control and the simulation of, High Efficiency Three Phase Interleaved Buck Converter for Fast Charging of EV

Faizan Arshad
Faizan Arshad on 3 Oct 2021
i want to study EV charger (LEVEL 2) model with improved power quality.
can anyone provide simulation reference or anyother reference?
  1 Comment
Hakan Kaya
Hakan Kaya on 14 Apr 2022
Hi, Did you find anything about EV charger(LEVEL 2) model? I try to find this simulation in everywhere but ı couldn't find anything. :(

Sign in to comment.

Mona abdelhaleem
Mona abdelhaleem on 8 Apr 2023
i want deterministic model to develop a charging/discharging strategy for EVs located in a parking lot integrated with a photovoltaic system to ensure optimal operation in the day ahead. The time-of-use (ToU) price is used to minimize the day-ahead operation cost of energy trading to the charging station.

Vancouver EV  Charger Installation
The modeling of electric vehicles and their charge-discharge behavior is crucial for understanding their performance and optimizing their operation. This process involves accurately representing the vehicle's battery, powertrain, and control systems within a computational framework. By considering factors such as battery capacity, efficiency, and power demand, a comprehensive model can simulate various driving conditions and predict the vehicle's range, energy consumption, and charging requirements. This enables engineers and researchers to assess the impact of different factors on electric vehicle performance and develop strategies for efficient charging and discharging. Accurate modeling plays a vital role in advancing electric vehicle technology and promoting their widespread adoption. You must also check out it has some great insights too.


More Answers in the  Power Electronics Control


Find more on Get Started with Simscape Battery in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!