12.07.2015 Views

Developement Of An Instrument Landing Simulation ... - Cal Poly

Developement Of An Instrument Landing Simulation ... - Cal Poly

Developement Of An Instrument Landing Simulation ... - Cal Poly

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

B.1 Engine_Mod.c/* S-function engine_mod* MODULE: engine_mod.c* AUTHOR(S): Robert A. Barger, Dieter Pestal, Dan Salluce* DATE: May 11, 2000* Copyright (c) ALL RIGHTS RESERVED** REVISION HISTORY:* REV AUTHOR DATE DESCRIPTION* 0 rab 5-11-00 Creation of code and Simulink Model** This C-file S-function simulates the engine model based on the current throttle*position as well as the current state that the engine is in. This engine model allows *fourdifferent types of engines to be modeled: (1) - Propeller piston engine, (2) - *Turboprop,(3) - Hi Bypass, (4) - Turbojet with Afterburner or without. The thrust* based on altitude, fuel flow, nozzle position, RPM, and engine temp are calculated.** Inputs:* RFuelCap* LFuelCap* EngType* Np - Prop Efficiency* RThrottle, %60

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!