Difference between revisions of "Hydrogen Engine"

From Space Engineers Wiki
Jump to: navigation, search
m (Fan has lights too)
m (code cleanup)
Line 10: Line 10:
  
 
-->{{CategorizeComponents|Mod:Vanilla/CubeBlock/LargeHydrogenEngine}}<!--
 
-->{{CategorizeComponents|Mod:Vanilla/CubeBlock/LargeHydrogenEngine}}<!--
-->{{#vardefine:LARGEBLOCK|Mod:Vanilla/CubeBlock/LargeHydrogenEngine}}<!--
 
-->{{#vardefine:SMALLBLOCK|Mod:Vanilla/CubeBlock/SmallHydrogenEngine}}
 
  
 +
-->{{#vardefine:LargeHydrogenConsumption|{{#expr: {{#show:{{#var:LARGEBLOCK}}|?MaxPowerOutput#-n}} / {{#show:{{#var:LARGEBLOCK}}|?FuelProductionToCapacityMultiplier#-n}}}}}}<!--
 +
-->{{#vardefine:SmallHydrogenConsumption|{{#expr: {{#show:{{#var:SMALLBLOCK}}|?MaxPowerOutput#-n}} / {{#show:{{#var:SMALLBLOCK}}|?FuelProductionToCapacityMultiplier#-n}}}}}}<!--
 +
-->
 
== Overview ==
 
== Overview ==
 
The Hydrogen Engine is a block used to generate power by consuming [[Hydrogen]].
 
The Hydrogen Engine is a block used to generate power by consuming [[Hydrogen]].
  
At its peak capacity of '''{{#show:{{#var:LARGEBLOCK}}|?MaxPowerOutput}}''', the large engine consumes <!--
+
At its peak capacity of '''{{#show:{{#var:LARGEBLOCK}}|?MaxPowerOutput}}''', the large engine consumes '''{{#expr:{{#var:LargeHydrogenConsumption}} round 0}} liters of hydrogen per second''' while the small-grid version consumes '''{{#expr:{{#var:SmallHydrogenConsumption}} round 0}} L/s''' at '''{{#show:{{#var:SMALLBLOCK}}|?MaxPowerOutput}}'''.
 
 
-->'''{{formatnum:{{#expr: {{#show:{{#var:LARGEBLOCK}}|?MaxPowerOutput#-n}} / {{#show:{{#var:LARGEBLOCK}}|?FuelProductionToCapacityMultiplier#-n}} round 0}}}}<!--
 
 
 
--> liter hydrogen per second''' while the small-grid version consumes '''{{formatnum:{{#expr: {{#show:{{#var:SMALLBLOCK}}|?MaxPowerOutput#-n}} / {{#show:{{#var:SMALLBLOCK}}|?FuelProductionToCapacityMultiplier#-n}} round 0}}}} L/s''' at '''{{#show:{{#var:SMALLBLOCK}}|?MaxPowerOutput}}'''.
 
  
 
== Usage ==
 
== Usage ==
Line 32: Line 29:
 
=== Indicator ===
 
=== Indicator ===
 
Only the large-grid version has any indicator lights: Recessed into the electrical box next to its control panel, above the cylinder heads in the center, and at the corners of the front fan. Green is functional, yellow when out of hydrogen, and red when turned off.
 
Only the large-grid version has any indicator lights: Recessed into the electrical box next to its control panel, above the cylinder heads in the center, and at the corners of the front fan. Green is functional, yellow when out of hydrogen, and red when turned off.
 
  
 
== Efficiency ==
 
== Efficiency ==
The large Hydrogen Engine consumes {{#vardefineecho:LITERSPERWH|{{#expr: (3600 / {{#show:{{#var:LARGEBLOCK}}|?FuelProductionToCapacityMultiplier#-n}}) / 1e6}}}} liters of hydrogen for every watt-hour it produces, while the large [[Oxygen Generator|O2/H2 Generator]] can produce up to {{#vardefineecho:PRODLITERSPERWH|{{#expr: ({{#show:Mod:Vanilla/CubeBlock/OxygenGenerator|?IceToGasRatioH2#-n}} * {{#show:Mod:Vanilla/CubeBlock/OxygenGenerator|?IceConsumptionPerSecond#-n}}) / ({{#show:Mod:Vanilla/CubeBlock/OxygenGenerator|?OperationalPowerConsumption#-n}}) * 3600}}}} liters of hydrogen for every watt-hour it consumes. This gives the Hydrogen Engine an efficiency of {{#expr: (1 - {{#var:LITERSPERWH}} / {{#var:PRODLITERSPERWH}}) * 100 round 0}}%. In other words, if you have a closed circuit of Hydrogen Engines and O2/H2 Generators, you will spend 1 out of every {{#expr: {{#var:PRODLITERSPERWH}} / {{#var:LITERSPERWH}} round 1}} liters of hydrogen on power generation.
+
<!--
 +
-->{{#vardefine:LITERSPERWH|{{#expr: (3600 / {{#show:{{#var:LARGEBLOCK}}|?FuelProductionToCapacityMultiplier#-n}}) / 1e6}}}}<!--
 +
-->{{#vardefine:PRODLITERSPERWH|{{#expr: ({{#show:Mod:Vanilla/CubeBlock/OxygenGenerator|?IceToGasRatioH2#-n}} * {{#show:Mod:Vanilla/CubeBlock/OxygenGenerator|?IceConsumptionPerSecond#-n}}) / ({{#show:Mod:Vanilla/CubeBlock/OxygenGenerator|?OperationalPowerConsumption#-n}}) * 3600}}}}<!--
 +
-->
 +
The large Hydrogen Engine consumes '''{{#var:LITERSPERWH}} liters of hydrogen for every watt-hour''' it produces, while the large [[Oxygen Generator|O2/H2 Generator]] can produce up to {{#var:PRODLITERSPERWH}} liters of hydrogen for every watt-hour it consumes. This gives the Hydrogen Engine an efficiency of {{#expr: (1 - {{#var:LITERSPERWH}} / {{#var:PRODLITERSPERWH}}) * 100 round 0}}%. In other words, if you have a closed circuit of Hydrogen Engines and O2/H2 Generators, you will spend 1 out of every {{#expr: {{#var:PRODLITERSPERWH}} / {{#var:LITERSPERWH}} round 1}} liters of hydrogen on power generation.
  
 
== Media ==
 
== Media ==

Revision as of 17:51, 5 February 2021




Hydrogen Engine Icon.png
Large Ship / Station
Hydrogen Engine
Large Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Dimensions (W,H,L)1,1,2
Mass3,253.8 kg
3,253,800 g
3,253,800,000 mg
3.254 t
Integrity13,654
Build time60 s
Fuel Capacity100,000 L
100 m³
Fuel Efficiency10 kJ/L
0.01 MJ/L
10,000 J/L
2.777778e-6 MWh/L
0.00278 kWh/L
2.778 Wh/L
Max Power Output5 MW
5,000 kW
5,000,000 W
Power Consumer GroupGenerators
Is AirtightNo
PCU Cost25
BrowseLast edit: 2020-11-25
Hydrogen Engine Small Icon.png
Small Ship
Hydrogen Engine
Small Ship Icon.png

ComponentsRequired

 Functional 

 Hack 

Dimensions (W,H,L)3,2,2
Mass1,005.2 kg
1,005,200 g
1,005,200,000 mg
1.005 t
Integrity4,141
Build time40 s
Fuel Capacity5,000 L
5 m³
Fuel Efficiency10 kJ/L
0.01 MJ/L
10,000 J/L
2.777778e-6 MWh/L
0.00278 kWh/L
2.778 Wh/L
Max Power Output0.5 MW
500 kW
500,000 W
Power Consumer GroupGenerators
Is AirtightNo
PCU Cost25
BrowseLast edit: 2020-11-25

Overview

The Hydrogen Engine is a block used to generate power by consuming Hydrogen.

At its peak capacity of 5 MW
5,000 kW
5,000,000 W
, the large engine consumes 500 liters of hydrogen per second while the small-grid version consumes 50 L/s at 0.5 MW
500 kW
500,000 W
.

Usage

Connect to a conveyor system that has Hydrogen Tanks (with Hydrogen gas) or O2/H2 Generators to refuel.

Because the engine uses the conveyor system to fill itself with hydrogen, a minimal level of power is required for the engine to start if it is empty. The internal tank of the engine is only refilled while the engine is actively running, and its contents cannot be siphoned by other blocks.

The engine prioritizes the recharging of batteries over filling other power demands, incurring the 20% energy loss as the batteries immediately use that energy to run any other powered blocks.

Indicator

Only the large-grid version has any indicator lights: Recessed into the electrical box next to its control panel, above the cylinder heads in the center, and at the corners of the front fan. Green is functional, yellow when out of hydrogen, and red when turned off.

Efficiency

The large Hydrogen Engine consumes 0.36 liters of hydrogen for every watt-hour it produces, while the large O2/H2 Generator can produce up to 3.6 liters of hydrogen for every watt-hour it consumes. This gives the Hydrogen Engine an efficiency of 90%. In other words, if you have a closed circuit of Hydrogen Engines and O2/H2 Generators, you will spend 1 out of every 10 liters of hydrogen on power generation.

Media

Programming

Programming in the program block.

Interface name: 


See also


Update History