Actions

Difference between revisions of "Kit (Battery)"

From Unofficial Stationeers Wiki

m (fixed value of storage)
m (Change Logic to Data Network in bugs section)
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
<translate>
 
<translate>
 
<!--T:1-->
 
<!--T:1-->
{{Infobox
+
[[Category:Data Network]]
  | title = Kit (Battery)
+
{{Itembox
  | image = [[File:{{#setmainimage:ItemKitBattery.png}}]]
+
  | name        = Kit (Battery)
  | label1 = Machine
+
  | image       = [[File:{{#setmainimage:ItemKitBattery.png}}]]
| data1 = {{{Machine|[[Fabricator]]}}}
+
  | createdwith = [[Electronics Printer]], [[Fabricator]]
  | label2 = Energy Storage
+
  | cost        = 20g [[Gold Ingot|Gold]], 20g [[Copper Ingot|Copper]], 20g [[Steel Ingot|Steel]]
| data2 = {{{Energy Storage|3600000W(3.6MW)}}}
 
| label3 = Materials
 
| data3 =
 
*[[Gold]] - 20g
 
*[[Copper]] - 20g
 
*[[Steel]] - 20g
 
 
}}
 
}}
 +
{{Structurebox
 +
| name      = Stationary Battery
 +
| image    = [[File:Kit (Battery) installed.png|thumb|Kit (Battery) Installed]]
 +
| placement = Small Grid, on frames
 +
| dectool  = [[Hand Drill]]
 +
}}
 +
 +
== Description == <!--T:2-->
 +
[[Kit (Battery)]] is used to create stationary battery cells, which can provide big and stable energy storage or energy buffer for your power needs.
 +
 +
== Usage ==
 +
As a battery's power throughput is only limited by the power demanded and supplied, it can take any amount of power and supply any amount of power. This means that it can exceed the ratings of even heavy cables. Due to their unlimited throughput,''' connecting a battery's output to another battery's input will act like a short circuit'''.
  
<!--T:4-->
+
Additionally it is advised to follow these rules:
<includeonly>
+
# '''Never shortcut any battery''' - no loops!
[[Category:Items]]
+
# To build a cascade of batteries (e.g. a stationary battery near solar panels and an APC at base power input), separate networks with transformers.
</includeonly>
+
# Prefer a tree-like (or star-like) scheme of power supply over chain (cascades). It is better to have a battery on each of separate subnets (ex. production floor and gas processing floor), even if you will not use its full potential.
 +
# Always separate electrical networks with power generation (solid generators, solar panels, etc.) and power consumers. Do it with batteries and APCs. Rule of a thumb: input - generators only, output - consumers only.
 +
# Never connect a solid fuel generator to a battery using standard cables - only use heavy cables. A battery will make a generator produce full power - 20 000 W which is 4 times greater of that standard wire can pass through.
 +
# When making major changes of a power network (especially a very spread one), always take out batteries from APCs or just cut the cables connecting the batteries with that network (input and output) - it can save a lot of cables from burning.
  
== Description == <!--T:2-->
+
== Data Network Properties ==
 +
These are all [[:Category:Data Network|Data Network]] properties of this device.
 +
 
 +
=== Mode Values ===
 +
This shows the values of the "Mode" property, mapped to what the display will show.
 +
{| class="wikitable"
 +
|-
 +
! Value !! Display
 +
|-
 +
| 0 || no blocks
 +
|-
 +
| 1 || 1 block, red, blinking
 +
|-
 +
| 2 || 1 block, red
 +
|-
 +
| 3 || 2 blocks, orange
 +
|-
 +
| 4 || 3 blocks, yellow
 +
|-
 +
| 5 || 4 blocks, green
 +
|-
 +
| 6 || 5 blocks, blue
 +
|}
  
<!--T:5-->
+
=== Data Parameters ===
[[Kit (Battery)]] is used to create stationary battery cells, which can provide big and stable energy storage, or energy buffer for your power needs.
+
These are all parameters, that can be written to with a [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] or a [[Kit_(Logic_I/O)#Batch_Writer|Batch Writer]]. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| Mode || Integer || Expects values 0-6. Setting this, will let the charge display of the Battery show the according charge value for about a second. Afterwards it will switch back to showing the actual charge value. This influences the "Mode" output as well. (See [[#Mode_Values|Mode Values]].)
 +
|-
 +
| Lock || Boolean || Locks the Battery, when set to 1. Unlocks it, when set to 0.
 +
|-
 +
| On || Boolean || Turns the Battery on, when set to 1. Turns it off, when set to 0.
 +
|}
  
== Obtaining == <!--T:3-->
+
=== Data Outputs ===
 +
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]]. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| Mode || Integer || Returns the current charge display value as a value in the range 0-6. (See [[#Mode_Values|Mode Values]].)
 +
|-
 +
| Error || Boolean || Returns whether the Battery is flashing an error. (0 for no, 1 for yes)
 +
|-
 +
| Lock || Boolean || Returns whether the Battery is locked. (0 for no, 1 for yes)
 +
|-
 +
| Charge || Integer || Returns the current charge of the Battery in watts.
 +
|-
 +
| Maximum || Integer || Returns the maximum charge of the Battery in watts.
 +
|-
 +
| Ratio || Float ||  Returns a range from 0.0 to 1.0. Returns the current charge percentage of the battery.
 +
|-
 +
| PowerPotential || Integer || Returns the current power potential at the input of the Battery in watts.
 +
|-
 +
| PowerActual || Integer || Returns the amount of power, currently being output by the Battery in watts.
 +
|-
 +
| On || Boolean || Returns whether the Battery is currently on. (0 for no, 1 for yes)
 +
|}
  
<!--T:6-->
+
== Bugs ==
This item is created in [[Fabricator]] using 20g of [[Gold]], [[Copper]] and [[Steel]].
+
*  The Data Network properties are accessible from all cable connectors.
 
</translate>
 
</translate>

Revision as of 08:00, 8 April 2018

Kit (Battery)
ItemKitBattery.png
Recipe
Created With Electronics Printer, Fabricator
Cost 20g Gold, 20g Copper, 20g Steel
Stationary Battery
Kit (Battery) Installed
Construction
Placed with {{{placed_with_item}}}
Placed on {{{placed_on_grid}}}

Description

Kit (Battery) is used to create stationary battery cells, which can provide big and stable energy storage or energy buffer for your power needs.

Usage

As a battery's power throughput is only limited by the power demanded and supplied, it can take any amount of power and supply any amount of power. This means that it can exceed the ratings of even heavy cables. Due to their unlimited throughput, connecting a battery's output to another battery's input will act like a short circuit.

Additionally it is advised to follow these rules:

  1. Never shortcut any battery - no loops!
  2. To build a cascade of batteries (e.g. a stationary battery near solar panels and an APC at base power input), separate networks with transformers.
  3. Prefer a tree-like (or star-like) scheme of power supply over chain (cascades). It is better to have a battery on each of separate subnets (ex. production floor and gas processing floor), even if you will not use its full potential.
  4. Always separate electrical networks with power generation (solid generators, solar panels, etc.) and power consumers. Do it with batteries and APCs. Rule of a thumb: input - generators only, output - consumers only.
  5. Never connect a solid fuel generator to a battery using standard cables - only use heavy cables. A battery will make a generator produce full power - 20 000 W which is 4 times greater of that standard wire can pass through.
  6. When making major changes of a power network (especially a very spread one), always take out batteries from APCs or just cut the cables connecting the batteries with that network (input and output) - it can save a lot of cables from burning.

Data Network Properties

These are all Data Network properties of this device.

Mode Values

This shows the values of the "Mode" property, mapped to what the display will show.

Value Display
0 no blocks
1 1 block, red, blinking
2 1 block, red
3 2 blocks, orange
4 3 blocks, yellow
5 4 blocks, green
6 5 blocks, blue

Data Parameters

These are all parameters, that can be written to with a Logic Writer or a Batch Writer. The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description
Mode Integer Expects values 0-6. Setting this, will let the charge display of the Battery show the according charge value for about a second. Afterwards it will switch back to showing the actual charge value. This influences the "Mode" output as well. (See Mode Values.)
Lock Boolean Locks the Battery, when set to 1. Unlocks it, when set to 0.
On Boolean Turns the Battery on, when set to 1. Turns it off, when set to 0.

Data Outputs

These are all parameters, that can be read with a Logic Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Mode Integer Returns the current charge display value as a value in the range 0-6. (See Mode Values.)
Error Boolean Returns whether the Battery is flashing an error. (0 for no, 1 for yes)
Lock Boolean Returns whether the Battery is locked. (0 for no, 1 for yes)
Charge Integer Returns the current charge of the Battery in watts.
Maximum Integer Returns the maximum charge of the Battery in watts.
Ratio Float Returns a range from 0.0 to 1.0. Returns the current charge percentage of the battery.
PowerPotential Integer Returns the current power potential at the input of the Battery in watts.
PowerActual Integer Returns the amount of power, currently being output by the Battery in watts.
On Boolean Returns whether the Battery is currently on. (0 for no, 1 for yes)

Bugs

  • The Data Network properties are accessible from all cable connectors.