Effacer les filtres
Effacer les filtres

does anyone know why I get an error when I run the model more than 16000s ?

1 vue (au cours des 30 derniers jours)
Hamidreza
Hamidreza le 28 Nov 2023
Réponse apportée : Rishi le 5 Déc 2023
does anyone know why I get an error when I run the model more than 16000s ?
this is the simscape example of fuel cell naamed "fuelcellIVcharacteristic"

Réponses (1)

Rishi
Rishi le 5 Déc 2023
Hi Hamidreza,
I understand from your query that you want to know why you are getting the error shown in the figure.
The error you are encountering occurs when your model is too ideal and there is a sudden transition. In such cases, the Simscape solver needs to go through the ‘transient initialiation’ phase. The initial guess might be too far from the result, consequently failing to converge. You can find more about it in the below documentation:
To resolve the error, you can try making the following changes:
  • Reduce the time step and see if it helps the solver to converge.
  • Try decreasing the Consistency Tolerance parameter value in the Solver Configuration block.
  • Consider adjusting component parameters to make the model more realistic and less ideal.
To learn more about Transient Simulation Issues, you can refer to the following documentation:
Hope it helps.

Catégories

En savoir plus sur Engines & Motors dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by