Replies: 19 comments 18 replies
-
What are the conditions you're trying to trim at, i.e. airspeed, altitude etc.? For example maybe the airspeed you're using is too low, such that given the the alpha range the trim routines are using it isn't possible to generate enough lift for the given weight etc. Or maybe it can, but there is too much drag at that alpha such that even 100% throttle isn't enough. |
Beta Was this translation helpful? Give feedback.
-
Basically it was a wrong forces balance model from DATCOM Pro.
They implemented a totally different force balance model and a table for
drag instead of using Drag-basic and Drag-induced.
I migrated all DATCOM data to Aeromatic format and it worked.
Thanks.
PS: I can put the wrong file to your comments if you want.
|
Beta Was this translation helpful? Give feedback.
-
There is no reason that a table for drag shouldn't work. JSBSim doesn't care how the forces and moments are defined. So I'd be interested to see what the original DATCOM data looked like. |
Beta Was this translation helpful? Give feedback.
-
@gasilva Interesting work! |
Beta Was this translation helpful? Give feedback.
-
global5000_aero.xml Aircraft file that used global5000_aero.xml |
Beta Was this translation helpful? Give feedback.
-
Global5000 file with DATCOM information in the format of Aeromatic. |
Beta Was this translation helpful? Give feedback.
-
@gasilva have you compared the drag data from DATCOM versus from Aeromatic? For example plot Cd vs AoA for both. |
Beta Was this translation helpful? Give feedback.
-
Out of interest what did you use to plot the graphs? Is it Matplotlib with a particular style? So comparing the DATCOM (orange) with the Aeromatic (blue) I can see from about +9 AoA and larger you could run into a case where the trim works using the Aeromatic drag data but fails with the DATCOM data because there isn't enough thrust available. At what sorts of speed/AoA did the trim start failing for the DATCOM data? |
Beta Was this translation helpful? Give feedback.
-
I am running the simulation in Mach=0.43 to 0.5.
The alpha is from 11 to 7 more or less.
|
Beta Was this translation helpful? Give feedback.
-
I don't see anything obviously wrong with the drag table. When you say it doesn't work, does this mean you can't get it to trim at all across the M0.43 to M0.5 range, or just a portion at say the lower end of the Mach range? |
Beta Was this translation helpful? Give feedback.
-
the trim does not work in 0.4 to 0.52 range with the table and force
balance.
Em seg., 2 de ago. de 2021 às 13:15, Sean McLeod ***@***.***>
escreveu:
… I don't see anything obviously wrong with the drag table.
When you say it doesn't work, does this mean you can't get it to trim at
all across the M0.43 to M0.5 range, or just a portion at say the lower end
of the Mach range?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#490 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADUT7AS67Q4SIHRPFDMKXLT23ADXANCNFSM5BIVMTJQ>
.
|
Beta Was this translation helpful? Give feedback.
-
I'll try and take a look by running it and see if I can spot any issues. In the meantime I'd also suggest that you contact the developer of DATCOM Pro to let him know. |
Beta Was this translation helpful? Give feedback.
-
The error changed now when I changed the script. Full Trim Trim successful
Trim Results:
Angle of Attack: 12.01 wdot: -6.60e-04 Tolerance: 1e-03 Passed
Throttle: 0.77 udot: -8.20e-04 Tolerance: 1e-03 Passed
Pitch Trim: -0.47 qdot: 2.80e-05 Tolerance: 1e-04 Passed
Roll Angle: 0.00 vdot: 2.24e-17 Tolerance: 1e-03 Passed
Ailerons: 0.00 pdot: -1.73e-15 Tolerance: 1e-04 Passed
Rudder: 0.00 rdot: 8.55e-19 Tolerance: 1e-04 Passed
Repeating Notify (Event 2) executed at time: 0.008333
position/h-agl-ft = 30000.000000
ap/mach_setpoint = 0.430000
fcs/throttle-pos-norm[1] = 0.767165
fcs/throttle-cmd-norm[1] = 0.768530
ap/throttle-cmd = -0.001562
velocities/mach = 0.430000
propulsion/engine[0]/n1 = 83.706485
propulsion/engine[1]/n1 = 83.706485
propulsion/engine[0]/thrust-lbs = 3711.430011
propulsion/engine[1]/thrust-lbs = 3711.430011
velocities/vc-kts = 157.641416
aero/alpha-deg = 12.006342
simulation/frame = 1.000000
Hold heading and altitude (Event 1) executed at time: 10.016663
Cal. airspeed (kts): = 157.636832
Altitude (AGL, ft): = 30000.373858
Weight (lbs): = 80101.397946
Repeating Notify (Event 2) executed at time: 1800.007613
position/h-agl-ft = nan
ap/mach_setpoint = 0.500000
fcs/throttle-pos-norm[1] = nan
fcs/throttle-cmd-norm[1] = 0.768530
ap/throttle-cmd = nan
velocities/mach = nan
propulsion/engine[0]/n1 = 30.000000
propulsion/engine[1]/n1 = 30.000000
propulsion/engine[0]/thrust-lbs = nan
propulsion/engine[1]/thrust-lbs = nan
velocities/vc-kts = 0.000000
aero/alpha-deg = 0.000000
simulation/frame = 216001.000000 |
Beta Was this translation helpful? Give feedback.
-
So we can close the discussion? |
Beta Was this translation helpful? Give feedback.
-
Actually not. The drag table does not work.
Only if transformed to Drag Basic (CD0) and Drag Induced (k).
I tried to debug but no success.
|
Beta Was this translation helpful? Give feedback.
-
I'm confused, yesterday I received a Github notification for this discussion in which you mentioned - "no issue with DATCOM JSBSim file".
And another one.
|
Beta Was this translation helpful? Give feedback.
-
Yes false alarm!
I was happy at that time.
But I discovered that I was running the other model by accident.
|
Beta Was this translation helpful? Give feedback.
-
Have you had any further feedback from the DATCOM Pro developer? |
Beta Was this translation helpful? Give feedback.
-
Not yet. I gave the false alarm to him also.
Enviado do meu iPhone
… Em 10 de ago. de 2021, à(s) 08:32, Sean McLeod ***@***.***> escreveu:
Have you had any further feedback from the DATCOM Pro developer?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
HI,
I am implementing a Global5000 aircraft with DATCOM aerodynamics. Everything is running OK. But when I run trim-cruise_ap.xml I got the error above.
How can I debug it and know that is happening? Is there any clue to solve this problem?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions