Re: error: Unrecognized engine type

Erik Hofman <[email protected]> Fri, 01 Jul 2005 10:44:33 +0200
Newsgroups gmane.games.flightgear.flightmodel
Message-ID <[email protected]>
[email protected] wrote:
> Hi All!
> 
> I'm trying to understand how to work with models, I'm trying to start flightgear
> with an A330-330 model... I get the following error:
> 
>     Unrecognized engine type: ? found in config file.
>   Propulsion not successfully loaded
>   FGFDMExec: Failed to load aircraft and/or engine model
> FlightGear aborting

If you look at the contents of the file you see there are at least two 
unusual characters at the start of the file. I guess something went 
wrong when copying the file to disk.
> 
> In the config file I call for the RR TRENT 700 engine... so I created with
> jsbsim aeromathic the RR TRENT 700.xml file and I put it into the engines
> folder, but it doesn't work.

I don't think it's good practice to use spaces inside a filename, I'm 
not sure how well this is supported across platforms. I suspect the XML 
parser wouldn't care, but I'm not sure about that also. I would just 
call it RRTrend700.xml instead.

Her's an updatedc version.

Erik

_______________________________________________
Flightgear-flightmodel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-flightmodel
2f585eeea02e2c79d7b1d8c4963bae2d
RRTren700.xml (text/xml, 2.6 KB)
<?xml version="1.0" ?> 

<!-- CFM56 turbofan engine model
     Version 1.0, 14 Mar 2003, David Culp, [email protected]
     Updated 20 Oct 2003, DPC, new MAXTHRUST item
-->
 
<FG_TURBINE NAME="RR Trent 700"> 
   <!--
     MILTHRUST     max static thrust (without afterburner) at S.L. (installed), lbf
     MAXTHRUST     max static thrust with afterburner at S.L. (installed), lbf
     BYPASSRATIO   bypass ratio
     TSFC          thrust-specific fuel consumption (lbm/hr/lbf)
     ATSFC         augmented TSFC (lbm/hr/lbf)
     BLEED         bleed loss (four percent is typical)
     IDLEN1        idle percent rpm of fan spool
     IDLEN2        idle percent rpm of inner spool
     MAXN1         N1 at 100% throttle
     MAXN2         N2 at 100% throttle
     AUGMENTED     =1 if augmentation installed, else =0
     INJECTED      =1 if water injection installed, else =0  

     TABLE(0)      idle thrust vs. altitude and mach
     TABLE(1)      maximum un-augmented thrust vs. altitude and mach
     TABLE(2)      augmented thrust multiplier vs. altitude and mach
     TABLE(3)      water-injection multiplier vs. altitude and mach
   -->

   MILTHRUST    71936
   MAXTHRUST    71936
   BYPASSRATIO  5.0
   TSFC         0.6
   ATSFC        0.0
   BLEED        0.04 
   IDLEN1       30.0
   IDLEN2       60.0
   MAXN1        100.0
   MAXN2        100.0
   AUGMENTED    0
   INJECTED     0
 
   <TABLE NAME="IdleThrust" TYPE="TABLE">
     Idle_power_thrust_factor
     6
     7
     velocities/mach-norm
     position/h-sl-ft
     none
          -10000      0  10000  20000  30000  40000  50000
      0.0 0.0430 0.0488 0.0528 0.0694 0.0899 0.1183 0.1467   
      0.2 0.0500 0.0501 0.0335 0.0544 0.0797 0.1049 0.1342 
      0.4 0.0040 0.0047 0.0020 0.0272 0.0595 0.0891 0.1203 
      0.6    0.0    0.0    0.0    0.0 0.0276 0.0718 0.1073 
      0.8    0.0    0.0    0.0    0.0 0.0474 0.0868 0.0900 
      1.0    0.0    0.0    0.0    0.0    0.0 0.0552 0.0800
   </TABLE> 

   <TABLE NAME="MilThrust" TYPE="TABLE">
     Effects_of_altitude_and_mach_on_thrust
     8
     7
     velocities/mach-norm
     position/h-sl-ft
     none 
          -10000      0  10000  20000  30000  40000  50000
      0.0 1.2600 1.0000 0.7400 0.5340 0.3720 0.2410 0.1490
      0.2 1.1710 0.9340 0.6970 0.5060 0.3550 0.2310 0.1430
      0.4 1.1500 0.9210 0.6920 0.5060 0.3570 0.2330 0.1450
      0.6 1.1810 0.9510 0.7210 0.5320 0.3780 0.2480 0.1540
      0.8 1.2580 1.0200 0.7820 0.5820 0.4170 0.2750 0.1700
      1.0 1.3690 1.1200 0.8710 0.6510 0.4750 0.3150 0.1950
      1.2 1.4850 1.2300 0.9750 0.7440 0.5450 0.3640 0.2250
      1.4 1.5941 1.3400 1.0860 0.8450 0.6280 0.4240 0.2630
   </TABLE>

</FG_TURBINE>