Code Monkey home page Code Monkey logo

transition-scenarios's Introduction

transition-scenarios

Script Folder

The script folder contains scripts that can be used to generate CYCLUS input files and analyze CYCLUS output files.

write_reactors.py

Python script for CYCLUS input file generation.

The assumptions for the parameters are as follows:

Cycle 		= 18 months (timesteps) for all
Refueling 	= 2 months (timesteps) for all
assembly mass 	= 180 UO2 / assembly for BWRs
		  		  523.4 UO2 / assembly for rest [PWR](nucleartourist.com)
#of assemblies 	= 193 for 1000MWe, linearly adjusted for other capacities

This script allows generation of CYCLUS input file types from csv files.

Input : csv file, initial_time, duration, reprocessing

csv_file: the csv file containing country, reactor name and capacity

initial_time: initial time of the simulation in yyyymmdd

duration: duration of the simulation in months

Output : A complete input file ready for simulation. (default: complete_input.xml)

To run:

python write_reactors.py [csv_file] [init_time] [duration]

analysis.py

Input : CYCLUS output file (.sqlite)

python analysis.py [outputfile]

Most functions return a dictionary of lists (timeseries of a value) that can be used to plot a stacked bar chart or a line plot.

test.sqlite

Simple Cyclus output for testing purposes.

test_analysis.py

testfile for analysis.py.
To run:

python test_analysis.py

Templates Folder

This folder contains templates that are used in the write_reactors.py script.

input_template.xml.in

Jinja Template for the entire Cyclus input file.

This is where the compiled reactor and region files will be rendered into.

fuel composition data is from representative vision recipes.

reactor_template.xml.in

Jinja template for the reactor section of the cyclus input file.

reactor_mox_template.xml.in

Jinja tempalte for reactors that use mox

deployinst_template.xml.in

Jinja template for the individual region prototype of the cyclus input file.

region_output_template.xml.in

Jinja template for the region section of the cylcus input file.

Grouped region prototypes will be rendered into this file.

Database Folder

eu_reactors_pris.csv

The eu_reactors_pris.csv file lists all the nulear reactors in europe, but more in detail. The data is from PRIS - IAEA and is converted to as csv file.

The csv file lists the following :

  • Country
  • Reactor Unit (name)
  • Type
  • Net Capacity (MWe)
  • Status
  • Operator
  • Construction date
  • Construction year
  • First criticality date
  • Two empty columns for start / end date (for deployinst)
  • First grid date
  • Commercial date
  • Shutdown date
  • UCF (Unit Capacity Factor) for 2013 (in %)

deploy_schedule.xml

This file contains various deployment schedules for transition scenarios (EG01 - EG 23, 24, 29, 30). The simulation starts at 100 GWe of LWR installed capacity in 2015. The simulation is 200 years long and an annual growth of 1% is assumed. The new reactor types (or fuel cycles) are available from 2050.

scenario_specification.md

This file contains specific details about the transition scenarios such as fuel mass, composition, and refueling cycles. The file also identifies some gaps in the current CYCLUS regarding transition scenarios.

License

Predicting the Past Cyclus and Cycamore Benchmarking Project

This is a public repository for the shared development of benchmarking simulation input data representing the past nuclear fuel cycle in the United States and Europe. It is being conducted by undergraduate researchers at the University of Illinois at Urbana-Champaign in the Advanced Reactors and Fuel Cycles group.

To view the work or run a simulation for a particular region, open [region_name].ipynb under input/ folder

REPORT

To view the the report which includes the procedure, results and their explanations, please view united_states.ipynb or europe.ipynb.

Not Ready For Reuse

During development, this work is under sole development by the authors in preparation for publication in conference proceedings or an archival journal.

transition-scenarios's People

Contributors

jbae11 avatar katyhuff avatar gwenchee avatar pep8speaks avatar flanflanagan avatar scopatz avatar gonuke avatar

Watchers

James Cloos 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.