Repository navigation
More accurately simulate the neutron flux profile - #3653
OceanNuclear wants to merge 202 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3653 +/- ##
==========================================
+ Coverage 50.26% 50.40% +0.14%
==========================================
Files 181 184 +3
Lines 30629 31550 +921
==========================================
+ Hits 15395 15904 +509
- Misses 15234 15646 +412 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
a7c3d81 to
56884d7
Compare
5ada3ea to
3336c23
Compare
76579e7 to
fa6d266
Compare
fc5c51d to
710c90b
Compare
|
@chris-ashe In the new folder structure, would you prefer the neutronics.py and neutronics_data.py to live in |
je-cook
left a comment
There was a problem hiding this comment.
I'm not sure descriptors is the right way to go. Most descriptor stuff I've written I have eventually rewritten without descriptors because I found a better way.
On the atomic data is there any reason we cant use something like periodictable which we use in elsewhere.
|
Happy to hear out examples of where descriptors were removed and see if I can implement anything similar. So far I'm unaware of any other ways of writing the code that wouldn't make it even more spaghetti: the @summarize_values decorator is doing a lot of heavy lifting and cutting the amount of code that I have to write down by half. |
|
Great, need to have a think but will let you know |
|
I haven't figured out yet the right way of getting the abundance values in |
…e and animate=False. Removed redundant _set_coefficient.
6fd4dcd to
8502e7f
Compare
5b4f11d to
7f7216e
Compare
…ses/pytest.warns refinement).
… Now this is fixed.
…caled.' warning by plugging in non-zero tritium production cross-section.
|
…inear equations out to a standalone method, to reduce the complexity of solve_group_n
…erative solve procedure to another method named _iterate_solve_group_n.



Description
Calculates the neutron flux profile in the first wall and blanket, using an extremely simplified diffusion-based model of an infinite slab sandwich.
Reason for choosing this model
It's better than not having a neutronics model.
It's also very simplified, so it can be calculated on the fly, without installing any deterministic neutron transport codes as dependency.
Checklist
I confirm that I have completed the following checks: