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 Center および File ExchangeSimulation and Analysis についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by