How to access state-space matrices of a power-system simlink model?

조회 수: 14 (최근 30일)
Adhithya S
Adhithya S 2024년 6월 20일
편집: Adhithya S 2024년 8월 17일
Hello everyone,
I'm currently working on a project where I need to access the state-space matrices (A, B, C, D) of a synchronous machine model in Simulink. I've built a model of a synchronous machine connected to an RLC branch.
While I can successfully simulate the model and observe the output current, I need to extract the A, B, C, D matrices that define the synchronous machine's internal dynamics.
I've explored the `powergui` block and its functionalities, but I haven't been able to pinpoint the exact steps to obtain these matrices. Could anyone please guide me on how to access and export the A, B, C, D matrices of the synchronous machine model in Simulink?
Any help or suggestions would be greatly appreciated. Thank you!

채택된 답변

Adhithya S
Adhithya S 2024년 8월 17일
To access the state-space matrices of a power system Simulink model as a function of switch status (such as circuit breakers, MOSFETs, etc.), you can use the following function: power_analyze.
Simply pass your Simulink model name as an argument to this function to obtain the desired state-space matrices.

추가 답변 (1개)

MULI
MULI 2024년 8월 14일
Hi Adhithya,
I understand that you are required to extract the state-space matrices (A, B, C, D) that describe the internal dynamics of the synchronous machine.
To extract the state-space matrices (A, B, C, D) from a synchronous machine model in Simulink, you can use the Linear Analysis Tool provided by Simulink Control Design.
This tool allows you to linearize your model around an operating point and obtain the state-space representation.
For information and examples related to this you may refer the following links
  댓글 수: 1
Adhithya S
Adhithya S 2024년 8월 17일
편집: Adhithya S 2024년 8월 17일
Thank you for taking the time to respond. Yes, I understand that the linear analysis tool provides the state-space matrices. However, what I am specifically looking for is the information available at this link: power_analyze. Since it pertains to a power system model, I need the state-space matrices that also include the status of the switches.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulation and Analysis에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by