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.
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 .
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
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
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.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!