Simulation stops because of an error
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
the modell run for example with the WLTP 1 or Japanese 10 cycle but get this error when i change it to WLTP 2. (Picture attached)
Also when i try to use not the simple motor and drive, rather the motor and drive (system level) with the correct efficiency of the motor, i get also the same error even with WLTP1 or Japanese 10 cycle.
Can someone please help me what could be the problem and how can i solve it?
0 commentaires
Réponses (1)
nick
le 29 Jan 2024
Hi Bence,
I understand from your query that you are looking to resolve the error "failed to converge, residual norm too large."
Please provide the uninitialized variables 'm' and 'N' that the model requires. Often, this error arises when a model is overly idealized and exhibits abrupt transitions, leading the solver to fail in achieving convergence. In such scenarios, the solver attempts transient initialization.
To help address the error, I recommend implementing the following changes:
1. Decrease the maximum time step to determine whether a smaller time step assists in achieving simulation convergence.
2. Increase the solver's consistency tolerance in the configuration block.
3. Adjust component parameters such as 'Open resistance' or 'Closed Conductance' to render the model more realistic and mitigate idealizations.
4. Review the model for any errors, inconsistencies, or incorrect assumptions. Streamline the model by eliminating superfluous components or subsystems.
You may refer the following documentation to learn more about troubleshooting simulation errors :
Hope this helps.
0 commentaires
Voir également
Catégories
En savoir plus sur Troubleshooting 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!