Initialize a model in steady state

I have a Simulink model of an aircraft that I would like to have start in a steady state trim condition before the model runs. For a given airspeed, weight, altitude etc, I need to find the angle of attack where lift balances weight and thrust balances drag. In past with other code based simulations I have done this iteratively in code but I dont know how to control the simulink model to do this.
The simulink model contains many lookup tables so I can not easily reimplement it in code, solve the initialization problem, then supply it to the simulink model.
I would rather not put a while loop around the entire model.
I do not have the Aerospace block set. I have my own Equations Of Motion.
Thanks for any suggestions.

回答(1 个)

tehreem hussain
tehreem hussain 2021-4-19
Can you please share the simulink model of aircraft. I need it

类别

在 帮助中心 和 File Exchange 中查找有关 Aerospace Applications 的更多信息

产品

版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by