3145 sauter geometry without using the sauter plasma current#3490
Merged
timothy-nunn merged 39 commits intomainfrom Jan 27, 2025
Merged
Conversation
…a wall gap calculations
… plasma geometry calculations
…asma perimeter calculations
…ace area calculations
…ss-sectional area calculations
…lume calculations
…ed clarity and consistency
…sma geometry calculations
…ometry parameters
… geometry calculations
…calculation into a separate method and rename parameters for clarity
…lasma surface area calculations
… clarity and consistency
b9a0888 to
2e9e7f2
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3490 +/- ##
==========================================
- Coverage 30.60% 30.59% -0.01%
==========================================
Files 80 80
Lines 19248 19272 +24
==========================================
+ Hits 5890 5897 +7
- Misses 13358 13375 +17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
14e17f1 to
f52d265
Compare
… clarity update expected surface area variable in stellarator tests
… kappa_95 to kappa for consistency update related plotting functions
04b57a0 to
7665b17
Compare
…ests and documentation
…anced plasma geometry modeling
cf03c50 to
7980162
Compare
…on and code update related tests and input files
…d update related documentation
…rp for consistency across the codebase
…or consistency across the codebase
j-a-foster
requested changes
Jan 22, 2025
Collaborator
j-a-foster
left a comment
There was a problem hiding this comment.
Besides some minor comments, it all looks good.
jonmaddock
requested changes
Jan 24, 2025
Contributor
jonmaddock
left a comment
There was a problem hiding this comment.
This is really well-written and clear, and the new Sauter geometry looks great in plot_proc! A few minor requests/questions only.
…py for improved clarity and consistency
jonmaddock
requested changes
Jan 27, 2025
Contributor
jonmaddock
left a comment
There was a problem hiding this comment.
Looking good, just the one docstring change please. Also, conflicts need resolving.
…e annotations for clarity
ee5976e to
9d72046
Compare
jonmaddock
approved these changes
Jan 27, 2025
j-a-foster
approved these changes
Jan 27, 2025
Collaborator
j-a-foster
left a comment
There was a problem hiding this comment.
Happy for this to be merged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Moved shaping factor calculation into
calculate_current_coefficient_peng()Namespace changes
Functions
geomty()->plasma_geometry()xparam()->plasma_angles_arcs()xvol()->plasma_volume()xsecta()->plasma_cross_section()Variables
iscrp->i_plasma_wall_gapplasma_volume->vol_plasmacvol->f_vol_plasmaishape->i_plasma_geometryqlim->q95_minpperim->len_plasma_poloidalsarea->a_plasma_surfacexarea->a_plasma_poloidalsareao->a_plasma_surface_outboardcwrmax->f_r_conducting_wallfcwr->fr_conducting_wall✨ New additions
i_plasma_shape: Sets whether to use the Sauter or original PROCESS plasma shapeplasma_poloidal_perimeter: New function added to calculate the perimeter instead of being loose code🐛 Bugs
❌
✅
plasma_geometry()function inplasma_geometrywas taking in the 95% values for elongation and triangularity and then finding the separatrix values with the 1989 ITER guideline values, even though the selected configuration ofi_plasma_geometrymay not use it.Output differences
OUT.DATThe below is the geometry output for the large tokamak regression test
New:
Old:
plot_procLarge tokamak regression test
New:
Old:
ST regression test
New:
Old:
Checklist
I confirm that I have completed the following checks: