FGElectric Class Reference

#include <FGElectric.h>

Inherits FGEngine.

List of all members.


Detailed Description

FGElectric models an electric motor based on the configuration file <power> parameter. The throttle controls motor output linearly from zero to <power>. This power value (converted internally to horsepower) is then used by FGPropeller to apply torque to the propeller. At present there is no battery model available, so this motor does not consume any energy. There is no internal friction.
Author:
David Culp
Version:
"$Id: FGElectric.h,v 1.6 2008/11/17 12:21:07 jberndt Exp $"

Definition at line 75 of file FGElectric.h.


Public Member Functions

double Calculate (void)
 Calculates the thrust of the engine, and other engine functions.
 FGElectric (FGFDMExec *exec, Element *el, int engine_number)
 Constructor.
string GetEngineLabels (string delimeter)
string GetEngineValues (string delimeter)
double GetPowerAvailable (void)
double getRPM (void)
 ~FGElectric ()
 Destructor.

Member Function Documentation

double Calculate ( void   )  [virtual]

Returns:
Thrust in pounds

Reimplemented from FGEngine.

Definition at line 80 of file FGElectric.cpp.


The documentation for this class was generated from the following files:

Generated on Tue May 26 00:55:09 2009 for JSBSim Flight Dynamics Model by  doxygen 1.5.5