convexengineering / SPaircraft

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

cruise climb on master #35

Closed mayork closed 7 years ago

mayork commented 7 years ago

@1ozturkbe is cruise climb working? I'm a little confused look at this output off of master


In [5]: print sol('hft')
{hft_Mission.3, FlightState.9, Altitude.9: <Quantity([ 11000.57425275  22001.15804698  33001.74241755  33001.72275826
  37698.32081336], 'foot')>, hft_Mission.3, CruiseSegment.3, FlightState.11, Altitude.11: <Quantity([ 33001.72275826  37698.32081336], 'foot')>, hft_Mission.3, ClimbSegment.3, FlightState.10, Altitude.10: <Quantity([ 11000.57425275  22001.15804698  33001.74241755], 'foot')>}

In [6]: print sol('dhft')
{dhft_Mission.3, ClimbSegment.3, ClimbP.3: <Quantity([ 11000.57425275  11000.57425275  11000.57425275], 'foot')>, dhft_Mission.3, CruiseSegment.3, CruiseP.3: <Quantity([    6.09681429  4809.10931072], 'foot')>}

unless i'm wrong it's saying cruise segment has a 6 foot climb but there's an approx 4000 climb reflected in the actual altitude numbers

1ozturkbe commented 7 years ago

That's perfect. The first dhft is trivial; it's just some relaxed value to make sure than h(cruise[0]) <= dhft(cruise[0]) +h(climb[-1]).

mayork commented 7 years ago

So then how are we accurately accounting for the increased thrust to climb? Because right now we're pegging the minimum RC value so I think we're essentially climbing for free

1ozturkbe commented 7 years ago

Will fix.

1ozturkbe commented 7 years ago

Took me forever to find why this wasn't working... it was because of the hftCruiseHold dummy variable. Fixing now, but since I have to run tons of plots and don't want to have to debug more UNKNOWNs, will be pushing to another branch (cruiseclimb2).

1ozturkbe commented 7 years ago

Getting near optimal. My goodness...

bqpd commented 7 years ago

Near optimal works on a recent pull request

On Mar 20, 2017 03:33, "Berk Ozturk" notifications@github.com wrote:

Getting near optimal. My goodness...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hoburg/d8/issues/35#issuecomment-287668576, or mute the thread https://github.com/notifications/unsubscribe-auth/ABagGOngdD839Fv65iXCXVN8xGAu58szks5rneVzgaJpZM4MfqI- .

1ozturkbe commented 7 years ago

This is being resolved in the genVSP branch, and should be integrated into master shortly.

1ozturkbe commented 7 years ago

As of commit 1ee7a94, cruise climb works fine! Closing.