-
Notifications
You must be signed in to change notification settings - Fork 16
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
Prepare Simulation
and App
classes for OpenMC support, rework input file structure
#98
Changes from all commits
9da4e00
4c493f2
3cfd4b0
4168ce4
833969f
95a6131
c7a2ac1
25e0b60
0a0bb5f
538bbfc
d7531a9
b2af45c
21b1fa3
c27c82b
826e119
5bedb32
b321e2c
6399e59
18c3599
ac606b7
e2f1b6c
e360c6c
2554e63
aac559e
d51cd78
4035363
639cf22
47a8af6
ee689ea
56473bc
4fd2c74
0ca64c6
88fea3d
949c524
c5d16e4
e7cdc1a
19fcbf3
d1e6e08
2e1ad87
863a840
6117605
7d0f3ff
0431fd4
72c49cf
5fdef26
72a1816
4b7356c
2117221
1feb332
3447d20
62f9c1f
fea00cd
b727840
6cdacfb
54f993f
ff63dda
eed34c8
5148fc5
7af5547
37955ce
f556fab
11f1d5f
84f10d0
c6d46f3
e00c55b
0397f4e
67c031e
42c07a6
8aaf281
03b9c54
f694973
7b4526a
d44e8a8
daf86f2
c420c14
234f2d1
e99c2cc
0e32b6d
2fb9199
961dfe8
8806c3c
97a481c
51a005f
96846ba
7bdbd1a
e181e47
6d09517
8a7ac98
0d964bd
f99c5d9
a5d7058
03ae0ab
617588c
7b4a34a
3878c54
4e7e820
a773119
b33b247
a6eb03b
6cacd06
849f186
83a8e17
ad86976
cb2c556
2d83302
ca5a8c4
ae7e20a
781f76f
fdc4842
1fafe34
a272b56
4676880
3527e7d
a285361
0774592
4c8fce1
3082496
a44d419
7d75b04
98e90c6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,6 @@ dependencies: | |
- networkx | ||
- pydotplus | ||
- pytest | ||
- jsonschema | ||
- pip: | ||
- argparse==1.4.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,29 @@ | ||
{ | ||
"Path to Serpent executable": "sss2", | ||
"File containing processing system objects": "msbr_objects.json", | ||
"Graph file containing processing system structure": "msbr.dot", | ||
"User's Serpent input file with reactor model": "msbr.serpent", | ||
"Path output data storing folder": "../../saltproc/data/", | ||
"Output HDF5 database file name": "msbr_kl_100_saltproc.h5", | ||
"Number of neutrons per generation": 50, | ||
"Number of active generations": 20, | ||
"Number of inactive generations": 20, | ||
"Restart simulation from the step when it stopped?": false, | ||
"Geometry file/files to use in Serpent runs": "geometry/msbr_full.ini", | ||
"Switch to another geometry when keff drops below 1?": false, | ||
"Salt mass flow rate throughout reactor core (g/s)": 9920000, | ||
"Number of steps for constant power and depletion interval case": 12, | ||
"Depletion step interval or Cumulative time (end of step) (d)": 3, | ||
"Reactor power or power step list during depletion step (W)": 2250000000 | ||
"proc_input_file": "msbr_objects.json", | ||
"dot_input_file": "msbr.dot", | ||
"output_path": "./data", | ||
"num_depsteps": 12, | ||
"depcode": { | ||
"codename": "serpent", | ||
"exec_path": "sss2", | ||
"template_inputfile_path": "./msbr.serpent", | ||
"iter_inputfile": "saltproc_serpent", | ||
"iter_matfile": "saltproc_mat", | ||
"npop": 50, | ||
"active_cycles": 20, | ||
"inactive_cycles": 20, | ||
"geo_file_paths": ["./geometry/msbr_full.ini"] | ||
}, | ||
"simulation": { | ||
"sim_name": "msbr_example_simulation", | ||
"db_name": "msbr_kl_100_saltproc.h5", | ||
"restart_flag": false, | ||
"adjust_geo": false | ||
}, | ||
"reactor": { | ||
"volume": 1.0, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How come the volume is listed as 1? The volume listed in "mats/msbr_saltproc_prepr_comp.ini" is 4.871E7. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a good point. In v0.3.0, the
but the |
||
"mass_flowrate": 9920000, | ||
"power_levels": [ 2250000000 ], | ||
"dep_step_length_cumulative": [ 3 ] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,45 @@ | ||
{ | ||
LukeSeifert marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"Path to Serpent executable": "sss2", | ||
"File containing processing system objects": "tap_objects.json", | ||
"Graph file containing processing system structure": "tap.dot", | ||
"User's Serpent input file with reactor model": "tap.serpent", | ||
"Path output data storing folder": "../../saltproc/data/", | ||
"Output HDF5 database file name": "db_saltproc.h5", | ||
"Number of neutrons per generation": 50, | ||
"Number of active generations": 20, | ||
"Number of inactive generations": 20, | ||
"Restart simulation from the step when it stopped?": false, | ||
"Geometry file/files to use in Serpent runs": [ | ||
"geometry/347_base.ini", | ||
"geometry/406.ini", | ||
"geometry/427.ini", | ||
"geometry/505.ini", | ||
"geometry/576.ini", | ||
"geometry/633.ini", | ||
"geometry/681.ini", | ||
"geometry/840.ini", | ||
"geometry/880.ini", | ||
"geometry/900.ini", | ||
"geometry/988.ini", | ||
"geometry/1126.ini", | ||
"geometry/1338.ini", | ||
"geometry/1498.ini", | ||
"geometry/1668_all.ini" | ||
], | ||
"Switch to another geometry when keff drops below 1?": true, | ||
"Salt mass flow rate throughout reactor core (g/s)": 9920000, | ||
"Number of steps for constant power and depletion interval case": 3, | ||
"Depletion step interval or Cumulative time (end of step) (d)": 2, | ||
"Reactor power or power step list during depletion step (W)": 1250000000 | ||
"proc_input_file": "tap_objects.json", | ||
"dot_input_file": "tap.dot", | ||
"output_path": "./data", | ||
"num_depsteps": 3, | ||
"depcode": { | ||
"codename": "serpent", | ||
"exec_path": "sss2", | ||
"template_inputfile_path": "./tap.serpent", | ||
"iter_inputfile": "saltproc_serpent", | ||
"iter_matfile": "saltproc_mat", | ||
"npop": 50, | ||
"active_cycles": 20, | ||
"inactive_cycles": 20, | ||
"geo_file_paths": [ | ||
"./geometry/347_base.ini", | ||
"./geometry/406.ini", | ||
"./geometry/427.ini", | ||
"./geometry/505.ini", | ||
"./geometry/576.ini", | ||
"./geometry/633.ini", | ||
"./geometry/681.ini", | ||
"./geometry/840.ini", | ||
"./geometry/880.ini", | ||
"./geometry/900.ini", | ||
"./geometry/988.ini", | ||
"./geometry/1126.ini", | ||
"./geometry/1338.ini", | ||
"./geometry/1498.ini", | ||
"./geometry/1668_all.ini" | ||
] | ||
}, | ||
"simulation": { | ||
"sim_name": "test_simulation", | ||
"db_name": "db_saltproc.h5", | ||
"restart_flag": false, | ||
"adjust_geo": true | ||
}, | ||
"reactor": { | ||
"volume": 1.0, | ||
"mass_flowrate": 9920000, | ||
"power_levels": [ 1250000000 ], | ||
"dep_step_length_cumulative": [ 2 ] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ pyne | |
numpy | ||
scipy | ||
json | ||
jsonschema | ||
pytables | ||
networkx | ||
pydotplus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't have any issues with finding these files? Would this need to be changed if it were run on a different machine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These files are discoverable if the user sets their path variables correctly, which they'll need to do if they want serpent to run properly. I think I added a section in the docs pointing to the serpent wiki, but it may be worth repeating on our own docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added some details about this in issue #109