Skip to content

Navigation Menu

Sign in
Sign up

run_model only for design points #107

Unanswered
benL18 asked this question in Q&A
Discussion options

Hi team,
first of all thanks a lot for developing and maintaining this fantastic tool.
I am starting to work with it to improve my practical experience with engine modelling and it's really great!

one question: how can you run a model only for a new point? let's take the high_bypass turbo fan example

the command prob.run_model() will always run the 3 cases 'DESIGN', 'OD_full_pwr' and 'OD_part_pwr'

how can we run them sequentially in 3 steps: first run DESIGN and then run one case or the other?

I imagine this would speed things up in the generation of decks like @flight-test-engineering has done

thanks a lot for the help
Benoit

You must be logged in to vote

Replies: 1 comment

Comment options

Hello Benoit,

The DESIGN case, as far as I understand always has to run to define the engine.
Using the high_bypass_turbofan.py example file, I believe that if you just change the contents of this list, you can control what you want:

 for pt in ['OD_full_pwr', 'OD_part_pwr']:
 # initial guesses
 prob[pt+'.balance.FAR'] = 0.02467
 prob[pt+'.balance.W'] = 300
 prob[pt+'.balance.BPR'] = 5.105
 prob[pt+'.balance.lp_Nmech'] = 5000
...
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /