Why do I receive this block error?

조회 수: 1 (최근 30일)
Eashan Gandhi
Eashan Gandhi 2023년 3월 19일
답변: Yash 2023년 11월 16일
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
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
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.

카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by