Coder Social home page Coder Social logo

alexyou / pyreactor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wgurecky/pyreactor

0.0 2.0 0.0 5.12 MB

A point kinetic reactor model with GUI frontend. Meant to be used as a demo for teaching K-12 students about nuclear engineering tech.

License: MIT License

C++ 0.84% Python 14.30% HTML 84.87%

pyreactor's Introduction

About

Point kinetic reactor model with GUI frontend.

screenshot

Interfaces with an Arduino driven LEGO(R) model (optional).

image

For use as a reactor demo for K-12 students. This package was developed to inform young students about nuclear engineering. To this end, a LEGO(R) reactor was constructed for use with the Arduino code. Control rod movement and reactor power visual feedbacks are presented to the audience via servo and LED control respectively.

Install

To install:

python setup.py develop

Requires

python2.7
numpy
scipy
matplotlib
wxpython
pyserial
distutils

Usage

The main ractor gui program is lauched using the command::

pyReactor

The reactor may be used in power control mode, in which the reactor will attempt to maintain the user set power. In standard control rod based mode (pwr control toggle unchecked), the rod position may be set with a vertical slider. The rods move at a set, relatively slow pace. The rod height is visualized by a vertical bar plot.

Temperature is plotted as a dimensionless distance to the SCRAM value. This is done to display both the fuel and moderator temperature on the same plot.

The scram button will generate a SCRAM event. To unlock the reactor after a SCRAM, click the SCRAM button again.

An Arduino may be connected. A simple arduino play is included in this package. The Arduino code controls a small servo which may be used to raise/lower control rods. It also drives a (preferably blue) LED to give visual reactor power feedback.

Authors

William Gurecky

License

Software included in the pyReactor project is distributed under the MIT license. You should have received a version of the MIT license with this software. If not, please refer to https://opensource.org/licenses/MIT.

pyreactor's People

Contributors

wgurecky avatar flanflanagan avatar stschach avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.