Solving state space equation using matlab function block in simulink

4 ビュー (過去 30 日間)
leonn alexander
leonn alexander 2015 年 8 月 18 日
コメント済み: Paul 2025 年 7 月 18 日
Hi, Im trying to model a synchronous machine. My present situation is, i know the A, B, C, D values and my input signal is coming from other blocks which are voltages, speed etc. State variable in my case is flux. I need to find this flux value so as to find derive current, torque etc. So how to solve this state space equation to get the state variable. I tried to read many examples but im not able to find the one I need. Any help is appreciable

回答 (1 件)

Sebastian Castro
Sebastian Castro 2015 年 8 月 18 日
If you already know the A, B, C, D matrices, why not use a State-Space Simulink block, then?
- Sebastian
  5 件のコメント
Sam Chak
Sam Chak 2025 年 7 月 18 日
For single-variable systems such as , you can use the Fcn block to apply the nonlinear function to its input (state variable x and input signal u). After that, connect the Fcn block to an Integrator block, which implies the output . Before clicking the Run button, specify the initial value in the Integrator block.
For multivariate systems, , with the state vector and input vector , you can use n sets of Fcn and Integrator pairs, or one MATLAB Function block and an Integrator block.
Paul
Paul 2025 年 7 月 18 日
Check out Varying State Space as well.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by