Simscape solver error solver configuration error
조회 수: 21 (최근 30일)
이전 댓글 표시
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
답변 (2개)
Rishav
2023년 5월 4일
편집: Rishav
2023년 5월 4일
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
Stephane
2025년 3월 9일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!