Skip to content

jlittell/CommodConverter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

319 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello

This page describes the CommodConverter. This is a library generated for use with the Cyclus simulator.

To use this library, first make sure that you have the dependencies installed, namely |Cyclus|, CMake, and a recent version of Python (2.7 or 3.3+).

First, you need to get the commodconverter code. You can grab the commodconverter by using git to clone the repository

Getting commodconverter via git:

$ git clone https://github.com/katyhuff/commodconverter.git
$ cd commodconverter

Now that we have the code, let's compile and install the commodconverter project. This is done with the install.py script. Where did you install Cyclus? If you used a $PREFIX for cyclus, use the same one here. I used ../install.

tutorial $ python install.py --prefix=../install

Let's run |cyclus| with the CommodConverter! In the input directory there is an :file:`example.xml`. Running |cyclus| on this file with the command cyclus input/example.xml should produce the following output.

tutorial $ cyclus input/example.xml
              :
          .CL:CC CC             _Q     _Q  _Q_Q    _Q    _Q              _Q
        CC;CCCCCCCC:C;         /_\)   /_\)/_/\\)  /_\)  /_\)            /_\)
        CCCCCCCCCCCCCl       __O|/O___O|/O_OO|/O__O|/O__O|/O____________O|/O__
     CCCCCCf     iCCCLCC     /////////////////////////////////////////////////
     iCCCt  ;;;;;.  CCCC
    CCCC  ;;;;;;;;;. CClL.                          c
   CCCC ,;;       ;;: CCCC  ;                   : CCCCi
    CCC ;;         ;;  CC   ;;:                CCC`   `C;
  lCCC ;;              CCCC  ;;;:             :CC .;;. C;   ;    :   ;  :;;
  CCCC ;.              CCCC    ;;;,           CC ;    ; Ci  ;    :   ;  :  ;
   iCC :;               CC       ;;;,        ;C ;       CC  ;    :   ; .
  CCCi ;;               CCC        ;;;.      .C ;       tf  ;    :   ;  ;.
  CCC  ;;               CCC          ;;;;;;; fC :       lC  ;    :   ;    ;:
   iCf ;;               CC         :;;:      tC ;       CC  ;    :   ;     ;
  fCCC :;              LCCf      ;;;:         LC :.  ,: C   ;    ;   ; ;   ;
  CCCC  ;;             CCCC    ;;;:           CCi `;;` CC.  ;;;; :;.;.  ; ,;
    CCl ;;             CC    ;;;;              CCC    CCL
   tCCC  ;;        ;; CCCL  ;;;                  tCCCCC.
    CCCC  ;;     :;; CCCCf  ;                     ,L
     lCCC   ;;;;;;  CCCL
     CCCCCC  :;;  fCCCCC
      . CCCC     CCCC .
       .CCCCCCCCCCCCCi
          iCCCCCLCf
           .  C. ,
              :

<details>
Status: Cyclus run successful!
Output location: cyclus.sqlite
Simulation ID: 0ae730e0-a9a8-4576-afaa-d1db6399d5a2

About

This repository holds a very boring facility model for cyclus. It's very similar to the "NullFacility" of years past. Its purpose is to convert a commodity from one commodity to another after some period of delay time. This facility is very good for use as a storage facility or as a facility whose process physics will not transmute the material …

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • CMake 53.8%
  • C++ 37.5%
  • Python 8.7%