- Verify and adjust initial conditions to be realistic.
- Experiment with different solver settings, such as changing the solver type, increasing iterations, and adjusting tolerances.
- Review and ensure component parameters are within realistic ranges.
- Simplify the model to isolate the issue.
- Check for and resolve any algebraic loops.
- Update MATLAB and Simscape to the latest versions for potential bug fixes.
Solver Configuration Error Simulink
24 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Please help me :(
An error occurred while running the simulation and the simulation was terminated
Caused by:
['EV_system1/Motor Mechanical/Vehicle System/Solver Configuration']: Transient initialization at time 157.5655, solving for consistent states and modes, failed to converge.
Nonlinear solver: failed to converge, residual norm too large.
Here is the set of components with unconverged equations:
'EV_system1/Motor Mechanical'
Equation location is:
''(no line number info)
Equation location is:
'C:\Program Files\MATLAB\R2023b\toolbox\physmod\sdl\sdl\+sdl\+gears\simple_gear.sscp'(no line number info)
Equation location is:
'C:\Program Files\MATLAB\R2023b\toolbox\physmod\simscape\library\m\+foundation\+mechanical\+sources\torque.ssc' (line 30)
Equation location is:
'C:\Program Files\MATLAB\R2023b\toolbox\physmod\simscape\library\m\+foundation\+mechanical\+rotational\branch.ssc' (line 19)
'EV_system1/Motor Mechanical/Vehicle System/RL'
Equation location is:
'C:\Program Files\MATLAB\R2023b\toolbox\physmod\sdl\sdl\+sdl\+tires\+tire_subcomponents\magic_formula.ssc' (line 158)
'EV_system1/Motor Mechanical/Vehicle System/RL'
Equation location is:
'C:\Program Files\MATLAB\R2023b\toolbox\physmod\sdl\sdl\+sdl\+tires\+tire_subcomponents\magic_formula.ssc' (line 159)
'EV_system1/Motor Mechanical/Vehicle System/RR'
Equation location is:
'C:\Program Files\MATLAB\R2023b\toolbox\physmod\sdl\sdl\+sdl\+tires\+tire_subcomponents\magic_formula.ssc' (line 158)
'EV_system1/Motor Mechanical/Vehicle System/RR'
Equation location is:
'C:\Program Files\MATLAB\R2023b\toolbox\physmod\sdl\sdl\+sdl\+tires\+tire_subcomponents\magic_formula.ssc' (line 159)
0 Commenti
Risposte (1)
Pratyush
il 11 Gen 2024
Hi Roz,
I understand that you encounter an error when running your simulation.
The simulation error you're encountering in MATLAB's Simscape indicates that the solver failed to converge while initializing the 'EV_system1/Motor Mechanical' subsystem and the 'Vehicle System'. The error message points to issues with the gear, torque, and branch components, as well as tire components using the Magic Formula.
To address this issue, you should:
Make sure to back up your model before making changes, and adjust solver settings in MATLAB using the 'getActiveConfigSet' and 'set_param' functions with appropriate parameters for your model.
0 Commenti
Vedere anche
Categorie
Scopri di più su Troubleshooting in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!