File Exchange

image thumbnail

IWO-based voltage control of electric vehicles

version 1.0.0 (46.6 KB) by Navid Razmjooy
Smart voltage control of electric vehicles to manage power quality problems using weed algorithm

13 Downloads

Updated 13 Jun 2020

View License

In this code, a photovoltaic system connected to an electric vehicle and a power grid equivalent to electric energy storage batteries has been used to provide stable electrical energy to an electric car engine. The parameters of the car engine controller are also optimally optimized and determined by the weed dominance optimization algorithm.

Cite As

Navid Razmjooy (2021). IWO-based voltage control of electric vehicles (https://www.mathworks.com/matlabcentral/fileexchange/76923-iwo-based-voltage-control-of-electric-vehicles), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Navid Razmjooy

Dear my friend,
To run the system, first, run the m file. if it doesn't work, you just need MATLAB 2009.
The main structure of this simulation is based on MATLAB 2009

Dear Sir,

There is an error in this simulation model.

An error occurred while running the simulation and the simulation was terminated

Simulink cannot solve the algebraic loop containing 'Carpower/PV array/Subsystem1/Math Function' at time 0.08651 using the TrustRegion-based algorithm due to one of the following reasons: the model is ill-defined i.e., the system equations do not have a solution; or the nonlinear equation solver failed to converge due to numerical issues.
To rule out solver convergence as the cause of this error, either
a) switch to LineSearch-based algorithm using
set_param('Carpower','AlgebraicLoopSolver','LineSearch')
b) reducing the fixed step size.
If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification.

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!