Why do I receive this block error?
1 回表示 (過去 30 日間)
古いコメントを表示
I want to apply a step input to the state space model in the photo.
The state-sapce model has the following parameters:
E: eye(4,4)
A: <4x4 double>
B: <4x2 double>
C: [1 0 0 0; 0 1 0 0]
D: zeros(2,2)
Initial Conditions: [ 0 10 0 0]'
I am not sure how to resolve the error.
1 件のコメント
Paul
2023 年 3 月 19 日
編集済み: Paul
2023 年 3 月 19 日
Hi Eashan,
Because you didn't show the A and B matrices, I tried using my own of the same dimensions shown above and did not see an error message with the same E, C, D, and IC's. What are the A and B matrices and what are the parameters of the Step block?
Also, with E = eye(4) why bother with a Descriptor State Space block, instead a State Space block?
回答 (1 件)
Yash
2023 年 11 月 16 日
Hi Eashan,
I understand that you are encountering an error while implementing a state-space model in Simulink. Since you have not provided the exact A and B matrices, I tried to simulate a state-space model using random matrices of the dimensions you mentioned. However, I did not encounter any errors during the simulation.
The error message that you have received states, "The converted index one equation E and A matrices might not be accurate due to one or more singular or near singular matrices during the transformation.", this suggests that the issue may be related to the specific values of the A and E matrices, causing some matrices to become singular in the internal calculations. Without the complete information, it is not possible to determine the exact reason for the error.
Additionally, if you are using the identity matrix as the E matrix, it is recommended to use the State Space block instead of the Descriptor State block to avoid errors related to the E matrix.
To provide further assistance, it would be helpful if you could share the .slx file that is causing the issue. This would allow for a more detailed analysis and potential resolution of the error.
I hope this information helps you in resolving the error you are facing.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Classical Control Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!