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.
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.
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!
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.
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.
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.
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.
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.
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.
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-
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
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?
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
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!
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
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.
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: ua-cam.com/video/vvYuYDbObWE/v-deo.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 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.
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.
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!
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!
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. :(
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
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.
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
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🤓...
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!
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.
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.
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.
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
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.
Almost the same here, it likes to set fission to 100% (had to hard limit the most right adder in step 2 to 70%) but at least turbine seems to work just fine
There are a lot of places for mix-ups in this design, but it's as simple as a PID can be with the blocks provided... some suggestions for checking: 1) Make sure the delay timers in the fission rate controller are set to 0.05 2) Make sure that all the stored memory values match those described in the video (especially your reactor max power!) 3) Make sure that the subtraction block at the bottom is wired for Relay - Delay 4) Make sure that one of your final addition blocks are clamped as described in the video
Tried this again from 0 using the Submarine Editor (Originally I implemented it from a friend campaign) 1) Yes the delay timers in the fission rate controllers are set to 0.05 2) All the store memory values match those from the video, the max power is set to the one the editor says 3) Not sure what you mean 20:19 have the subtraction from the delay at middle with delay behind (in that order) to divide at front 4) The final addition block is clamped EDIT: I only read points 1) and 2). 4) also apply here just fine but I dunno about 3) so result can be wrong Result: Turbine Output is calculated perfectly Fission Rate always go to 100% and without intervention it meltdown. - Tried with 1 rod and no sub activity -> meltdown - When we played campaign I had to activate the normal auto-controller so it adjust the fission rate and when we had no activity (i.e submarine stationary while exploring caves) I had to completely disable it - Tried putting 4 rods in steady load (no overheat) then activate it -> Fission Rate 100% then meltdown
I've run into the same problem. After reviewing some of the values in process, it seams like the dynamic memory block basically acts like a postive feedback-loop, since it will always get a positive value and add to that whatever it allready has saved. Furthermore the multiplication at the top has no effect, since it multiplies by 1. I'm unsure if it is part of the problem, but barotrauma has the quirk to only process or transmit a value, if it changed. Therefore in this scenario only a temperature change significant enough to overcome the rounding error in basic mathematic components in barotrauma will be recognized and result in feedback to the reactor. In the discribed problem with the reactor at 100 fission and overheating at 10000°C you can manually drop the fission rate to the point until the temperature drops below 5600 to 6000 °C. Then the change is significant enough, the signals get processed and a new command issued to the reactor. The fission rate will jump consequently back to 100. Nevertheless the power output control works like a charme.
@@alexanderhartel6514 I think I found part of the problem. Note that in this circuit, you can effectively disconnect the the P, I, and D component separately by just setting their multipliers to 0. After disconnecting I and D, I found that P itself doesn't even work. With a PID controller, you should be able to just disable I and D and still have a working P controller. It's just going to be slower and overshoot more often. Turns out that the divide component at the beginning is wired the wrong way around. The left part of the PID controller shown above calculates the error by doing: error = (100 / temp) - 50 Note that temp is in [0, 10000] and temp = 5000 is desired. Obviously, this formula doesn't really make sense. It should be error = (temp / 100) - 50 Sidenote: To be honest, I don't think the division is even necessary. It's just normalizing the temperature values into [0, 100]. We could just do error = temp - 5000 and then adjust kP, kI, kD accordingly. So yeah, quick fix to get the P component working: Open the left-most division component and switch the inputs. SIGNAL_IN_1 = Wifi Component (signal_out) SIGNAL_IN_2 = Memory Component (signal_out) SIGNAL_OUT = Subtract Component (signal_in_2)
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.
I really want to learn how to do my damn job as an engineer in this game because it seems like it can be really fun but man this shit is hard to understand if you know nothing about this in the first place 😭
For anyone wondering why the PID system keeps melting the the reactor after a tour and having a good habit of turning off the reactor while docking in outpost, make sure the value in the dynamic memory is 0 or low enough before you switch on the reactor.
17:20 I assume Kd value should be inputted into memory component, associated with Multiplication component, not the Divider component as shown in video?
So many electrical circuits and there is not even a demonstration of how it works... of course i will try to create this, but please... can you do some working examples in future videos?
ok i will back to medic 😂
Medic solos all other classes
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.
"looking for copper but found gold"... I'm totally using that someday. Glad to help!
@@TheGamingNerd2022 can you also provides document on how algorithm works? I’m interested in understanding how you design and how the machine works
@@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. :(
But it's just a PID controller...
How to play as an Electrical Engineer in Barotrauma:
Step one: get a computer science degree
Good thing I'm a real life electronics technician that understood at least half of what was happening
this upgraded my reactor so much that it started doing math better than me
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.
If you can understand how water flows in a pipe, you can understand how electricity works.
-My Teacher
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 fire. electronics. go boom.
@@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.
Do you know how to do Partial Differentials? Because that's what this is. Lookup the PID Controllers.
@@PerfidiousLeaf Do you know how not to sound pretentious?
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.
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!
@@TheGamingNerd2022 glad to hear 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.
Exactly this.
Sir, this is a Wendy's drive thru
>me
>knows how to use wires and buttons
>this video
>headache
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.
You forgot the part where angry pixies make the engine start a-choochin the schmoo! (AvE FTW)
I can't believe I can make a PID controller in Barotrauma. This is amazing, this game let you apply real engineering knowledge
Playing with my friends and we can see who finished technical schools and who didn't immediatly.
@@Wojas101 So true, I always play as engineer. I'm still a student but in some years (several) I'll be an engineer (I hope)
i'm a medic main slowly shifting towards other classes after mastering neurotrama, and this video was just what i needed for engineer, thanks!
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.
Agreed. I have 0 ideas what is going on and my brain keep telling me that my subs will sunk if I do any wiring.
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.
You might like my other video as well... ua-cam.com/video/S5hak5NY9xQ/v-deo.html
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.
Why on earth am I watching a video about making PID controllers in a video game lmao
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.
Epic
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.
make more videos just like this. this is everything we mere mortals want and more.
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.
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.
Sup dude think you can post the link to the workshop this sounds cool
@@scribbles2318 Captain? Hey look buddy, I'm an Engineer. :P
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-
I'm an automation engineer and I approve this video
Thank for being my lecturer in barotrauma university.
Stay tuned! I've got more videos in the works
As a proud captain i must admit that i had no idea what you just said but thanks ✌️💯
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
At this point i'm just gonna make a nuclear reactor myself
Basic wiring: *starts explaining quantum mechanics*
Though seriously, this is definitely the best guide for both wiring and reactor control!
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?
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
TLDR: shove in 8 fuel rods and shut off auto control.
This game is how i am gonna retain and practice my engineering fundamentals.
Is this the new visual programming language I've heard so much about?
I’ll just go back to connecting detonator to closed door waiting for someone to open said door then kaboom
That’s more my speed
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!
Ok so, explain how are you expected to do all this and at the same time try not to die because you have a crew of lunatics going around the sub
Kill them first
Play with friends
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.
@@cdollar67 yeah
I just learn about the game a week ago, waiting for steam sale. This video really makes me scare to start lol
@@cycler.x833 oh cool! Thanks for the info. I never used that site before so I will check it out.
@@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
My brain hurts
mine melted when he was still explaining all the components
Oh god, is this a game or some sort of crash course for electrical engineering?
Thanks why I like Barotrauma so much.
for anyone wondering this "game" included minor parts of actual Computer Architecture and Engineering stuff
All I know is how to shoot thing and fix thing
Is good
The world is a better place with people like you. Great video
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.
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: ua-cam.com/video/vvYuYDbObWE/v-deo.html
you need to PIN this comment.
also the link takes you somewhere else! still very interesting though! :P
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)
Very well made video.
Easy to understand and follow.
Only had to watch it twice to fully understand.
Thank you.
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.
Damn. I need to hire a barotrauma electrician to power up my sub
You don't need one. any class can do wiring
@@darixenous_shadowscale yes but does he know how to do it
@@leatherman180 I’m learning how to do it. Do I count?
Is this even Barotrauma? This stuff is amazing
You know I’ll think I’ll just grab my electrical engineer friend to do this….
I wish I had that video in 2020 before I spent 240 hours in editor. Good Video.
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.
There exist two component controllers now.
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!
4 minutes in and i spaced out 6 times already
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!
Underwater boat go brrrr
amazing work. very impressive
I signed up for alot more than I thougjt volunteering as electrical engineer
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.
This is actually genius
@@HyperLeChatthx
this appears slightly outdated; fuel rods now degrade proportional to the fission rate.
Otherwise, it seems quite handy!
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. :(
Wtf just flew over my head?
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
Alright, now tell me how to fit this inside my Barsuk
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.
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
You accidentally put 4 fulgarium fuel rods into a reactor and your friend makes a video about it. I said my bad and it only a small meltdown Rob!
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🤓...
shh
Can I loop a meltdown warning to a relay and back to the shutdown to make an auto shutdown?
I love this so much. From a baby engineer, thank you very much.
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...
@@TheGamingNerd2022 So at 18:44 you divided 100 by the temp instead of dividing the temp by 100
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... ua-cam.com/video/KEfWnL-kyL0/v-deo.html
Immma make a underwater Chernobyl
Madness...
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.
Update: Have confirmed that PIDC wifi issue goes away as soon as I get off channel 1.
master studio of electricity engineer LOL
Ahaha ethanol revolver goes pew pew
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.
This is pretty cool, but you don't need that many components to make an automatic reactor. Yours is probably much more precise though.
This is too complicated for me, i'll take soldier path!
5:38 it's killing me that the the text & pictures are not in the same order. 😂
Great video tho, good job.
What?
what CS major does to a mf
What’s in is in but maybe out or in.
…also What is no longer on 2nd base.
This is why I'm not in engineering.
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.
@@YouCountSheep so what's with all the over engineering here? Maybe it makes it slightly more optimized, but isnt his system also easier to break?
@@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.
Thanks man. It works perfectly
Some of these wires look like the london underground
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
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.
Holly shit
Good stuff man! Haven’t gotten it to work yet as the turbine shoots up. But I’ll try watching the walkthrough
I have no idea what I did wrong but it really likes to request 100% fission and melt down.
Almost the same here, it likes to set fission to 100% (had to hard limit the most right adder in step 2 to 70%) but at least turbine seems to work just fine
There are a lot of places for mix-ups in this design, but it's as simple as a PID can be with the blocks provided... some suggestions for checking:
1) Make sure the delay timers in the fission rate controller are set to 0.05
2) Make sure that all the stored memory values match those described in the video (especially your reactor max power!)
3) Make sure that the subtraction block at the bottom is wired for Relay - Delay
4) Make sure that one of your final addition blocks are clamped as described in the video
Tried this again from 0 using the Submarine Editor (Originally I implemented it from a friend campaign)
1) Yes the delay timers in the fission rate controllers are set to 0.05
2) All the store memory values match those from the video, the max power is set to the one the editor says
3) Not sure what you mean 20:19 have the subtraction from the delay at middle with delay behind (in that order) to divide at front
4) The final addition block is clamped
EDIT: I only read points 1) and 2). 4) also apply here just fine but I dunno about 3) so result can be wrong
Result:
Turbine Output is calculated perfectly
Fission Rate always go to 100% and without intervention it meltdown.
- Tried with 1 rod and no sub activity -> meltdown
- When we played campaign I had to activate the normal auto-controller so it adjust the fission rate and when we had no activity (i.e submarine stationary while exploring caves) I had to completely disable it
- Tried putting 4 rods in steady load (no overheat) then activate it -> Fission Rate 100% then meltdown
I've run into the same problem.
After reviewing some of the values in process, it seams like the dynamic memory block basically acts like a postive feedback-loop, since it will always get a positive value and add to that whatever it allready has saved.
Furthermore the multiplication at the top has no effect, since it multiplies by 1.
I'm unsure if it is part of the problem, but barotrauma has the quirk to only process or transmit a value, if it changed. Therefore in this scenario only a temperature change significant enough to overcome the rounding error in basic mathematic components in barotrauma will be recognized and result in feedback to the reactor.
In the discribed problem with the reactor at 100 fission and overheating at 10000°C you can manually drop the fission rate to the point until the temperature drops below 5600 to 6000 °C. Then the change is significant enough, the signals get processed and a new command issued to the reactor. The fission rate will jump consequently back to 100.
Nevertheless the power output control works like a charme.
@@alexanderhartel6514 I think I found part of the problem.
Note that in this circuit, you can effectively disconnect the the P, I, and D component separately by just setting their multipliers to 0. After disconnecting I and D, I found that P itself doesn't even work. With a PID controller, you should be able to just disable I and D and still have a working P controller. It's just going to be slower and overshoot more often.
Turns out that the divide component at the beginning is wired the wrong way around. The left part of the PID controller shown above calculates the error by doing:
error = (100 / temp) - 50
Note that temp is in [0, 10000] and temp = 5000 is desired. Obviously, this formula doesn't really make sense. It should be
error = (temp / 100) - 50
Sidenote: To be honest, I don't think the division is even necessary. It's just normalizing the temperature values into [0, 100]. We could just do
error = temp - 5000
and then adjust kP, kI, kD accordingly.
So yeah, quick fix to get the P component working:
Open the left-most division component and switch the inputs.
SIGNAL_IN_1 = Wifi Component (signal_out)
SIGNAL_IN_2 = Memory Component (signal_out)
SIGNAL_OUT = Subtract Component (signal_in_2)
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.
Too deep for me man I just play for the lovecraftian horror and mind melting nightmares
This is way above my pay grade.
it's 2022 - this most likely has an updated and MUCH SMALLER setup by now...
Like this one? ua-cam.com/video/KEfWnL-kyL0/v-deo.html
It’s better with more complicated stuff
I really want to learn how to do my damn job as an engineer in this game because it seems like it can be really fun but man this shit is hard to understand if you know nothing about this in the first place 😭
For anyone wondering why the PID system keeps melting the the reactor after a tour and having a good habit of turning off the reactor while docking in outpost, make sure the value in the dynamic memory is 0 or low enough before you switch on the reactor.
lol feel like i'll just use automatic control, foolish me who thought to look into reactor overclocking
truly this is perfect engine control
can i find this in steam community workshop?
17:20 I assume Kd value should be inputted into memory component, associated with Multiplication component, not the Divider component as shown in video?
Good spot. I have a walkthrough video demonstrating step-by-step how to build the PID, but that highlighting glitch is an important catch. Thanks!
Haha regex controler go brrrrrr
I just use a Greater & RegEx component setup, does just fine.
@@darixenous_shadowscale that fucks up junction boxes quick tho
are you an actuall electrical engeneer!?
So many electrical circuits and there is not even a demonstration of how it works... of course i will try to create this, but please... can you do some working examples in future videos?