Debian Codegraph @

Aircraft-aisim/README

raw
1 AISim uses a 6-degree of freedom, linear coefficient resolver model.
2
3
4 All units are imperial.
5 The aero reference point is always located at (0.0, 0.0, 0.0).
6 Center of gravity is relative to the aero reference point.
7 All other positions are relative to the center of gravity.
8
9 Positions are in inches and in the JSBSim structural frame:
10 X is positive aft
11 Y is positive right
12 Z is positive up
13
14 Up to 4 engines and up to 4 gear positions (contact points) can be defined.
15 AISim always adds an extra contact point at the aero reference point.
16
17 Configuration files are in JSON format.
18 Any parameter which is omitted is set to zero.
19
20 AeromatiC++ version 3.3.12 or later also outputs to AISim JSON format.
21
22 An example of a configuration file for the Cessna 172p is given below.
23 Note that JSON does not support comments. So the semicolon and text following
24 it in this example are just for clarity and should be removed or omitted when
25 using it with AISim.
26 =============================================================================
27 {
28 "c172p" : 1.0, ; name and version number
29
30 "Sw" : 174.0, ; wing area (ft2)
31 "cbar" : 5.3, ; root chord (ft)
32 "bw" : 35.8, ; wing span (ft)
33
34 "mass" : 2300.0, ; mass (lbs)
35 "Ixx" : 948.0, ; inertia along the x axis (slug*ft2)
36 "Iyy" : 1346.0, ; inertia along the y axis (slug*ft2)
37 "Izz" : 1967.0, ; inertia along the z axis (slug*ft2)
38 "Ixz" : 0.0, ; inertia along the xz axis (slug*ft2)
39
40 "cg" : [ -2.4, 0.0, 22.9 ], ; CG relative to AR (in)
41
42 "engine" : [
43 {
44 "pos" : [ -78.7, 0.0, 22.9 ], ; enginge pos relative to CG (in)
45 "dir" : [ 0.0, 0.0, 0.0 ], ; thruster direction (degrees)
46
47 "FT_max" : 615.6, ; max thrust at sea level (lbs)
48 "MT_max" : -37.3, ; max thruster torque (lb-ft)
49 "rpm_max" : 3002.1 ; max propeller revolutions per minute
50 } ],
51
52 "gear" : [
53 {
54 "pos" : [ -90.3, 0.0, -56.7 ], ; gear pos relative to CG (in)
55 "spring" : 690.0, ; gear spring factor (lbs/ft)
56 "damp" : 345.0 ; gear damping factor (lbs/ft/sec)
57 },
58 {
59 "pos" : [ 5.3, -38.7, -56.7 ],
60 "spring" : 2300.0,
61 "damp" : 1150.0
62 },
63 {
64 "pos" : [ 5.3, 38.7, -56.7 ],
65 "spring" : 2300.0,
66 "damp" : 1150.0
67 } ],
68
69 "de_max" : 17.5, ; max elevator deflection (degrees)
70 "dr_max" : 20.0, ; max rudder deflection (degrees)
71 "da_max" : 20.0, ; max aileron deflection (degrees)
72 "df_max" : 40.0, ; max flap deflection (degrees)
73
74 "CLmin" : 0.31,
75 "CLa" : 5.143,
76 "CLadot" : 1.7,
77 "CLq" : 3.9,
78 "CLdf" : 0.4000,
79
80 "CDmin" : 0.031,
81 "CDa" : 0.1581,
82 "CDb" : 0.17,
83 "CDi" : 0.054,
84 "CDdf" : 0.0300,
85
86 "CYb" : -0.31,
87 "CYp" : 0.037,
88 "CYr" : 0.21,
89 "CYdr" : 0.187,
90
91 "Clb" : -0.089,
92 "Clp" : -0.47,
93 "Clr" : 0.096,
94 "Clda" : 0.178,
95 "Cldr" : 0.0147,
96
97 "Cma" : -0.89,
98 "Cmadot" : -5.2,
99 "Cmq" : -12.4,
100 "Cmde" : -1.28,
101
102 "Cnb" : 0.065,
103 "Cnp" : -0.03,
104 "Cnr" : -0.099,
105 "Cndr" : -0.0657
106 }