Replies: 1 comment 5 replies
-
That's weird indeed. I can load the 787-7 model successfully using JSBSim Python interface (I don't have MATLAB installed on my computer). The error seems to occur while loading the tables
@noah-curran, any ideas ? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to change the aircraft in the JSBSim S-function under matlab but I always have the error : Aircraft file could not be loaded. For example, I'm going from the 737 (default) to the 787-8. I also tried to manually change the aircraft model in the configuration script that is called in the S-function besides the aircraft model, but it didn't help.
Any help on this matter would be really appreciated.
Thank you in adavance!
The error log:
JSBSim S-Function is initializing...
JSBSim startup beginning ...$Revision: 1.10 $
Simulation dt set to 0.008333
Setting up JSBSim with standard 'aircraft', 'engine', and 'system' paths.
Loading aircraft '787-8' ...
Reading Aircraft Configuration File: 787-8
Version: 2.0
This aircraft model is a BETA release!!!
This aircraft model probably will not fly as expected.
Use this model for development purposes ONLY!!!
Description: Flight Dynamics Model for the Boeing 787-8
Model Author: Narendran Muraleedharan, Dwayne Gable and Nicky Ivy
Creation Date: 2011-12-29
Version:
Aircraft Metrics:
WingArea: 3501.798400
WingSpan: 192.000000
Incidence: 0.034907
Chord: 38.940000
H. Tail Area: 343.360000
H. Tail Arm: 81.600000
V. Tail Area: 471.777280
V. Tail Arm: 0.000000
Eyepoint (x, y, z): 0.000000 , 0.000000 , 0.000000
Ref Pt (x, y, z): 0.000000 , 0.000000 , 0.000000
Visual Ref Pt (x, y, z): 0.000000 , 0.000000 , 0.000000
Mass and Balance:
baseIxx: 7675399.200088 slug-ft2
baseIyy: 6595543.304209 slug-ft2
baseIzz: 22197429.613715 slug-ft2
baseIxy: -0.015489 slug-ft2
baseIxz: 0.015489 slug-ft2
baseIyz: -0.000000 slug-ft2
Empty Weight: 239200.000000 lbm
CG (x, y, z): -16.000000 , 0.000000 , 22.597200
Point Mass Object: 350.000000 lbs. at X, Y, Z (in.): -898.320000 0.000000 51.220000
Point Mass Object: 1800.000000 lbs. at X, Y, Z (in.): -591.000000 0.000000 78.800000
Point Mass Object: 6400.000000 lbs. at X, Y, Z (in.): -216.700000 0.000000 78.800000
Point Mass Object: 25000.000000 lbs. at X, Y, Z (in.): 157.600000 0.000000 78.800000
Point Mass Object: 10000.000000 lbs. at X, Y, Z (in.): -394.000000 0.000000 -39.400000
Point Mass Object: 5000.000000 lbs. at X, Y, Z (in.): 157.600000 0.000000 -39.400000
Ground Reactions:
BOGEY NOSE_GEAR
Location: -809.500580 , 0.000000 , -143.368720
Spring Constant: 160000.000000
Damping Constant: 80000.000000 (linear)
Rebound Damping Constant: 80000.000000 (linear)
Dynamic Friction: 0.300000
Static Friction: 0.400000
Rolling Friction: 0.020000
Steering Type: STEERABLE
Grouping: NONE
Max Steer Angle: 70.000000
Retractable: 1
BOGEY LEFT_MAIN
Location: 77.105800 , -193.599780 , -153.632420
Spring Constant: 833000.000000
Damping Constant: 166600.000000 (linear)
Rebound Damping Constant: 166600.000000 (linear)
Dynamic Friction: 0.350000
Static Friction: 0.400000
Rolling Friction: 0.020000
Steering Type: FIXED
Grouping: LEFT
Max Steer Angle: 0.000000
Retractable: 1
BOGEY RIGHT_MAIN
Location: 77.105800 , 193.599780 , -153.632420
Spring Constant: 833000.000000
Damping Constant: 166600.000000 (linear)
Rebound Damping Constant: 166600.000000 (linear)
Dynamic Friction: 0.350000
Static Friction: 0.400000
Rolling Friction: 0.020000
Steering Type: FIXED
Grouping: RIGHT
Max Steer Angle: 0.000000
Retractable: 1
STRUCTURE LEFT_WING_TIP
Location: 549.236000 , -1173.481720 , 154.830180
Spring Constant: 100000.000000
Damping Constant: 20000.000000 (linear)
Rebound Damping Constant: 20000.000000 (linear)
Dynamic Friction: 0.400000
Static Friction: 0.500000
STRUCTURE RIGHT_WING_TIP
Location: 549.236000 , 1173.481720 , 154.830180
Spring Constant: 100000.000000
Damping Constant: 20000.000000 (linear)
Rebound Damping Constant: 20000.000000 (linear)
Dynamic Friction: 0.400000
Static Friction: 0.500000
STRUCTURE TAIL_STRIKE
Location: 924.938640 , 0.000000 , 3.419920
Spring Constant: 100000.000000
Damping Constant: 20000.000000 (linear)
Rebound Damping Constant: 20000.000000 (linear)
Dynamic Friction: 0.400000
Static Friction: 0.500000
STRUCTURE NOSE
Location: -984.290800 , 0.000000 , -29.845500
Spring Constant: 100000.000000
Damping Constant: 20000.000000 (linear)
Rebound Damping Constant: 20000.000000 (linear)
Dynamic Friction: 0.400000
Static Friction: 0.500000
External Reactions:
Frame: BODY
Location: (0.000000, 0.000000, 0.000000)
Propulsion:
FUEL tank holds 52000.000000 lbs. FUEL
currently at 63.594883% of maximum capacity
Tank location (X, Y, Z): 0.000000, -295.500000, 25.610000
Effective radius: 0.000000 inches
Initial temperature: -9999.000000 Fahrenheit
Priority: 1
FUEL tank holds 52000.000000 lbs. FUEL
currently at 63.594883% of maximum capacity
Tank location (X, Y, Z): 0.000000, 295.500000, 25.610000
Effective radius: 0.000000 inches
Initial temperature: -9999.000000 Fahrenheit
Priority: 1
FUEL tank holds 120000.000000 lbs. FUEL
currently at 55.115566% of maximum capacity
Tank location (X, Y, Z): 0.000000, 0.000000, -39.400000
Effective radius: 0.000000 inches
Initial temperature: -9999.000000 Fahrenheit
Priority: 1
Simulation completed.
Remember to reset the program by typing clearSF in the matlab command window!
Error reported by S-function 'JSBSim_SFunction' in 'ex737cruise/S-Function':
Aircraft file could not be loaded.
Beta Was this translation helpful? Give feedback.
All reactions