![]() |
VR-Forces 4.7 Class Documentation
|
Uses no fuel. More...

Public Member Functions | |
| virtual bool | addDataPoints (const DtRwAircraftEngineEfficiencyDataPointList &datapoints, double startWeight, double endWeight, std::ostream *errorStream=0) |
| Configure the model with a set of data points. | |
| virtual double | interpolateEfficiency (double speed, double altitude) const |
| Interpolate an engine efficiency at a given speed and altitude. | |
| virtual double | fuelConsumed (double range, double speed, double altitude, double mass) const |
| Calculate the fuel consumed over a given range. | |
| virtual double | calculateRange (double speed, double altitude, double startMass, double endMass) const |
| Calculates the range at specific conditions. | |
| virtual bool | shouldConsumeFuel () const |
| Always returns false. | |
Public Member Functions inherited from DtAircraftFuelConsumptionModel | |
| DtAircraftFuelConsumptionModel () | |
| virtual | ~DtAircraftFuelConsumptionModel () |
| Virtual destructor. | |
| virtual bool | isValid () const |
| Allows system to be configured but still warn user that something may be wrong. | |
| virtual double | calculateEfficiency (double range, double speed, double startMass, double endMass) const |
| Calculates an engine efficiency. | |
| virtual void | setShouldConsumeFuel (bool shouldConsume) |
| Enables or disables fuel consumption. | |
Additional Inherited Members | |
Static Public Member Functions inherited from DtAircraftFuelConsumptionModel | |
| static DtAircraftFuelConsumptionModel * | Create (const DtRwAircraftEngineEfficiencyDataPointList &datapoints) |
| Factory function. | |
Protected Attributes inherited from DtAircraftFuelConsumptionModel | |
| bool | myShouldConsumeFuel |
Uses no fuel.
|
virtual |
Configure the model with a set of data points.
Each data point has a range, altitude, and speed. Combined with the startMass and endMass, can be used to determine an engine efficiency.
| startMass | Starting mass of aircraft. |
| endMass | Ending mass of aircraft. For example if the aircraft starts out with a full fuel tank and uses all of it's fuel (the usual case for range specifications) then startMass would be the mass of the aircraft plus the mass of the full fuel tank and endMass would be the mass of the aircraft. This doesn't have to be the case though, if you knew the range when using half the fuel then you could use that. |
Implements DtAircraftFuelConsumptionModel.
|
virtual |
Interpolate an engine efficiency at a given speed and altitude.
Implements DtAircraftFuelConsumptionModel.
|
virtual |
Calculate the fuel consumed over a given range.
| mass | The mass of the aircraft (airframe + fuel) at the start of the movement. Does not take into account the amount of fuel the aircraft has, i.e. it may use more fuel than the aircraft has. It's up to the user to actually deal with decrementing the fuel. |
Reimplemented from DtAircraftFuelConsumptionModel.
|
virtual |
Calculates the range at specific conditions.
Reimplemented from DtAircraftFuelConsumptionModel.
|
virtual |
Always returns false.
Reimplemented from DtAircraftFuelConsumptionModel.