JSBSim Thrusters: Difference between revisions

Jump to navigation Jump to search
m
P factor must be specified in the parent tag of the propeller.
m (P factor must be specified in the parent tag of the propeller.)
Line 85: Line 85:
=== Configuration file format ===
=== Configuration file format ===
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<!-- Sense goes in the parent tag -->
<!-- Sense and P factor go in the parent tag of the propeller, i.e. in the <thruster> element -->
<sense> {1 | -1} </sense>  
<sense> {1 | -1} </sense>  
<p_factor> {number} </p_factor>
<?xml version="1.0"?>  
<?xml version="1.0"?>  
<propeller name="{string}">
<propeller name="{string}">
Line 99: Line 101:
   <constspeed> {number} </constspeed>
   <constspeed> {number} </constspeed>
   <reversepitch> {number} </reversepitch>
   <reversepitch> {number} </reversepitch>
  <p_factor> {number} </p_factor>
   <ct_factor> {number} </ct_factor>
   <ct_factor> {number} </ct_factor>
   <cp_factor> {number} </cp_factor>
   <cp_factor> {number} </cp_factor>
Line 175: Line 176:
|-
|-
|p_factor
|p_factor
|P factor.
|P factor is specified in the parent tag of the propeller.
|-
|-
|ct_factor
|ct_factor
Line 183: Line 184:
|A multiplier for the coefficients of power (multiplies the dependent variable in the C_POWER table by this factor).
|A multiplier for the coefficients of power (multiplies the dependent variable in the C_POWER table by this factor).
|}
|}
The parameters <sense> and <p_factor> must be specified at the parent level i.e. in the <thruster> element. This allows to specify different sense and P factor values for each propeller of the model while using the same definition file for all the propellers.


=== C_THRUST and C_POWER tables ===
=== C_THRUST and C_POWER tables ===
49

edits

Navigation menu