Difference between revisions of "Template:Infobox/Part/servo"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (Use rounded number) |
m (Renamed params and removed unused params) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Infobox/Part/preview|</noinclude> | + | <noinclude>{{Infobox/Part/preview| |
− | {{#if: {{{usage|}}}| | + | </noinclude>{{#if: {{{usage|}}}|{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ({{{baseRate<noinclude>|0.01</noinclude>}}}*(100 * 0.01)*{{{motorOutput<noinclude>|100</noinclude>}}}/{{{efficiency<noinclude>|0.75</noinclude>}}})*{{{usage|1}}}}}|1}} {{mark|echu}}/{{dict|s}}}}|{{Infobox/Line|{{Infobox/Part/Dict|Consumption}}|{{Formatnum|{{#expr: ({{{baseRate<noinclude>|0.1</noinclude>}}}*(100 * 0.01)*{{{motorOutput<noinclude>|150</noinclude>}}}/{{{efficiency<noinclude>|0.4</noinclude>}}})*{{{lf|0.01}}}}}|1}} {{mark|fuelu}}/{{dict|s}}}} |
− | {{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ({{{ | + | {{Infobox/Line|{{Infobox/Part/Dict|Consumption-air}}|{{Formatnum|{{#expr: ({{{baseRate<noinclude>|0.1</noinclude>}}}*(100 * 0.01)*{{{motorOutput<noinclude>|150</noinclude>}}}/{{{efficiency<noinclude>|0.4</noinclude>}}})*{{{ia|0.5}}}}}|1}} {{mark|airu}}/{{dict|s}}}}}}<noinclude> |
− | | | ||
− | {{Infobox/Line|{{Infobox/Part/Dict|Consumption}}|{{Formatnum|{{#expr: ({{{ | ||
− | {{Infobox/Line|{{Infobox/Part/Dict|Consumption-air}}|{{Formatnum|{{#expr: ({{{ | ||
}} | }} | ||
− | |||
{{Tl|Infobox/Part}} module for [[Hydraulic cylinders]], hinges, rotors and rotation servos. | {{Tl|Infobox/Part}} module for [[Hydraulic cylinders]], hinges, rotors and rotation servos. | ||
{{Parameter table|name=text|parameters= | {{Parameter table|name=text|parameters= | ||
− | {{Parameter row| | + | {{Parameter row|baseRate|The consumption rate of the motor. <code>baseResourceConsumptionRate</code> in the config file.}} |
− | {{Parameter row| | + | {{Parameter row|motorOutput|The motor output. <code>maxMotorOutput</code> in the config file.}} |
− | |||
− | |||
{{Parameter row|efficiency|The efficiency of the motor. <code>efficiency</code> in the config file.}} | {{Parameter row|efficiency|The efficiency of the motor. <code>efficiency</code> in the config file.}} | ||
{{Parameter row|usage|The consumption in ElectricCharge. <code>rate</code> of ElectricCharge in the config file.|1}} | {{Parameter row|usage|The consumption in ElectricCharge. <code>rate</code> of ElectricCharge in the config file.|1}} |
Latest revision as of 08:19, 19 September 2024
Fuel consumption | 0.4 /s | |
Intake air consumption | 18.8 /s |
{{Infobox/Part}} module for Hydraulic cylinders, hinges, rotors and rotation servos.
Name | Optional | Description | Default |
---|---|---|---|
baseRate | No | The consumption rate of the motor. baseResourceConsumptionRate in the config file.
|
|
motorOutput | No | The motor output. maxMotorOutput in the config file.
|
|
efficiency | No | The efficiency of the motor. efficiency in the config file.
|
|
usage | Yes | The consumption in ElectricCharge. rate of ElectricCharge in the config file.
|
1 |
lf | Yes | The consumption in LiquidFuel. rate of LiquidFuel in the config file.
|
0 |
ia | Yes | The consumption in IntakeAir. rate of IntakeAir in the config file.
|
0 |