Difference between revisions of "Battery"

From RimWorld Wiki
Jump to navigation Jump to search
 
(106 intermediate revisions by 13 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|70}} {{icon|component|2}}
 
|sell = {{icon|metal|52.5}} + {{icon|component|1.5}}
 
 
|beauty = -15
 
|beauty = -15
|mass base = 20
+
|efficiency = 0.5
|cover = 0.4
+
|terrain affordance = medium
}}<onlyinclude>
+
|research = battery
{{Info|The ''battery'' is an electric device that can store energy and provide power.  Energy is stored while there is a surplus on the connected electric grid; the charge capacity is 600 Wd (''watt days'').  Each battery provides an unlimited amount of power if there is a deficit, until discharged.  Charging happens at only 50% efficiency, ie. half the power used for charging is lost.  Batteries self-discharge at a rate of 5 W, even while disconnected.  Batteries need to be operated under a roof, or they will frequently short circuit in rain or snowfall, causing an explosion.}}
+
|thingCategories = BuildingsPower
 
+
|work to make = 800
== Usage ==
+
|resource 1 = Steel
'''Batteries are built, moved and stored like other kinds of movable furniture.'''  They will keep their charge while stored ("minified") or disconnected, only discharging at the normal rate of 5 W (self-discharge).
+
|resource 1 amount = 70
 
+
|resource 2 = Component
With regards to power production, they behave like the other electric buildings in the game. All power consumers can connect to batteries in the same way as to other power sources: within a 5-tile radius, all consumers can directly connect to a battery (or array of batteries), without any power conduits in between.
+
|resource 2 amount = 2
 
+
}}</noinclude>
In order to charge a battery, it has to be directly connected to a power grid with excess power.  It is not possible to connect to batteries "through" power consumers (this is because consumers can not be connected to more than one power grid at the same time).
+
The '''battery''' is an electric device that stores power to use when needed.
 
 
Just like the other power producing buildings, a battery '''acts as a power conduit''' on the 2 tiles it covers.
 
 
 
Installed batteries '''can not be switched off manually'''.  As long as at least one consumer is connected, the battery will provide power during a deficit, and also be vulnerable to the short-circuit event.
 
 
 
Installed batteries '''need to be kept dry'''.  If outdoors, a roof has to be built over the tiles occupied by the battery.  If a battery becomes wet (either due to rain or snowfall), there is a very high chance of a short circuit, causing and explosion and fire damage (possibly spreading to adjacent batteries and connected devices).
 
  
Damage to a battery does not change it other properties and does not lose charge (eg. a 1 hitpoint battery has the same capacity and wattage as a 100 hitpoint battery).
+
== Acquisition ==
 +
{{Acquisition}}
  
[[File:Zero_conduit_freezer.jpg|300px|thumb|right|The batteries in this setup connect directly to the wind turbine and the attached coolers, without any power conduits. This completely avoids the random short circuit event ("Zztt...") in this power network.]]
+
==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.
  
== Batteries as power providers ==
+
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.
As a power provider, the battery behaves just like any other power source in the game (eg. generators or solar panels), but each battery will deliver an unlimited amount of power. This means that any ''wattage'' can be delivered until the battery is completely discharged. It makes the battery not only convenient as buffers for wind turbines and solar panels, but also to cover arbitrary spikes in power usage, usually caused by turret arrays and other heavy power consumers that are only brought on-line sporadically.
 
  
If more than one battery is on the same power grid, all batteries with remaining charge will share the power load evenly.
+
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.  
  
The maximum amount of charge provided is 600 Wd (''watt-days''). Discharge time only depends on the power that is drawn.  Eg. if exactly 595 W were drawn, a single battery would last exactly 1 in-game day (5 W of self-discharge have to be added).  If only 295 W are drawn, it lasts for 2 days, etc.  The maximum power draw is unlimited, so it is – theoretically – possible to empty a full battery in 1 tick of game time (instantly).
+
===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.
  
A disconnected battery will discharge at a rate of 5 W. This means that a fully charged battery can be stored for 120 days (1 in-game year) until depleted.
+
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.
  
== Charging ==
+
== Analysis ==
A battery will automatically keep charging while it is connected to a power grid with excess power available. Selecting the battery will show the current charge status in the information window.
+
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.
  
All batteries in a power grid will evenly share the excess power for charging, but can only use half of it.  This means that the charging efficiency is 50%; in other words, to fully charge an empty battery, 1200 Wd of energy have to be provided, as well as 5 W extra to cover the self-discharge.
+
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.
  
As an example, connecting an empty battery to a power grid with exactly 1205 W of available power will charge it to full in exactly 1 in-game day. If more power were available, charging would complete more quickly. 5 W of charging power would keep the battery at exactly the present charge level.
+
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.
  
== Constructing, moving and storing ==
+
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.
Batteries behave exactly like other furniture items in the game: they have to be constructed on solid terrain, using the construction skill. It takes 14 work units to build, and can be done even at construction level 0.
 
  
After construction, they can be uninstalled like furniture, and then moved to storage, taken to a character's inventory or on a caravan. Uninstalling and reinstalling does not cause additional charge loss, beyond the 5 W of self-discharge that always applies.
+
===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.
  
It is possible to take charged batteries on caravans as a power source for camps and newly founded colonies.
+
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.  
  
Batteries that are not installed can be stored in the open, also in rain or snowfall, as they can not short circuit.  Like other furniture, they are not subject to ''decay''.
+
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===
'''Batteries are very likely to explode in rain  and snowfall'''. This can be completely avoided by keeping installed batteries under a roof; keeping them indoors is not necessary. The resulting explosion will not cause any discharge, but it will heavily damage the battery, and possibly surrounding structures as well, also causing a fire.
+
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.
  
'''Batteries make the [[Events#Faulty Conduit Explosion|short circuit]] event ("Zztt...") more dangerous:''' all affected batteries will instantly discharge, causing an explosion in addition to the fire that is normally caused by the event. The more batteries are connected, the large the explosion.  ''Note that the event is unrelated to batteries'' – it can still happen if no batteries are connected, but will then only cause a small fire and no explosion.  Empty batteries will not affect the event.
+
== Version history ==
 +
* [[Version/0.0.245|0.0.245]] - Charged batteries now explode while burning.
  
To mitigate the hazard from the ''short circuit'' event, batteries can be intermittently disconnected from the grid, and only brought online on demand.  Note that for this measure to be effective, ''not a single power conduit must be on the disconnected power grid''.  The short circuit event is related to the [[power conduits]] – '''if no powered conduits are on a network, the event can not occur on this network'''.  So in order to effectively protect the batteries, a [[power switch]] must be placed ''directly adjacent'' to the battery array, with no other power conduits directly connecting to the batteries.  It is also possible to place the batteries adjacent to a power generator, and then decouple the generator with a switch – again, no power conduits can be behind the switch.
 
 
Battery performance is not affected by temperature, but like many other structures they are highly flammable and may catch fire if the surrounding temperature is very high.
 
 
== Strategy ==
 
Batteries are useful in most colonies, even if the colony does not rely on unstable power sources like [[solar panel]]s and [[wind turbine]]s.
 
 
If only renewable energy is used, at least one battery is mandatory, because sufficient power supply can never be guaranteed.  Solar panels produce no power during the night and during an eclipse, and wind turbines are completely unreliable.  If the colony has no other backup power source, it is highly recommended to keep some additional batteries behind a [[power switch]] on a separate network (see ''Hazards'' above), so they can be brought online in the case of a ''short circuit'' event.
 
 
Alternatively, some batteries can also be stored in a warehouse, and then placed down anywhere on the power grid on demand.  This makes switches unnecessary.
 
 
Even in colonies that do not use wind or solar energy, batteries are useful to cover spikes in power usage, usually caused by turret arrays and devices like crematoriums, smelters and mineral scanners that are only brought online intermittently.  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 that would cover this, even a single charged battery can power this entire setup for more than 4 in-game hours.  An array of 5 batteries can power the defenses for an entire in-game day.  The battery array should be isolated with two power switches from the security grid and main power grid.  This makes it then also very easy to power the entire setup with a single switch, as well as keep the batteries safe from the ''short circuit'' event.
 
 
</onlyinclude>
 
 
{{nav|power|wide}}
 
{{nav|power|wide}}
[[Category:Buildings]]
 
 
[[Category:Power]]
 
[[Category:Power]]
 +
 +
</noinclude>

Latest revision as of 21:09, 25 September 2024

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 (21%)

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 constructed once the battery research project has been completed. Each requires Steel 70 Steel, Component 2 Components and 800 ticks (13.33 secs) of work modified by the construction speed of the builder.

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.