Why do I receive this block error?

1 visualización (últimos 30 días)
Eashan Gandhi
Eashan Gandhi el 19 de Mzo. de 2023
Respondida: Yash el 16 de Nov. de 2023
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 comentario
Paul
Paul el 19 de Mzo. de 2023
Editada: Paul el 19 de Mzo. de 2023
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?

Iniciar sesión para comentar.

Respuestas (1)

Yash
Yash el 16 de Nov. de 2023
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.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by