Welcome to our Barotrauma Stabilised Battery Charging guide. 100% charge rate when battery is empty. 0% charge rate when battery is full. Qualification: 1st grade math. This guide will show you everything you need. We know that there are people who have a hard time finishing the Barotrauma game. If you are one of those who find it difficult to finish the game, let’s take you to our Barotrauma guide.
Barotrauma Stabilised Battery Charging
100% charge rate when battery is empty. 0% charge rate when battery is full. Qualification: 1st grade math
The Setup
^ Look at the green wire, this output from the battery carries a value from 0 to 100. Depending how charged the battery is. Carry this output to our Subtractor component input2.
^ This memory component simply stores a value of 100 (or better 110, read at the end why) you have to set this value by yourself, consult image, look at where my cursor is. Carry its output to Subtractor component input1.
^ It is not visible, but subtractor component simply performs following formula: input1 – input2 = output. Send this components output back to our battery to set the batteries carging rate (consult first image).
Lets test with some numbers:
- If battery is 80% charged -> 100 – 80 = 20 -> Battery charge rate will be 20%
- If battery is 6% charged -> 100 – 6 = 94 -> Battery charge rate will be 90% (because charge rate can be set only in 10ths)
Where is this practically useful ? It is not apparent immediatelly, but if you consider time in the equation, this helps with stabilising your load as your batteries wont suddenly require 2kW across the entire sub in load, neither will it suddenly stop requiring such load. The load across the sub will be stable as the demand increases or decreases. All that with a very simple solution.
Tip: Create 1 such battery and then copy paste the solution together with components if you plan to add many batteries, the configuration of all components is saved when you copy/paste.
UPDATE:
- you might want to set the memory value to 110.
- Why ? Well, when battery is fluctuating between 99.9% and 100% charged it is turning on and off constantly. This can be annoying as it is causing flickering in various displays that show load across the sub.
- If memory value is 110, no fluctuation will happen because all batteries will simply remain at 10% charge rate even if they have that edge case where some charge is lost and then immediatelly regained.