I came in to learn and understand how does reactor controls work, and how to stop it from bursting into flames every time I touch it. I came out as a senior freaking techpriest, with forbidden knowledge on how to trip this radioactive hunk of junk into controlling itself. Great job m8, I came looking for copper but I found gold.
@@sleepysheep792 It's not working anymore because now the sliders have a constant speed if control by signals (components). The pid controller was based on the needle that would go faster the bigger the difference is between the needle and the slider. The only way to moove the sliders faster is to do it manualy now. :(
Wait, I am in the right place yeah? I came here looking to understand a game, is this a crash course on how to operate a real nuclear sub?! Excellent video man.
I swear, you have to be a real life engineer for this shit. The other day me and a random beginner were messing about and an experienced one came on and did like a better and automated reactor. We were curious and he was telling us what he is doing but obviously didn't understand a word. He was like "it's obvious to me" and "it's simple" and he went on telling us that he was studying engineering of some sorts.... that was the point where we stopped and just let him do his thing.
This might be splitting hairs, while I agree that concepts like voltage, current, and inductance can be somewhat analogous to pressure, flow rate, and momentum (respectively), the comparison breaks down when you start to introduce properties like electromagnetic field effects and impedance. Still a good analogy for the basics, though
@@TheGamingNerd2022 But then you introduce turbulence, vortexes, laminar flow, fluid particle layers & lateral mixing/lack thereof.. And suddenly my plumbing is giving me a headache as well
As good as this guide is. I think it would be good to also provide some explanations about what some of these things are, and what they do. Suddenly explaining how to build a complicated reactor controller, without stating what it even is, or what it's purpose is, isn't very pedagogical.
I don't care if it's outdated, this is extremely well communicated and explained and helps understand essential concepts for non engineers who could understand engineering.
You flatter me, sir! I know there hasn't been a lot of content flowing lately, but there have been some massive changes behind the scenes, and it's a pain in the dick to keep everything up to date... Stay tuned, there's more coming soon, I promise!
Oh gosh this was too much for a new player like me who just barely knows what wiring does, but I still thought it was really interesting and tried to keep up. This stuff is way beyond my level for sure, and I'm actually amazed someone would do such advanced crazy epic stuff like this.
When my friends showed me this game, I did not expect so many electrical engineering principles to be so relevent lol. I am a junior right now, just did zero-order holds on last week's signal processing homework, really cool that they made this game so complex, but I'm sure most people are just gonna learn one design then never modify it
For the first ten minutes I'm like "yeah, I can kinda get my head around this." then the 5 channel wifi switch part ends and I need to look back at the combining components part to remind myself what things do, and then the rest of the video hits and I just watch it for entertainment.
I've been trying to make my own reactor control circuit, and after a few days of trying new things only to find my reactor inevitably consumed by a tornado of fire any time conditions were even slightly less than ideal I swallowed my pride and decided maybe it's time to see how other people are doing it. Turns out the trick was to go to college for engineering and use your degree to design a logic circuit that uses real engineering principles and create one from several subassemblies in a remote corner of your sub then connect it to alexa so she can just do all the leg work. That being said I shamelessly stole your turbine controller, and frankensteined it together with W4rum's fission controller and now my reactor is running at peak performance. Now the only thing I don't have is the satisfaction of knowing it's my design :/
So if I understand correctly. Spicy rod makes water hot, which angries up the pixies, that you then enslave with wires and boxes, to do your bidding, and power the submarine. Got it.
Honestly this the best video I could find to explain the basic fundamentals to electrical signals. The start with just basic signal directions to an elevated explanation into them really helped me understand this concept. Thank you for taking the time be brief but in-depth. Truly an under rated lesson.
Something that might be good to include in this kind of explanation is to start explaining each subsystem by defining what the inputs, outputs, and desired behavior of each. Idk if others think like me, but that kind of brief overview would help establish a context in which to place the more detailed (and great) information you give.
Just started playing barotrauma and suddenly I'm about to become a fictional pro bono electrical engineer in my free time. Kudos for the awesome explanation.
As an engineer playing this game it's the same as Logic systems for PLC's etc. Still complicated as ever though haha :) Very nice tutorials . Exactly what I've been looking for.
As an electrical engineering student I can confirm that these functions are pretty realistic and close to actual programmable relay. For example Siemens uses a program called LogoSoftComfort (might have misspelled that) that may be used for editing relay output programs using already existing applications/components such as and, not, nor, nand to name a few. And what you said about equations reminded me of the very same concept we had called 'truth table' that tells us the result of different inputs resulting in the output. For example an AND components would look like this A B X 0 0 0 1 0 0 0 1 0 1 1 1 X here marking the output and A and B marking the inputs. It is truly fascinating and interesting idea to add so much of this into to the game.
and since the NAND gate is universal, it is possible to make CPU. RS-NOR latches work, but luckily there is a memory component so it doesn't get too complex.
I feel like I just took an entire course on electrical engineering and need a certificate authenticating my training, lol! Very useful information too!
But yeah the turbine controller is excellent! For testing I set up a switch to toggle a lamp I edited to have a power consumption of 5000. Switching the lamp on and off is basically no problem. If I rely on the in game Automatic Control, turning the lamp on results in a 15 second blackout, and turning the lamp off results in multiple electrical fires. I swapped out the fission control to the one here gist.github.com/w4rum/9add42727114fd335537c1dcb7b55c6e
@@FinetalPies popular errors are: not keeping all fuel rod slots full, flipping the inputs to the first subtraction box (50 goes on the bottom), mis-wiring the dynamic memory cell, forgetting to adjust the delay timers, and accidentally adding a letter or a space in the values for the memory blocks
I hope you don't mind man, but I uploaded my working version of the Fusion rate PIDC controller, with bug fixes, to steam workshop. I made it clear that it was your design, so hopefully it will send some more traffic your way. You deserve it.
This is how technology advances. Someone takes something someone else designed, thinks of something nobody else has thought of yet and makes a new version that's better than the original. I appreciate the credit, but the more important part is your improvements! I'm thinking of doing a livestream sometimes soon, let me know if there's a time that works better for you, maybe we can investigate this further in real-time.
Hey man, you should put this video and the workshop link in the showcase channel on the baro discord. This seems really cool, and thanks for the item assembly. Godspeed, captains.
Can we get the workshop link or name? I would really love to use it on my submarine, I am very new to submarine editor but I am slowly learning some things about logic by myself! Don't think I'll ever get to this point tho-
Please keep making videos about different electrical systems, this is the most interesting and informative video ive seen för a very long time. For someone like me who wants to expand knowledge about complex circuits and systems, this is just pure gold. Thank you for making this.
Thanks, I intend to! although Baro is extremely niche and if I want this channel to succeed I'll have to branch out eventually. That being said, I love Baro and lately spend more time analyzing it than I do playing it! Any requests?
This is actually pretty interesting, it starts off complicated but it's not hard. You just need yo be determined, commited, and have the basic math and science knowledge
Even if its now outdated, there are parts rlly useful for submarine control and ingame personnalisation Thank you for sparing me days of research and test for the system clock and dynamic memory
There are 3 types of players, Engineers, Medics, and everyone else lmao. thank you for this video, hopefully it will make all of us appreciate this system so much more than we already do.
Fantastic video. Thanks to this I get the basics and after I was strong armed into being the submarine's leading electrical engineer this really helps out.
Thanks! I've been working on a new video that describes the various wiring components (ie relays, AND gates, wifi blocks, etc) individually with demonstrations for each, which is going to be boring as shit but immensely useful for anyone looking to beef up their engineering skills. Unfortunately, there are a butt-ton of components to demo and I've had maybe 20min/day to work on it, so its still a work in progress, but stay tuned! It doesn't hurt to subscribe & turn on notifications too!
Oh how foolish of me to see this video and immediately replicate it only to discover the devs have made this function significantly worse than it did. Pain, agony even.
The "bang-bang" controller using regex is thankfully sufficient for nearly anything these days. It's not as fun, no, but it gets the job done. Especially if you're savvy with regex and can do some tweaks specific to your particular reactor
I really want to get into this game and play the role everyone needs the most, but I feel like an idiot watching this. I AM TRYING SO HARD TO UNDERSTAND.
Sucks that all the brain work we do to make a working reactor control circuit gets nuked because the devs want someone to control the reactor manually. Especially sucks in singleplayer where AI can't control the reactor and automatic control makes junction boxes blow up all the time. It was so rewarding when you improved your reactor control and figured out a better way. Now I feel like needles move slower than automatic control when you set a value.
@@chunt5584 dont get scared. electronics is just "for messing around". You can completly skip that part, as most vessels are ready to go anyway. It just gets relevant if you want to add your own system to your sub. For example you have a room which should not get flooded - you could install a watersensor there and root it to your command seat so you can see the waterlevel on this room. Further enhance your system with adding a alarm, so you have a audio clue when the room gets flooded. You could even add some lights with a pulse component so you have lights going on and out when the room gets flooded. i am a noob tho, so i might be wrong
I heard of PID controllers from my dad, and I was not expecting them here but it's simply brilliant! I'm totally installing this system onto my submarine and freeing up my electrical engineer for other tasks. Edit: Ran into the video using Greater than and Reg Ex. I installed that version instead onto my subs and set the outputs to a relay I could turn on and off. Just in case someone wants the "cleaner" base game auto control for some reason.
For those aspiring engineers, captains and sub builder. The reactor's own control is suboptimal for reason. A circuit like this can take one hell of a gameplay aspect out of the game and MAY render a campaign boring. Besides, as long as there is not too high spikes of usage, the reactor can be usually left alone between fuel rod reload. Heck, I have found it more useful to wire a "No fuel" warning to bridge and simple on/off relay to battery backup that turns on when fuel is out.
Thanks! Just in case you haven't seen it, I've got another one that I'm watching through the process of building the entire controller... If you decide to build it, let me know how it goes! If not, I should have an easy-to-install unit posted on the workshop by the end of the week.
Very interresting stuff, I love to make automated stuff on barotrauma, probably more than playing the game itself, this video is a pure gem that I'll use later in order to improve my sublmarine editor skills, thank you captain!
LOL audio glitches... 1) hopefully it's obvious, but the missed instruction @ 17:39 is "connect the output of the first relay channel to the input of the memory component to the right" 2) also missed "connect the output of the NOT component to the LOCK_STATE input of the memory channel below it" 3) @19:52 "make a fourth connection to the output of the upper delay component to the first input of the lower subtraction component" 4) @19:59 "connect the output of this subtraction component to the second input of the mathematical component to its right" 5) @ 20:03 "connect the output of this mathematical component to the second input of the mathematical component OK, slides are here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-vvYuYDbObWE.html
Hmmm, that slides are here link goes to "School Uses Mannequins to Teach Nursing Students" xD Where are the slides?? (and thanks for this video, I'm gonna try it xD)
I think there is only one way to do now a reactor which change really fast the output of electricity. The way I though is to control only the temperature and put the turbine output to 100. For this to work you need to have 4 bar of fuels otherwise you won't profite from a tinyer range of control for the temperature. If you have 4 uranium bar the fission rate will only need to go between 0 and around 25 compare to one thorium bar you the fission rate will need to go between 0 and 100. Basicaly you would calculate the temperature that you need to produce the power out put that you want. Because if your temp is 1/2 of what it need to be to produce the max turbine set out put it will produce 1/2 that amount. The big problem is that the fuel efficiency will be trash. Edit : I made my reactor controller and it's working really well. And the fuel efficiency is better then expected.
It's not working anymore because now the sliders have a constant speed if control by signals (components). The pid controller was based on the needle that would go faster the bigger the difference is between the needle and the slider. The only way to moove the slider faster is to do it manualy now. :(
Very good explanation video, that just shows how the mechanics of the game are really amazing. I'm kinda shocked seeing this, too much info for me, but I'll study more about it, since I want to study mechatronic engineering.
HA, should have known its a PID controller at the end. amazing how "simple" game becomes oh so more complicated. only thing missing is sequence PID controller. now thats a beast and a half, lol
I like this game bearly Bought on 11/13/21 reason it was free to try and i was SOLD LoL hey maybe all Dev's need to do this method if they really want to sell there product, and for the Low price of $8.00 bucks $9.00 with a DLC so what the Heck bought for $9.00. But knowing little to nothing only playing threw the Training i know there's Tons more i need learning so every bit Help and Thank you to all that offer Guides, Tutorials, walkthroughs, And so on.🤓 Classes in Session🤓...
Me watching this after my friend wanted to blind play the game after i finished the first two tutorials and Huzzah, he slammed the sub against something and then died because he didnt know what pressured suits are. So I had to fix the entire Sub but couldnt figure out why the reactor kept dying
A couple of tips about the PIDC, from having built this amazing little assembly: - The Wiring of the Memory component on far left, to the divide component beneath it, is wrong. Needs to be output of memory to input two of Divide, and Raw Temperature signal (from wifi if wired as per the video) into input one of the divide. So that you are dividing the temperature from the reactor by 100, and not 100 by the temperature. - The video shows a subtract component next to this at the start, then switches to Multiply in this place. Also, the parts list imply it ought to be multiply. BUT IT NEEDS TO BE SUBTRACT - I could not get this to work, as specified, on an Orca. I think this is because Wifi channel 1, in latest version at time of writing, according to the wiki, uses this channel for alarm Signals. In my two working versions, I have just bypassed all wifi, even though it worked fine for the Turbine Controller, working over channels 3,4,5. - I had another issue trying to provision the controller, when no signal was coming out rom the PIDC, or a constant zero signal. I eventually figured out this was because the value stored in the Memory component of the Dynamic Memory Cell was set to somewhere around negative -40,000. This was because I had built the PIDC without having figured out the above, so it ended up storing that as the integral change value. The solution was simply to set the value in this Memory Component to zero. This is not something that would even happen if you got it right the first time, but then again, if you follow the instructions of the video as is, it will not work the first time. TIPS: You CAN just have the Turbine Controller hooked up, and this will control the turbine output in response to power load, for a given fission rate. With a complicated task like this, it can be good to be able to tell that part is working. I also wired the relay for this controller, and the two for the other, to two different switches, while trying to wring out the problems with this. With no engineering background, it was a very trial and error process.
There does indeed! I have a video describing that too! There are some, myself included, who enjoy the mental exercise that comes with a complicated design like this, but I get that it's not for everyone... Check out my other video, and decide for yourself!
5 Channel wi-fi switch looks like it would fit beside the reactor. And The two controllers would fit inside ballast sections. Or you can just place the components wherever. On my Orca, the PIDC is placed in the room to the left of the reactor. Some components are obscured by a ladder. Perfect Reactor Control > A neat and tidy ship that does not have electrical components in odd places.
It seems to love throwing my fission rate up to 100, if I try to force the fission rate below 35 then the fission rate drops to 0, before spiking back to 100 while the output drops to 0, until eventually the fission is at 100 and the output recovers its prior status. Running on a reactor with 48k max power, idling at 24k load, using 2 fuel rods because it gets fussy about it and shuts down otherwise.
Did you see my walkthrough video? It's a step-by-step guide to constructing the PID and feedforward controllers, maybe you can spot the difference that's causing your problems...
I also had the problem that the fusion rate always jumped to 100%. But the solution is quite simple. With the temperature control, the input signal for the reactor temperature for the first division module must be placed in input 1 instead of input 2. In short, the input signals are simply exchanged there.
@@thorstendenktnach As soon as I am able, I will make a new & improved video without all the tiny but significant mistakes fixed. My apologies, the best I can do for now is to upvote all the comments pointing out that wiring f*%k-up and hope new viewers see it. Thanks for the input, your feedback is very much appreciated!
@@thorstendenktnach Check it out! The PID controller has been replaced by a shockingly simple alternative... ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KEfWnL-kyL0.html
Your videos are awesome. Even if you already made the simple regex design, it's great to see how derivatives and integrals are made in practice. That's a great way to teach future engineers. Could we get a more detailed explanation of the Integral calculations? No need to show cables by cables, a more general overview of why we do things would help.
What about mods? Like ek utility adds in incedium fuel rods. Reactors extended changers it all and adds in many more rods, one being a volatile fulgurium rod(it’s blue colored), and ek dockyard which adds in fusion reactors.
There are few automatic controllers that require like 5-6 components to work - but you need to do some info gathering about fuel rods and reactor power out. It's all about adjusting to new inputs - the fundamentals remain the same
wifi is very insecure, at least against players. All you need is a wifi component and some input to mess with any systems in the ship. You could send a password with every message (concatenated), a bit like Bluetooth pairing. A RegEx component can search for the key and control weather or not the message is allowed to be decoded. Using an integer as the password makes it possible to use division etc to isolate the signal or signals.
This is a very overcomplicated system, you can actually control a reactor perfectly with a couple of wires, no switches and 2 components, and it will never break or fail. And while its fully functional the reactor is IMPOSSIBLE to overload. WOrks on the principle that autocontrol is sluggish.
@@JoeyB0b Idk about breaking/working, sure you have to test, but Id take a 2 component system over something so extensiv, less work for me and less ship parts also.