381
edits
| Line 372: | Line 372: | ||
=== reciprocal ===  | === reciprocal ===  | ||
Compute the reciprocal (1/x) value of the input property. If x is zero, no computation is performed. The optional <gain> element may be used to scale the value. Output computes as gain divided by input.  | |||
Example: compute the flight time per pound of burned fuel from the fuel flow  | |||
 <filter>  | |||
   <type>reciprocal</type>  | |||
   <gain>1.0</gain>  | |||
   <input>/engines/engine[0]/fuel-flow-pph</input>  | |||
   <output>/engines/engine[0]/fuel-flow-hpp</output>  | |||
 </filter>  | |||
== pid-controller ==  | == pid-controller ==  | ||