b431775273
Here's a new FGSimTurbine module. Changes are: 1. Adds starting and stopping functionality 2. Calculate() now calls other functions, based on the engine's state, which gives more readable code. Until now turbine engines were always running as long as fuel was available. With this new module the engine defaults to OFF. To start with the engine running, the variable FGEngine::Running must be set to true at sim startup. In FlightGear this is done with --prop:/engines/engine[n]/running=true. To start the engine (on the ground), first set the starter to ON, i.e. FGEngine::Starter is set to true. In FlightGear this is done by toggling /controls/engines/engine[n]/starter to TRUE. Note that the current FlightGear key binding will not work, as it causes the starter to quit when the key is released. A new key binding is needed, without the mod-up. When N2 reaches 15% or greater, place the fuel cutoff control to FALSE. This is FGEngine::Cutoff. In FlightGear this is done with /controls/engines/engine[n]/cutoff set to FALSE. The engine will then accelerate to idle. Upon reaching idle, the starter is automatically turned off, and the engine is running. There is presently no FlightGear key binding for the fuel cutoff switch. To shut off the engine, place the fuel cutoff control to TRUE. If you shut down the engine in flight it will windmill. To airstart you will need at least 15% N2, just as with a ground start. When you have enough N2, place the cutoff control to FALSE and the engine will restart. Note that if you can't get enough N2 by speeding up, you can get it by using the starter. The reverser still works, and is controlled in FlightGear with /controls/engines/engine[n]/reverser. With the reverser control on (TRUE), the engine will produce negative thrust in proportion to throttle position, i.e. to get more reverse thrust, increase throttle. |
||
---|---|---|
.. | ||
filtersjb | ||
.cvsignore | ||
AUTHORS | ||
FGAerodynamics.cpp | ||
FGAerodynamics.h | ||
FGAircraft.cpp | ||
FGAircraft.h | ||
FGAtmosphere.cpp | ||
FGAtmosphere.h | ||
FGAuxiliary.cpp | ||
FGAuxiliary.h | ||
FGCoefficient.cpp | ||
FGCoefficient.h | ||
FGColumnVector3.cpp | ||
FGColumnVector3.h | ||
FGColumnVector4.cpp | ||
FGColumnVector4.h | ||
FGConfigFile.cpp | ||
FGConfigFile.h | ||
FGDefs.h | ||
FGEngine.cpp | ||
FGEngine.h | ||
FGFactorGroup.cpp | ||
FGFactorGroup.h | ||
FGFCS.cpp | ||
FGFCS.h | ||
FGFDMExec.cpp | ||
FGFDMExec.h | ||
FGfdmSocket.cpp | ||
FGfdmSocket.h | ||
FGForce.cpp | ||
FGForce.h | ||
FGGroundReactions.cpp | ||
FGGroundReactions.h | ||
FGInertial.cpp | ||
FGInertial.h | ||
FGInitialCondition.cpp | ||
FGInitialCondition.h | ||
FGJSBBase.cpp | ||
FGJSBBase.h | ||
FGLGear.cpp | ||
FGLGear.h | ||
FGMassBalance.cpp | ||
FGMassBalance.h | ||
FGMatrix33.cpp | ||
FGMatrix33.h | ||
FGModel.cpp | ||
FGModel.h | ||
FGNozzle.cpp | ||
FGNozzle.h | ||
FGOutput.cpp | ||
FGOutput.h | ||
FGPiston.cpp | ||
FGPiston.h | ||
FGPosition.cpp | ||
FGPosition.h | ||
FGPropeller.cpp | ||
FGPropeller.h | ||
FGPropertyManager.cpp | ||
FGPropertyManager.h | ||
FGPropulsion.cpp | ||
FGPropulsion.h | ||
FGRocket.cpp | ||
FGRocket.h | ||
FGRotation.cpp | ||
FGRotation.h | ||
FGRotor.cpp | ||
FGRotor.h | ||
FGScript.cpp | ||
FGScript.h | ||
FGSimTurbine.cpp | ||
FGSimTurbine.h | ||
FGState.cpp | ||
FGState.h | ||
FGTable.cpp | ||
FGTable.h | ||
FGTank.cpp | ||
FGTank.h | ||
FGThruster.cpp | ||
FGThruster.h | ||
FGTranslation.cpp | ||
FGTranslation.h | ||
FGTrim.cpp | ||
FGTrim.h | ||
FGTrimAxis.cpp | ||
FGTrimAxis.h | ||
FGTurbine.cpp | ||
FGTurbine.h | ||
FGUtility.cpp | ||
FGUtility.h | ||
JSBSim.cxx | ||
JSBSim.hxx | ||
Makefile.am | ||
Makefile.solo | ||
README |
Contents -------- 1) Introduction 2) Building with autoconf/automake 3) Contact 1) Introduction --------------- JSBSim is a multi-platform, general purpose object-oriented Flight Dynamics Model (FDM) written in C++. Jon Berndt and Tony Peden began about mid-1998 writing JSBSim. As of this writing it is the default FDM for FlightGear. JSBSim can also be run in a standalone batch mode for testing and study. More information on JSBSim can be found at the JSBSim home page here: http://jsbsim.sourceforge.net The standalone version of JSBSim can be easily built from the command line of a unix or unix-like (CygWin/Linux/Unix/IRIX, etc.) system like this: make -fMakefile.solo If you are on an IRIX machine you can use the Makefile.irix makefile. Directions are also provided below for using traditional auto* utilities also provided with JSBSim. 2) Building with autoconf/automake ---------------------------------- Unpack the distribution tarball (if needed - CVS users will have downloaded the code directly) using your preferred method, and change to the working directory. For example : $ tar xvfz JSBSim-0.1.2.tar.gz $ cd JSBSim-0.1.2 NOTE for CVS users: If you are using JSBSim from a CVS checkout, or snapshot, you will need to create the initial configure script. The commands to do this have been included in the 'autogen.sh' script, so just : $ ./autogen.sh If you wish to customise your version of JSBSim, use the following to determine any build-time options you may be interested in. $ ./configure --help Then : $ ./configure This will check your system platform, compiler and other local configuration variables needed to build JSBSim, and generates the necessary Makefiles. Next : $ make Will compile the various classes, and link the library. Finally : $ make install Unless specified otherwise (with --prefix configure option), this will install 'JSBSim.a' into '/usr/local/lib'. 3) Contact ---------- For more information on JSBSim contact Jon Berndt at jsbsim@hal-pc.org.