towing: replace 3 JSBSim-forces with one direction with 1 force and 3 directions
[fg:fgdata.git] / Aircraft / sgs233 / sgs233.xml
1 <?xml version="1.0"?>
2 <?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>
3 <fdm_config name="sgs233" version="2.0" release="BETA"
4     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5     xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
6
7     <fileheader>
8         <author> Unknown </author>
9         <filecreationdate> 2001-01-01 </filecreationdate>
10         <version> $Revision$ </version>
11         <description> SGS-233 glider </description>
12     </fileheader>
13
14     <metrics>
15         <wingarea unit="FT2"> 219.48 </wingarea>
16         <wingspan unit="FT"> 51 </wingspan>
17         <chord unit="FT"> 4.3 </chord>
18         <htailarea unit="FT2"> 24 </htailarea>
19         <htailarm unit="FT"> 14 </htailarm>
20         <vtailarea unit="FT2"> 18 </vtailarea>
21         <vtailarm unit="FT"> 14 </vtailarm>
22         <location name="AERORP" unit="IN">
23             <x> 103.2 </x>
24             <y> 0 </y>
25             <z> 0 </z>
26         </location>
27         <location name="EYEPOINT" unit="IN">
28             <x> 49 </x>
29             <y> 0 </y>
30             <z> 9 </z>
31         </location>
32         <location name="VRP" unit="IN">
33             <x> 0 </x>
34             <y> 0 </y>
35             <z> 0 </z>
36         </location>
37     </metrics>
38
39     <mass_balance>
40         <ixx unit="SLUG*FT2"> 1800 </ixx>
41         <iyy unit="SLUG*FT2"> 850 </iyy>
42         <izz unit="SLUG*FT2"> 1950 </izz>
43         <emptywt unit="LBS"> 610 </emptywt>
44         <location name="CG" unit="IN">
45             <x> 103.2 </x>
46             <y> 0 </y>
47             <z> -6.4 </z>
48         </location>
49         <pointmass name="name">
50             <weight unit="LBS"> 180 </weight>
51             <location name="POINTMASS" unit="IN">
52                 <x> 43 </x>
53                 <y> 0 </y>
54                 <z> 4 </z>
55             </location>
56         </pointmass>
57         <pointmass name="name">
58             <weight unit="LBS"> 180 </weight>
59             <location name="POINTMASS" unit="IN">
60                 <x> 85 </x>
61                 <y> 0 </y>
62                 <z> 4 </z>
63             </location>
64         </pointmass>
65     </mass_balance>
66
67     <ground_reactions>
68         <contact type="BOGEY" name="LEFT_MLG">
69             <location unit="IN">
70                 <x> 108.36 </x>
71                 <y> -2.4 </y>
72                 <z> -50.0 </z>
73             </location>
74             <static_friction> 0.8 </static_friction>
75             <dynamic_friction> 0.5 </dynamic_friction>
76             <rolling_friction> 0.05 </rolling_friction>
77             <spring_coeff unit="LBS/FT"> 700 </spring_coeff>
78             <damping_coeff unit="LBS/FT/SEC"> 140 </damping_coeff>
79             <max_steer unit="DEG"> 0.0 </max_steer>
80             <brake_group> NONE </brake_group>
81             <retractable>0</retractable>
82         </contact>
83         <contact type="BOGEY" name="RIGHT_MLG">
84             <location unit="IN">
85                 <x> 108.36 </x>
86                 <y> 2.4 </y>
87                 <z> -50.0 </z>
88             </location>
89             <static_friction> 0.8 </static_friction>
90             <dynamic_friction> 0.5 </dynamic_friction>
91             <rolling_friction> 0.05 </rolling_friction>
92             <spring_coeff unit="LBS/FT"> 700 </spring_coeff>
93             <damping_coeff unit="LBS/FT/SEC"> 140 </damping_coeff>
94             <max_steer unit="DEG"> 0.0 </max_steer>
95             <brake_group> NONE </brake_group>
96             <retractable>0</retractable>
97         </contact>
98         <contact type="BOGEY" name="NOSE_SKID">
99             <location unit="IN">
100                 <x> 33.54 </x>
101                 <y> 0 </y>
102                 <z> -48.0 </z>
103             </location>
104             <static_friction> 0.8 </static_friction>
105             <dynamic_friction> 0.5 </dynamic_friction>
106             <rolling_friction> 0.5 </rolling_friction>
107             <spring_coeff unit="LBS/FT"> 1000 </spring_coeff>
108             <damping_coeff unit="LBS/FT/SEC"> 1000 </damping_coeff>
109             <max_steer unit="DEG"> 5 </max_steer>
110             <brake_group> NONE </brake_group>
111             <retractable>0</retractable>
112         </contact>
113         <contact type="STRUCTURE" name="LEFT_WING">
114             <location unit="IN">
115                 <x> 103.2 </x>
116                 <y> -240 </y>
117                 <z> 6 </z>
118             </location>
119             <static_friction> 0.8 </static_friction>
120             <dynamic_friction> 0.5 </dynamic_friction>
121             <rolling_friction> 0.5 </rolling_friction>
122             <spring_coeff unit="LBS/FT"> 210 </spring_coeff>
123             <damping_coeff unit="LBS/FT/SEC"> 70 </damping_coeff>
124             <max_steer unit="DEG"> 0.0 </max_steer>
125             <brake_group> NONE </brake_group>
126             <retractable>0</retractable>
127         </contact>
128         <contact type="STRUCTURE" name="RIGHT_WING">
129             <location unit="IN">
130                 <x> 103.2 </x>
131                 <y> 240 </y>
132                 <z> 6 </z>
133             </location>
134             <static_friction> 0.8 </static_friction>
135             <dynamic_friction> 0.5 </dynamic_friction>
136             <rolling_friction> 0.5 </rolling_friction>
137             <spring_coeff unit="LBS/FT"> 210 </spring_coeff>
138             <damping_coeff unit="LBS/FT/SEC"> 70 </damping_coeff>
139             <max_steer unit="DEG"> 0.0 </max_steer>
140             <brake_group> NONE </brake_group>
141             <retractable>0</retractable>
142         </contact>
143         <contact type="STRUCTURE" name="TAIL">
144             <location unit="IN">
145                 <x> 271 </x>
146                 <y> 0 </y>
147                 <z> -20 </z>
148             </location>
149             <static_friction> 0.8 </static_friction>
150             <dynamic_friction> 0.5 </dynamic_friction>
151             <rolling_friction> 0.5 </rolling_friction>
152             <spring_coeff unit="LBS/FT"> 210 </spring_coeff>
153             <damping_coeff unit="LBS/FT/SEC"> 70 </damping_coeff>
154             <max_steer unit="DEG"> 0.0 </max_steer>
155             <brake_group> NONE </brake_group>
156             <retractable>0</retractable>
157         </contact>
158     </ground_reactions>
159
160     <external_reactions>
161         <force name="nose" frame="BODY" unit="LBS" >
162             <location unit="M">
163                 <x>0.12</x>  
164                 <y>0.0</y>
165                 <z>-0.35</z>
166             </location>
167             <direction>
168                 <x>0.0</x>
169                 <y>0.0</y>
170                 <z>0.0</z>
171             </direction>
172         </force>
173         <force name="belly" frame="BODY" unit="LBS" >
174             <location unit="M">
175                 <x>2.0</x>  
176                 <y>0.0</y>
177                 <z>-0.7</z>
178             </location>
179             <direction>
180                 <x>0.0</x>
181                 <y>0.0</y>
182                 <z>0.0</z>
183             </direction>
184         </force>
185     </external_reactions>
186     
187     <propulsion>
188     </propulsion>
189     <flight_control name="FCS: sgs233">
190         <channel name="Pitch">
191             <summer name="Pitch Trim Sum">
192                 <input>fcs/elevator-cmd-norm</input>
193                 <input>fcs/pitch-trim-cmd-norm</input>
194                 <clipto>
195                     <min>-1</min>
196                     <max>1</max>
197                 </clipto>
198             </summer>
199
200             <aerosurface_scale name="Elevator Control">
201                 <input>fcs/pitch-trim-sum</input>
202                 <range>
203                     <min>-0.3</min>
204                     <max>0.3</max>
205                 </range>
206                 <output>fcs/elevator-pos-rad</output>
207             </aerosurface_scale>
208         </channel>
209         <channel name="Roll">
210             <summer name="Roll Trim Sum">
211                 <input>fcs/aileron-cmd-norm</input>
212                 <input>fcs/roll-trim-cmd-norm</input>
213                 <clipto>
214                     <min>-1</min>
215                     <max>1</max>
216                 </clipto>
217             </summer>
218
219             <aerosurface_scale name="Left Aileron Control">
220                 <input>fcs/roll-trim-sum</input>
221                 <range>
222                     <min>-0.35</min>
223                     <max>0.35</max>
224                 </range>
225                 <output>fcs/left-aileron-pos-rad</output>
226             </aerosurface_scale>
227
228             <aerosurface_scale name="Right Aileron Control">
229                 <input>-fcs/roll-trim-sum</input>
230                 <range>
231                     <min>-0.35</min>
232                     <max>0.35</max>
233                 </range>
234                 <output>fcs/right-aileron-pos-rad</output>
235             </aerosurface_scale>
236         </channel>
237         <channel name="Yaw">
238             <summer name="Rudder Command Sum">
239                 <input>fcs/rudder-cmd-norm</input>
240                 <input>fcs/yaw-trim-cmd-norm</input>
241                 <clipto>
242                     <min>-1</min>
243                     <max>1</max>
244                 </clipto>
245             </summer>
246
247             <aerosurface_scale name="Rudder Control">
248                 <input>fcs/rudder-command-sum</input>
249                 <range>
250                     <min>-0.35</min>
251                     <max>0.35</max>
252                 </range>
253                 <output>fcs/rudder-pos-rad</output>
254             </aerosurface_scale>
255         </channel>
256         <channel name="Speedbrake">
257             <kinematic name="Speedbrake Control">
258                 <input>fcs/speedbrake-cmd-norm</input>
259                 <traverse>
260                     <setting>
261                         <position>0</position>
262                         <time>0</time>
263                     </setting>
264                     <setting>
265                         <position>1</position>
266                         <time>1</time>
267                     </setting>
268                 </traverse>
269                 <output>fcs/speedbrake-pos-norm</output>
270             </kinematic>
271         </channel>
272     </flight_control>
273     <aerodynamics>
274
275         <axis name="DRAG">
276             <function name="aero/coefficient/CD0">
277                 <description>Drag_at_zero_lift</description>
278                 <product>
279                     <property>aero/qbar-psf</property>
280                     <property>metrics/Sw-sqft</property>
281                       <table>
282                           <independentVar>aero/alpha-rad</independentVar>
283                           <tableData>
284                               -1.5700   1.5000
285                               -0.2600   0.0340
286                               0.0000    0.0170
287                               0.2600    0.0340
288                               1.5700    1.5000
289                           </tableData>
290                       </table>
291                 </product>
292             </function>
293             <function name="aero/coefficient/CDi">
294                 <description>Induced_drag</description>
295                 <product>
296                     <property>aero/qbar-psf</property>
297                     <property>metrics/Sw-sqft</property>
298                     <property>aero/cl-squared</property>
299                     <value>0.0500</value>
300                 </product>
301             </function>
302             <function name="aero/coefficient/CDgear">
303                 <description>Drag_due_to_gear</description>
304                 <product>
305                     <property>aero/qbar-psf</property>
306                     <property>metrics/Sw-sqft</property>
307                     <property>gear/gear-pos-norm</property>
308                     <value>0.0010</value>
309                 </product>
310             </function>
311             <function name="aero/coefficient/CDsb">
312                 <description>Drag_due_to_speedbrakes</description>
313                 <product>
314                     <property>aero/qbar-psf</property>
315                     <property>metrics/Sw-sqft</property>
316                     <property>fcs/speedbrake-pos-norm</property>
317                     <value>0.0100</value>
318                 </product>
319             </function>
320             <function name="aero/coefficient/CDbeta">
321                 <description>Drag_due_to_sideslip</description>
322                 <product>
323                     <property>aero/qbar-psf</property>
324                     <property>metrics/Sw-sqft</property>
325                       <table>
326                           <independentVar>aero/beta-rad</independentVar>
327                           <tableData>
328                               -1.5700   1.2300
329                               -0.2600   0.0500
330                               0.0000    0.0000
331                               0.2600    0.0500
332                               1.5700    1.2300
333                           </tableData>
334                       </table>
335                 </product>
336             </function>
337             <function name="aero/coefficient/CDde">
338                 <description>Drag_due_to_Elevator_Deflection</description>
339                 <product>
340                     <property>aero/qbar-psf</property>
341                     <property>metrics/Sw-sqft</property>
342                     <property>fcs/elevator-pos-norm</property>
343                     <value>0.0240</value>
344                 </product>
345             </function>
346         </axis>
347
348         <axis name="SIDE">
349             <function name="aero/coefficient/CYb">
350                 <description>Side_force_due_to_beta</description>
351                 <product>
352                     <property>aero/qbar-psf</property>
353                     <property>metrics/Sw-sqft</property>
354                     <property>aero/beta-rad</property>
355                     <value>-1.0000</value>
356                 </product>
357             </function>
358         </axis>
359
360         <axis name="LIFT">
361             <function name="aero/coefficient/CLalpha">
362                 <description>Lift_due_to_alpha</description>
363                 <product>
364                     <property>aero/qbar-psf</property>
365                     <property>metrics/Sw-sqft</property>
366                       <table>
367                           <independentVar>aero/alpha-rad</independentVar>
368                           <tableData>
369                               -0.2000   -0.8500
370                               0.0000    0.2500
371                               0.2100    1.3200
372                               0.6000    0.2100
373                           </tableData>
374                       </table>
375                 </product>
376             </function>
377             <function name="aero/coefficient/dCLsb">
378                 <description>Delta_Lift_due_to_speedbrake</description>
379                 <product>
380                     <property>aero/qbar-psf</property>
381                     <property>metrics/Sw-sqft</property>
382                     <property>fcs/speedbrake-pos-norm</property>
383                     <value>-0.0500</value>
384                 </product>
385             </function>
386             <function name="aero/coefficient/CLde">
387                 <description>Lift_due_to_Elevator_Deflection</description>
388                 <product>
389                     <property>aero/qbar-psf</property>
390                     <property>metrics/Sw-sqft</property>
391                     <property>fcs/elevator-pos-rad</property>
392                     <value>0.2000</value>
393                 </product>
394             </function>
395         </axis>
396
397         <axis name="ROLL">
398             <function name="aero/coefficient/Clb">
399                 <description>Roll_moment_due_to_beta</description>
400                 <product>
401                     <property>aero/qbar-psf</property>
402                     <property>metrics/Sw-sqft</property>
403                     <property>metrics/bw-ft</property>
404                     <property>aero/beta-rad</property>
405                     <value>-0.1000</value>
406                 </product>
407             </function>
408             <function name="aero/coefficient/Clp">
409                 <description>Roll_moment_due_to_roll_rate</description>
410                 <product>
411                     <property>aero/qbar-psf</property>
412                     <property>metrics/Sw-sqft</property>
413                     <property>metrics/bw-ft</property>
414                     <property>aero/bi2vel</property>
415                     <property>velocities/p-aero-rad_sec</property>
416                     <value>-0.4000</value>
417                 </product>
418             </function>
419             <function name="aero/coefficient/Clr">
420                 <description>Roll_moment_due_to_yaw_rate</description>
421                 <product>
422                     <property>aero/qbar-psf</property>
423                     <property>metrics/Sw-sqft</property>
424                     <property>metrics/bw-ft</property>
425                     <property>aero/bi2vel</property>
426                     <property>velocities/r-aero-rad_sec</property>
427                     <value>0.1500</value>
428                 </product>
429             </function>
430             <function name="aero/coefficient/Clda">
431                 <description>Roll_moment_due_to_aileron</description>
432                 <product>
433                     <property>aero/qbar-psf</property>
434                     <property>metrics/Sw-sqft</property>
435                     <property>metrics/bw-ft</property>
436                     <property>fcs/left-aileron-pos-rad</property>
437                     <value>0.0700</value>
438                 </product>
439             </function>
440             <function name="aero/coefficient/Cldr">
441                 <description>Roll_moment_due_to_rudder</description>
442                 <product>
443                     <property>aero/qbar-psf</property>
444                     <property>metrics/Sw-sqft</property>
445                     <property>metrics/bw-ft</property>
446                     <property>fcs/rudder-pos-rad</property>
447                     <value>0.0100</value>
448                 </product>
449             </function>
450         </axis>
451
452         <axis name="PITCH">
453             <function name="aero/coefficient/Cmalpha">
454                 <description>Pitch_moment_due_to_alpha</description>
455                 <product>
456                     <property>aero/qbar-psf</property>
457                     <property>metrics/Sw-sqft</property>
458                     <property>metrics/cbarw-ft</property>
459                     <property>aero/alpha-rad</property>
460                     <value>-0.4000</value>
461                 </product>
462             </function>
463             <function name="aero/coefficient/Cmde">
464                 <description>Pitch_moment_due_to_elevator</description>
465                 <product>
466                     <property>aero/qbar-psf</property>
467                     <property>metrics/Sw-sqft</property>
468                     <property>metrics/cbarw-ft</property>
469                     <property>fcs/elevator-pos-rad</property>
470                     <value>-0.6000</value>
471                 </product>
472             </function>
473             <function name="aero/coefficient/Cmq">
474                 <description>Pitch_moment_due_to_pitch_rate</description>
475                 <product>
476                     <property>aero/qbar-psf</property>
477                     <property>metrics/Sw-sqft</property>
478                     <property>metrics/cbarw-ft</property>
479                     <property>aero/ci2vel</property>
480                     <property>velocities/q-aero-rad_sec</property>
481                     <value>-9.0000</value>
482                 </product>
483             </function>
484             <function name="aero/coefficient/Cmadot">
485                 <description>Pitch_moment_due_to_alpha_rate</description>
486                 <product>
487                     <property>aero/qbar-psf</property>
488                     <property>metrics/Sw-sqft</property>
489                     <property>metrics/cbarw-ft</property>
490                     <property>aero/ci2vel</property>
491                     <property>aero/alphadot-rad_sec</property>
492                     <value>-12.0000</value>
493                 </product>
494             </function>
495         </axis>
496
497         <axis name="YAW">
498             <function name="aero/coefficient/Cnb">
499                 <description>Yaw_moment_due_to_beta</description>
500                 <product>
501                     <property>aero/qbar-psf</property>
502                     <property>metrics/Sw-sqft</property>
503                     <property>metrics/bw-ft</property>
504                     <property>aero/beta-rad</property>
505                     <value>0.1200</value>
506                 </product>
507             </function>
508             <function name="aero/coefficient/Cnr">
509                 <description>Yaw_moment_due_to_yaw_rate</description>
510                 <product>
511                     <property>aero/qbar-psf</property>
512                     <property>metrics/Sw-sqft</property>
513                     <property>metrics/bw-ft</property>
514                     <property>aero/bi2vel</property>
515                     <property>velocities/r-aero-rad_sec</property>
516                     <value>-0.1500</value>
517                 </product>
518             </function>
519             <function name="aero/coefficient/Cndr">
520                 <description>Yaw_moment_due_to_rudder</description>
521                 <product>
522                     <property>aero/qbar-psf</property>
523                     <property>metrics/Sw-sqft</property>
524                     <property>metrics/bw-ft</property>
525                     <property>fcs/rudder-pos-rad</property>
526                     <value>-0.0300</value>
527                 </product>
528             </function>
529             <function name="aero/coefficient/Cnda">
530                 <description>Adverse_yaw</description>
531                 <product>
532                     <property>aero/qbar-psf</property>
533                     <property>metrics/Sw-sqft</property>
534                     <property>metrics/bw-ft</property>
535                     <property>fcs/left-aileron-pos-rad</property>
536                     <value>-0.0200</value>
537                 </product>
538             </function>
539         </axis>
540     </aerodynamics>
541 </fdm_config>