MATLAB Answers

Initialize a model in steady state

2 views (last 30 days)
Chris on 9 Apr 2019
Answered: tehreem hussain on 19 Apr 2021
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.

Answers (1)

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




Community Treasure Hunt

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

Start Hunting!