have output equations displayed in term of inputs of Simulink model

4 ビュー (過去 30 日間)
Boris Konig
Boris Konig 2020 年 1 月 19 日
編集済み: Boris Konig 2021 年 1 月 9 日
Say I have a Simulink model with n inputs and m outputs. Is there a way to display the m output equations analytically in terms of the n inputs: output(k) = f_k(input(1), input(2),...,input(n)) for k = 1 to m. Cheers.
  2 件のコメント
Nishant Gupta
Nishant Gupta 2020 年 1 月 21 日
Do you want to display the outputs or output equations? And can you send the model on which you are working?
Boris Konig
Boris Konig 2020 年 1 月 21 日
Nishant, thanks for your comment. Actually, I want to calculate an operating point of a Simulink model ("findop") and then linearize the model around that operating point ("linmod"). I have tried the "Steady State Manager" suggesting values and using different optimization algorithms but it just does not converge although physically there should definitely be a stable operating point.
My idea then was to have output equations calculated so I could use those to algebraically try to calculate a stable operating point by pen and paper or using the Matlab "solve" function or elsewise.
The model and the constants are attached. Thank you very much. Boris

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

回答 (1 件)

Nishant Gupta
Nishant Gupta 2020 年 1 月 22 日
For the given model, you can use Linear Analysis Tool to linearize the model. Refer this link to know more about this tool.
You can also refer to the following videos on trimming and linearization:
  1. Trim, Linearization, and Control Design for an Aircraft
  2. Batch Mode Trimming and Linearization
  1 件のコメント
Boris Konig
Boris Konig 2021 年 1 月 9 日
編集済み: Boris Konig 2021 年 1 月 9 日
Hello!
Unfortunately this issue still is not solved. We put this problem aside and now need to revisit Thank you for the advise to use the Linear Analysis Tool. I got it to find various operating points, but unfortunately not the one I need. (The one I need is: state_2 = 52.4, state_4 = 73.3 and state_13 = 52.4). I am sure it exists; but I assume the solution to be very narrow. Now it all comes down to finding the right initial conditions. My understanding is that one has to start in the correct "valley" for the solver to converge to the desired operating point. Problem is that I do not know those initial conditions well enough. I tried to use the Linear Analysis Tool on all subsystems to get a feeling for the range. But those ranges are too wide (also this was extremely time consuming).That is why I had the idea for Matlab/Simulink to return the analytical functions that lie behind this Simulink model, so I can manually try to find initial conditions and then use the Linear Analysis Tool... Is there any way to retrieve those equations?
Regards. Boris

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

カテゴリ

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

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by