| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <PropertyList> |
| 4 | |
| 5 | <name>Engine Failure</name> |
| 6 | |
| 7 | <description>Engine failure is very rare in flight simulators, but a risk in real life. |
| 8 | |
| 9 | |
| 10 | The tutorial starts with you cruising at 3000 ft near Hilo. A total engine failure will occur, with no possibility of restart - black smoke, chunks of metal pushed out of the cowling. |
| 11 | |
| 12 | 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". |
| 13 | |
| 14 | 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. |
| 15 | |
| 16 | PHTO (Hilo) is within glide distance. Try to land at PHTO. |
| 17 | </description> |
| 18 | |
| 19 | <nasal> |
| 20 | <script> |
| 21 | c172p.repair_damage(); |
| 22 | electrical.reset_battery_and_circuit_breakers(); |
| 23 | c172p.click("engine-repair", 6.0); |
| 24 | c172p.dialog_battery_reload(); |
| 25 | setprop("/engines/active-engine/oil-level", sim/model/c172p/engine_flag_0 ? 7 : 8); |
| 26 | setprop("/engines/active-engine/carb_ice", 0.0); |
| 27 | setprop("/fdm/jsbsim/engine/damage-level", 0.0); |
| 28 | </script> |
| 29 | </nasal> |
| 30 | |
| 31 | <timeofday>dusk</timeofday> |
| 32 | <presets> |
| 33 | <airport-id></airport-id> |
| 34 | <on-ground>0</on-ground> |
| 35 | <altitude-ft>3000</altitude-ft> |
| 36 | <latitude-deg>19.76209725536232</latitude-deg> |
| 37 | <longitude-deg>-155.017574109008</longitude-deg> |
| 38 | <heading-deg>270</heading-deg> |
| 39 | <airspeed-kt>105.0</airspeed-kt> |
| 40 | <glideslope-deg>3.5</glideslope-deg> |
| 41 | <offset-azimuth-deg>0</offset-azimuth-deg> |
| 42 | <offset-distance-nm>0</offset-distance-nm> |
| 43 | <ndb-id>0</ndb-id> |
| 44 | <vor-id>0</vor-id> |
| 45 | <fix>0</fix> |
| 46 | </presets> |
| 47 | |
| 48 | <step> |
| 49 | <set> |
| 50 | <property>/sim/model/c172p/securing/chock</property> |
| 51 | <value>false</value> |
| 52 | </set> |
| 53 | <set> |
| 54 | <property>/sim/model/c172p/securing/cowl-plugs-visible</property> |
| 55 | <value>false</value> |
| 56 | </set> |
| 57 | <set> |
| 58 | <property>/sim/model/c172p/securing/tiedownL-visible</property> |
| 59 | <value>false</value> |
| 60 | </set> |
| 61 | <set> |
| 62 | <property>/sim/model/c172p/securing/tiedownR-visible</property> |
| 63 | <value>false</value> |
| 64 | </set> |
| 65 | <set> |
| 66 | <property>/sim/model/c172p/securing/tiedownT-visible</property> |
| 67 | <value>false</value> |
| 68 | </set> |
| 69 | <set> |
| 70 | <property>/sim/model/c172p/securing/pitot-cover-visible</property> |
| 71 | <value>false</value> |
| 72 | </set> |
| 73 | <set> |
| 74 | <property>/controls/flight/flaps</property> |
| 75 | <value>0.0</value> |
| 76 | <set> |
| 77 | <property>/controls/switches/master-bat</property> |
| 78 | <value>true</value> |
| 79 | </set> |
| 80 | <set> |
| 81 | <property>/controls/switches/master-alt</property> |
| 82 | <value>true</value> |
| 83 | </set> |
| 84 | </set> |
| 85 | <set> |
| 86 | <property>/controls/switches/magnetos</property> |
| 87 | <value>3</value> |
| 88 | </set> |
| 89 | <set> |
| 90 | <property>/controls/engines/engine[0]/throttle</property> |
| 91 | <value>0.2</value> |
| 92 | </set> |
| 93 | <set> |
| 94 | <property>/controls/engines/engine[1]/throttle</property> |
| 95 | <value>0.2</value> |
| 96 | </set> |
| 97 | <set> |
| 98 | <property>/instrumentation/adf/frequencies/selected-khz</property> |
| 99 | <value>367</value> |
| 100 | </set> |
| 101 | <set> |
| 102 | <property>/environment/weather-scenario</property> |
| 103 | <value>Fair weather</value> |
| 104 | </set> |
| 105 | <set> |
| 106 | <property>instrumentation/altimeter/setting-inhg</property> |
| 107 | <value>29.95</value> |
| 108 | </set> |
| 109 | <set> |
| 110 | <property>/sim/model/c172p/cockpit/control-lock-placed</property> |
| 111 | <value>false</value> |
| 112 | </set> |
| 113 | <set> |
| 114 | <property>/sim/model/c172p/cockpit/control-lock-visible</property> |
| 115 | <value>false</value> |
| 116 | </set> |
| 117 | <nasal> |
| 118 | <script> |
| 119 | setprop("/controls/engines/current-engine/mixture", 1.0); |
| 120 | setprop("/controls/switches/starter", 1); |
| 121 | </script> |
| 122 | </nasal> |
| 123 | <message></message> |
| 124 | <view> |
| 125 | <heading-offset-deg>0.0</heading-offset-deg> |
| 126 | <pitch-offset-deg>-12</pitch-offset-deg> |
| 127 | <roll-offset-deg>0.0</roll-offset-deg> |
| 128 | <x-offset-m>-0.21</x-offset-m> |
| 129 | <y-offset-m>0.19</y-offset-m> |
| 130 | <field-of-view>73.6</field-of-view> |
| 131 | </view> |
| 132 | </step> |
| 133 | |
| 134 | <step> |
| 135 | <nasal> |
| 136 | <script> |
| 137 | var listeners = std.Vector.new(); |
| 138 | |
| 139 | listeners.append(setlistener("/engines/active-engine/running", func (node) { |
| 140 | if (node.getBoolValue()) { |
| 141 | setprop("/controls/switches/starter", 0); |
| 142 | foreach (var listener; listeners.vector) { |
| 143 | removelistener(listener); |
| 144 | } |
| 145 | listeners.clear(); |
| 146 | } |
| 147 | }, 1, 0)); |
| 148 | </script> |
| 149 | </nasal> |
| 150 | <set> |
| 151 | <property>/controls/engines/current-engine/throttle</property> |
| 152 | <value>0.6</value> |
| 153 | </set> |
| 154 | <message>We're happily cruising along, enjoying an evenings flight.</message> |
| 155 | <wait>15</wait> |
| 156 | </step> |
| 157 | |
| 158 | <step> |
| 159 | <message>Engine failure! Engine failure! Trim for a best glide speed of 65 knots.</message> |
| 160 | <set> |
| 161 | <property>/controls/switches/starter</property> |
| 162 | <value>false</value> |
| 163 | </set> |
| 164 | <set> |
| 165 | <property>/controls/engines/engine/faults/left-magneto-serviceable</property> |
| 166 | <value>false</value> |
| 167 | </set> |
| 168 | <set> |
| 169 | <property>/controls/engines/engine/faults/right-magneto-serviceable</property> |
| 170 | <value>false</value> |
| 171 | </set> |
| 172 | <set> |
| 173 | <property>/controls/engines/engine/faults/spark-plugs-serviceable</property> |
| 174 | <value>false</value> |
| 175 | </set> |
| 176 | <set> |
| 177 | <property>/controls/switches/magnetos</property> |
| 178 | <value>0</value> |
| 179 | </set> |
| 180 | </step> |
| 181 | |
| 182 | <step> |
| 183 | <message>Now look around and choose an airport, or emergency landing site. Stay at 65 knots.</message> |
| 184 | <set> |
| 185 | <property>/engines/active-engine/running</property> |
| 186 | <value>false</value> |
| 187 | </set> |
| 188 | |
| 189 | <error> |
| 190 | <message>You are too slow. You need to fly at 65 knots IAS for maximum glide.</message> |
| 191 | <condition> |
| 192 | <less-than> |
| 193 | <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property> |
| 194 | <value>62</value> |
| 195 | </less-than> |
| 196 | </condition> |
| 197 | </error> |
| 198 | <error> |
| 199 | <message>You are too fast. You need to fly at 65 knots IAS for maximum glide.</message> |
| 200 | <condition> |
| 201 | <greater-than> |
| 202 | <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property> |
| 203 | <value>69</value> |
| 204 | </greater-than> |
| 205 | </condition> |
| 206 | </error> |
| 207 | <error> |
| 208 | <message>Engine failure is currently simulated by switching off the magnetos. |
| 209 | Please switch them off again to continue the tutorial.</message> |
| 210 | <condition> |
| 211 | <greater-than> |
| 212 | <property>/controls/switches/magnetos</property> |
| 213 | <value>0</value> |
| 214 | </greater-than> |
| 215 | </condition> |
| 216 | </error> |
| 217 | </step> |
| 218 | |
| 219 | <step> |
| 220 | <message>Start maneuvering towards your chosen emergency landing spot, |
| 221 | keeping your speed at 65 knots IAS.</message> |
| 222 | <set> |
| 223 | <property>/engines/active-engine/running</property> |
| 224 | <value>false</value> |
| 225 | </set> |
| 226 | |
| 227 | <error> |
| 228 | <message>You are too slow. You need to fly at 65 knots IAS for maximum glide.</message> |
| 229 | <condition> |
| 230 | <less-than> |
| 231 | <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property> |
| 232 | <value>62</value> |
| 233 | </less-than> |
| 234 | </condition> |
| 235 | </error> |
| 236 | <error> |
| 237 | <message>You are too fast. You need to fly at 65 knots IAS for maximum glide.</message> |
| 238 | <condition> |
| 239 | <greater-than> |
| 240 | <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property> |
| 241 | <value>69</value> |
| 242 | </greater-than> |
| 243 | </condition> |
| 244 | </error> |
| 245 | <error> |
| 246 | <message>Engine failure is currently simulated by switching off the magnetos. |
| 247 | Please switch them off again to continue the tutorial.</message> |
| 248 | <condition> |
| 249 | <greater-than> |
| 250 | <property>/controls/switches/magnetos</property> |
| 251 | <value>0</value> |
| 252 | </greater-than> |
| 253 | </condition> |
| 254 | </error> |
| 255 | </step> |
| 256 | |
| 257 | <step> |
| 258 | <message>At this point we would radio an emergency/mayday. |
| 259 | Remember - Aviate, Navigate, Communicate - in that order.</message> |
| 260 | <set> |
| 261 | <property>/engines/active-engine/running</property> |
| 262 | <value>false</value> |
| 263 | </set> |
| 264 | |
| 265 | <error> |
| 266 | <message>You are too slow. You need to fly at 65 knots IAS for maximum glide.</message> |
| 267 | <condition> |
| 268 | <less-than> |
| 269 | <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property> |
| 270 | <value>62</value> |
| 271 | </less-than> |
| 272 | </condition> |
| 273 | </error> |
| 274 | <error> |
| 275 | <message>You are too fast. You need to fly at 65 knots IAS for maximum glide.</message> |
| 276 | <condition> |
| 277 | <greater-than> |
| 278 | <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property> |
| 279 | <value>69</value> |
| 280 | </greater-than> |
| 281 | </condition> |
| 282 | </error> |
| 283 | <error> |
| 284 | <message>Engine failure is currently simulated by switching off the magnetos. |
| 285 | Please switch them off again to continue the tutorial.</message> |
| 286 | <condition> |
| 287 | <greater-than> |
| 288 | <property>/controls/switches/magnetos</property> |
| 289 | <value>0</value> |
| 290 | </greater-than> |
| 291 | </condition> |
| 292 | </error> |
| 293 | </step> |
| 294 | |
| 295 | <step> |
| 296 | <message>Continue flying towards your emergency landing spot. |
| 297 | If we had the spare capacity, we might attempt to restart the engine at this point.</message> |
| 298 | |
| 299 | <error> |
| 300 | <message>Engine failure is currently simulated by switching off the magnetos. |
| 301 | Please switch them off again to continue the tutorial.</message> |
| 302 | <condition> |
| 303 | <greater-than> |
| 304 | <property>/controls/switches/magnetos</property> |
| 305 | <value>0</value> |
| 306 | </greater-than> |
| 307 | </condition> |
| 308 | </error> |
| 309 | </step> |
| 310 | |
| 311 | <step> |
| 312 | <message>Stay a 65 knots for maximum glide. Only use flaps once the runway is "made".</message> |
| 313 | |
| 314 | <error> |
| 315 | <message>Engine failure is currently simulated by switching off the magnetos. |
| 316 | Please switch them off again to continue the tutorial.</message> |
| 317 | <condition> |
| 318 | <greater-than> |
| 319 | <property>/controls/switches/magnetos</property> |
| 320 | <value>0</value> |
| 321 | </greater-than> |
| 322 | </condition> |
| 323 | </error> |
| 324 | |
| 325 | <exit> |
| 326 | <condition> |
| 327 | <less-than> |
| 328 | <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property> |
| 329 | <value>10</value> |
| 330 | </less-than> |
| 331 | </condition> |
| 332 | </exit> |
| 333 | </step> |
| 334 | |
| 335 | <step> |
| 336 | <message>Assuming the aircraft is upright and you landed on a runway, |
| 337 | you walked away from a total engine failure - well done!</message> |
| 338 | </step> |
| 339 | |
| 340 | </PropertyList> |