34
edits
(→Gnuplot visualization tool: Adding a new visualizer.) |
(Adding electric engine section) |
||
Line 167: | Line 167: | ||
* '''displacement:''' The engine displacement in cubic inches. | * '''displacement:''' The engine displacement in cubic inches. | ||
* '''compression:''' The engine compression ratio. | * '''compression:''' The engine compression ratio. | ||
===== electric-engine ===== | |||
A piston engine definition. This must be a subelement of an enclosing <propeller> tag. | |||
* '''Kv''' electric engine constant in revolutions per minute to volt. | |||
* '''voltage''' The voltage applied to the motor e.g. Nominal battery voltage in Volts. | |||
* '''Rm''' The engine winding resistance in Ohms. | |||
Example: | |||
<syntaxhighlight lang="xml" line> | |||
<propeller x="0.02" y="0" z="0.03" | |||
mass="0.05" | |||
moment="0.0006" | |||
radius="0.203" | |||
cruise-speed="26" | |||
cruise-rpm="7000" | |||
cruise-power="0.5" | |||
cruise-alt="2000" | |||
takeoff-power="0.70" | |||
takeoff-rpm="9200" | |||
contra="1"> | |||
<actionpt x="0" y="0" z="0.03"/> | |||
<electric-engine Kv="750" voltage="15" Rm="0.02" > | |||
<control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/> | |||
</electric-engine> | |||
</propeller> | |||
</syntaxhighlight> | |||
=== Landing gear === | === Landing gear === |
edits