Simscape solver error solver configuration error
25 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Rishav
am 4 Mai 2023
Bearbeitet: Rishav
am 4 Mai 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 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!