Re: [Flightgear-devel] YASim 747-400 climb performance
Jim Wilson [EMAIL PROTECTED] said: Andy Ross [EMAIL PROTECTED] said: Yes! That's it! Yes, I'm seeing a big difference. Andy, That sure did the trick. To make a long story short, I screwed up the update the first time (had a two year old doing some major distracting :)). The YASim 747 is working great! Thanks, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] YASim 747-400 climb performance
Jim Wilson wrote: David Megginson said: What happens when you reduce the fuel load? Hmmm...nothing because it won't reduce. I'm showing full 19k+ lbs for three tanks no matter what I do with the fraction figure in the config and can't dump during flight it either. Yes! That's it! Actually, the bug report is bogus -- /sim/fuel-fraction works just fine to modulate gross weight, and always has (do you maybe have a typo in your configuration file?). But it got me thinking about checking the weight during solution, and that's where the problem was. For efficiency, YASim separates the computation of the inertia tensor and gross weight from the normal iteration-to-iteration operations on the RigidBody object. The recalculation is handled outside, as part of the RK4 integrator. But the solver isn't using RK4 -- it's solving for instantaneous force only. So while it was setting the fuel fraction correctly, the change in fuel weight was *not* being applied to the aircraft. Basically, every solution produced was for an aircraft at zero fuel weight. So every non-zero fuel configuration was heavier than the cruise setting and thus incapable of reaching its performance numbers. Bingo. There's another 747.xml file attached. It's needed to work with the new changes (which changed a lot -- the older model doesn't have enough tail authority to trim for cruise with the fixed code). The other aircraft seem to be OK, but I didn't fly them extensively. Folks should try them out and look for stuff that might need to be retuned. No doubt there are still bugs in there, but this definitely fixes the climb performance problems on the 747. This is actually kinda fun -- flying a fundamentally broken aircraft very carefully, and looking for tiny clues as to its performance difficulties so they can be fixed. Not at all unlike being a test pilot. :) Bring 'em on. Andy -- Andrew J. RossNextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com Men go crazy in conflagrations. They only get better one by one. - Sting (misquoted) ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] YASim 747-400 climb performance
I lied: There's another 747.xml file attached. Sigh... someday I'll get one of these right on the first try. Andy -- Andrew J. RossNextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com Men go crazy in conflagrations. They only get better one by one. - Sting (misquoted) airplane mass=40 !-- Approach configuration -- approach speed=136 aoa=7 control-setting axis=/controls/throttle[0] value=0.2/ control-setting axis=/controls/throttle[1] value=0.2/ control-setting axis=/controls/flaps value=1.0/ control-setting axis=/controls/slats value=1.0/ control-setting axis=/controls/gear-down value=1/ /approach !-- Cruise configuration -- cruise speed=490 alt=36000 control-setting axis=/controls/throttle[0] value=0.75/ control-setting axis=/controls/throttle[1] value=0.75/ control-setting axis=/controls/flaps value=0.0/ control-setting axis=/controls/gear-down value=0/ /cruise cockpit x=-5.42 y=1.81 z=15.06/ fuselage ax=0 ay=0 az=0 bx=-69.86 by=0.00 bz=2.41 width=6 taper=0.3 midpoint=0.2/ wing x=-26.50 y=3.01 z=-1.45 length=33.72 chord=13.25 sweep=33 taper=.27 dihedral=7 camber=0.15 incidence=-0.7 stall aoa=15 width=2 peak=1.5/ flap0 start=0 end=.56 lift=1.8 drag=3/ flap1 start=.64 end=.88 lift=1.3 drag=1.5/ slat start=0 end=1 aoa=2 drag=1.1/ spoiler start=0.2 end=0.6 lift=0.3 drag=2.0/ control-input axis=/controls/flaps control=FLAP0/ control-input axis=/controls/aileron control=FLAP1 split=true/ control-input axis=/controls/aileron-trim control=FLAP1 split=true/ control-input axis=/controls/slats control=SLAT/ control-input axis=/controls/spoilers control=SPOILER/ control-output control=FLAP0 prop=/surface-positions/flap-pos-norm/ control-output control=FLAP1 side=left prop=/surface-positions/left-aileron-pos-norm/ control-output control=FLAP1 side=right prop=/surface-positions/right-aileron-pos-norm/ control-speed control=FLAP0 transition-time=10/ /wing hstab x=-62.63 y=1.81 z=1.81 chord=8.43 length=10.84 taper=.29 sweep=28 dihedral=7 camber=-0.1 effectiveness=1.5 stall aoa=15 width=2 peak=1.5/ flap0 start=0 end=1 lift=1.6 drag=1.8/ control-input axis=/controls/elevator control=FLAP0/ control-input axis=/controls/elevator-trim control=FLAP0/ control-output control=FLAP0 prop=/surface-positions/elevator-pos-norm/ /hstab vstab x=-62.63 y=0.00 z=3.61 chord=12.04 length=12.04 taper=0.3 sweep=33 stall aoa=15 width=2 peak=1.5/ flap0 start=0 end=1 lift=1.2 drag=1.3/ control-input axis=/controls/rudder control=FLAP0 invert=true/ control-input axis=/controls/rudder-trim control=FLAP0 invert=true/ control-output control=FLAP0 prop=/surface-positions/rudder-pos-norm min=1 max=-1/ /vstab !-- The CF6 engines are rated at 6 lbs thrust, flat rated to 33 -- !-- degrees C. Corrected to YASim's standard atmosphere temperature -- !-- of 288.2 kelvins, that gives 63737 lbs of nominal thrust. -- jet x=-34.93 y=16.26 z=-1.20 mass=8000 thrust=63737 control-input axis=/controls/throttle[0] control=THROTTLE/ /jet jet x=-26.50 y=12.65 z=-2.41 mass=8000 thrust=63737 control-input axis=/controls/throttle[0] control=THROTTLE/ /jet jet x=-26.50 y=-12.65 z=-2.41 mass=8000 thrust=63737 control-input axis=/controls/throttle[1] control=THROTTLE/ /jet jet x=-34.93 y=-16.26 z=-1.20 mass=8000 thrust=63737 control-input axis=/controls/throttle[1] control=THROTTLE/ /jet gear x=-5.42 y=0.00 z=-5.42 compression=2 !-- nose -- control-input axis=/controls/rudder control=STEER square=true/ control-input axis=/controls/gear-down control=EXTEND/ control-output control=EXTEND prop=/gear/gear[0]/position-norm/ control-speed control=EXTEND transition-time=7/ /gear gear x=-29.15 y=5.42 z=-5.42 compression=2 !-- fwd left main -- control-input axis=/controls/brakes[0] control=BRAKE/ control-input axis=/controls/gear-down control=EXTEND/ control-output control=EXTEND prop=/gear/gear[1]/position-norm/ control-speed control=EXTEND transition-time=7/ /gear gear x=-31.32 y=1.81 z=-5.42 compression=2 !-- rear left main -- control-input axis=/controls/brakes[0] control=BRAKE/ control-input axis=/controls/gear-down control=EXTEND/ control-output control=EXTEND prop=/gear/gear[2]/position-norm/ control-speed control=EXTEND transition-time=7/ /gear gear x=-31.32 y=-1.81 z=-5.42 compression=2 !-- rear right main -- control-input axis=/controls/brakes[1] control=BRAKE/ control-input axis=/controls/gear-down control=EXTEND/ control-output control=EXTEND prop=/gear/gear[3]/position-norm/ control-speed control=EXTEND transition-time=7/ /gear gear x=-29.15 y=-5.42 z=-5.42 compression=2 !-- fwd right main -- control-input axis=/controls/brakes[1] control=BRAKE/ control-input axis=/controls/gear-down control=EXTEND/ control-output control=EXTEND prop=/gear/gear[4]/position-norm/ control-speed
Re: [Flightgear-devel] YASim 747-400 climb performance
Andy Ross [EMAIL PROTECTED] said: Yes! That's it! Yes, I'm seeing a big difference. Still maybe not quite up to spec (but don't want to say anything without doing more tests). We've gained at least 10k feet in the last week though :-) Very nice! Best, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] YASim 747-400 climb performance
Andy Ross writes: First, the air pressures returned from the environment system don't agree with the standard atmosphere that YASim uses to do its calibration. They match pretty well at sea level, but diverge as altitude increase. At 35000 feet, they're too low by 20%, which is substantial. Could someone check and see where the environment system is getting its numbers? From YASim, but I may have done it wrong (I converted from metric to more common aviation units). Look around line 257 in src/Environment/environment.cxx, or search for Atmosphere model. It could even be an interpolation problem -- I'm using the regular SimGear interpolation table, while YASim uses a custom interpolation table. All the best, David -- David Megginson, [EMAIL PROTECTED], http://www.megginson.com/ ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] YASim 747-400 climb performance
Andy Ross [EMAIL PROTECTED] said: I'm pretty sure we're seeing the same behavior here, actually. I'll With Dave's change to prefrences.xml I can get up to FL320 before running into trouble. Really tried to go higher...no luck. take a look at the reduction in climb performance, but I'm pretty sure you're just being fooled by the slower speed (once you drop below 260 knots or so, it takes a *long* time to get back to 300, even if you dive). No, I don't think so and yes I know. But haven't had a chance to verify this with the latest changes. Here's my plan for testing 747 climb: 1.) Set autopilot to runway heading before takeoff, then disengage with ^H. Verify that all trim controls are zero. 2.) Throttle up. 3.) Rotate at 190 knots. Gear up. Engage autopilot heading mode. 4.) Hold the nose at 15° until the aircraft reaches 250 kias. 5.) Hand fly the aircraft at 250 knots until 10k feet. 6.) Reduce back pressure on the yoke as the aircraft accelerates to 300-310 knots. Trim up very (!) slightly to hold this speed. Use very small movements of the stick to damp the phugoid. I flew this exact protocol in the last test. BTW I might have mentioned before, but wasn't clear that when I do use the autopilot I'm tweaking the config at various flight levels with the property picker (/autopilot/config). Unfortunately the autopilot's min climb speed setting doesn't work quite right, so you have to watch the ias. Anyway this is a lot different than just entering an elevation like we do with the cessnas. In any case, flying very carefully I can barely get it up to FL320 with the change in preferences.xml. Going further just doesn't seem possible. I tried serveral AoAs and just couldn't get it to go up much without falling back. Best, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] YASim 747-400 climb performance
Jim Wilson writes: In any case, flying very carefully I can barely get it up to FL320 with the change in preferences.xml. Going further just doesn't seem possible. I tried serveral AoAs and just couldn't get it to go up much without falling back. What happens when you reduce the fuel load? All the best, David -- David Megginson, [EMAIL PROTECTED], http://www.megginson.com/ ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] YASim 747-400 climb performance
David Megginson [EMAIL PROTECTED] said: What happens when you reduce the fuel load? Hmmm...nothing because it won't reduce. I'm showing full 19k+ lbs for three tanks no matter what I do with the fraction figure in the config and can't dump during flight it either. Reducing the tank capacity by half causes it to take off like a rocket and then it'll climb to 38200ft. Best, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] YASim 747-400 climb performance
More evidence. The following quote is from an HTMLized google cache of a file named 747operations.pdf. The file itself is gone from the web, unfortunately. It appears to be a POH compiled for an MSFS virtual airline: After climbing as described above to 10,000 feet, reduce climb to 500fpm. Accelerate to 280-300kts. If using autothrottle, increase by 10-20kts, wait until aircraft attains that speed, and increase another 10-20kts. Once accelerated, increase climb back to 1,400 to 1,800 fpm. Once you are stable and climbing, you may turn off the fasten seatbelt sign. At about 12,000 feet, switch to mach hold and set to .55-.60. Increase up to .70 if needed. Do not drop below 240kts. The bad pilot technique theory is looking pretty good. If YASim can get to 1400fpm at 300 knots, then I move that it be declared officially innocent on all counts. :) Andy -- Andrew J. RossNextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com Men go crazy in conflagrations. They only get better one by one. - Sting (misquoted) ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] YASim 747-400 climb performance
Andy Ross [EMAIL PROTECTED] said: The bad pilot technique theory is looking pretty good. If YASim can get to 1400fpm at 300 knots, then I move that it be declared officially innocent on all counts. :) Well maybe not yet...it is better with today's patch...but still run out of steam in the 29000 range. It also may be time related. In otherwords the situation gets worse over time. Haven't quite nailed it down, but when I ran a test with the autopilot set at just 300 rpm it went into a stall around 24,000ft. Certainly at 300fpm we should be able to maintain a climb to cruise altitude. Best, Jim ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] YASim 747-400 climb performance
Jim Wilson wrote: Andy Ross said: The bad pilot technique theory is looking pretty good. If YASim can get to 1400fpm at 300 knots, then I move that it be declared officially innocent on all counts. :) Well maybe not yet...it is better with today's patch...but still run out of steam in the 29000 range. It also may be time related. In otherwords the situation gets worse over time. It's not time related. First off, ditch the autopilot. It gets stuck behind the power curve every time I use it. When it does this, it very rapidly (in the space of 30 seconds or so) gets you trimmed all the way down to 200 knots, at which point the engines can't keep you in the air anymore and you have to dive to regain airspeed. Just trim for speed; this is really easy to do in an aircraft this big. You can verify that the climb performance drops slowly off toward zero as the altitude increases, and recovers as you descend. I've done a zillion of these this afternoon. :) That said, here are two more layers to this giant onion of a bug that won't die: First, the air pressures returned from the environment system don't agree with the standard atmosphere that YASim uses to do its calibration. They match pretty well at sea level, but diverge as altitude increase. At 35000 feet, they're too low by 20%, which is substantial. Could someone check and see where the environment system is getting its numbers? The ones YASim uses are typed in from McCormick, who got them from The ARDC Model Atmosphere. I verified this afternoon that they are correct, so I'm pretty sure the bug lies elsewhere; some difference is fine, of course, but 20% difference at FL350 is a lower low pressure system than any hurricane. Ever. Replacing the new environment system with the old one yields significantly improved performance at altitude. Second, I realize now that the cruise performance numbers in the 747.xml file are tickling a problem. They are specified as a maximum speed of 530 KTAS, which I got out of a book somewhere. Problem is, this corresponds to 0.92 mach. At that speed, the plane should be seeing more drag than YASim calculates because of (as yet unmodelled) transsonic effects. But since YASim doesn't model this extra drag at high speed, it solves for an airplane with extra drag at all speeds. I've replaced the cruise setting in my .xml file with the long-range cruise numbers I found in David's link (the 75% throttle is just a guess), and this makes things better still. ... cruise speed=490 alt=36000 control-setting axis=/controls/throttle[0] value=0.75/ control-setting axis=/controls/throttle[1] value=0.75/ ... But, after all that, things still aren't quite right. The plane should, by the definition given in the solver output, fly at 490KTAS, FL360 with an AoA of 2.5 degrees. But it doesn't. At that altitude (which is attainable with the above modifications), it wants to fly much faster to stay in the air. I'm still working on it. And did I mention not to use the autopilot? If you must, watch it carefully. If it tries to trim the plane below 300 knots, shut it off! Andy -- Andrew J. RossNextBus Information Systems Senior Software Engineer Emeryville, CA [EMAIL PROTECTED] http://www.nextbus.com Men go crazy in conflagrations. They only get better one by one. - Sting (misquoted) ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel