JSBSim Engines: Difference between revisions

Jump to navigation Jump to search
(Add xml version tags to all configurations.)
Line 312: Line 312:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<?xml version="1.0"?>  
<?xml version="1.0"?>  
 
<power unit="{HP | WATTS}"> {number} </power>
</syntaxhighlight>
</syntaxhighlight>


=== Notes ===
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.


== Sources ==
== Sources ==
189

edits

Navigation menu