Difference between revisions of "Battery"

From Space Engineers Wiki
Jump to: navigation, search
m (Media: ~ resize to fit within page boundary on handheld devices)
m (Semi-Auto Toggle)
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{itembox
+
{{SimpleItembox
| item = Battery
+
|Mod:Vanilla/CubeBlock/LargeBlockBatteryBlock
| description = Stores and discharges power. 
+
|Size|Mass|Integrity|BuildTimeSeconds|MaxPowerOutput|RequiredPowerInput|MaxStoredPower|InitialStoredPowerRatio#%|ResourceSinkGroup|ResourceSourceGroup|PCU|IsAirTight
| tool = no
+
}}{{SimpleItembox
| largeship = yes
+
|Mod:Vanilla/CubeBlock/SmallBlockBatteryBlock
| smallship = yes
+
|Size|Mass|Integrity|BuildTimeSeconds|MaxPowerOutput|RequiredPowerInput|MaxStoredPower|InitialStoredPowerRatio#%|ResourceSinkGroup|ResourceSourceGroup|PCU|IsAirTight
| component = no
+
}}{{CategorizeComponents|Mod:Vanilla/CubeBlock/LargeBlockBatteryBlock}}
| rawmaterial = no
 
| material = no
 
 
 
| lbuildtime = 45
 
| lpowerconsumption = 12
 
| lmaxpoweroutput = 12
 
| lmaxstoredenergy = 3
 
| lairtightness = yes
 
| lresourcesinkgroup = Battery
 
| lresourcesourcegroup = Battery
 
| lcomponentstructure = 3
 
| lcomponent1 = Steel Plate
 
| lcomponent1amt = 60
 
| lcomponent2 = Construction Component
 
| lcomponent2amt = 20
 
| lcomponent3 = Computer
 
| lcomponent3amt = 25
 
| lcomponent4 = Power Cell
 
| lcomponent4amt = 120
 
| lcomponent5 = Construction Component
 
| lcomponent5amt = 10
 
| lcomponent6 = Steel Plate
 
| lcomponent6amt = 20
 
| lwidth = 1
 
| lheight = 1
 
| ldepth = 1
 
 
 
| sbuildtime = 30
 
| spowerconsumption = 4.32
 
| smaxpoweroutput = 4.32
 
| smaxstoredenergy = 1.08
 
| sairtightness = no
 
| sresourcesinkgroup = Battery
 
| sresourcesourcegroup = Battery
 
| scomponentstructure = 3
 
| scomponent1 = Steel Plate
 
| scomponent1amt = 20
 
| scomponent2 = Construction Component
 
| scomponent2amt = 3
 
| scomponent3 = Computer
 
| scomponent3amt = 2
 
| scomponent4 = Power Cell
 
| scomponent4amt = 20
 
| scomponent5 = Construction Component
 
| scomponent5amt = 2
 
| scomponent6 = Steel Plate
 
| scomponent6amt = 5
 
| swidth = 3
 
| sheight = 2
 
| sdepth = 3
 
 
 
| version = 1.172.001
 
}}
 
  
 
== Overview ==
 
== Overview ==
The battery is a single block that has a similar function to the [[Small Reactor|reactors]] in that it will power blocks on a [[grid]]. It does not require any materials to be powered, and does come with a small intial charge but beyond this it must collect energy either from [[Solar Panel|Solar panels]], [[Large Reactor|Large Reactors]], and/or [[Small Reactor|Small Reactors]] before it can be put to use (or even other batteries).  
+
The '''battery''' is a single block that has a similar function to the [[Small Reactor|reactors]] in that it will power blocks on a [[grid]]. It does not require any materials to be powered, and does come with a small intial charge but beyond this it must collect energy either from [[Solar Panel|Solar panels]], [[Large Reactor|Large Reactors]], and/or [[Small Reactor|Small Reactors]] before it can be put to use (or even other batteries).  
  
 
With [[Update 01.105]], a battery, once built, already has a 30% charge, meaning it can be used immediately. However, it is now no longer possible to salvage [[Power Cell|Power Cells]] from a battery, any power cells will be recovered as [[Scrap Metal]], losing a significant amount of [[Nickel Ingot|Nickel]] and [[Silicon Wafer|Silicon]].
 
With [[Update 01.105]], a battery, once built, already has a 30% charge, meaning it can be used immediately. However, it is now no longer possible to salvage [[Power Cell|Power Cells]] from a battery, any power cells will be recovered as [[Scrap Metal]], losing a significant amount of [[Nickel Ingot|Nickel]] and [[Silicon Wafer|Silicon]].
Line 80: Line 27:
 
* '''Fully Charged In''' -  Time remaining till the battery is fully charged.
 
* '''Fully Charged In''' -  Time remaining till the battery is fully charged.
 
=== Indicators ===
 
=== Indicators ===
{| class="wikitable"  
+
{{#vardefine:GREEN|[[File:Air_Vent_Front_Indicator_Green.png]]}}
!colspan="2" style="text-align:center;" | Charging State
+
{{#vardefine:BLUE|[[File:Air_Vent_Front_Indicator_Blue.png]]}}
!colspan="2" style="text-align:center;" | Discharging State
+
{{#vardefine:YELLOW|[[File:Air_Vent_Front_Indicator_Yellow.png]]}}
!colspan="2" style="text-align:center;" | Block Deactivated
+
{{#vardefine:RED|[[File:Air_Vent_Front_Indicator_Red.png]]}}
 +
{{#vardefine:BLACK|[[File:Air_Vent_Front_Indicator_Black.png]]}}
 +
{| class="wikitable"
 +
!
 +
!colspan="3" | Charge Mode
 +
! Toggle Block
 
|-
 
|-
!Indicator Amount
+
! Charged %
!Status
+
! Auto
!Indicator Amount
+
! Recharge
!Status
+
! Discharge
!Indicator Amount
+
! Off
!Status
 
 
|-
 
|-
|
+
! 100%
|Charging from 0%
+
| {{#var:GREEN}} {{#var:GREEN}} {{#var:GREEN}} {{#var:GREEN}}
| [[File:Air_Vent_Front_Indicator_Green.png]] [[File:Air_Vent_Front_Indicator_Green.png]] [[File:Air_Vent_Front_Indicator_Green.png]] [[File:Air_Vent_Front_Indicator_Green.png]]
+
| {{#var:YELLOW}} {{#var:YELLOW}} {{#var:YELLOW}} {{#var:YELLOW}}
| style="text-align:center;" | Below 100%
+
| {{#var:BLUE}} {{#var:BLUE}} {{#var:BLUE}} {{#var:BLUE}}
| [[File:Air_Vent_Front_Indicator_Red.png]] [[File:Air_Vent_Front_Indicator_Red.png]] [[File:Air_Vent_Front_Indicator_Red.png]] [[File:Air_Vent_Front_Indicator_Red.png]]
+
| {{#var:RED}} {{#var:RED}} {{#var:RED}} {{#var:RED}}
| style="text-align:center;" | Not Enabled
 
 
|-
 
|-
|[[File:Air_Vent_Front_Indicator_Blue.png]]
+
! ≥75%
| style="text-align:center;" | Above 25%
+
| {{#var:GREEN}} {{#var:GREEN}} {{#var:GREEN}} {{#var:BLACK}}
| [[File:Air_Vent_Front_Indicator_Green.png]] [[File:Air_Vent_Front_Indicator_Green.png]] [[File:Air_Vent_Front_Indicator_Green.png]]
+
| {{#var:YELLOW}} {{#var:YELLOW}} {{#var:YELLOW}} {{#var:BLACK}}
| style="text-align:center;" | Below 75%
+
| {{#var:BLUE}} {{#var:BLUE}} {{#var:BLUE}} {{#var:BLACK}}
|
+
| {{#var:RED}} {{#var:RED}} {{#var:RED}} {{#var:RED}}
|
 
 
|-
 
|-
| [[File:Air_Vent_Front_Indicator_Blue.png]] [[File:Air_Vent_Front_Indicator_Blue.png]]
+
! ≥50%
| style="text-align:center;" | Above 50%
+
| {{#var:GREEN}} {{#var:GREEN}} {{#var:BLACK}} {{#var:BLACK}}
| [[File:Air_Vent_Front_Indicator_Green.png]] [[File:Air_Vent_Front_Indicator_Green.png]]
+
| {{#var:YELLOW}} {{#var:YELLOW}} {{#var:BLACK}} {{#var:BLACK}}
| style="text-align:center;" | Below 50%
+
| {{#var:BLUE}} {{#var:BLUE}} {{#var:BLACK}} {{#var:BLACK}}
|
+
| {{#var:RED}} {{#var:RED}} {{#var:RED}} {{#var:RED}}
|
 
 
|-
 
|-
| [[File:Air_Vent_Front_Indicator_Blue.png]] [[File:Air_Vent_Front_Indicator_Blue.png]] [[File:Air_Vent_Front_Indicator_Blue.png]]
+
! ≥25%
| style="text-align:center;" | Above 75%
+
| {{#var:GREEN}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
| [[File:Air_Vent_Front_Indicator_Green.png]]
+
| {{#var:YELLOW}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
| style="text-align:center;" | Below 25%
+
| {{#var:BLUE}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
|
+
| {{#var:RED}} {{#var:RED}} {{#var:RED}} {{#var:RED}}
|
 
 
|-
 
|-
| [[File:Air_Vent_Front_Indicator_Blue.png]] [[File:Air_Vent_Front_Indicator_Blue.png]] [[File:Air_Vent_Front_Indicator_Blue.png]] [[File:Air_Vent_Front_Indicator_Blue.png]]
+
! >0%
| style="text-align:center;" |100% - full
+
| {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
| [[File:Air_Vent_Front_Indicator_Red.png]]
+
| {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
| style="text-align:center;" | 0% - empty
+
| {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
|
+
| {{#var:RED}} {{#var:RED}} {{#var:RED}} {{#var:RED}}
|
+
|-
 +
! 0%
 +
| {{#var:RED}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
 +
| {{#var:RED}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
 +
| {{#var:RED}} {{#var:BLACK}} {{#var:BLACK}} {{#var:BLACK}}
 +
| {{#var:RED}} {{#var:RED}} {{#var:RED}} {{#var:RED}}
 
|}
 
|}
  
 
=== Recharging ===
 
=== Recharging ===
Although a newly constructed battery will have some charge already available, providing power instantly once complete. The main purpose of the battery is to store and discharge power as needed. A ship may also recharge its battery through [[Connector|Connectors]] by drawing power from the other side while docked. This does not cost extra power. However, recharging from any source will only work at 80% efficiency rate which incurs a 20% penalty on recharging, meaning the block needs 20% more power for the amount of power returned to the grid.
+
Although a newly constructed battery will have some charge already available, providing power instantly once complete, the main purpose of the battery is to store and discharge power as needed. A ship may also recharge its battery through [[Connector]]s by drawing power from the other side while docked. This does not cost extra power. However, recharging from any source will only work at 80% efficiency rate which incurs a 20% penalty on recharging, meaning the block needs 20% more power for the amount of power returned to the grid.
  
 
==== Recharge Toggle ====
 
==== Recharge Toggle ====
Line 140: Line 92:
 
During this state which is the default state of a newly built battery, it will recharge automatically if there is any surplus power it can draw from and discharge automatically if there is a shortfall in power supply that is if there is more power being drawn that otherwise available without the battery's reserves. This is unwise as it may if [[Large Reactor|Reactors]] are present quickly recharge and then discharge this stored energy, since the battery's charging is inefficient you essentially lose fuel in the process.
 
During this state which is the default state of a newly built battery, it will recharge automatically if there is any surplus power it can draw from and discharge automatically if there is a shortfall in power supply that is if there is more power being drawn that otherwise available without the battery's reserves. This is unwise as it may if [[Large Reactor|Reactors]] are present quickly recharge and then discharge this stored energy, since the battery's charging is inefficient you essentially lose fuel in the process.
  
==== Semi-Auto Toggle ====
+
==== Auto Toggle ====
 
This mode will enable the battery to automatically recharge when at 0%, and then discharge when at 100%. In other words, it will automatically recharge and power the grid without player intervention.
 
This mode will enable the battery to automatically recharge when at 0%, and then discharge when at 100%. In other words, it will automatically recharge and power the grid without player intervention.
  
Line 147: Line 99:
  
 
=== Charging with Solar panels ===
 
=== Charging with Solar panels ===
While a single [[Solar Panel]] does not have the same power output as reactors, it is considered "free" energy since no fuel is spent to generate power. It will however be painfully slow with a single or a few panels being used and suffers the same efficiency penalty as do [[Reactor]]s, a single large [[Solar Panel]] operating at peak effectiveness (120 KW) will take upwards of 62 days to be fully charged - so ideally a large array of solar panels should be used.  
+
While a single [[Solar Panel]] does not have the same power output as reactors, it is considered "free" energy since no fuel is spent to generate power. It will however be painfully slow with a single or a few panels being used and suffers the same efficiency penalty as do [[Reactor]]s, a single large [[Solar Panel]] operating at peak effectiveness ({{#show:Mod:Vanilla/CubeBlock/LargeBlockSolarPanel|?MaxPowerOutput#kW}}) will take upwards of ''{{timespan|{{#expr: {{#show:Mod:Vanilla/CubeBlock/LargeBlockBatteryBlock|?MaxStoredPower#-n}} / ({{#show:Mod:Vanilla/CubeBlock/LargeBlockSolarPanel|?MaxPowerOutput#-n}} * 0.8)  * 3600}}}}'' to fully charge a large ship battery and ''{{timespan|{{#expr: {{#show:Mod:Vanilla/CubeBlock/SmallBlockBatteryBlock|?MaxStoredPower#-n}} / ({{#show:Mod:Vanilla/CubeBlock/SmallBlockSolarPanel|?MaxPowerOutput#-n}} * 0.8) * 3600}}}}'' for a small ship battery - so ideally a large array of solar panels should be used.  
  
While 30+ panels appears impractical for a shorter recharge, its more logical to create such things as recharge satellites that your ships can dock with to recharge their batteries.
+
While 30+ panels appears impractical to be built on a ship for a shorter recharge, its more logical to create such things as recharge satellites that your ships can dock with to recharge their batteries.
 
[[File:Battery02.jpg|none|thumb|250px|Example of a solar recharge station. A small ship is docked and recharging its battery]]
 
[[File:Battery02.jpg|none|thumb|250px|Example of a solar recharge station. A small ship is docked and recharging its battery]]
  
 
=== Power Output ===
 
=== Power Output ===
Once charged, the battery can begin to power the grid it is placed on. It has nearly the same output capabilities as a small reactor with an output of 12MW on large ships/stations, and 4.32MW on small ships. The battery life can vary depending on power usage. On a typical small ship can last anywhere from 2-4 hours while in constant use (moving, mining, etc). Large ships will use far more power, and a single battery will only sustain a default red ship for 2 hours while idling, or 15 minutes of constant movement.
+
Once charged, the battery can begin to power the grid it is placed on. It has nearly the same output capabilities as a small reactor with an output of {{#show:Mod:Vanilla/CubeBlock/LargeBlockBatteryBlock|?MaxPowerOutput#MW}} on large ships/stations, and {{#show:Mod:Vanilla/CubeBlock/SmallBlockBatteryBlock|?MaxPowerOutput#MW}} on small ships. The battery life can vary depending on power usage. On a typical small ship can last anywhere from 2-4 hours while in constant use (moving, mining, etc). Large ships will use far more power, and a single battery will only sustain a default red ship for 2 hours while idling, or 15 minutes of constant movement.
 
[[File:Battery06.jpg|none|thumb|250px|Example of a battery providing power to a small construction ship]]
 
[[File:Battery06.jpg|none|thumb|250px|Example of a battery providing power to a small construction ship]]
  
 
== Media ==
 
== Media ==
 
{| class="wikitable"
 
{| class="wikitable"
|[[File:Battery05.jpg|center|thumb|250px|Small ship battery block]]
+
|[[File:Battery Small new.jpg|center|thumb|250px|Small ship battery block (design used in 2022)]]
|[[File:Battery01.jpg|center|thumb|250px|Large ship/station battery block]]
+
 
 +
|[[File:Large battery new.jpeg|center|thumb|250px|Large ship or station battery block (design used in 2022)]]
 +
 
 +
 
 +
 
 
|-
 
|-
|[[File:Battery03.jpg|center|thumb|250px|Battery block interface on a small ship]]
+
|[[File:Battery UI new.jpeg|center|thumb|250px|Battery block control interface]]
|[[File:Battery04.jpg|center|thumb|250px|Battery block interface on a large ship/station]]
 
|}
 
  
 
== Tips ==
 
== Tips ==
Line 182: Line 136:
  
 
== Programming ==
 
== Programming ==
 +
Implements [[Implements::IMyBatteryBlock]]
 
* [[Programming_Guide/Action_List#Battery|Action List - Battery]]
 
* [[Programming_Guide/Action_List#Battery|Action List - Battery]]
 +
 +
== Design ==
 +
The Warfare II DLC adds a "Warfare battery" with a different model. This is only cosmetic and has the same energy capacity and output as a regular battery.
  
 
== Update History ==
 
== Update History ==
Line 208: Line 166:
 
</div>
 
</div>
 
[[Category:Power Blocks]]
 
[[Category:Power Blocks]]
 +
[[Category:Functional_Blocks]]

Latest revision as of 06:23, 27 June 2022

Battery Icon.png
Large Ship / Station
Battery
Large Ship Icon.png

ComponentsRequired

 Functional 

Dimensions (W,H,L)1,1,1
Mass3,845 kg
3,845,000 g
3,845,000,000 mg
3.845 t
Integrity12,925
Build time40 s
Max Power Output12 MW
12,000 kW
12,000,000 W
Max Required Input12 MW
12,000 kW
12,000,000 W
Max Stored Power3 MWh
3,000 kWh
3,000,000 Wh
10,800 MJ
10,800,000 kJ
10,800,000,000 J
Initial Stored Power30 %
Power Consumer GroupBatteryBlock
Power Source GroupBattery
PCU Cost15
Is AirtightYes
BrowseLast edit: 2020-04-11
Battery Icon.png
Small Ship
Battery
Small Ship Icon.png

ComponentsRequired

 Functional 

Dimensions (W,H,L)3,2,3
Mass1,040.4 kg
1,040,400 g
1,040,400,000 mg
1.04 t
Integrity3,652
Build time20 s
Max Power Output4 MW
4,000 kW
4,000,000 W
Max Required Input4 MW
4,000 kW
4,000,000 W
Max Stored Power1 MWh
1,000 kWh
1,000,000 Wh
3,600 MJ
3,600,000 kJ
3,600,000,000 J
Initial Stored Power30 %
Power Consumer GroupBatteryBlock
Power Source GroupBattery
PCU Cost15
Is AirtightNo
BrowseLast edit: 2020-04-11

Overview

The battery is a single block that has a similar function to the reactors in that it will power blocks on a grid. It does not require any materials to be powered, and does come with a small intial charge but beyond this it must collect energy either from Solar panels, Large Reactors, and/or Small Reactors before it can be put to use (or even other batteries).

With Update 01.105, a battery, once built, already has a 30% charge, meaning it can be used immediately. However, it is now no longer possible to salvage Power Cells from a battery, any power cells will be recovered as Scrap Metal, losing a significant amount of Nickel and Silicon.

Usage

The battery is a convenient solution to saving/reserving power, and using no fuel that reactors for example would otherwise require. Or in the case of an incident, provide emergency power while repairs are made.

The battery block may be placed anywhere and unlike Reactors does not need to connected to a Conveyor network for refueling.

Control Panel

  • Max Output - Maximum amount of power the battery can output to the grid
  • Max Required Input - Maximum amount of power the battery can receive when in recharge state
  • Max Stored Power - Maximum amount of power that can be stored on battery
  • Current Input - The amount of power that the battery is currently drawing from the grid
  • Current Output - The amount of power that the battery is currently providing to the grid
  • Stored Power - The remaining amount of power that is stored within the battery
  • Fully Depleted In - Time remaining till the battery is depleted of stored power
  • Fully Charged In - Time remaining till the battery is fully charged.

Indicators

Charge Mode Toggle Block
Charged % Auto Recharge Discharge Off
100% Air Vent Front Indicator Green.png Air Vent Front Indicator Green.png Air Vent Front Indicator Green.png Air Vent Front Indicator Green.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png
≥75% Air Vent Front Indicator Green.png Air Vent Front Indicator Green.png Air Vent Front Indicator Green.png Air Vent Front Indicator Black.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Black.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Black.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png
≥50% Air Vent Front Indicator Green.png Air Vent Front Indicator Green.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png
≥25% Air Vent Front Indicator Green.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Yellow.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Blue.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png
>0% Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png
0% Air Vent Front Indicator Red.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Red.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Red.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Black.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png Air Vent Front Indicator Red.png

Recharging

Although a newly constructed battery will have some charge already available, providing power instantly once complete, the main purpose of the battery is to store and discharge power as needed. A ship may also recharge its battery through Connectors by drawing power from the other side while docked. This does not cost extra power. However, recharging from any source will only work at 80% efficiency rate which incurs a 20% penalty on recharging, meaning the block needs 20% more power for the amount of power returned to the grid.

Recharge Toggle

A Battery can recharge regardless of whether its Recharge setting is toggled or not, but if it's set to Recharge it will ONLY recharge and will not discharge or provide power. During this state, the battery will only draw power from the surrounding grid to store in its reserves. It will not discharge again till the player toggles "recharge" once again. Be aware that the charging process is not 100% efficient. Regardless of where the energy is coming from, only about 83.33% of the energy will actually be stored in the battery, the remainder being wasted due to an inherent inefficiency.

Discharge Toggle

Once a battery has enough charge in it it may be set to only discharge it's stored power into the grid, the battery should take priority over reactors (using fuel) but not active solar panels - this may vary due to subgrids and etc. A battery can discharge its stored power whether the it's discharge setting is toggled or not, but toggling the discharge means it will ONLY discharge and not at all draw power from other power sources such as other batteries or reactors.

When neither Discharge or Recharge is toggled

During this state which is the default state of a newly built battery, it will recharge automatically if there is any surplus power it can draw from and discharge automatically if there is a shortfall in power supply that is if there is more power being drawn that otherwise available without the battery's reserves. This is unwise as it may if Reactors are present quickly recharge and then discharge this stored energy, since the battery's charging is inefficient you essentially lose fuel in the process.

Auto Toggle

This mode will enable the battery to automatically recharge when at 0%, and then discharge when at 100%. In other words, it will automatically recharge and power the grid without player intervention.

Charging with Reactors

While reactors can recharge batteries, the efficiency is only about 80%, as noted above. Reactors due to high output can recharge the battery quickly, however this is considered very inefficient. Merely converting the stored energy in Uranium Ingots, to stored energy in batteries - which is not 1:1 conversion. Resulting in essentially losing 20% of the fuel in the process with inefficiency [3.60 MWh of Reactor output -> 3.00 MWh of Battery output after being fully charged].

Charging with Solar panels

While a single Solar Panel does not have the same power output as reactors, it is considered "free" energy since no fuel is spent to generate power. It will however be painfully slow with a single or a few panels being used and suffers the same efficiency penalty as do Reactors, a single large Solar Panel operating at peak effectiveness (160 kW
0.16 MW
160,000 W
) will take upwards of 23 hours, 26 minutes and 15 seconds to fully charge a large ship battery and 1 day, 7 hours, 15 minutes and 0 seconds for a small ship battery - so ideally a large array of solar panels should be used.

While 30+ panels appears impractical to be built on a ship for a shorter recharge, its more logical to create such things as recharge satellites that your ships can dock with to recharge their batteries.

Example of a solar recharge station. A small ship is docked and recharging its battery

Power Output

Once charged, the battery can begin to power the grid it is placed on. It has nearly the same output capabilities as a small reactor with an output of 12 MW
12,000 kW
12,000,000 W
on large ships/stations, and 4 MW
4,000 kW
4,000,000 W
on small ships. The battery life can vary depending on power usage. On a typical small ship can last anywhere from 2-4 hours while in constant use (moving, mining, etc). Large ships will use far more power, and a single battery will only sustain a default red ship for 2 hours while idling, or 15 minutes of constant movement.
Example of a battery providing power to a small construction ship

Media

Small ship battery block (design used in 2022)
Large ship or station battery block (design used in 2022)


Battery block control interface

Tips

Known Issues

  • Reactors charging a battery will not calculate their remaining fuel time correctly and will cause no fuel warnings.
  • While the grid does correctly prioritize power sources for everything directly connected to it, once sub-grids (such as grids accessed through rotors, pistons, connectors, etc) also supply or draw power the battery can become confused. Such issues include:
  • Batteries will charge and discharge at the same time as they attempt to run all system energy through them. This will lead to an automatic loss of fuel through inefficiency.
  • Battery energy is not calculated as a part of a ship's energy output nor as part of its energy reserves.
  • If energy use exceeds the output of solar panels, solar power will shut down entirely and all energy will be drawn from the battery.

Programming

Implements IMyBatteryBlock

Design

The Warfare II DLC adds a "Warfare battery" with a different model. This is only cosmetic and has the same energy capacity and output as a regular battery.

Update History

Update 01.105
  • Battery block's behavior changed
  • Battery block's Power cell component is no longer recoverable.
Update 01.096
  • Battery capacity and output increased
Update 01.041
  • Fixed cost of recharging battery is called "Sprint"
  • Fixed full batteries still using energy
Update 01.040
  • Semi-auto mode introduced
  • Fixed lags with batteries turned to charging mode
Update 01.039.010
  • Battery block introduced