Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial #293

Merged
merged 114 commits into from
Feb 25, 2021
Merged
Show file tree
Hide file tree
Changes from 104 commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
2878b7b
tutorial update cyclus tutorial
Aug 7, 2018
b1d555b
cyclus tutorial updates to cyclus webpage
KennellyT Aug 14, 2018
1ace32e
new index
KennellyT Aug 14, 2018
4fbb929
added cyclus tour page
KennellyT Aug 15, 2018
6817925
pep8 issues
KennellyT Aug 15, 2018
d56529a
added solutions to input files in cyclus_tutorial_recap
KennellyT Aug 20, 2018
ad542ca
updated index
KennellyT Aug 20, 2018
157233f
typo fixes, file deletions, link updates
KennellyT Aug 22, 2018
d00e80c
added clarity to tutorial structure
KennellyT Aug 23, 2018
6005d50
Merge pull request #2 from KennellyT/kennellyt_simple
jbae11 Sep 13, 2018
8819c20
Merge pull request #1 from KennellyT/kennellyt_simple
katyhuff Sep 13, 2018
52a4188
Changes to links in install_cyclus page
KennellyT Sep 13, 2018
1f45f33
sim parm changes to links
KennellyT Sep 13, 2018
fc94ecc
style changes to sim_parm
KennellyT Sep 13, 2018
bd2ebe6
add_proto
jbae11 Sep 13, 2018
7435a37
shorter headings for sidebar
jbae11 Sep 13, 2018
836beff
shorter headings for sidebar
jbae11 Sep 13, 2018
a9d3ec4
bullet lists over long explanations
jbae11 Sep 13, 2018
df9231d
shorter header names for sidebar sanity
jbae11 Sep 13, 2018
96d53f8
add reg inst
jbae11 Sep 13, 2018
f9a0157
final touches to addreginst
jbae11 Sep 13, 2018
9b68636
grammar
gwenchee Sep 14, 2018
5024dc4
more grammar
gwenchee Sep 14, 2018
a57f778
add fab addition
jbae11 Sep 14, 2018
aaefda8
link fix
jbae11 Sep 14, 2018
5e69593
grammar and flow
gtw2 Sep 14, 2018
cdf74af
removes cyclist and adds example
gtw2 Sep 14, 2018
25c4b6a
add xml syntax highlighting
jbae11 Sep 14, 2018
2c83c03
add xml schema coloring
jbae11 Sep 14, 2018
1ab2ea9
uses the equivalence type method
jbae11 Sep 14, 2018
af6debe
footnotes
gwenchee Sep 14, 2018
4e2a263
review changes
gtw2 Sep 14, 2018
48e79fd
sim_parm and add_arch changed according to google doc format
KennellyT Sep 14, 2018
9676221
edited to reflect cyclus call suggestions
gwenchee Sep 17, 2018
ee84e17
minor edit
gwenchee Sep 17, 2018
4ee47f1
Merge pull request #12 from gwenchee/gwen-exercise2
jbae11 Sep 17, 2018
42a527c
Merge pull request #13 from jbae11/exercise2
gwenchee Sep 17, 2018
95380d3
Merge pull request #10 from jbae11/exercise1
gwenchee Sep 17, 2018
02777f9
Merge pull request #3 from arfc/tutorial
jbae11 Sep 17, 2018
a9aab58
Add proto reflect comments
jbae11 Sep 17, 2018
0816ddb
add reg inst
jbae11 Sep 17, 2018
7d06ade
add reg inst fix
jbae11 Sep 17, 2018
35db03f
full input link
jbae11 Sep 18, 2018
e8b5aa8
Merge pull request #15 from gtw2/issue8
gtw2 Sep 18, 2018
618060c
links to cycamore and cymetric included
KennellyT Sep 19, 2018
a35fa02
removed blank line in data explorer
KennellyT Sep 19, 2018
3d35e9d
data_explorer in xml
KennellyT Sep 19, 2018
25eb1d8
Merge pull request #16 from gwenchee/gwen-exercise1
katyhuff Nov 2, 2018
4a4085e
Merge pull request #17 from jbae11/tutorial-fix-2
katyhuff Nov 2, 2018
0878545
Merge branch 'tutorial' into kennellyt_simple
KennellyT Nov 3, 2018
c0e6e25
Merge pull request #9 from KennellyT/kennellyt_simple
katyhuff Jun 28, 2019
c930fca
Update source/user/tutorial/sim_parm.rst
katyhuff Jun 29, 2019
f6a8ed5
Update source/user/tutorial/add_arche.rst
katyhuff Jun 29, 2019
8698763
Update source/user/tutorial/add_arche.rst
katyhuff Jun 29, 2019
a2e9ccd
Apply suggestions from code review
katyhuff Jun 29, 2019
6e0c453
Update source/user/tutorial/add_arche.rst
katyhuff Jun 29, 2019
d65d586
Update source/user/tutorial/add_arche.rst
katyhuff Jun 29, 2019
2f49ea8
Apply suggestions from code review
katyhuff Jun 29, 2019
eaec722
Fixed small spelling error and consistency in prototype discussion
Sep 14, 2020
7d318dd
Reordered discussions and activities
Sep 14, 2020
8c9cde7
changes to allow for preview of website
Sep 28, 2020
74f9b6f
finsihed edits to allow for preview build
Sep 28, 2020
4e61052
added separations template
Sep 29, 2020
0a5bdb8
clarifications of reactor modifications
Sep 29, 2020
eb8cef9
reorganized add_reg_inst
Sep 30, 2020
b706970
small changes in formatting/wording
Sep 30, 2020
8c98748
Merge pull request #18 from abachma2/tutorial
abachma2 Sep 30, 2020
e1d8c46
formatting changes based on html build
Sep 30, 2020
03f3852
spelling and formatting fixes
Oct 5, 2020
51e1f8e
formatting changes
Oct 5, 2020
75cf225
removed second reactor from data_explorer
Oct 5, 2020
bd45a1c
combined ipyton_tour and run_cyclus_native into the latter
Oct 19, 2020
bdd1d83
removed data_explorer, referenced Cymetric
Oct 19, 2020
f8ca2f8
updated hyperlinks
Oct 20, 2020
26b3063
removed data analysis from add_second_reactor
Oct 20, 2020
501c74d
wording changes, more clarity
Oct 20, 2020
31ce816
updated add_deploy for clarity/completeness
Oct 20, 2020
41d8212
formatting and added footnote for ordering
Oct 20, 2020
33452aa
formatting consistency
Oct 20, 2020
d5754b8
modifying based on @robfairh comments
Oct 27, 2020
7c458a1
Merge pull request #20 from abachma2/tutorial
robfairh Oct 28, 2020
b50d0fe
section formatting and ellipses in some of the blocks
Nov 11, 2020
e26661e
Separated out commodities/recipes from prototypes, headings are consi…
Nov 13, 2020
3ec63ec
removed current links for files, need new ones
Nov 13, 2020
da66353
added .xml files for each input
Nov 13, 2020
2eee177
added terminal search for archetypes
Nov 13, 2020
b639256
updated recycle input names and checking archetypes
Nov 30, 2020
a0b2a44
added doi for sample files
Nov 30, 2020
67141e5
added doi for sample files
Nov 30, 2020
9cd2468
fixed formatting with doi, removed add_deploy from index
Nov 30, 2020
b9d5fd8
added input for DeployInst
Nov 30, 2020
b2c8081
formatting on fuel fab name
Nov 30, 2020
075a420
changed doi for verion 2, updated file names
Nov 30, 2020
a59e908
spelling fix in source/user/tutorial/add_arche.rst
abachma2 Dec 1, 2020
79ef0fe
Merge pull request #21 from abachma2/tutorial
gwenchee Dec 3, 2020
45303ef
Merge branch 'source' into tutorial
abachma2 Dec 3, 2020
8b50d2f
addressed comments from @nuclearkatie
Jan 12, 2021
8ce95ba
Merge branch 'tutorial' of github.com:abachma2/cyclus.github.com into…
Jan 12, 2021
9a2fe44
made changes based on comments from @katyhuff
Jan 12, 2021
c50cc34
modified DeployInst to better match other sections
Jan 12, 2021
f1ac784
removed subsection header to remove blank space under top header
Jan 12, 2021
9b8486a
Merge pull request #22 from abachma2/tutorial
katyhuff Jan 13, 2021
f60992f
fixed pyne link
abachma2 Feb 4, 2021
7f683cc
Merge pull request #23 from abachma2/tutorial
abachma2 Feb 4, 2021
8e45d6b
added deployinst inout
abachma2 Feb 23, 2021
2bd5fad
changed second reactor cycle length
abachma2 Feb 23, 2021
d02d30c
changed ZAID format
abachma2 Feb 23, 2021
3e02f88
changed second reactor cycle length, updated DOI
abachma2 Feb 23, 2021
a44a642
removed description tag
abachma2 Feb 23, 2021
4295583
updated DOI
abachma2 Feb 23, 2021
7205aac
changed titles to example:
abachma2 Feb 23, 2021
f4ee07d
wording changes
abachma2 Feb 23, 2021
c84244a
syntax changes
abachma2 Feb 23, 2021
ac69246
Merge pull request #24 from abachma2/tutorial
abachma2 Feb 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/arche/resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ terms of the ``cyclus::Resource`` superclass. So it will sometimes be
necessary to cast down to the appropriate resource subclass. |Cyclus| provides
an overloaded ResCast function for casting convenience:

**C++*:*
**C++:**

.. code-block:: c++

Expand Down
3 changes: 1 addition & 2 deletions source/arche/timestep.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Future decommissions can be scheduled by any :term:`agent` using the
``cyclus::Context``'s ``SchedDecom`` member function. A decommission can be
scheduled for the current time step or any future time step.

Decommissioning occurrs at the end of a time step. Therefore, an agent with a lifetime
Decommissioning occurs at the end of a time step. Therefore, an agent with a lifetime
of 1 would be decommissioned on the same time step it was built. The lifetime of an
agent can be back calculated by `1+exit_time-start_time`.

Expand All @@ -143,4 +143,3 @@ Further Reading

For a more in depth (and historical) discussion, see `CEP 20
<http://fuelcycle.org/cep/cep20.html>`_.

6 changes: 3 additions & 3 deletions source/arche/toolkit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ composable, agent-managed state variables:
* ``cyclus::toolkit::SupplyDemandManager``: an interface for querying the supply
and demand on commodities

Geographic Informasion System (GIS) Class [C++]
+++++++++++++++++++++++++++++++++++++++++++++++
Geographic Informasion System (GIS) Class [C++]
+++++++++++++++++++++++++++++++++++++++++++++++
The ``cyclus::toolkit::GIS`` class provide an option to add geographic coordinates
of its friend classes. Haversine distance calculations between two facilities or
agents with GIS coordinates can be performed as well.
agents with GIS coordinates can be performed as well.
5 changes: 0 additions & 5 deletions source/arche/tutorial_cpp/cyclist.rst

This file was deleted.

5 changes: 0 additions & 5 deletions source/arche/tutorial_cpp/dre.rst

This file was deleted.

6 changes: 4 additions & 2 deletions source/cep/cep-0018-1.bib
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ @article{nagurney_supply_2002
journal = {Transportation Research Part E: Logistics and Transportation Review},
volume = {38},
number = {5},
pages = {281 ^`^s303},

katyhuff marked this conversation as resolved.
Show resolved Hide resolved
pages = {281 - 303},
year = {2002},
note = {},
issn = {1366-5545},
doi = {10.1016/S1366-5545(01)00020-5},
url = {http://www.sciencedirect.com/science/article/pii/S1366554501000205},
author = {Nagurney, Anna and Dong, June and Zhang, Ding},
keywords = {Supply chains;Networks;Equilibrium;Variational inequalities;Decentralized decision-making}
keywords = {Supply chains;Networks;Equilibrium;Variational inequalities;Decentralized decision-making},
katyhuff marked this conversation as resolved.
Show resolved Hide resolved
}

@ARTICLE{song_nash_2002,
Expand Down
29 changes: 15 additions & 14 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
warnings.warn('WARNING: Continuing without cypp.py!!!', RuntimeWarning)

if len(h) != 0:
fname = [x[10:].strip() for x in h.splitlines() if x.startswith('filename:')][0]
fname = [x[10:].strip()
for x in h.splitlines() if x.startswith('filename:')][0]
sys.path.insert(1, os.path.dirname(fname))


Expand Down Expand Up @@ -67,7 +68,7 @@
# General information about the project.
project = u'Cyclus'
copyright = (u'2012-2016, University of Wisconsin Computational Nuclear '
'Engineering Research Group')
'Engineering Research Group')

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -145,7 +146,7 @@
'externalrefs': False,
'stickysidebar': False,
'highlighttoc': False,
}
}

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = ['_theme', csp.get_theme_dir()]
Expand Down Expand Up @@ -220,21 +221,21 @@
# -- Options for LaTeX output --------------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The paper size ('letterpaper' or 'a4paper').
# 'papersize': 'letterpaper',
Comment on lines +224 to +225
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why these indentations are necessary (with these behind comment hashes (#), I'm not sure the indentation make a difference.)


# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# The font size ('10pt', '11pt' or '12pt').
# 'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#'preamble': '',
# Additional stuff for the LaTeX preamble.
# 'preamble': '',
}

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'Cyclus.tex', u'Cyclus Documentation',
u'Cyclus Developer', 'manual'),
('index', 'Cyclus.tex', u'Cyclus Documentation',
u'Cyclus Developer', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down Expand Up @@ -277,9 +278,9 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Cyclus', u'Cyclus Documentation',
u'Cyclus Developers', 'Cyclus', 'One line description of project.',
'Miscellaneous'),
('index', 'Cyclus', u'Cyclus Documentation',
u'Cyclus Developers', 'Cyclus', 'One line description of project.',
'Miscellaneous'),
]

# Documents to append as an appendix to all manuals.
Expand Down
Binary file added source/user/tutorial/RIF.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/user/tutorial/RIF_tutorial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
205 changes: 158 additions & 47 deletions source/user/tutorial/add_arche.rst
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
Understanding and Adding Archetypes to Your Scenario
++++++++++++++++++++++++++++++++++++++++++++++++++++
Understanding Archetypes
++++++++++++++++++++++++

Concept: Archetypes
=========================================
===================

One of the principal features of |Cyclus| is the ability for users to easily
switch between different models of fuel cycle facilities. Models may differ
in the way they choose to represent the physics of the facility, or in the way
they choose for the facility to interact with other facilities, or both. In
|Cyclus|, we call each of these different models an :term:`archetype`.

Archetype Example: Reactor Fidelity
------------------------------------
Archetype Example
-----------------

The easiest way for most fuel cycle analysts to understand the difference
between archetypes is through the example of a reactor model.
between archetypes is through the example of a reactor model.

* The simplest possible reactor archetype uses the concept of fixed input and
output recipes to define the transmutation of material. Such a reactor
might assume that all material that it receives matches its desired input
recipe, and that all the material that it then ships as used fuel will match
its prescribed output recipe. This will probably run the fastest.
* A more sophisticated reactor archetype uses some form of tabulated data to
determine both performance characteristics and used fuel discharge
composition. It could be as simple as interpolating between a set of
determine both **performance characteristics** and **used fuel discharge
composition**. It could be as simple as interpolating between a set of
possible input recipes and then using that interpolation on a set of
corresponding output recipes. A more complex version of such an archetype
could even have tabulated reactor physics paramters for more fidelity.
could even have tabulated reactor physics parameters for more fidelity.
* The most sophisticated reactor archetype may actually be a wrapper for fuel
depletion software, and perform a full depletion calculation each time new
fuel arrives at the reactor. This will probably take the most computer time
Expand All @@ -45,56 +45,167 @@ simple models and are useful for tutorials such as this, and as a standard way
to model facilities that may be at the peripheral of a problem. The Cycamore
facility archetypes are:

* **Source:** This generic source of material may fill the role of any
* **Source:** `Source <http://fuelcycle.org/user/cycamoreagents.html#cycamore-source>`_
is a generic source of material may fill the role of any
facility that produces fresh material. Depending on how much of the fuel
cycle a user wants to model explicity, this could fill the role of a uranium
mine, an enrichment facility, a fuel fabrication facility, etc.
* **Enrichment:** This facility archetype implements the standard equations for
cycle a user wants to model explicitly, this could fill the role of a uranium
mine, an enrichment facility, a fuel fabrication facility, import of a commodity from
outside simulated facilities, etc. The Source facility produces resources at a user-specified
rate and may be limited to a user-specified total inventory.
* **Enrichment:** `Enrichment <http://fuelcycle.org/user/cycamoreagents.html#cycamore-enrichment>`_
is a facility archetype that implements the standard equations for
enrichment of U-235 in U-238, with a constrained total enrichment capacity.
* **Reactor:** This facility archetype uses simple fuel recipes for a reactor
* **Reactor:** `Reactor <http://fuelcycle.org/user/cycamoreagents.html#cycamore-reactor>`_
is a facility archetype which uses fresh and spent fuel recipes to model fuel transmutation.
abachma2 marked this conversation as resolved.
Show resolved Hide resolved
that reloads batches of assemblies at regular intervals.
* **Separations:** This facility archetype takes a number of input streams and
* **Separations:** `Separations <http://fuelcycle.org/user/cycamoreagents.html#cycamore-separations>`_
is a facility archetype that receives one or more material streams and
separates all the isotopes into a number of output streams.
* **FuelFab:** This facility archetype mixes streams of fissile and
* **FuelFab:** `FuelFab <http://fuelcycle.org/user/cycamoreagents.html#cycamore-fuelfab>`_ is
a facility archetype that mixes streams of fissile and
fissionable material in order to best approximate a given recipe using the
d-factor approach.
* **Sink:** This generic sink of material may fill the role of any facility
* **Sink:** `Sink <http://fuelcycle.org/user/cycamoreagents.html#cycamore-sink>`_ is a generic
sink of material that may fill the role of any facility
that permanently holds used nuclear material. Depending on how much of the
fuel cycle a user wants to model explicitly, this could fill the role of a
geologic repository, an interim storage facility, etc.
geologic repository, an interim storage facility, export of a commodity from outside simulated facilities, etc.
abachma2 marked this conversation as resolved.
Show resolved Hide resolved


Activity: Discover the Available Archetypes
---------------------------------------------

Since archetypes can change without having to resinstall |Cyclus|, there is
the ability to automatically discover which archetypes are available.

1. Press the "Discover Archetypes" button to update the archetypes available to you.

.. image:: disc_arche.png
:align: center
:alt: View of archetype discovery pane.
===========================================
If using |Cyclus| on your machine, the archetypes available to you are only those that you have downloaded.
To check which archetypes are downloaded on your machine run the command ``cyclus -a`` from your terminal.

2. Select the "Add Archetype to Simulation" drop-down box to see which
archetypes are available.
If you are not running |Cyclus| on your machine, the archetypes available to you include those in Cycamore, which
can be found on the `archetypes
<http://fuelcycle.org/user/cycamoreagents.html>`_ webpage.

Activity: Select Archetypes to Use in this Scneario
------------------------------------------------------

After discovering which archetypes are available on your system, you are able to select which
subset of archetypes will be used in this particular scenario.
What archetypes can you see yourself using in your research?

1. For this scenario, select each of these archetypes from the drop down box.

* *cycamore Source*: to act as the mine
* *cycamore Enrichment*: to act as the enrichment facility
* *cycamore Reactor*: to act as the LWR
* *cycamore Sink*: to act as the geoligic respository

Notice how these now appear in the window on the right.

.. image:: arche_ribbon.png
:align: center
:width: 100%
:alt: View of archetype ribbon after adding archetypes
Concept: Third-Party Archetypes
=========================================
`Third-Party <http://fuelcycle.org/user/index.html#=third-party>`_ Archetypes
complement the initial archetypes available in Cycamore and are not necessarily
maintained by the |Cyclus| core development team. Popular Third-Party Archetypes are:

* Bright-lite
* Cyborg
* Mbmore Archetypes
* rwc Archetypes
abachma2 marked this conversation as resolved.
Show resolved Hide resolved

Review the `archetype developer tutorial <http://fuelcycle.org/arche/tutorial/input_files.html>`_
for more information on making your own Archetypes.

Activity: Adding archetypes
===========================

After discovering which archetypes are available, we will select which
subset of archetypes to use in this particular scenario.

The archetypes we will use in our simulation include:

- ``cycamore Source``: to act as the mine
- ``cycamore Enrichment``:to act as the enrichment facility
- ``cycamore Reactor``: to act as the LWR
- ``cycamore Sink``: to act as the geological repository.

A user identifies the simulation ``archetypes`` in the archetype block of the |Cyclus| input file.
The ``archetype`` block is located after the simulation control block and takes the form:

.. code-block:: XML

<archetypes>
<spec>
<lib>lib1</lib>
<name>arch_1</name>
</spec>
<spec>
<lib>lib2</lib>
<name>arch_2</name>
</spec>
</archetypes>

where ``lib`` is the library in which the archetype came from and ``name`` is
the archetype name. Let's build our archetypes!
Using the template below and the table below,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The basics of a template are above here... could this be simplified by asking them to add four different <spec> entries with the values defined in a transposed table

+==========+==========+
|    lib   |   name   |
+----------+----------+

fill in the template with the variables listed in the table below.

+-------------+------------------+----------------------------+
| Variable | Value | Purpose |
+=============+==================+============================+
| ``lib1`` | ``cycamore`` | Library of the archetype |
+-------------+------------------+----------------------------+
| ``arch1`` | ``Enrichment`` | Name of archetype |
+-------------+------------------+----------------------------+
| ``lib2`` | ``cycamore`` | Library of the archetype |
+-------------+------------------+----------------------------+
| ``arch2`` | ``Reactor`` | Name of archetype |
+-------------+------------------+----------------------------+
| ``lib3`` | ``cycamore`` | Library of the archetype |
+-------------+------------------+----------------------------+
| ``arch3`` | ``Source`` | Name of archetype |
+-------------+------------------+----------------------------+
| ``lib4`` | ``cycamore`` | Library of the archetype |
+-------------+------------------+----------------------------+
| ``arch4`` | ``Sink`` | Name of archetype |
+-------------+------------------+----------------------------+


Archetype Block Template
------------------------
.. code-block:: XML

<archetypes>
<spec>
<lib>lib1</lib>
<name>arch1</name>
</spec>
<spec>
<lib>lib2</lib>
<name>arch2</name>
</spec>
<spec>
<lib>lib3</lib>
<name>arch3</name>
</spec>
<spec>
<lib>lib4</lib>
<name>arch4</name>
</spec>
</archetypes>


Once complete, your ``archetypes`` block should look like:

.. code-block:: XML

<archetypes>
<spec>
<lib>cycamore</lib>
<name>Enrichment</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Reactor</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Source</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Sink</name>
</spec>
</archetypes>

Once complete, append the archetypes section under the control section of input file [#f1]_.
abachma2 marked this conversation as resolved.
Show resolved Hide resolved

.. rubric:: Footnotes

.. [#f1] The exact order of the sections in a |Cyclus| input file are of minor
consequence. The ``control`` sequence must go first, but the other sequences
can go in any order that makes sense to the user. The traditional organization
of an input file is: control, archetypes, commodities, facilities,
regions/institutions, and recipes.
Loading