Simscape solver error solver configuration error
21 views (last 30 days)
Show older comments
Hello,
I am getting a solver error and would like to get some help. I am trying to model a power split battery ice vehicle model and I keep getting the following error.
An error occurred while running the simulation and the simulation was terminated
Caused by:
- ['Model/Solver Configuration']: At time 0.000000, one or more assertions are triggered. See causes for specific information.
- Servomotor DC voltage supply must be greater than zero. The assertion comes from: Block path: Model/Generator/Motor & DriveAssert location: o (location information is protected)
- Servomotor DC voltage supply must be greater than zero. The assertion comes from: Block path: Model/Motor/Motor & DriveAssert location: o (location information is protected)
0 Comments
Answers (2)
Rishav
on 4 May 2023
Edited: Rishav
on 4 May 2023
Hi Dhairy,
Based on the error message you provided, it seems that there is a problem with the voltage supply of the servomotor in your model. The assertion error message indicates that the voltage supply must be greater than zero.
It is possible that the voltage supply of the servomotor is not properly defined or that it is set to a value that is less than or equal to zero. You may want to check the parameters and settings of the servomotor block to ensure that it is properly configured.
Also check the power supply system of the model to ensure that the servomotor is receiving appropriate voltage supply.
You can also check the solver settings of your model to ensure that they are properly configured,
Regarding the solver, if you uncheck the box, you would be using Simulink's solver: https://www.mathworks.com/help/releases/R2023a/simulink/ug/choose-a-solver.html
If you check it, you will be using a specific fixed-time solver for Simscape: https://www.mathworks.com/help/releases/R2022a/physmod/simscape/ref/solverconfiguration.html
Regards,
Rishav Saha
0 Comments
Stephane
on 9 Mar 2025
Hello Dhairy
I have the some problem than you ( you can see attached file)
when ai ask a regen torque the suply voltage of battery become neagtive and i also found that the current request by servomotro become too high around 2000 A, while nomilan current of servomotor is around 10 A.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!