Idea - Raspberry Pi Nuclear Reactor

Drop in for a chat and a cup of tea
snoshers
Posts: 3
Joined: Sun Feb 17, 2013 9:59 am

Idea - Raspberry Pi Nuclear Reactor

Postby snoshers » Wed Oct 30, 2013 6:35 pm

Hi all,

I've had my raspberry pi for over 6 months now and have been learning python as well as how computers work and linux. I've yet to get into working with the GPIO and have been reluctant to so. This is mainly because of the lack of things I could do with it (I'm 14) . I don't really want to spend £20 quid on a breadboard, cables, etc. just to turn lights on and off and read buttons. I was thinking of idea's to make this more fun when I came up with the idea for a (obviously simplified) virtual nuclear reactor python library. The idea is that you have to generate the most electricity as you can without the reactor overheating using the GPIO to add safe guards to the system for example if the heat gets higher then 60% activate a buzzer and flash LEDs or have an "emergency stop" button to shut down the reactor. The more electricity you generate the more money you get to buy more parts for the reactor or add "sensors" to read the temperature more accurately or have a quicker emergency shut down.

However being only 14 I have no time to manage a project like this and i thought I would share this idea on the forum if someone would like to use it.

Example Code :

Code: Select all

import reactor # imports the library

reactor.start() # Starts the reactor

reactor.stop() # Stops the reactor safely (takes time)

reactor.emergencyStop() # Stops the reactor quicker but less safe (buy quicker cool down times)

# Other functions could set the power of the reactor  and life of cells etc. (Unsure of technical terms my reactor knowledge only comes from IndustrialCraft :) )

reactor.readHeat() # returns the reactors heat (buy more accurate thermometer)

reactor.Shop.listItems() # lists shops items

reactor.Shop.buy(item) # buys the item

reactor.Shop.search(string)  # searches for an item





Thank you for your time sorry if this is posted in the wrong section and please excuse my noobness.
lazarus78
Posts: 236
Joined: Thu Jul 25, 2013 5:16 pm

Re: Idea - Raspberry Pi Nuclear Reactor

Postby lazarus78 » Tue Nov 12, 2013 7:36 pm

You should really incest in those "turning on lights" kits because they are the bread and butter of your idea here. What you want can not be made without first understanding how electrical circuits and logic gates work.

The worst thing you can do is try to jump in to a full project without knowing what you are doing.
SwagManHanna
Posts: 28
Joined: Wed Oct 16, 2013 9:44 pm
Location: Warsaw, Poland

Re: Idea - Raspberry Pi Nuclear Reactor

Postby SwagManHanna » Tue Nov 12, 2013 9:10 pm

As me being a Pi user and 14 as well I think we can actually work on this. Since I have some experience in coding also :) Hit me up
Skype: austin.epicosity
E-Mail: austinbhanna@gmail.com
rickseiden
Posts: 411
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA

Re: Idea - Raspberry Pi Nuclear Reactor

Postby rickseiden » Tue Nov 12, 2013 9:51 pm

A while back I bought this.

I got a lot of things like flip flops and some basic stuff, but in there were a few real gems, and I had a ton of fun working on them for a good 6 months to a year. Great fun to be had. I've been thinking of buying another one, just to see I get anything new.
There are 10 types of people in this world. Those that understand binary, and those that don't.
SwagManHanna
Posts: 28
Joined: Wed Oct 16, 2013 9:44 pm
Location: Warsaw, Poland

Re: Idea - Raspberry Pi Nuclear Reactor

Postby SwagManHanna » Tue Nov 12, 2013 9:57 pm

What do those do exactly?
rickseiden
Posts: 411
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA

Re: Idea - Raspberry Pi Nuclear Reactor

Postby rickseiden » Tue Nov 12, 2013 10:16 pm

SwagManHanna wrote:What do those do exactly?


It's a grab bag of 100 chips that can include anything at all. My bag included the following (I bolded some of the ones I had fun with):

Quad 2-input Nor Gate
Memory Decoder Multiplexor
Hex/Quad D-Type Flip-Flop with Clear
Expandable 4 wide and-or-invert gate
Expandable 4 wide and-or-invert gate
Octal Buffers And Line Drivers With 3-State Outputs
DUAL POSITIVE EDGE TRIGGERED J-K FLIP-FLOP
8-input Positive-NAND gates
Synchronous decade counters 16-PDIP 0 to 70
Quadruple D-Type Flip-Flops With Clear 16-PDIP 0 to 70
Triple 3 input NAND Gate
Triple 3 input AND Gate
High Speed CMOS Logic 3-to-8 Line Decoder
Dual 1 of 4 Decoder / Demultiplexer
4 Bit Magnitude Comparator
8-Bit Addressable Latch
2-Input NOR-Function Logic Gate
Dual 2-Wide 2-Input AND-OR-Invert Gates (One Gate Expandable) 
Color TV Video Modulator Circuit IC
8-Line To 1-Line Data Selector / Multiplexer 16-PDIP 0 to 70
AUDIO AMPLIFIER
Inverter Circuits
Quad 2-Input NAND Buffers with Open-Collector Outputs
9-BIT ODD/EVEN PARITY GENERATORS/CHECKERS
SYNCHRONOUS 4-BIT COUNTERS??
SYNCHRONOUS 4-BIT COUNTERS

I just put another bag on my Christmas list for my wife to look at, along with a ton of other stuff I would like.
There are 10 types of people in this world. Those that understand binary, and those that don't.
SwagManHanna
Posts: 28
Joined: Wed Oct 16, 2013 9:44 pm
Location: Warsaw, Poland

Re: Idea - Raspberry Pi Nuclear Reactor

Postby SwagManHanna » Wed Nov 13, 2013 2:19 am

I added some strings

Code: Select all

reactor.adcell.uranium # Adds a Uranium cell
reactor.addcell.cooling # Adds a Cooling cell to the reactor
reactor.removecell(number) # Removes a cell
reactor.setHeat(percent) # If external cooling is added you can attempt to set the heat of the reactor
reactor.Shop.sell(item,quantity) # sells the item and how many

More to come :D
SwagManHanna
Posts: 28
Joined: Wed Oct 16, 2013 9:44 pm
Location: Warsaw, Poland

Re: Idea - Raspberry Pi Nuclear Reactor

Postby SwagManHanna » Wed Nov 13, 2013 11:28 am

SwagManHanna
Posts: 28
Joined: Wed Oct 16, 2013 9:44 pm
Location: Warsaw, Poland

Re: Idea - Raspberry Pi Nuclear Reactor

Postby SwagManHanna » Wed May 14, 2014 6:00 am

Sad to see this die
BrianG
Posts: 4
Joined: Fri Mar 15, 2013 6:55 pm

Re: Idea - Raspberry Pi Nuclear Reactor

Postby BrianG » Tue May 27, 2014 12:56 pm

I think the reactor idea is terrific - I've got many years of experience in the U.S. nuclear power industry and have wondered how I could something like this myself. My thoughts were much more complicated since I want to have pumps and valves (pots and switches) that must be managed to keep the reactor from overheating and skramming. I think I will start laying out the basic plan in anticipation of actually having a workable unit for the museum I work for here in the States.

Brian Grawburg
Wilson, NC
SwagManHanna
Posts: 28
Joined: Wed Oct 16, 2013 9:44 pm
Location: Warsaw, Poland

Re: Idea - Raspberry Pi Nuclear Reactor

Postby SwagManHanna » Tue May 27, 2014 9:26 pm

Wow cool! I would love to work with you :D
Send me an Email @ austinbhanna@gmail.com
nukeplant
Posts: 3
Joined: Fri May 12, 2017 12:36 am

Re: Idea - Raspberry Pi Nuclear Reactor

Postby nukeplant » Fri May 12, 2017 12:43 am

Was doing a search and found these posts.
I'm building a Nuclear Plant Simulator based on the Raspberry Pi 3.
Keeping a blog -> nuclearpi.blog
Blog posting is about 1 week behind so the project is further along than it shows.

Just about finished wiring so software will come next!
OutsourcedGuru
Posts: 34
Joined: Mon Jun 19, 2017 11:15 pm

Re: Idea - Raspberry Pi Nuclear Reactor

Postby OutsourcedGuru » Tue Jun 27, 2017 10:37 pm

It sounds like a cool project, guys. In the past, I've worked in a factory with three of these (as managed by Honeywell controllers "ladder programming")...

Rotoline

That "small" white instrumentation box runs a single-board computer which automates all the sensors, motors and everything for each cooking cycle.

And now, I'm in a pharmaceutical company and we have a lyophilization machine which again uses the Honeywell controllers like the last time...

freeze-drying machine

I personally love these automatic systems which have lots of inputs and driven activities.

A good system will have a visual interface which represents the overall layout as a diagram. Motors, sensors and switches should be able to change color, say, as their state changes. Lines should connect common things together that are related so it's clear that a certain switch turns on a certain motor.

Good luck and keep working on it even if others temporarily aren't interested yet.