PMSM双环矢量控制​运行过程报错如图,减​小步长无果

3 visualizaciones (últimos 30 días)
郭俊
郭俊 el 29 de Abr. de 2024
Respondida: Karanjot el 7 de Mayo de 2024

Respuestas (1)

Karanjot
Karanjot el 7 de Mayo de 2024
嗨,由于我不是以中文为母语的人,我将用英语回答这个问题。 感谢您的理解。
If reducing the step size (via the RelTol parameter) doesn't resolve the algebraic loop issue in Simulink, consider the following steps:
  1. Introduce a Delay: Break the algebraic loop by adding a delay block within the loop. Even a minimal delay can help Simulink solve the loop.
  2. Adjust Solver Settings:
  • Change Solver Type: Switch between fixed-step and variable-step solvers to see if one handles the algebraic loop better.
  • Try Different Solvers: Explore using different solvers available in Simulink, as some may be more suitable for your model's equations.
  1. Disable Direct Feedthrough: If any blocks within the loop can operate without direct feedthrough, disable it. This might break the algebraic loop.
  2. Simplify the Model: Reduce the model's complexity, if possible. Simplifying or linearizing parts of the model can avoid creating algebraic loops.
  3. Review Model Equations: Ensure all systems and equations are correctly defined without contradictions, and provide good initial conditions.

Categorías

Más información sobre Electrical Block Libraries en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!