2016-02-10 21:32:19 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
c172p damage effects for JSBSim.
|
|
|
|
|
|
|
|
Copyright (c) 2015 Gilberto Agostinho
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<system name="engine">
|
|
|
|
|
|
|
|
<channel name="oil">
|
|
|
|
|
2016-11-12 21:32:27 +00:00
|
|
|
<fcs_function name="consumed-oil-weight">
|
2016-02-10 21:32:19 +00:00
|
|
|
<function>
|
|
|
|
<product>
|
2016-11-12 21:32:27 +00:00
|
|
|
<property>/engines/active-engine/oil-lacking</property>
|
2016-02-10 21:32:19 +00:00
|
|
|
<value>1.7686</value>
|
2016-11-12 21:32:27 +00:00
|
|
|
<value>-1</value>
|
2016-02-10 21:32:19 +00:00
|
|
|
</product>
|
|
|
|
</function>
|
|
|
|
<output>/fdm/jsbsim/inertia/pointmass-weight-lbs[16]</output>
|
|
|
|
</fcs_function>
|
|
|
|
|
|
|
|
</channel>
|
|
|
|
|
|
|
|
<channel name="carburetor">
|
|
|
|
|
|
|
|
<fcs_function name="Carb heat on causes RPM drop on 160 HP engine">
|
|
|
|
<function>
|
|
|
|
<ifthen>
|
|
|
|
<property>/controls/anti-ice/engine[0]/carb-heat</property>
|
|
|
|
<value>0.475</value>
|
|
|
|
<value>0.15185</value>
|
|
|
|
</ifthen>
|
|
|
|
</function>
|
|
|
|
<output>/fdm/jsbsim/propulsion/engine[0]/air-intake-impedance-factor</output>
|
|
|
|
</fcs_function>
|
|
|
|
|
|
|
|
<fcs_function name="Carb heat on causes RPM drop on 180 HP engine">
|
|
|
|
<function>
|
|
|
|
<ifthen>
|
|
|
|
<property>/controls/anti-ice/engine[1]/carb-heat</property>
|
|
|
|
<value>0.475</value>
|
|
|
|
<value>0.15185</value>
|
|
|
|
</ifthen>
|
|
|
|
</function>
|
|
|
|
<output>/fdm/jsbsim/propulsion/engine[1]/air-intake-impedance-factor</output>
|
|
|
|
</fcs_function>
|
|
|
|
|
|
|
|
</channel>
|
|
|
|
|
|
|
|
</system>
|