2015-07-24 17:37:16 +00:00
<?xml version="1.0"?>
2008-12-31 16:25:45 +00:00
<PropertyList >
2015-07-24 17:37:16 +00:00
<name > Engine Failure</name>
<description > Engine failure is very rare in flight simulators, but a risk in real life.
2008-12-31 16:25:45 +00:00
2016-05-18 21:11:05 +00:00
The tutorial starts with you cruising at 3500 ft over the hills of Barcelona. A total engine failure will occur, with no possibility of restart - black smoke, chunks of metal pushed out of the cowling.
2008-12-31 16:25:45 +00:00
Glide the aircraft to the nearest airport and make a successful emergency landing. You must manage your altitude and fly a normal pattern from "abeam the numbers". Don't deploy flaps until you have the runway "made".
2015-07-05 18:32:41 +00:00
The Cessna 172 glides at a ratio of 9:1 at a best glide speed of 65 kts IAS. The glide ratio assumes no flaps and a "windmilling" propeller. If you fly any faster or slower, or have flaps deployed, the glide rate will be worse.
2008-12-31 16:25:45 +00:00
2016-05-18 21:11:05 +00:00
LEBL (Barcelona) is within glide distance. Try to land at LEBL.
2008-12-31 16:25:45 +00:00
</description>
2015-07-24 17:37:16 +00:00
<timeofday > dusk</timeofday>
<presets >
2016-05-18 21:11:05 +00:00
<airport-id > LEBL</airport-id>
2015-07-24 17:37:16 +00:00
<on-ground > 0</on-ground>
<runway > 30</runway>
<altitude-ft > 3500</altitude-ft>
<latitude-deg > 37.5</latitude-deg>
<longitude-deg > -122.4</longitude-deg>
<heading-deg > 010.0</heading-deg>
<airspeed-kt > 105.0</airspeed-kt>
<glideslope-deg > 0</glideslope-deg>
<offset-azimuth-deg > 0</offset-azimuth-deg>
<offset-distance-nm > 0</offset-distance-nm>
<ndb-id > 0</ndb-id>
<vor-id > 0</vor-id>
<fix > 0</fix>
</presets>
2016-05-18 21:11:05 +00:00
<step >
<set >
<property > /sim/model/c172p/securing/chock</property>
<value > false</value>
</set>
<set >
<property > /sim/model/c172p/securing/tiedownL-visible</property>
<value > false</value>
</set>
<set >
<property > /sim/model/c172p/securing/tiedownR-visible</property>
<value > false</value>
</set>
<set >
<property > /sim/model/c172p/securing/tiedownT-visible</property>
<value > false</value>
</set>
<set >
<property > /sim/model/c172p/securing/pitot-cover-visible</property>
<value > false</value>
</set>
2015-07-24 17:37:16 +00:00
<set >
<property > /controls/flight/flaps</property>
<value > 0.0</value>
</set>
<set >
<property > /controls/switches/magnetos</property>
<value > 3</value>
</set>
<set >
<property > /controls/engines/current-engine/throttle</property>
2016-05-18 21:11:05 +00:00
<value > 0.2</value>
2015-07-24 17:37:16 +00:00
</set>
<set >
<property > /instrumentation/adf/frequencies/selected-khz</property>
2016-05-18 21:11:05 +00:00
<value > 367</value>
2015-07-24 17:37:16 +00:00
</set>
<set >
<property > /environment/weather-scenario</property>
<value > Fair weather</value>
</set>
2016-05-18 21:11:05 +00:00
<set >
<property > instrumentation/altimeter/setting-inhg</property>
<value > 29.95</value>
</set>
<nasal >
<script >
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
</script>
</nasal>
<message > </message>
<view >
<heading-offset-deg > 0.0</heading-offset-deg>
<pitch-offset-deg > -12</pitch-offset-deg>
<roll-offset-deg > 0.0</roll-offset-deg>
<x-offset-m > -0.21</x-offset-m>
<y-offset-m > 0.19</y-offset-m>
<field-of-view > 73.6</field-of-view>
</view>
</step>
2015-07-24 17:37:16 +00:00
<step >
2016-05-18 21:11:05 +00:00
<nasal >
<script >
var listeners = std.Vector.new();
listeners.append(setlistener("/engines/active-engine/running", func (node) {
if (node.getBoolValue()) {
setprop("/controls/switches/starter", 0);
foreach (var listener; listeners.vector) {
removelistener(listener);
}
listeners.clear();
}
}, 1, 0));
</script>
</nasal>
<set >
<property > /controls/engines/current-engine/throttle</property>
<value > 0.6</value>
</set>
2015-07-24 17:37:16 +00:00
<message > We're happily cruising along, enjoying an evenings flight.</message>
2016-05-18 21:11:05 +00:00
<wait > 15</wait>
2015-07-24 17:37:16 +00:00
</step>
<step >
<message > Engine failure! Engine failure! Trim for a best glide speed of 65 knots.</message>
<set >
<property > /controls/switches/starter</property>
<value > false</value>
</set>
<set >
<property > /controls/engines/engine/faults/left-magneto-serviceable</property>
<value > false</value>
</set>
<set >
<property > /controls/engines/engine/faults/right-magneto-serviceable</property>
<value > false</value>
</set>
<set >
<property > /controls/engines/engine/faults/spark-plugs-serviceable</property>
<value > false</value>
</set>
<set >
<property > /controls/switches/magnetos</property>
<value > 0</value>
</set>
</step>
<step >
<message > Now look around and choose an airport, or emergency landing site. Stay at 65 knots.</message>
<set >
<property > /engines/active-engine/running</property>
<value > false</value>
</set>
<error >
<message > You are too slow. You need to fly at 65 knots IAS for maximum glide.</message>
<condition >
<less-than >
<property > /instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value > 62</value>
</less-than>
</condition>
</error>
<error >
<message > You are too fast. You need to fly at 65 knots IAS for maximum glide.</message>
<condition >
<greater-than >
<property > /instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value > 69</value>
</greater-than>
</condition>
</error>
<error >
<message > Engine failure is currently simulated by switching off the magnetos.
2008-12-31 16:25:45 +00:00
Please switch them off again to continue the tutorial.</message>
2015-07-24 17:37:16 +00:00
<condition >
<greater-than >
<property > /controls/switches/magnetos</property>
<value > 0</value>
</greater-than>
</condition>
</error>
</step>
<step >
<message > Start maneuvering towards your chosen emergency landing spot,
2015-07-05 18:32:41 +00:00
keeping your speed at 65 knots IAS.</message>
2015-07-24 17:37:16 +00:00
<set >
<property > /engines/active-engine/running</property>
<value > false</value>
</set>
<error >
<message > You are too slow. You need to fly at 65 knots IAS for maximum glide.</message>
<condition >
<less-than >
<property > /instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value > 62</value>
</less-than>
</condition>
</error>
<error >
<message > You are too fast. You need to fly at 65 knots IAS for maximum glide.</message>
<condition >
<greater-than >
<property > /instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value > 69</value>
</greater-than>
</condition>
</error>
<error >
<message > Engine failure is currently simulated by switching off the magnetos.
2008-12-31 16:25:45 +00:00
Please switch them off again to continue the tutorial.</message>
2015-07-24 17:37:16 +00:00
<condition >
<greater-than >
<property > /controls/switches/magnetos</property>
<value > 0</value>
</greater-than>
</condition>
</error>
</step>
<step >
<message > At this point we would radio an emergency/mayday.
2008-12-31 16:25:45 +00:00
Remember - Aviate, Navigate, Communicate - in that order.</message>
2015-07-24 17:37:16 +00:00
<set >
<property > /engines/active-engine/running</property>
<value > false</value>
</set>
<error >
<message > You are too slow. You need to fly at 65 knots IAS for maximum glide.</message>
<condition >
<less-than >
<property > /instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value > 62</value>
</less-than>
</condition>
</error>
<error >
<message > You are too fast. You need to fly at 65 knots IAS for maximum glide.</message>
<condition >
<greater-than >
<property > /instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value > 69</value>
</greater-than>
</condition>
</error>
<error >
<message > Engine failure is currently simulated by switching off the magnetos.
2008-12-31 16:25:45 +00:00
Please switch them off again to continue the tutorial.</message>
2015-07-24 17:37:16 +00:00
<condition >
<greater-than >
<property > /controls/switches/magnetos</property>
<value > 0</value>
</greater-than>
</condition>
</error>
</step>
<step >
<message > Continue flying towards your emergency landing spot.
2008-12-31 16:25:45 +00:00
If we had the spare capacity, we might attempt to restart the engine at this point.</message>
2015-07-24 17:37:16 +00:00
<error >
<message > Engine failure is currently simulated by switching off the magnetos.
2008-12-31 16:25:45 +00:00
Please switch them off again to continue the tutorial.</message>
2015-07-24 17:37:16 +00:00
<condition >
<greater-than >
<property > /controls/switches/magnetos</property>
<value > 0</value>
</greater-than>
</condition>
</error>
</step>
<step >
<message > Stay a 65 knots for maximum glide. Only use flaps once the runway is "made".</message>
<error >
<message > Engine failure is currently simulated by switching off the magnetos.
2008-12-31 16:25:45 +00:00
Please switch them off again to continue the tutorial.</message>
2015-07-24 17:37:16 +00:00
<condition >
<greater-than >
<property > /controls/switches/magnetos</property>
<value > 0</value>
</greater-than>
</condition>
</error>
<exit >
<condition >
<less-than >
<property > /instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value > 10</value>
</less-than>
</condition>
</exit>
</step>
2016-05-18 21:11:05 +00:00
<step >
2015-07-24 17:37:16 +00:00
<message > Assuming the aircraft is upright and you landed on a runway,
2008-12-31 16:25:45 +00:00
you walked away from a total engine failure - well done!</message>
2016-05-18 21:11:05 +00:00
</step>
2015-07-24 17:37:16 +00:00
2008-12-31 16:25:45 +00:00
</PropertyList>