Difference between revisions of "Battery"

From RimWorld Wiki
Jump to navigation Jump to search
(Added Cover.)
 
(118 intermediate revisions by 18 users not shown)
Line 2: Line 2:
 
|name = Battery
 
|name = Battery
 
|image = Battery.jpg|Battery
 
|image = Battery.jpg|Battery
|description = Stores electricity when there is excess power and yields it when there is not. Warning - charged batteries tend to explode when heated or wet.
+
|description = Stores electricity for later use. Charged batteries explode when exposed to rain or fire.
|type = Buildings
+
|type = Building
 
|type2 = Power
 
|type2 = Power
|placeable = Yes
+
|placeable = true
|size = 1|2
+
|path cost = 50
 +
|passability = pass through only
 +
|blockswind = true
 +
|cover = 0.4
 +
|minifiable = true
 +
|size = 1 ˣ 2
 +
|mass base = 20
 +
|flammability = 1
 
|hp = 100
 
|hp = 100
|efficiency = 50%
+
|sell price multiplier = 0.7
|power =
 
|buy = {{icon|metal|50}} {{icon|component|2}}
 
|sell = {{icon|metal|25}}
 
 
|beauty = -15
 
|beauty = -15
|mass base = 20
+
|efficiency = 0.5
|cover = 0.4
+
|terrain affordance = medium
}}
+
|research = battery
{{Info|A [[battery]] stores electricity, up to 1000 Wd (Watt-days), when there is surplus [[power]], and provides the stored power back to the grid when there's a deficit. A power deficit is often the result from [[wind turbine]]s not getting enough wind or from [[solar generator]]s not getting enough light, at night or during an [[Events#Eclipse|eclipse]].}}<!--
+
|thingCategories = BuildingsPower
The above info is displayed here only, not transcluded on Power. The info below is all transcluded on Power.  
+
|work to make = 800
--><onlyinclude><includeonly>
+
|resource 1 = Steel
A [[battery]] stores electricity, up to 1000 Wd (Watt-days), when there is surplus power, and provides the stored power back to the grid when there's a deficit. A power deficit is often the result from [[wind turbine]]s not getting enough wind or from [[solar generator]]s not getting enough light, at night or during an [[Events#Eclipse|eclipse]].{{clr|left}}</includeonly>
+
|resource 1 amount = 70
'''Charging Features'''
+
|resource 2 = Component
* A battery can only hold 1kWd (86.4MJ).
+
|resource 2 amount = 2
* Only 50% of the energy directed to the battery will be stored.
+
}}</noinclude>
* If a power generator's output exceeds appliances' power consumption, excess power will be distributed evenly among all non-full connected batteries, charging all batteries at the same rate.  
+
The '''battery''' is an electric device that stores power to use when needed.
* If power consumption exceeds power generation, all non-empty batteries will deplete at the same rate to fill the power gap.
+
 
 +
== Acquisition ==
 +
Batteries can be be constructed with {{Required Resources}} and {{Ticks|{{P|Work To Make}}}} after the [[Research#Batteries|Batteries]] research has completed.
 +
 
 +
==Summary==
 +
[[File:Zero_conduit_freezer.jpg|250px|thumb|left|Batteries connect directly to the wind turbine and the attached coolers, with no conduits. This power grid will only "Zzztt" if the batteries get rained on.]]
 +
Batteries automatically charge and discharge when connected to other buildings. Each battery can store 600 Wd (Watt-days) of [[power]] at once. 1 Watt-day is equal to powering a 1 W appliance for 24 hours. However, batteries have a 50% efficiency, meaning they take in only half of a grid's excess power. For example, an excess of 200 W for 24 hours will only store 100 Wd. Power is evenly divided between all connected batteries. There is no limit or penalty for power output.
 +
 
 +
Each tile of battery will also transfer an infinite amount of power through it, as if it were a [[power conduit]]. Therefore, electric appliances like [[standing lamp]]s can connect within 6 tiles of a battery. The battery can't connect in the same way; it requires an adjacent conduit, battery, or power generator to power. A wire will appear when a valid connection is made; you may need to use the Reconnect gizmo on the appliance for it to be powered.
 +
 
 +
Batteries lose 5 W of stored power per day, even if they aren't connected to anything or are uninstalled in their minified state. Batteries can't be turned off, but a [[power switch]] can disconnect them from other buildings.  
 +
 
 +
===Health===
 +
An installed battery will short-circuit (the [[Events#Zzztt...|Zzzt...]] event) if left in the [[rain]] or [[snow]] without a [[roof]]. In addition, each battery's storage contributes towards the random short-circuit event, which can happen so long as a [[power conduit]] is connected. However, a battery-only grid is immune to the random event.
 +
 
 +
Like other [[furniture]], batteries are not subject to [[deterioration]], but short-circuits from rain or snow cause damage. Their health does not impact power storage, discharge, or any other function. [[Temperature]] also has no effect past [[fire]] creation. However, they can explode when reaching a low enough health.
 +
 
 +
== Analysis ==
 +
Batteries are most useful when using [[wind turbine]]s or [[solar panel]]s, both which are highly variable power sources. Using a battery creates a 'cushion', making their power more reliable. For instance, a battery is required to use any sort of solar power at night or during an [[eclipse]]. Meanwhile, fueled generators are consistent - they'll burn their fuel at a constant rate, even if it would be wasted. While you could just turn the generator off, colonists need to walk to the generator. Using a battery can help save on both fuel and micromanagement.
 +
 
 +
Even in colonies that do not use wind or solar energy, batteries are useful to cover spikes in power usage, such as short-circuits, [[turret]] arrays, or [[electric smelter]]s. A battery can cover arbitrarily high power needs, the size of the array only changes for how long that is possible. As an example, an array of 20 [[mini-turret]]s and 4 [[autocannon turret]]s draws 3200 W of power. Instead of building another [[geothermal generator]], each battery will power this for more than 4 in-game hours.
 +
 
 +
Uninstalled batteries can be used whenever power needs to be transported. They can be used to power remote [[deep drill]]s, or even put on a [[caravan]]. This allows for electric appliances like [[mini-turret]]s to be used far away from your base.
 +
 
 +
As there is no limit on charge or discharge rate and power is divided evenly between batteries, the minimum number of batteries should be used to achieve the required storage. For every 600Wd is routinely left unfilled that is an additional 5W spent, components consumed by [[breakdown]]s, and {{Required Resources}} spent all for no benefit.
  
 +
===Power storage===
 +
Separating your batteries behind stone [[wall]]s will help keep fire from spreading. As you'll rarely need to access a battery itself, stone doors can be safely used for "battery rooms". You may want to keep some additional batteries behind a [[power switch]] on a separate network, so they can be brought online in the case of a "Zzzt event". Alternatively, you can uninstall batteries and keep them in a warehouse. Either way, the discharge is negligible.
  
'''Moving and Storing'''
+
When powering an emergency array, the battery group should be isolated. There should be 1 power switch to the main power grid, which should be turned on or off when needed. This keeps your power safe from a short circuit. When powering a security array, you can place another, separate switch connected to your turrets, to easily power them on or off.  
* A battery can be uninstalled, converting it to a 'minified' version in a box. It's categorized as a furniture item and will be hauled to an appropriate stockpile. It still retains its stored charge while boxed. The battery can be installed again when needed.
 
* Batteries can be moved by reinstalling them. They do not lose their charge during the move, making them a portable power source.
 
  
 +
Unused electric work benches and powered appliances can be turned off to reduce total power usage, via the Designate toggle power order in the work bench menu. This requires a pawn to travel to the appliance and manually turn it off or on. A faster alternative to the Designate Toggle Power order is to build a single piece of [[power conduit]] unattached to any power source near the work bench. The Reconnect [[order]] from the work bench menu will instantly toggle power connection between the unpowered, solo conduit and your main power grid, saving power usage without requiring work or travel from your pawns.
  
'''Hazards'''
+
===Efficiency===
* A battery that has at least 50 Wd power and connected to any power conduit is subject to an occasional [[Events#Faulty_Conduit_Explosion|short circuit]], causing all of the stored energy to explode at a random piece of power conduit. This event is well-known to players by its envelope notification, as the "Zzztt" event.
+
When calculating power capacity, keep in mind that charge efficiency is only 50%; half of the excess energy is lost. This is particularly relevant when planning a [[sun lamp]] setup. The lamp draws 2900 W during the day, and 0 W during the night, for an average demand of 1595 W. However, an average power of 1595 W is not sufficient, and only enough to power the lamp for 6 hours. Simply adding more batteries will not change this; the problem is the lack of energy. In this scenario, adding another [[solar generator]] would be enough to power the lamp.
* When a short circuit strikes, more stored power will create a larger explosion, which can be devastating if a large number of batteries discharge at once. Mitigate this damage by creating separate battery networks using [[Power switch]]es. Disconnect the batteries when charged, and only connect the batteries when they are needed (such as immediately after the other batteries short out).
 
* A battery can be disconnected from the grid by reinstalling it away from the grid or by using a switch to isolate it from the grid. A disconnected battery is not affected by short circuits.
 
* Batteries are highly likely to explode and catch fire when exposed to rain.
 
* Batteries can catch fire when exposed to too much heat.
 
  
 +
== Version history ==
 +
* [[Version/0.0.245|0.0.245]] - Charged batteries now explode while burning.
  
</onlyinclude>
 
 
{{nav|power|wide}}
 
{{nav|power|wide}}
[[Category:Buildings]]
 
 
[[Category:Power]]
 
[[Category:Power]]
 +
 +
</noinclude>

Latest revision as of 21:14, 2 May 2023

Battery

Battery

Stores electricity for later use. Charged batteries explode when exposed to rain or fire.

Base Stats

Type
BuildingPower
Market Value
200 Silver [Note]
Mass
20 kg
Beauty
-15
HP
100
Flammability
100%
Path Cost
50

Building

Size
1 × 2
Minifiable
True
Placeable
True
Passability
pass through only
Cover Effectiveness
40%
Blocks Wind
True
Terrain Affordance
Medium
Efficiency
50%

Creation

Required Research
Battery
Work To Make
800 ticks (13.33 secs)
Resources to make
Steel 70 + Component 2
Deconstruct yield
Steel 35 + Component 1
Destroy yield
Steel 17 - 18 + Component 0 - 1
Technical
thingCategories
BuildingsPower


The battery is an electric device that stores power to use when needed.

Acquisition[edit]

Batteries can be be constructed with Steel 70 Steel, Component 2 Components and 800 ticks (13.33 secs) after the Batteries research has completed.

Summary[edit]

Batteries connect directly to the wind turbine and the attached coolers, with no conduits. This power grid will only "Zzztt" if the batteries get rained on.

Batteries automatically charge and discharge when connected to other buildings. Each battery can store 600 Wd (Watt-days) of power at once. 1 Watt-day is equal to powering a 1 W appliance for 24 hours. However, batteries have a 50% efficiency, meaning they take in only half of a grid's excess power. For example, an excess of 200 W for 24 hours will only store 100 Wd. Power is evenly divided between all connected batteries. There is no limit or penalty for power output.

Each tile of battery will also transfer an infinite amount of power through it, as if it were a power conduit. Therefore, electric appliances like standing lamps can connect within 6 tiles of a battery. The battery can't connect in the same way; it requires an adjacent conduit, battery, or power generator to power. A wire will appear when a valid connection is made; you may need to use the Reconnect gizmo on the appliance for it to be powered.

Batteries lose 5 W of stored power per day, even if they aren't connected to anything or are uninstalled in their minified state. Batteries can't be turned off, but a power switch can disconnect them from other buildings.

Health[edit]

An installed battery will short-circuit (the Zzzt... event) if left in the rain or snow without a roof. In addition, each battery's storage contributes towards the random short-circuit event, which can happen so long as a power conduit is connected. However, a battery-only grid is immune to the random event.

Like other furniture, batteries are not subject to deterioration, but short-circuits from rain or snow cause damage. Their health does not impact power storage, discharge, or any other function. Temperature also has no effect past fire creation. However, they can explode when reaching a low enough health.

Analysis[edit]

Batteries are most useful when using wind turbines or solar panels, both which are highly variable power sources. Using a battery creates a 'cushion', making their power more reliable. For instance, a battery is required to use any sort of solar power at night or during an eclipse. Meanwhile, fueled generators are consistent - they'll burn their fuel at a constant rate, even if it would be wasted. While you could just turn the generator off, colonists need to walk to the generator. Using a battery can help save on both fuel and micromanagement.

Even in colonies that do not use wind or solar energy, batteries are useful to cover spikes in power usage, such as short-circuits, turret arrays, or electric smelters. A battery can cover arbitrarily high power needs, the size of the array only changes for how long that is possible. As an example, an array of 20 mini-turrets and 4 autocannon turrets draws 3200 W of power. Instead of building another geothermal generator, each battery will power this for more than 4 in-game hours.

Uninstalled batteries can be used whenever power needs to be transported. They can be used to power remote deep drills, or even put on a caravan. This allows for electric appliances like mini-turrets to be used far away from your base.

As there is no limit on charge or discharge rate and power is divided evenly between batteries, the minimum number of batteries should be used to achieve the required storage. For every 600Wd is routinely left unfilled that is an additional 5W spent, components consumed by breakdowns, and Steel 70 Steel, Component 2 Components spent all for no benefit.

Power storage[edit]

Separating your batteries behind stone walls will help keep fire from spreading. As you'll rarely need to access a battery itself, stone doors can be safely used for "battery rooms". You may want to keep some additional batteries behind a power switch on a separate network, so they can be brought online in the case of a "Zzzt event". Alternatively, you can uninstall batteries and keep them in a warehouse. Either way, the discharge is negligible.

When powering an emergency array, the battery group should be isolated. There should be 1 power switch to the main power grid, which should be turned on or off when needed. This keeps your power safe from a short circuit. When powering a security array, you can place another, separate switch connected to your turrets, to easily power them on or off.

Unused electric work benches and powered appliances can be turned off to reduce total power usage, via the Designate toggle power order in the work bench menu. This requires a pawn to travel to the appliance and manually turn it off or on. A faster alternative to the Designate Toggle Power order is to build a single piece of power conduit unattached to any power source near the work bench. The Reconnect order from the work bench menu will instantly toggle power connection between the unpowered, solo conduit and your main power grid, saving power usage without requiring work or travel from your pawns.

Efficiency[edit]

When calculating power capacity, keep in mind that charge efficiency is only 50%; half of the excess energy is lost. This is particularly relevant when planning a sun lamp setup. The lamp draws 2900 W during the day, and 0 W during the night, for an average demand of 1595 W. However, an average power of 1595 W is not sufficient, and only enough to power the lamp for 6 hours. Simply adding more batteries will not change this; the problem is the lack of energy. In this scenario, adding another solar generator would be enough to power the lamp.

Version history[edit]

  • 0.0.245 - Charged batteries now explode while burning.