|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.aircraft.adm.engine.Engine
faa.tg.aircraft.adm.engine.PistonEngine
public final class PistonEngine
PistonEngine represents the object for the PistonEngine Engine. This Engine determines the actual thrust and fuel flow of the aircraft used to meet the desired commands determined by the Control Logic. In order to calculate the thrust and fuel flow, the current atmospheric conditions will be considered.See the source: PistonEngine.java
Engine,
Thrust,
FuelFlowRate,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private EngineCoeff |
engineCoeff
|
static double |
IDLE_THRUST_FACTOR
|
private double |
kLag
Deprecated. |
private static TrueAirspeed |
LANDING_GEAR_MAX_TAS_LIMIT
|
private static int |
PISTON_SPOOLING_TIME_SEC
|
private static IndicatedAirspeed |
ROTATION_SPEED_INCREMENT
|
(package private) static long |
serialVersionUID
|
static double |
TAKEOFF_THRUST_FACTOR
|
| Constructor Summary | |
|---|---|
PistonEngine(EngineCoeff ec)
Standard constructor accepts EngineCoeff object containing coefficient to describe the Engine's behavior with respect to the AMT (Aircraft Modeling Tool) model. |
|
| Method Summary | |
|---|---|
FuelFlowRate |
calcFuelFlowRate(Thrust thrustval,
Altitude alt,
TrueAirspeed trueAirSpeed)
Method to get the calculated fuel flow. |
Thrust |
getClimbThrust(Altitude altitude,
TrueAirspeed trueAirspeed)
Calculates and returns the maximum thrust of the piston engine. |
Thrust |
getDescentThrust(Altitude altitude,
TrueAirspeed trueAirSpeed)
Method to calculate and return the idle thrust of the engine: this is determined by a percentage of max thrust: zero thrust is unrealistic for an idle. |
TrueAirspeed |
getMaxSpeedForLandingGear()
|
Thrust |
getMaxThrustChange(Altitude alt,
TrueAirspeed tas)
Returns the amount that the thrust can change in a timeStep. |
java.lang.String |
getName()
Return the name of the engine. |
IndicatedAirspeed |
getRotationSpeedIncrement()
This is the amount of speed beyond the rotation speed that the aircraft has to achieve before it's allowed to lift off. |
Thrust |
getTakeoffThrust(Altitude alt,
TrueAirspeed tas)
Method to calculate and return the takeoff thrust of the engine: this is determined by a percentage of max thrust: Typically 1.2 times maxThrust |
Thrust |
getTouchdownThrust(Altitude alt,
TrueAirspeed tas)
Method to return the engine thrust used after touchdown. |
protected double |
spoolingTime()
|
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class faa.tg.aircraft.adm.engine.Engine |
|---|
getMaxThrustChange, temperThrustChange, temperThrustLimit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
public static final double IDLE_THRUST_FACTOR
getDescentThrust(Altitude, TrueAirspeed),
Constant Field Valuespublic static final double TAKEOFF_THRUST_FACTOR
getTakeoffThrust(Altitude, TrueAirspeed),
Constant Field Valuesprivate static final IndicatedAirspeed ROTATION_SPEED_INCREMENT
private static final TrueAirspeed LANDING_GEAR_MAX_TAS_LIMIT
private static final int PISTON_SPOOLING_TIME_SEC
private double kLag
private final EngineCoeff engineCoeff
| Constructor Detail |
|---|
public PistonEngine(EngineCoeff ec)
ec - EngineCoeff object containing the engine coefficients
that describe the aircraft.| Method Detail |
|---|
protected double spoolingTime()
spoolingTime in class Engine
public Thrust getClimbThrust(Altitude altitude,
TrueAirspeed trueAirspeed)
getClimbThrust in class Enginealtitude - Altitude of the aircraft.trueAirspeed - The true airspeed of the aircraft.
public Thrust getMaxThrustChange(Altitude alt,
TrueAirspeed tas)
public Thrust getTouchdownThrust(Altitude alt,
TrueAirspeed tas)
getTouchdownThrust in class Enginealt - The altitude of the runway.tas - The true airspeed of the aircraft.Engine.getTouchdownThrust(Altitude, TrueAirspeed)
public Thrust getTakeoffThrust(Altitude alt,
TrueAirspeed tas)
getTakeoffThrust in class Enginealt - Altitude of the aircraft.tas - The true airspeed of the aircraft.
Engine.getTakeoffThrust(Altitude, TrueAirspeed)public final IndicatedAirspeed getRotationSpeedIncrement()
Engine
getRotationSpeedIncrement in class EngineEngine.getRotationSpeedIncrement()public final TrueAirspeed getMaxSpeedForLandingGear()
getMaxSpeedForLandingGear in class EngineEngine.getMaxSpeedForLandingGear()
public Thrust getDescentThrust(Altitude altitude,
TrueAirspeed trueAirSpeed)
getDescentThrust in class Enginealtitude - Altitude of the aircraft.trueAirSpeed - The true airspeed of the aircraft.
public FuelFlowRate calcFuelFlowRate(Thrust thrustval,
Altitude alt,
TrueAirspeed trueAirSpeed)
calcFuelFlowRate in class Enginethrustval - The thrust of the engine.alt - The altitude of the aircraft.trueAirSpeed - The true airspeed of the aircraft.
Enginepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
getName in class Engine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||