convexengineering / SPaircraft

Models for commercial aircraft design
http://spaircraft.readthedocs.org
25 stars 17 forks source link

Make sweep a variable. #68

Closed 1ozturkbe closed 6 years ago

1ozturkbe commented 7 years ago

This is a future improvement so that we don't have to keep subbing a wing sweep for different cruise speeds. Seems suboptimal. Would involve doing a fit of all of the trig functions around a reasonable sweep angle set (perhaps between 10 to 35 degrees?).

bqpd commented 7 years ago

(note that it's been easy since the last few versions to add: constants that are a function of other constants calculated variables that are a function of other variables)

1ozturkbe commented 7 years ago

Thanks for the note @bqpd. Can you point to an example?

bqpd commented 7 years ago

http://gpkit.readthedocs.io/en/latest/advancedcommands.html#derived-variables

1ozturkbe commented 6 years ago

I tried this using the approximations in gpkit.tools, in the sweepvar branch. Didn't work. Perhaps might resurrect in future, but unlikely.