フィルターのクリア

How can the QSS toolbox simulation run for whole cycle time?

4 ビュー (過去 30 日間)
Ch SS Madhav Shashank
Ch SS Madhav Shashank 2022 年 6 月 11 日
回答済み: Anshuman 2024 年 1 月 24 日
Hello,
I am trying to simulate an electric truck behaviour in Simulink with the help of QSS toolbox. I am running the simulation with pre loaded WLTP velocity profile inspite of running the simulation for 1800 seconds, the results are getting captured for only 13 points or the frist 13 seconds i guess. All my input parameters are close to the original parameters of an electric truck even then the simulation stops after 13 seconds and mentions 'Simulation stopped due to motor overload'.
It would be greatful if anyone helps me out so that the simulation can run for full time i.e 1800 seconds.
Thank you,
Madhav

回答 (1 件)

Anshuman
Anshuman 2024 年 1 月 24 日
Hi,
This could be due to excessive torque demand, current draw, or another parameter exceeding its threshold. To resolve this issue and allow the simulation to run for the full 1800 seconds, you can try out a couple of things:
  • Double-check all the input parameters for the electric motor and ensure they accurately reflect the motor's capabilities. Parameters such as maximum torque, maximum current, and thermal limits should be set according to the motor's datasheet.
  • Check the torque demand on the motor throughout the simulation. If the demand exceeds the motor's maximum torque, the model will stop the simulation.
  • If the solver is too aggressive, it may not handle rapid changes in state well, leading to an overload condition. Try adjusting the Quantized State System (QSS) solver's tolerance and maximum step size.
If the simulation still stops prematurely, consider adding breakpoints or logging to capture more detailed information about the state of the system at the point of failure.

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by