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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

y[6]=RRPM;y[7]=LRPM;y[8]=RTemp;y[9]=LTemp;}// end model outputsvoid <strong>Cal</strong>culate( ){const float rhosl = 0.002377; // - slug/ft3float asl=1116.2;//-ft/sfloat Thrust;float TSFC;float FuelFlow;//Propeller Engine: Engine Type = 1if (EngType == 1){Thrust=(Tsl*550)*(rho/rhosl)*(Np/(Vtrue*1.69)); //Tsl - shpif (NumEng == 1){RThrust=0.5*RThrottle*Thrust;LThrust=0.5*LThrottle*Thrust;//printf("RThrust1-1: %i\n",RThrust);//printf("LThrust1-1: %i\n",LThrust);}else if (NumEng == 2){68

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

Saved successfully!

Ooh no, something went wrong!