-
Notifications
You must be signed in to change notification settings - Fork 11
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
3388 update the beta limit section of the docs to be up to date and include all models #3389
3388 update the beta limit section of the docs to be up to date and include all models #3389
Conversation
…ntation and type hints
…e the fast alpha pressure contribution into the plasma beta docs section
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3389 +/- ##
==========================================
- Coverage 29.65% 29.63% -0.03%
==========================================
Files 78 78
Lines 19090 19105 +15
==========================================
Hits 5661 5661
- Misses 13429 13444 +15 ☔ View full report in Codecov by Sentry. |
…across the codebase
0765fbe
to
480b79d
Compare
… for clarity and consistency across the codebase
… for consistency across the codebase
…rmal beta calculations
…al beta calculation
…oidal and norm_beta_poloidal to update related calculations and references for consistency
…ion notes for clarity
…cs-to-be-up-to-date-and-include-all-models
…ses for clarity to account for new bootstrap scalings
…cs-to-be-up-to-date-and-include-all-models
…cs-to-be-up-to-date-and-include-all-models
…iles for consistency
… files for consistency
f79ed8f
to
a3bc522
Compare
… and documentation
…s data files and scripts
6033ca5
to
63850d5
Compare
…cs-to-be-up-to-date-and-include-all-models
…cs-to-be-up-to-date-and-include-all-models
…a and create new variable e_plasma_beta_thermal
…ences throughout the code
…nergy calculations
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.
All looks good to me - happy for this to be merged.
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.
Have a look at the labels for me. Other than that, happy with the code changes
title="Menard Normalized Beta Limit", | ||
) | ||
plot.xaxis.axis_label = r"Aspect ratio, \ $$[A]$$" | ||
plot.yaxis.axis_label = r"Normalized beta limit, \ $$[\beta_N]$$" |
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.
title="Original Normalized Beta Limit", | ||
) | ||
plot.xaxis.axis_label = r"Aspect ratio, \ $$[A]$$" | ||
plot.yaxis.axis_label = r"Normalized beta limit, \ $$[\beta_N]$$" |
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.
As above, labels are not rendering properly
Namespace changes
Functions
culblm()
->calculate_beta_limit()
Variables
betaft
->beta_fast_alpha
iculbl
->i_beta_component
betalim
->beta_max
betalim_lower
->beta_min
betpmx
->beta_poloidal_max
fbetap
->fbeta_poloidal
betap
->beta_poloidal
betat
->beta_toroidal
: Added now as a proper physics variable that can be seen in outputbetath
->beta_thermal
: Added now as a proper physics variable that can be seen in outputtotal_plasma_internal_energy
->e_plasma_beta
New additions
beta_toroidal
: Was originally calculated but never set to a variablebeta_thermal
: Was originally calculated but never set to a variablebeta_thermal_poloidal
: Was originally calculated but never set to a variablebeta_thermal_toroidal
: Was originally calculated but never set to a variablebeta_norm_thermal
: Was originally calculated but never set to a variablebeta_norm_toroidal
: Was originally calculated but never set to a variablebeta_norm_poloidal
: Was originally calculated but never set to a variablebeta_norm_total
: Was originally calculated but never set to a variablee_plasma_beta_thermal
: The value of the plasma thermal energy derived from the thermal beta was calculated yet never set to a variable.Output
Before
After
🐛 Bugs
normalised_total_beta
was set as a variable but not put to outputChecklist
I confirm that I have completed the following checks: