This is an example of an input file to the Calculator component, with user documentation here.
Options:
PeriodMs: 1000
Propulsion:
Propeller:
Diameter: 3.60
BladeAreaRatio: 0.597
BladeCount: 4
Hull:
WakeFraction: 0.286
ThrustDeduction: 0.215
RotationEfficiency: 1.036
Constants:
Incr1: 1
Incr2: -1
InputSignals:
- { Type: DoubleVal, Topic: Test1, Partition: , DdsSelectQuery: }
- { Type: DoubleVal, Topic: Test2, Partition: , DdsSelectQuery: }
OutputSignals:
- { Type: DoubleVal, Topic: Test1, Partition: }
- { Type: DoubleVal, Topic: Test2, Partition: }
- { Type: DoubleVal, Topic: PropThrust, Partition: }
- { Type: DoubleVal, Topic: PropTorque, Partition: }
- { Type: DoubleVal, Topic: PropJetPower, Partition: }
- { Type: DoubleVal, Topic: PropEfficiency, Partition: }
TempValues:
- Temp1
- Temp2
Expressions:
- Temp1 = Test1.val + Incr1
- Temp2 = Test2.val + Incr2
- Test1.val = Temp1
- Test2.val = Temp2
- PropThrust.val = PropellerThrust_01(10, 1.0, 120)
- PropTorque.val = PropellerTorque_01(10, 1.0, 120)
- PropJetPower.val = PropellerJetPower_01(10, 1.0, 120)
- PropEfficiency.val = PropellerEfficiency_01(10, 1.0, 120)