Why do I receive Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix. error?

6 ビュー (過去 30 日間)
Hi, I am modeling a rpopulsion system for electric planes. I have troublee connecting the battery to the inverter then the motor. It works when I connect a voltage source but not a battery. I appreciate any help. Thanks.
Here's a picture of the error and model and the model is attached as well. The thermal susbsytems have a temperature sensor in them.

回答 (1 件)

Joel Van Sickel
Joel Van Sickel 2023 年 4 月 11 日
There are a few issues with your model. The more realistic it is, the easier it will be to get working. I could get it to work by disconnecting the R port on the motor (right now you have the PMSM locked in place by doing that), I greatly reduced the battery terminal voltage (to 0.01, which is too low for to be realistic) However, what you really need to do is create a system that is correctly controller your PMSM with realistic currents and an ideal voltage source before you add the battery. Right now your motor system is seeing extremely high currents because it is not being controlled realistically. Once you address this issue, and have load currents that are realistic, then you can add the battery model. I would aslo turn off the thermal model of the PMSM until you fix that as well. Please look at some of the PMSM examples in our shipping examples to see working PMSM controllers.


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

Community Treasure Hunt

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

Start Hunting!

Translated by