フィルターのクリア

Error while running simulink

10 ビュー (過去 30 日間)
Fesmi Abdul Majeed
Fesmi Abdul Majeed 2015 年 8 月 17 日
コメント済み: ranj deepika 2022 年 4 月 20 日
Hi ,
I am trying to simulate a physical system (plant plus noise discrete TF model), when connected to a piezo stack actuator.
However , I keep receiving the following error.
""""An error occurred while running the simulation and the simulation was terminated
Trouble solving algebraic equations in differential-algebraic system. Singular iteration matrix encountered with step size 0.1 at time 0.0. Consider providing more accurate initial conditions. If the problem persists, check the model structure and values of parameters."""" I have added an image of the same here.. Appreciate any clues on how to fix it!!!

回答 (2 件)

Sebastian Castro
Sebastian Castro 2015 年 8 月 17 日
I think you might need Mass blocks, because if you have a force acting on a node with no mass to accelerate, then you get the error you're seeing. Think of F = ma if m = 0. How does the tool figure out what a is?
You definitely need a mass on the right side (R port of the Electromechanical converter). Not sure about the left side, as it depends on how that Piezo Stack block is implemented. Try that out too if a mass on only the right side still gives you the same errors.
- Sebastian
- Sebastian
  2 件のコメント
Fesmi Abdul Majeed
Fesmi Abdul Majeed 2015 年 8 月 18 日
Hi,
Thanks a lot for the suggestion . but as I suspected it didnt work and the same error recurrs,,, iam also not sure if the mass is required as the piezo basically converts the force acting on it to current/voltage.
i think the problem is perhaps in the ODE solver which I have used.... could it be?
regards,
Sebastian Castro
Sebastian Castro 2015 年 8 月 18 日
Definitely doesn't have to do with the solver.
Have you tried adding an Electrical Reference block to the electrical portion of your model?
- Sebastian

サインインしてコメントする。


mohsen teimoori
mohsen teimoori 2021 年 1 月 20 日
Hello, How are you?
excuse me, I have one problem the same as top text about solver
why has this problem?
what is solve way? thank you
  2 件のコメント
alireza abbasi
alireza abbasi 2021 年 6 月 18 日
You need to add memory block in your loop
ranj deepika
ranj deepika 2022 年 4 月 20 日
  1. how can ia add tghe memory block becouce i have same error

サインインしてコメントする。

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by