GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - gonuke/cyclus: The core of the Cyclus nuclear fuel cycle code from the University of Wisconsin, Madison

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

8,183 Commits
8,183 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
agents
agents
 
 
cli
cli
 
 
cmake
cmake
 
 
cyclus
cyclus
 
 
doc
doc
 
 
docker
docker
 
 
share
share
 
 
src
src
 
 
stubs
stubs
 
 
tests
tests
 
 
.astylerc
.astylerc
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
AUTHORS.rst
AUTHORS.rst
 
 
CHANGELOG.rst
CHANGELOG.rst
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CONTRIBUTING.rst
CONTRIBUTING.rst
 
 
DEPENDENCIES.rst
DEPENDENCIES.rst
 
 
INSTALL.rst
INSTALL.rst
 
 
LICENSE.rst
LICENSE.rst
 
 
README.rst
README.rst
 
 
install.py
install.py
 
 
pyproject.toml
pyproject.toml
 
 
rever.xsh
rever.xsh
 
 
setup.py
setup.py
 
 

Repository files navigation

Cyclus

The Cyclus fuel cycle simulator is an agent-based and extensible framework for modeling the flow of material through future nuclear fuel cycles. For more information on the entire "ecosystem" please refer to the Cyclus website.

Cyclus Projects Status

Branch Cyclus Cycamore Cymetric
main cyclus_main cycamore_main cymetric_main

Cyclus Core

The core of the Cyclus nuclear fuel cycle simulator from the University of Wisconsin-Madison is intended to be a simulation framework for the development of innovative fuel cycle simulations.

This README is intended primarily for those who intend to contribute to the development of the Cyclus Core. If you are interested Cyclus as a user or in developing Cyclus archetypes, you may want to consult Getting Started with Cyclus.

This README provides basic information about:
  • the dependencies required by Cyclus
  • installation of Cyclus from the command line
  • how to run Cyclus and the Cyclus unit tests

The Cyclus Core contains all the fundamental pieces of the Cyclus framework required to interface with the input file, write the output file, and manage material flow during the simulation via the Dynamic Resource Exchange. It does not contain any fuel cycle facility models. A set of nuclear facilities can be obtained by installing Cycamore, the Cyclus Additional Module. Cycamore is supported by the Cyclus Developer Team.

Third party modules can also be installed (or developed) with additional facilities. Please visit the Cyclus website for a list of contributed modules.

  • For general information about Cyclus, visit the Cyclus Homepage,
  • For detailed installation instructions, visit the INSTALLATION Guide,
  • To see user and developer documentation for this code, please visit the Users Guide,
  • If you would like to contribute to Cyclus, please check our Contribution Guidelines.

Table of Contents

  • Cyclus Projects Status
    • Cyclus Core
      • Dependencies
      • Quick Cyclus Installation
      • Running Tests
      • Installing Cycamore
      • Running Cyclus
      • Contributing

Dependencies

In order to facilitate future compatibility with multiple platforms, Cyclus is built using CMake. For detailed instructions on Cyclus dependencies (including minimum version requirements), see Installing Dependencies.

Quick Cyclus Installation

The quickest way to install Cyclus and its dependencies relies on using the conda-forge channel and the conda package manager within the Anaconda python environment. The following instructions guide you through that approach. To install Cyclus and its dependencies onto a clean Ubuntu machine (tested on 22.04 LTS):

  • Download and install Miniconda for Linux
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
  • Execute the following commands to initialize Miniconda:
~/miniconda3/bin/conda init bash
source ~/.bashrc
  • Create a new environment and install the Cyclus package
conda config --add channels conda-forge
conda create -n cyclus
conda activate cyclus
conda install -y cyclus

For more detailed installation procedure, and/or custom installation please refer to the INSTALLATION guide.

Running Tests

Installing Cyclus will also install a test driver (i.e., an executable of all of our tests). You can run the tests yourself via:

cyclus_unit_tests

Installing Cycamore

As noted previously, the Cyclus Core will not allow you to run fuel cycle simulations as it does not include nuclear facilities. To run fuel cycle simulations, first download Cycamore (GitHub Cyamore Repository):

  • Clone the Cycamore Repo: git clone https://github.com/cyclus/cycamore.git,
  • Install in the same location you installed Cyclus (eg. in ~/.local/): python3 install.py from the cycamore folder.

Running Cyclus

You can find instructions for writing an input file for cyclus from Cyclus User Guide or use sample input files from Cycamore Repo. Assuming you have some file input.xml, you can run Cyclus via:

cyclus path/to/input.xml

For a more detailed explanation, check out the Cyclus User Guide.

Contributing

We happily welcome new developers into the Cyclus Developer Team. If you are willing to contribute into Cyclus, please follow this procedure:

  1. Fork Cyclus repository,
  2. Create a working branch on your fork from the main branch,
  3. Implement your modification of the Cyclus source code,
  4. Submit a Pull request into Cyclus/main branch,
  5. Wait for reviews/merge (the proposer of a pull request cannot be the Merger).

You may also want to read our Contribution Guidelines.

About

The core of the Cyclus nuclear fuel cycle code from the University of Wisconsin, Madison

cyclus.github.com

Resources

Readme
License

Contributing

Contributing
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.