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!