Barotrauma

Barotrauma

149 ratings
Magic Reactor Controllers (NERFED BY DEVS)
5
2
2
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
103.561 KB
14 Nov, 2021 @ 12:07pm
25 Feb, 2022 @ 9:27am
10 Change Notes ( view )

Subscribe to download
Magic Reactor Controllers (NERFED BY DEVS)

Description
In this mod you will find:
A submarine file containing pre-wired assemblies for new-style Magic Reactor Controllers for your learning pleasure.
Focusing on ease-of-installation for missions and fuel efficiency and other upgrades for campaigns.
~~~~~~~~~~~~~~~~~~
Automatic Reactor Controllers!
~~~~~~~~~~~~~~~~~~

You know of them, you've seen them, and perhaps even wired some up yourself!

PIDs, Reactor Maximum Outputs, Fuel Coefficients, Basic Arithmetic!

You can forget all of that!

Because with Magic Reactors, you'll only need 2 components, that's right! TWO COMPONENTS. 5 Wires. And a Screwdriver.

Set it up in 15 seconds!

They will work on ANY reactor, regardless of the reactor's configuration, or its fuel configuration. You don't need to know a thing about the reactor you're connecting it to.

It turns up the power FAST.


It turns down the power EVEN FASTER. Will virtually NEVER damage junction boxes, no matter how hard your captain throws his joystick around!



And the rest, is optional.

~~~~~~~~~~~~~~~~~~
The Controllers
~~~~~~~~~~~~~~~~~~


ARCS:
2C - Simple and Elegant, the essential ARC that Just Works (magic!)

1C - Even simpler, situationally usable

4C - Combines Fast response time with fuel efficiency¹



7C and 12C with additional features, and other ARCs on my OnlySubs! Err, I mean, in the sub file.

¹ Fuel efficient circuit reduces the fuel use to the absolute minimum while still maintaining power output. The reactor won't be able to increase power output as fast, but power decrease/overvoltage protection is unaffected. Highly recommended for campaigns.

~~~~~~~~~~~~~~~~~~
How does it work?
~~~~~~~~~~~~~~~~~~


OK, but how, actually?

So, there's two components. Greater Than, RegEx Find.
The Greater than compares the reactor's Load to its Power. If the load is higher than the power, the controller sets the turbine to 100. Otherwise, it sets it to 0.
The RegEx Find checks if the reactor's Temperature is between 0 and 4999. If it is, it requests the fission rate of 100. Otherwise, it sets it 0. The exact expression is ^[1-4]?.?.?.$

But wouldn't this constantly result in over- and under-volting?

The reactor can only change its settings oh-so-fast, and the rapid setting changes averages the settings at around the correct value, intuitively.

Beautiful, isn't it?

For more, look up "bang-bang controller", "2-step controller", "on-off controller" on the internet.
~~~~~~~~~~~~~~~~~~
Testimonials
~~~~~~~~~~~~~~~~~~

"WTH is this magic" - Doge the Biologist
"I kind of hate that this works, thanks" - Diji
"We need to nerf that" - Devs (not confirmed)

~~~~~~~~~~~~~~~~~~
Acknowledgements
~~~~~~~~~~~~~~~~~~
This work derives from late night shenanigans, posting for ♥♥♥♥♥ and giggles, previous research on reactor functionality.
See DIY Reactor Controllers for previous generation/smooth style ARCs

@Kwogger @Astraltor @WorkingJoe @Ecchi'ki Senpai @RandomKnight


~~~~~~~~~~~~~~~~~~
Outro
~~~~~~~~~~~~~~~~~~


If this gives you strong feelings (awe, shock, disgust, confusion, happiness, love, loss of sense of taste or smell), consider joining the Barotrauma Discord and saying hello in #baro-sub-building!

https://discord.gg/undertow

@Kwogger @Astraltor @WorkingJoe @Ecchi'ki Senpai @RandomKnight

93 Comments
Aether 31 Oct, 2023 @ 9:22am 
Devs made it so that wires and components couldn't instantly move the sliders and as such instantly affect the reactor.

So its just slower and with a habit of overcompensating and under-compensating.

Still faster than the default automatic reactor control, but not as fast as a player, or as before.
Thrice 31 Oct, 2023 @ 9:07am 
So.... how was this nerfed?
Snowythefox 27 Apr, 2023 @ 4:11pm 
I run a 4 memory 5 divide one greater then for my reactor and it runs it well
even with 4 of the highest fuel
OcN.Helbrecht 23 Apr, 2023 @ 1:33pm 
I am using the 6C and my reactor catches fire a lot.
EvilAsh110[ATC!] 20 Nov, 2022 @ 9:14pm 
So what's the word on this? Still a good idea to use?
SpeedKiller.txt 23 Oct, 2022 @ 6:08am 
i guess updates made this obsolete? kinda sad :cleandino:
Aether 6 Oct, 2022 @ 3:51pm 
Still twice as fast as the regular autocontrol? Nice.

And it still keep the efficiency & undervoltage stuff
Lightning  [author] 6 Oct, 2022 @ 11:01am 
super nerfed by devs. there will be some modifications but the circuit will limited to the max change rate set by devs: 5%/second for circuit (2.5% for regular auto control, no limit for manual?)
party_rocker™ 5 Oct, 2022 @ 9:58am 
the update broke them, when is a fix coming out?
Shibboleth 7 Jul, 2022 @ 8:51am 
Using the 3C setup, the Signal Check Component is supposed to have an empty output. I cannot achieve this, every time I try to leave it empty it defaults to 80. What do?