TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nuclear Reactor Simulator

481 pointsby loopionover 1 year ago

26 comments

benjojo12over 1 year ago
How bizarre! Me and a colleague ( who&#x27;s still a good friend ) wrote this in like, 2012-2013! Well, more accurately we ported this from a older Delphi&#x2F;Pascal program that was using raw OpenGL calls ( a legitimately very impressive bit of code for what it was written in ) into WebGL ( a relatively new piece of technology at the time )<p>The primary reason for porting this to a modern platform was ( as far as I understood ) so that it could be run on interactive events for schools and such. It&#x27;s definitely more optimised for fun than realism. I remember a few good memories of various people who were actually nuclear engineers complaining that realistically the demand would never change that fast on any commercial nuclear power plant!
评论 #38539637 未加载
评论 #38538695 未加载
评论 #38540431 未加载
评论 #38537973 未加载
Buttons840over 1 year ago
This reminds me of a game idea I have.<p>I want to build a game where players assemble various components into engines or systems. Building the required system is itself a bit of a puzzle, but then players must also demonstrate that they can control the system using sensors and switches, etc, despite failures of various components. Can you build a reactor? If something breaks, can you figure out what broke using the sensors you placed? Can you fix the system with the switches you placed?<p>My favorite thing about flight simulators was always the simulated avionics. I get to click simulated buttons and watch simulated gauges, I love it.
评论 #38536869 未加载
评论 #38536191 未加载
评论 #38537066 未加载
评论 #38537152 未加载
cratermoonover 1 year ago
The very first nuclear plant simulator I ever played with was a primitive text-based program, running on a DEC 11&#x2F;780. To win the game you had to average a certain number of MWh over each turn (days). It seemed easy, just turn it on and let it run, but there was a catch. The game simulated normal fatigue, meaning that the longer it ran, the more likely something would go wrong. Also, the higher power you ran, the faster things would fatigue. The game required you to shut the reactor down for maintenance periodically. The longer you ran it, the longer the maintenance cycle. Success involved balancing uptime and power generation with required maintenance downtime.<p>As an aside, I learned about how nuclear reactors generate power when I was pretty young, so I was surprised to learn, just this past year, that there were people who didn&#x27;t know that nuclear reactors just heat up water to make steam, same as any other power plant. There&#x27;s people out there who (quite reasonably, IMNSHO) have a model of nuclear reactors directly generating electricity from the reaction.
评论 #38536359 未加载
评论 #38535640 未加载
niekzeover 1 year ago
Former US Navy submarine nuclear reactor operator here.<p>Adjusting the steam output was kind of strange. On a submarine, the steam used to propel the submarine dwarfs all the other steam loads. As a result, there&#x27;s a throttleman who controls that.<p>Even though this simulation is simplified, it&#x27;s not too bad. It does hide some of the really interesting aspects of a water cooled&#x2F;moderated nuclear reactor. The most interesting thing is that water makes the reactor self-regulating because of its negative temperature coefficient of reactivity. I&#x27;ll explain.<p>When a uranium-235 atom absorbs a stray neutron, it becomes unstable and splits. This releases more neutrons. Very few of these neutrons will be absorbed by surrounding uranium-235 atoms. This is a good thing. Most will escape the fuel, and some will bounce around in the surrounding water. This slows the neutrons down, and some of them will bounce back into the fuel to be absorbed for more fission reactions.<p>Let&#x27;s say 1,000 fission reactions occur. If the result is that 800 neutrons from those fission reactions are absorbed by other uranium-235 atoms, you&#x27;ll have 800 more fission reactions. The reactor is sub-critical as the reaction will not be self-sustaining.<p>If 1,000 fissions cause 1,200 neutrons to be absorbed and react, you&#x27;ll have 1,200 resulting fission reactions. The reactor is super-critical as the number of fissions will increase.<p>If 1,000 fissions occur and the result is that 1,000 neutrons are absorbed and cause 1,000 more fission reactions, the reactor is critical. &quot;The reactor is critical&quot; means the number of fission reactions is self-sustaining and neither increasing nor decreasing.<p>How can we affect how many neutrons bounce back into the fuel? We can change the density of the water. It makes sense if you thing about it. The denser the water, the more likely neutrons will hit a water molecule and head back into the fuel.<p>How can we change the density of the water? We change the temperature of the water. If the water is colder, it is denser and the more likely neutrons will bounce back into the fuel.<p>How do we change the temperature of the water? We pull more&#x2F;less heat of out it by using more&#x2F;less steam.<p>Putting this all together, as steam demand goes up, more heat is pulled out of the water. This causes colder water to enter the reactor. Colder water will reflect more neutrons. More neutrons means more fission. More fission means more heat. More heat means warmer water and this will attenuate the increase in fission until an equilibrium is reached.<p>If you&#x27;re creating too much power, the coolant temperature will increase and the power output will lower. If you&#x27;re creating too little power, the coolant temperature will decrease and the power output will rise. That&#x27;s why water is a great coolant&#x2F;moderator: its negative temperature coefficient of reactivity.
评论 #38536919 未加载
评论 #38537613 未加载
评论 #38536737 未加载
评论 #38536853 未加载
评论 #38554100 未加载
评论 #38537156 未加载
weinzierlover 1 year ago
I must seem completely seem out of place nowadays, but I actually learned that in school in Germany. Not to the nitty gritty detail, of course, but we spent a double lesson on every reactor type. What I&#x27;ve taken from it and remember to this day is that you usually can determine the reactor type from the shape of the building.
评论 #38535875 未加载
djmipsover 1 year ago
This is cool and takes me back to one of the first cool sim games I ever played as a child. Muse software&#x27;s Three Mile Island for the Apple II. Mastery of this sim was an amazing feeling at the time.<p>Manual <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;ThreeMileIslandAppleIIManual" rel="nofollow noreferrer">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;ThreeMileIslandAppleIIManual</a><p>Game (Note view 7 save&#x2F;reset state seems to be broken - avoid)<p><a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;a2_Three_Mile_Island_Special_Version_1980_Richard_Orban" rel="nofollow noreferrer">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;a2_Three_Mile_Island_Special_Ver...</a>
评论 #38536349 未加载
nicktover 1 year ago
Here’s a link to a video of a ZX81 version, in a similar vein.<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;tB6CC8UbJLU" rel="nofollow noreferrer">https:&#x2F;&#x2F;youtu.be&#x2F;tB6CC8UbJLU</a>
exabrialover 1 year ago
12 year old me went in with a single purpose: make it go bang.<p>Damn safety systems are messing up my fun.
评论 #38544752 未加载
评论 #38541003 未加载
rzzztover 1 year ago
My favorite classic NPP simulator is SIMULA-C by Ralph Reuhl. I&#x27;m only finding this report [1] (from my comment history, hah), but both the C source code as well as MS-DOS executables were available. Back when I knew what the URL is, the Wayback Machine could fetch the .exe files but not the source archive.<p>Anyone remember this one? A screenshot can be found in the PDF at the end.<p>[1] <a href="https:&#x2F;&#x2F;inis.iaea.org&#x2F;search&#x2F;search.aspx?orig_q=RN:29043408" rel="nofollow noreferrer">https:&#x2F;&#x2F;inis.iaea.org&#x2F;search&#x2F;search.aspx?orig_q=RN:29043408</a>
评论 #38551722 未加载
hot_grilover 1 year ago
It&#x27;s neat. What exactly am I controlling with the steam generator lever, the pump at the bottom? With the control rods it&#x27;s more obvious since they move on the diagram.
评论 #38535769 未加载
OedipusRexover 1 year ago
<a href="https:&#x2F;&#x2F;store.steampowered.com&#x2F;app&#x2F;1428420&#x2F;Nucleares&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;store.steampowered.com&#x2F;app&#x2F;1428420&#x2F;Nucleares&#x2F;</a><p>Another nuclear plant simulator, haven&#x27;t played too much but diving into later today with a friend.
评论 #38536854 未加载
评论 #38535158 未加载
robrykover 1 year ago
If I start the primary coolant pumps and &quot;increase steam output&quot;, I get nontrivial output power for a while until a scram happens. This indicates to me that something is very off with the underlying model: there should be no power generated in the reactor in that situation.
评论 #38539237 未加载
yasonover 1 year ago
The only destined purpose of a nuclear reactor simulator is to gradually let a massive meltdown happen, with gauges slowly increasing in tandem with thrill in anticipation of the upcoming drama and fireworks until you discover a bit too late that... it&#x27;s too late.
John23832over 1 year ago
The reactor keeps tripping for me before I&#x27;m out of the first &quot;setup&quot;.
mikewarotover 1 year ago
I got Pi as a score (314) on my first run-through. I&#x27;ve played simulators like this in the past, this is the first one that required interacting between multiple parameters interactively like this, well done!
cbenover 1 year ago
Reminds me of this android gqme: <a href="https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=ru.DmitryLomakin.NuclearInc2">https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=ru.DmitryLomak...</a>
loopionover 1 year ago
Just played this game and honestly I&#x27;m impressed how it&#x27;s made. Interesting to see how it works even if it&#x27;s simplified.
评论 #38533503 未加载
评论 #38531402 未加载
Apocryphonover 1 year ago
This reminds me that I have a disc somewhere of a ton of different Java applets, one of which was a basic nuclear reactor simulator. There was a dining philosophers one too.
barkingcatover 1 year ago
The Music is awesome.<p>reminds me of<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=rEgrn7vopZU" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=rEgrn7vopZU</a>
archi42over 1 year ago
Hah, next step: Add a simple PLC the players can program to try to control it (or modbus to hook up an actual PLC) ;-)
WhiteNoiz3over 1 year ago
This made me feel like a regular Homer Simpson.
spacecadetover 1 year ago
Yeees, bring on the simulation tools.
RonnieOwnsLexusover 1 year ago
why am i not able to cause a meltdown
Elias-Braunover 1 year ago
My first thought on the Title &quot;Play and learn how a nuclear plant works.&quot; this is was lead to this:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Windscale_fire" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Windscale_fire</a>
评论 #38535053 未加载
staplungover 1 year ago
Seems impossible to make it meltdown and explode. Shutting off the coolant just makes it automatically SCRAM. No incoming tsunamis threaten to swamp your diesel generators, no xenon pits to slowly climb out of. Booooring. ;-)
评论 #38536122 未加载
评论 #38535110 未加载
评论 #38535805 未加载
评论 #38535906 未加载
评论 #38536250 未加载
评论 #38535807 未加载
dctoedtover 1 year ago
No time to check this out now, but I&#x27;ll be interested in reactions from my fellow (ex) Navy nukes ....
评论 #38536902 未加载
评论 #38536181 未加载
评论 #38535154 未加载