Barotrauma

Barotrauma

DIY Reactor Controllers
79 Comments
Paladin Val Apr 28 @ 11:13am 
https://steamcommunity.com/sharedfiles/filedetails/?id=3472306973

This is a Circuit Box and image of the wiring for the 7 component variant that works.
CoolHacka Oct 31, 2024 @ 11:29am 
Still works perfectly fine on 1.6, checked
Pieegee Jul 9, 2024 @ 11:19am 
the newest update screwed up with the reactors
Nugut Mar 12, 2024 @ 12:18am 
Im having issues getting the 5 component to work idk where you'd input the max_power and anything i tried both has the reactor run really cold and really unresponsive
Timmik Jan 6, 2024 @ 11:57am 
easy adjust for current baro

replace memory component for fission efficiency (the one set to 75) with RegEx.

set continues output
true - 75
false - some lower number, using 50 by myself for now, maybe can be set better

connect reactor temperatures as input, output same as mem component it replaces
set regex ^[1-4]?.?.?.$
it will lower fission when reactors goes above 4999 temperature.

It may require some retune for best efficiency and still not trying to add 3 rods at once, but it mitigates overtemperature scenarios really well
CLove511 Aug 15, 2023 @ 3:36pm 
5-comp controller works wonderfully, just make sure you actually have your wires going to the correct spots and "Automatic Control" off. Thought it was broken, turns out I had one connection backward.
Wolviller111 Mar 20, 2023 @ 3:03pm 
@Shynd I really don't get how you are supposed to make it work in the new version. Can someone explain in more detail?
Lumberjack Mar 19, 2023 @ 8:44pm 
The 5 component reactor seems to work well if you leave out the "Fuel Out" connection from the lower divide component. I am able to drop fuel rods in at will without issue and the reactor runs efficiently.
Shynd Feb 22, 2023 @ 10:16pm 
I made this work for 1.0 Pre-patch by adding three components: 1x Memory Component, 1x Greater Component, and one Multiply Component. Use the Memory Component to set your fuel temperature cutoff (I use 5000). Compare the fuel temp from the reactor with the Memory Component output using the Greater Component: if fuel_temperature output is greater than 5500, output 0 (need to set False output); else output 1. Then use the Multiply Component to multiply set_fissionrate by either 1 to continue or 0 to back off.
Aco Jan 8, 2023 @ 12:35am 
The 5 component still works, just need to add a temperature dependent "switch" to prevent overheating when adding more rods to the reactor that is already running. It should take 3 more components, one memory, one greaterthan, and one more divide should do the trick.
Doom Jan 5, 2023 @ 6:12am 
Just FYI, this no longer works as they changed the formula for the reactor output to be dependent on the load.
EvilAsh110[ATC!] Dec 4, 2022 @ 7:15pm 
Could someone smoothbrain explain how to wire the five component reactor controller? I'm dumb and also don't understand the color coding
Padex Nov 17, 2022 @ 5:16am 
Nvm it was me being stupid, they work
Padex Nov 15, 2022 @ 4:18pm 
@wojket'o My custom subs always had the 5 reactor controller and they worked finebefore the update, I did not change anything.

Yet it seems broken for me, even rebuilding it doesnt seem to work.
Wojtek'o Nov 2, 2022 @ 12:57am 
@Instant that's not what Max power is for. Max power is the powr limit of that subs reactor before critical. It's in the wiki if want to know more.
Wojtek'o Nov 2, 2022 @ 12:54am 
@Padex double check your 5 compent controller set up, i was using that one till our crew upgraded the sub and i went and redid a 7 component controller which also works just as well.
Padex Nov 1, 2022 @ 6:19am 
For me the 5 copmponent circuit totally broke after the last update. Now it just cranks both fission rate and turbine output all the way up. ANy idea on how to fix that?
Legion495 Oct 26, 2022 @ 1:37am 
Will this get updated for the new update?
Instant Oct 16, 2022 @ 4:41pm 
How to get the "Max Power" isn't correct, because power output now depends on load,
Exemple: reactor with max power 20`000, set_turbine = 10,
when load = 0, power = 1800,
when load = 10`000 power = 2200.
data same regardless of ruel rod (only if temperature stable and enough)
all tests was in subeditor mode
PCDragon Oct 7, 2022 @ 4:10pm 
Fast, simple and efficient. b
Tried the 5C and although slower, still works fine even after the update.(and I had JUST discovered and installed it..:steamfacepalm: whatever)
If you, like me, can't seem to make it work, remember that in the DIV component Output is Input1/Input2, and connect wires accordingly.
wantedsafe471 Oct 7, 2022 @ 12:25am 
Apparently the 5 component ARC still works fine, a little slower but still much better than leaving the reactor on auto mode.
Quill Oct 6, 2022 @ 5:47pm 
Does anyone know how well Reactor Controller works after the update?
Box Admiral Aug 7, 2022 @ 3:30pm 
Try fiddling with the Efficiency value, raising it above 100
SeaverBeaver Aug 7, 2022 @ 2:01pm 
First of all, fantastic circuitry.

I've got a question though-

I've been fiddling with the 7-Component reactor control, trying to make it less efficient. Currently, its always in the red, operating at the lowest temperature it can to save fuel. Is there any way to up the fission rate so it... well... doesn't do that? Or at least is in the green more?

Moving the Fission Efficiency value higher doesn't seem to do the trick, at least not without overloading the reactor.
DragonReborn Apr 24, 2022 @ 6:17am 
For the love of God i couldnt figure out why it doesnt work for me.
The decimal is a ".". If u set with colon, it wont work. Eg. my max power/100 was "38.5" and not "38,5"
(For people from other countries)
Renko Apr 16, 2022 @ 3:16am 
First, this controllers are awesome, and you're awesome.

Second, I would advise changing this mod description to at least include the word "autoreactor" once, so it is easier to find on the workshop ;)
ohno Apr 15, 2022 @ 12:14pm 
5 component controller dosent work for me
lufeeeee Apr 11, 2022 @ 1:15am 
Thanks for this build!
one note - if you accidentally wire set turbine and set fission the oppositely, the reactor works fine with normal fuel, but only with one rod. Big boom otherwise
LuckyDude Feb 23, 2022 @ 8:55am 
If you use 5 component and it doesn't work after adjusting MAX_POWER memory component that means you connected some components in wrong way or forget to limit 0,100 in one component. You need to check it twice and you will found your mistake.
Also check that it works correctly with two and more fuel rods. I once connected some components in wrong way and it works correctly with one fuel rod but overloads engine with two fuel rods. It should work with more than one fuel rod without a problem.
Microsoft Excel Jan 1, 2022 @ 11:20pm 
Good guide, thanks!
MakerMacher Dec 21, 2021 @ 8:01am 
Appreciate the tutorial man, this will help my understaffed crew out!
ignis  [author] Dec 10, 2021 @ 5:16am 
The only thing that needs to be set up in the 5 component variant is the reactor's max power divided by 100 in the green memory component. Then it will work with any types of fuel rods with no further adjustments.
Microsoft Word Dec 9, 2021 @ 11:21pm 
hey, I am using thorium fuel rod in the reactor in my friend campaign with the 5 component, but it seems to overheat all the time, is there any value i need to change while using the thorium fuel rod?
I found by increasing the "75" magic number seems to solve things just right but my 3 brain cells refuse to understand the math...
ignis  [author] Nov 20, 2021 @ 6:25am 
Yes, you should adjust the value when upgrading reactor's max power, however in most cases the difference is small enough that not updating the value won't outright break the controller, just make it provide a bit less power.
I've added a section with answers for your other questions.
Banäne Nov 20, 2021 @ 5:01am 
How do i know the Max Power output from the Sub Reactor, if i don't open it in the Editor and read it out?
And if i upgrade the Reactor Power in Campaign, do i have to change that value and how do i know how much?
Werda Kad Nov 18, 2021 @ 12:23pm 
Just started playing Barotrauma, and this setup is so cool! Solves so many problems I've had as an engineer. I'm curious what everybody's experience with charging batteries has been. It seems my batteries still drain to 0% with the 5 component setup. To resolve that I just added an adder component between the load_value_out and the first divide component. I have a memory component connected to the adder that just adds 100 or 200 to the load_out. This way the reactor is always providing slightly more power than necessary in order to keep the batteries charged.
Orange Joe Nov 10, 2021 @ 6:46pm 
I'm too mentally disabled to understand all this but thanks for the bitchin reactor controller.
MERG! Nov 4, 2021 @ 3:35pm 
Any time brother, happy engineering
Elin Oct 31, 2021 @ 1:37pm 
@MERG!

Thank you very much!
MERG! Oct 31, 2021 @ 11:27am 
@wolf @CaHHeKK,

FUEL_OUT to INPUT 1 on bottom divider
75 MEM to INPUT 2 on bottom divider
LOAD_VALUE_OUT to INPUT 1 on top divider
MAX Power / 100 to INPUT 2 on top divider
Value out on top divider to INPUT 1 on middle divider
Value out on top divider to SET_TURBINEOUTPUT on reactor
Value out on bottom divider to INPUT 2 on middle divider
Value out on middle divider to SET_FISSIONRATE on reactor

That should be how you wire it up. Think of it in terms of the equations stated
ignis  [author] Oct 27, 2021 @ 3:47pm 
When you subscribe to this item and enable it in the settings, you will be able to open "DIY Reactor Controllers" submarine in the submarine editor, which has all of the variants set up and wired so you can precisely examine how they work.
Elin Oct 27, 2021 @ 3:08pm 
Hey there,
I'm trying to build the 5-component-controller, but I don't understand where to connect the cables. Is there a guide that actually shows which in- or output is used for each connection?
CaHHeKK Oct 23, 2021 @ 4:20pm 
can you tell me in more detail how to use this formula for 5 components, I'm a new player, I can't understand at all what is calculated from what, you can please calculate using the example of a standard ship
Wrathinside Oct 7, 2021 @ 1:01pm 
@Reznor - I copied the .sub file from Mods folder(in the game folder in steamlibrary) to the Submarines folder and it showed up.
DmitriTheDemon Sep 21, 2021 @ 4:15am 
Do not see DIY ship in editor after subscribing
Box Admiral Aug 21, 2021 @ 5:55pm 
while you're at it, you will probably figure out which is connected wrong
Box Admiral Aug 21, 2021 @ 5:55pm 
I have no clue which memory is connected to what divide, so we cannot correctly diagnose your problem. identify them with numbers or something so we can tell exactly how it's connected
Roger Wilco Aug 21, 2021 @ 8:01am 
tried the 7 component reactor with the below settings, I copied the exact build from the submarine editor on the Typhoon 1, and no matter what I do the reactor goes too low, or too high. Im going to try the 5 component next
Roger Wilco Aug 21, 2021 @ 8:01am 
Top:
Memory Component - Value 100
Signal Out - Multiply Component (signal in 2)

Mult Component - Settings unchanged
Signal 1 - Divide Component (signal out)
Signal 2 - Memory Component (signal out)
Signal Out - Divide Component and Reactor (Set_Turbineoutput)

Divide Component - Settings Clamp Max 1; Clamp Min 0; Time Frame 0
Signal 1 - Reactor (Load Value Out)
Signal 2 - Mem component (Signal out)
Signal Out - Multiply Component (Signal In 1)

Middle:

Divide Component (Left)- Settings unchanged
Signal 1 - reactor (Fuel Out)
Signal 2 - Memory Component (Signal out)
Signal Out - Divide Component (signal in 2)

Divide Component (Right)- Settings unchanged
Signal 1 - Multiply Component (signal out)
Signal 2 - Divide Compoent (signal out)
Signal Out - Reactor (set fissionrate)

Memory Component - settings depend on sub aka Typhoon is 5000
Signal Out - Divide Component (signal in 2)

Bottom
Memory Component - Value 75
Signal Out - Divide Component (Signal in 2)
ignis  [author] Aug 20, 2021 @ 9:43am 
Subscribe to this mod and enable it in game's setting and you will be able to enter submarine editor and open "DIY Reactor Controllers" submarine with all of those setups wired.