Skip to content

Commit d15ac79

Browse files
committed
update scenarios and descriptions
1 parent 6db584a commit d15ac79

8 files changed

+159
-279
lines changed

EVER/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Using user defined recipes, use the EVER archetype as you would the Cycamore Rea
77
graph LR
88
A(Define fuels) --> B(Input fuel list)
99
B --> C(List change times)
10-
C -- optional --> D(List new recipes)
10+
C -- optional --> D(List preferences)
1111
C --> E(Run)
1212
D --> E
1313
```

EVER/update/one_analysis.ipynb

+85-31
Large diffs are not rendered by default.

EVER/update/one_ever_update.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<simulation xmlns:xi="http://www.w3.org/2001/XInclude">
22
<control>
33
<decay>lazy</decay>
4-
<duration>840</duration>
4+
<duration>20</duration>
55
<startmonth>1</startmonth>
66
<startyear>2020</startyear>
77
</control>
@@ -86,7 +86,7 @@
8686
<product_commod>fresh_haleu</product_commod>
8787
<tails_commod>tails</tails_commod>
8888
<tails_assay>0.002</tails_assay>
89-
<max_enrich>0.17</max_enrich>
89+
<max_enrich>0.1975</max_enrich>
9090
<!-- Portsmouth Gaseous Diffusion Plant (OH) -->
9191
<latitude>39.008333</latitude>
9292
<longitude>-83</longitude>
@@ -96,7 +96,7 @@
9696

9797
<facility>
9898
<name>EVER_Update_Reactor</name>
99-
<lifetime>720</lifetime>
99+
<lifetime>18</lifetime>
100100
<config>
101101
<Ever>
102102
<fuel_incommods>
@@ -111,7 +111,7 @@
111111
<fuel_outrecipes>
112112
<val>used_uox</val>
113113
</fuel_outrecipes>
114-
<recipe_update_times> <val>68</val> <val>268</val> </recipe_update_times>
114+
<recipe_update_times> <val>8</val> <val>14</val> </recipe_update_times>
115115
<recipe_update_commods>
116116
<val>fresh_haleu</val> <val>fresh_uox</val>
117117
</recipe_update_commods>
@@ -121,7 +121,7 @@
121121
<recipe_update_out>
122122
<val>used_haleu</val> <val>used_uox</val>
123123
</recipe_update_out>
124-
<cycle_time>18</cycle_time>
124+
<cycle_time>1</cycle_time>
125125
<refuel_time>1</refuel_time>
126126
<assem_size>33000</assem_size> <!-- in kg -->
127127
<n_assem_core>3</n_assem_core>
@@ -178,7 +178,7 @@
178178
</entry>
179179
</initialfacilitylist>
180180
<config>
181-
<xi:include href="update_deployinst1.xml"/>
181+
<xi:include href="update_deployinst.xml"/>
182182
</config>
183183
</institution>
184184
</region>

EVER/update/one_update_deployinst.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<val>EVER_Update_Reactor</val>
44
</prototypes>
55
<build_times>
6-
<val>10</val>
6+
<val>2</val>
77
</build_times>
88
<n_build>
99
<val>1</val>

baseline/README.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Baseline Scenarios
2+
These scenarios are designed to establish the existing capabilities of the
3+
[Cycamore Reactor](https://fuelcycle.org/user/cycamoreagents.html#cycamore-reactor).
4+
5+
These capabilities are:
6+
1. The ability to change a recipe with the `recipe_change` tag.
7+
1. The ability to change the fuel preference with `fuel_prefs`.
8+
9+
## Base Single Reactor
10+
In this scenario, a single reactor is deployed with a single fuel type over a
11+
set deployment and decommissioning timeline.
12+
13+
14+
## Cycamore Multiple Enrichment
15+
In this scenario, we use the Cycamore Reactor's ability to change the
16+
preference to change the fuel type twice. There are two fuel types, and the
17+
reactor toggles twice:
18+
```
19+
Fuel A -> Fuel B -> Fuel A.
20+
```
21+
22+
23+
## Baseline Recycle Reactor
24+
In this scenario two reactors are deployed in series:
25+
```
26+
Enrichment -> Base Reactor -> Separations Facility -> Fuel Fabrication-> Recycle Reactor.
27+
```
28+
29+
The first reactor uses UOx fuel, and the second reactor uses MOx fuel, both
30+
reactors are the Cycamore archetype.
31+
32+
33+
## Mock CLOVER
34+
In this scenario we employed one method of mimicking the effect of changing the
35+
core loading over time by creating different recipes for assemblies at
36+
different locations and matching preference changes to back-of-the-envelope
37+
calculations.

baseline/baseline_analysis.ipynb

+19-17
Large diffs are not rendered by default.

baseline/cycamore_me_test_analysis.ipynb

+3-222
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@
2323
"outputs": [],
2424
"source": [
2525
"import cymetric as cym\n",
26-
"from cymetric import filters\n",
2726
"from cymetric import graphs\n",
28-
"from cymetric import timeseries\n",
29-
"from cymetric import tools\n",
30-
"import graphviz\n",
3127
"import sqlite3"
3228
]
3329
},
@@ -68,7 +64,7 @@
6864
},
6965
{
7066
"cell_type": "code",
71-
"execution_count": 4,
67+
"execution_count": 6,
7268
"id": "39a8276f",
7369
"metadata": {},
7470
"outputs": [
@@ -194,10 +190,10 @@
194190
"</svg>\n"
195191
],
196192
"text/plain": [
197-
"<graphviz.graphs.Digraph at 0x7f8a3bf98990>"
193+
"<graphviz.graphs.Digraph at 0x7fedf0b44dd0>"
198194
]
199195
},
200-
"execution_count": 4,
196+
"execution_count": 6,
201197
"metadata": {},
202198
"output_type": "execute_result"
203199
}
@@ -483,221 +479,6 @@
483479
"isotope_db = waste.isotope_database(evaler=evaler,receivers=receivers, commodities=commodities, isotopes=all_isotopes)"
484480
]
485481
},
486-
{
487-
"cell_type": "code",
488-
"execution_count": 14,
489-
"id": "111b47cc",
490-
"metadata": {},
491-
"outputs": [
492-
{
493-
"data": {
494-
"text/html": [
495-
"<div>\n",
496-
"<style scoped>\n",
497-
" .dataframe tbody tr th:only-of-type {\n",
498-
" vertical-align: middle;\n",
499-
" }\n",
500-
"\n",
501-
" .dataframe tbody tr th {\n",
502-
" vertical-align: top;\n",
503-
" }\n",
504-
"\n",
505-
" .dataframe thead th {\n",
506-
" text-align: right;\n",
507-
" }\n",
508-
"</style>\n",
509-
"<table border=\"1\" class=\"dataframe\">\n",
510-
" <thead>\n",
511-
" <tr style=\"text-align: right;\">\n",
512-
" <th></th>\n",
513-
" <th>Time</th>\n",
514-
" <th>551370000</th>\n",
515-
" <th>551370000_total</th>\n",
516-
" <th>922350000</th>\n",
517-
" <th>922350000_total</th>\n",
518-
" <th>922380000</th>\n",
519-
" <th>922380000_total</th>\n",
520-
" <th>942390000</th>\n",
521-
" <th>942390000_total</th>\n",
522-
" </tr>\n",
523-
" </thead>\n",
524-
" <tbody>\n",
525-
" <tr>\n",
526-
" <th>0</th>\n",
527-
" <td>0</td>\n",
528-
" <td>0.0</td>\n",
529-
" <td>0.000000</td>\n",
530-
" <td>0.0</td>\n",
531-
" <td>0.000000</td>\n",
532-
" <td>0.0</td>\n",
533-
" <td>0.000000e+00</td>\n",
534-
" <td>0.0</td>\n",
535-
" <td>0.000000</td>\n",
536-
" </tr>\n",
537-
" <tr>\n",
538-
" <th>1</th>\n",
539-
" <td>1</td>\n",
540-
" <td>0.0</td>\n",
541-
" <td>0.000000</td>\n",
542-
" <td>0.0</td>\n",
543-
" <td>0.000000</td>\n",
544-
" <td>0.0</td>\n",
545-
" <td>0.000000e+00</td>\n",
546-
" <td>0.0</td>\n",
547-
" <td>0.000000</td>\n",
548-
" </tr>\n",
549-
" <tr>\n",
550-
" <th>2</th>\n",
551-
" <td>2</td>\n",
552-
" <td>0.0</td>\n",
553-
" <td>0.000000</td>\n",
554-
" <td>0.0</td>\n",
555-
" <td>0.000000</td>\n",
556-
" <td>0.0</td>\n",
557-
" <td>0.000000e+00</td>\n",
558-
" <td>0.0</td>\n",
559-
" <td>0.000000</td>\n",
560-
" </tr>\n",
561-
" <tr>\n",
562-
" <th>3</th>\n",
563-
" <td>3</td>\n",
564-
" <td>0.0</td>\n",
565-
" <td>0.000000</td>\n",
566-
" <td>0.0</td>\n",
567-
" <td>0.000000</td>\n",
568-
" <td>0.0</td>\n",
569-
" <td>0.000000e+00</td>\n",
570-
" <td>0.0</td>\n",
571-
" <td>0.000000</td>\n",
572-
" </tr>\n",
573-
" <tr>\n",
574-
" <th>4</th>\n",
575-
" <td>4</td>\n",
576-
" <td>0.0</td>\n",
577-
" <td>0.000000</td>\n",
578-
" <td>0.0</td>\n",
579-
" <td>0.000000</td>\n",
580-
" <td>0.0</td>\n",
581-
" <td>0.000000e+00</td>\n",
582-
" <td>0.0</td>\n",
583-
" <td>0.000000</td>\n",
584-
" </tr>\n",
585-
" <tr>\n",
586-
" <th>...</th>\n",
587-
" <td>...</td>\n",
588-
" <td>...</td>\n",
589-
" <td>...</td>\n",
590-
" <td>...</td>\n",
591-
" <td>...</td>\n",
592-
" <td>...</td>\n",
593-
" <td>...</td>\n",
594-
" <td>...</td>\n",
595-
" <td>...</td>\n",
596-
" </tr>\n",
597-
" <tr>\n",
598-
" <th>835</th>\n",
599-
" <td>835</td>\n",
600-
" <td>0.0</td>\n",
601-
" <td>50661.549338</td>\n",
602-
" <td>0.0</td>\n",
603-
" <td>31743.118243</td>\n",
604-
" <td>0.0</td>\n",
605-
" <td>1.633516e+07</td>\n",
606-
" <td>0.0</td>\n",
607-
" <td>11398.848601</td>\n",
608-
" </tr>\n",
609-
" <tr>\n",
610-
" <th>836</th>\n",
611-
" <td>836</td>\n",
612-
" <td>0.0</td>\n",
613-
" <td>50661.549338</td>\n",
614-
" <td>0.0</td>\n",
615-
" <td>31743.118243</td>\n",
616-
" <td>0.0</td>\n",
617-
" <td>1.633516e+07</td>\n",
618-
" <td>0.0</td>\n",
619-
" <td>11398.848601</td>\n",
620-
" </tr>\n",
621-
" <tr>\n",
622-
" <th>837</th>\n",
623-
" <td>837</td>\n",
624-
" <td>0.0</td>\n",
625-
" <td>50661.549338</td>\n",
626-
" <td>0.0</td>\n",
627-
" <td>31743.118243</td>\n",
628-
" <td>0.0</td>\n",
629-
" <td>1.633516e+07</td>\n",
630-
" <td>0.0</td>\n",
631-
" <td>11398.848601</td>\n",
632-
" </tr>\n",
633-
" <tr>\n",
634-
" <th>838</th>\n",
635-
" <td>838</td>\n",
636-
" <td>0.0</td>\n",
637-
" <td>50661.549338</td>\n",
638-
" <td>0.0</td>\n",
639-
" <td>31743.118243</td>\n",
640-
" <td>0.0</td>\n",
641-
" <td>1.633516e+07</td>\n",
642-
" <td>0.0</td>\n",
643-
" <td>11398.848601</td>\n",
644-
" </tr>\n",
645-
" <tr>\n",
646-
" <th>839</th>\n",
647-
" <td>839</td>\n",
648-
" <td>0.0</td>\n",
649-
" <td>50661.549338</td>\n",
650-
" <td>0.0</td>\n",
651-
" <td>31743.118243</td>\n",
652-
" <td>0.0</td>\n",
653-
" <td>1.633516e+07</td>\n",
654-
" <td>0.0</td>\n",
655-
" <td>11398.848601</td>\n",
656-
" </tr>\n",
657-
" </tbody>\n",
658-
"</table>\n",
659-
"<p>840 rows × 9 columns</p>\n",
660-
"</div>"
661-
],
662-
"text/plain": [
663-
" Time 551370000 551370000_total 922350000 922350000_total 922380000 \\\n",
664-
"0 0 0.0 0.000000 0.0 0.000000 0.0 \n",
665-
"1 1 0.0 0.000000 0.0 0.000000 0.0 \n",
666-
"2 2 0.0 0.000000 0.0 0.000000 0.0 \n",
667-
"3 3 0.0 0.000000 0.0 0.000000 0.0 \n",
668-
"4 4 0.0 0.000000 0.0 0.000000 0.0 \n",
669-
".. ... ... ... ... ... ... \n",
670-
"835 835 0.0 50661.549338 0.0 31743.118243 0.0 \n",
671-
"836 836 0.0 50661.549338 0.0 31743.118243 0.0 \n",
672-
"837 837 0.0 50661.549338 0.0 31743.118243 0.0 \n",
673-
"838 838 0.0 50661.549338 0.0 31743.118243 0.0 \n",
674-
"839 839 0.0 50661.549338 0.0 31743.118243 0.0 \n",
675-
"\n",
676-
" 922380000_total 942390000 942390000_total \n",
677-
"0 0.000000e+00 0.0 0.000000 \n",
678-
"1 0.000000e+00 0.0 0.000000 \n",
679-
"2 0.000000e+00 0.0 0.000000 \n",
680-
"3 0.000000e+00 0.0 0.000000 \n",
681-
"4 0.000000e+00 0.0 0.000000 \n",
682-
".. ... ... ... \n",
683-
"835 1.633516e+07 0.0 11398.848601 \n",
684-
"836 1.633516e+07 0.0 11398.848601 \n",
685-
"837 1.633516e+07 0.0 11398.848601 \n",
686-
"838 1.633516e+07 0.0 11398.848601 \n",
687-
"839 1.633516e+07 0.0 11398.848601 \n",
688-
"\n",
689-
"[840 rows x 9 columns]"
690-
]
691-
},
692-
"execution_count": 14,
693-
"metadata": {},
694-
"output_type": "execute_result"
695-
}
696-
],
697-
"source": [
698-
"isotope_db"
699-
]
700-
},
701482
{
702483
"cell_type": "code",
703484
"execution_count": 15,

scripts/README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,10 @@ consistency and reproducibility of the analysis done in this repository.
77
We direct you to ARFC's
88
[transition-scenarios](https://github.com/arfc/transition-scenarios) and
99
[cymetric](https://github.com/cyclus/cymetric) to perform analysis on your own
10-
results as those tools are intended to be more generally applicable.
10+
results as those tools are intended to be more generally applicable.
11+
12+
## Quirks
13+
I will try to list the assumptions and quirks made in the scripts for posterity.
14+
15+
### fuel_transactions.py
16+
1. All fuels are assumed to have `fresh_<fuelname>` and `used_<fuelname>` as quantities of interest.

0 commit comments

Comments
 (0)