I am looking at the ATR72.
It has this block in nasalEngine.xml:
Code: Select all
<table name="EnginePowerVC">
<description> Engine power, function of airspeed and pressure </description>
<independentVar lookup="row">atmosphere/P-sl-psf</independentVar>
<independentVar lookup="column">velocities/ve-kts</independentVar>
<tableData>
0 50 100 150 200 250 270
503 0.357 0.380 0.400 0.425 0.457 0.486 0.512
1048 0.586 0.589 0.600 0.621 0.650 0.686 0.720
1328 0.707 0.721 0.731 0.757 0.786 0.821 0.874
1496 0.779 0.786 0.808 0.821 0.857 0.900 0.981
1684 0.850 0.857 0.874 0.900 0.943 0.979 1.210
1896 0.914 0.929 0.946 0.971 1 1.057 1.341
2135 1 1.011 1.029 1.043 1.083 1.150 1.450
2213 1.029 1.043 1.057 1.079 1.114 1.171 1.500
</tableData>
</table>
which brings up the error:
Code: Select all
In file C:/Users/Redpath/Documents/GitHub/MY_FGDATA/Aircraft/ATR72/Engines/nasal
Engine.xml: line 60
Note: Using the EnginePowerVC without enclosed <function> tag is deprecated
Failed to tie property EnginePowerVC to object methods
In file C:/Users/Redpath/Documents/GitHub/MY_FGDATA/Aircraft/ATR72/Engines/nasal
Engine.xml: line 60
Note: Using the EnginePowerVC without enclosed <function> tag is deprecated
I will try and fix any other errors, but I'm no JSBsimmer, so I was wondering if someone could explain about the <function> tag, and where / how to put it in?
Best,
Legoboy