Barotrauma

Barotrauma

Not enough ratings
(HECABPAS) Hybrid Energy Compensating Automatic Backup Power Array System V.2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
112.981 KB
2 Jan, 2023 @ 3:13pm
25 Feb, 2023 @ 8:55pm
4 Change Notes ( view )

Subscribe to download
(HECABPAS) Hybrid Energy Compensating Automatic Backup Power Array System V.2

Description
the Hecabipas :D is my attempt at an automatic backup power array that ended up also working as an energy compensator. Since last revision I made sure to install a built in reactor to help out with the wiring on this messy over engineered system so its way easier to install now! To install it in a sub there are just a couple of things you have to do.

0. Be sure to mark out a spacious area to fit this thing and when pasting, do it outside the sub to avoid confusion
1. Hook up the right-most relay component's power_out into the power of a junction box that you may use to distribute power to the rest of the sub
2. Done

This system uses the temperature_out of the reactor to check if the reactor is shut off in case it needs to switch fuel or it breaks. I tested this using a relatively heavy power consumption rate so you may need to adjust the right-most memory component to match the lowest-but-not-too-low dip in temperature your reactor may deal with during startup or regular gameplay if it ends up being relevant, but that shouldn't be an issue. (Default value is 3000)

The rest is just a little bit of math to figure out how much energy the system needs and outputing exactly how much it needs from the power array, an some cosmetic stuff that I used for debugging.
7 Comments
Tchrynka  [author] 26 Feb, 2023 @ 7:22am 
Hi ProfWisteria! It is necessary to lower the memory temperature whenever the lowest temperature when starting up the reactor is lower than the current memory value. If your sub idles at 2250, you'll have to lower it a lot more since it'll essentially turn the system into a glorified AA battery

My suggestion to do this properly is to hook up the temperature_out into a text display, turn off your reactor, wait for it to completly shut off, then turn it back on and wait for it to idle while taking note of the first dip the autoreactor does to try to stabilize everything. The lower your idle temperature the closest this value will be to your idle since there isn't enough power to require the built in autoreactor to overcompensate and undercompensate when turning on.

And given my tests used a dummy system that idled at 5000 my estimation is that your memory temperature should sit somewhere around 1350. But you should to the testing yourself and fine tune it to fit your needs
ProfWisteria 25 Feb, 2023 @ 10:50pm 
Hi Tchika! Thank you for the update to your mod! I spent quite a few hours trying to make the original design work better, and this one seems to be working well.

A question I have is when would you lower the memory temperature? My current ship idles at 2250. Is it best to adjust the temperature memory to something lower?
Tchrynka  [author] 25 Feb, 2023 @ 8:41pm 
Hey konserw! I'm glad you took interest in my project! I've just now released an update that fixed a few clarification and functional issues the mod and the mod page itself had so you should have a significantly easier time wiring the thing up.

And to answer your question. I check the reactor temperature because its the most universally static and non-variable way of measuring a reactor's activity. At the end of the day, this system of checking temperature to see if the reactor is manually turned off or out of fuel (emergency power mode) uses different logic than the power compensating system that just fills out the difference between the load and the power of the sub's systems due to a very key difference. One just fills out the difference while the other tries to shut off the input into the backup array.
Tchrynka  [author] 25 Feb, 2023 @ 8:41pm 
This is to avoid the backup power system feeding at least 2000kw to itself when that energy should probably be doing something else. And using power to check manual deactivation or fuel depletion can mean potential false positivesin some edge cases (that aren't that uncommon since I AM talking about "random" power outages or damage junction boxes that might affect how much actual power you may be drawing from the reactor and in direct relation to that, its power, so you will end up having to deal with unecessary undervoltage issues if false positives occurr every single fucking time you fix a juncion box). And also you need to recalibrate the lowest-but-not-too-low dip in power it for every individual sub you make when checking for power, when instead you could just plug in 3k kelvin and you'll be fine for whatever project you are working on
konserw 22 Jan, 2023 @ 2:52pm 
Hi! Could you please show example of how it should be wired? I think i'm doing something wrong or don't understend how it should work ;)
BTW why check reactor temperature and not power value ?
chiasouto 3 Jan, 2023 @ 5:08am 
very good, works good
Iamp 2 Jan, 2023 @ 3:22pm 
krl as caixas