Update synchrotron radiation docs and other variables#3541
Merged
timothy-nunn merged 13 commits intomainfrom Mar 12, 2025
Merged
Update synchrotron radiation docs and other variables#3541timothy-nunn merged 13 commits intomainfrom
timothy-nunn merged 13 commits intomainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3541 +/- ##
==========================================
- Coverage 31.20% 31.20% -0.01%
==========================================
Files 83 83
Lines 19940 19943 +3
==========================================
Hits 6223 6223
- Misses 13717 13720 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8c8fe30 to
762b5c9
Compare
j-a-foster
requested changes
Mar 7, 2025
Collaborator
j-a-foster
left a comment
There was a problem hiding this comment.
Minor typos but otherwise the docs look good.
I'll review the variable changes once obsolete_vars.py has been updated.
| ## Synchrotron radiation | `psync_albajar_fidone()` | ||
|
|
||
| The synchrotron radiation power[^8][^9] is assumed to originate from the plasma core. | ||
| The formula below is the current syncrotorn radiation loss power implemented in `PROCESS`. It is a combination of the general form given by Albajar et al. [^8] and a wall reflectivity correction given then by Fidone et al. [^9] |
Collaborator
There was a problem hiding this comment.
"syncrotorn" -> synchrotron
Don't need "given then by", "given by" is fine.
j-a-foster
approved these changes
Mar 10, 2025
Collaborator
j-a-foster
left a comment
There was a problem hiding this comment.
Happy with the name changes listed in the overview.
timothy-nunn
requested changes
Mar 11, 2025
Collaborator
timothy-nunn
left a comment
There was a problem hiding this comment.
Only change required is obsolete variables
7aac56e to
9e214e3
Compare
timothy-nunn
approved these changes
Mar 11, 2025
…arameters for improved clarity and accuracy
…tting lists and enhancing function calls with additional parameters
…um radial wall load
dc8bdf8 to
281ad4b
Compare
timothy-nunn
approved these changes
Mar 12, 2025
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
Follow on from some work partially done in #3386
Still waiting on conversion of
impurity_radiation.f90so updated the synchrotron radiation sections.psync_albajar_fidone()has been re-factored to actually take inputs as it was calling global physics variables.psync_albajar_fidone_reflectivity.pyhas been added todocumentation/proc-pages/scripts/plotting_scripts.Namespace changes
Functions
Variables
pcoreradpv->pden_plasma_core_rad_mwpedgeradpv->pden_plasma_outer_rad_mwmaxradwallload->pflux_fw_rad_maxcoreradius->radius_plasma_core_normpalpfwmw->p_fw_alpha_mwwallmw->pflux_fw_neutron_mw✨ New additions
p_plasma_sync_mw: Represents the total synchrotron power from the plasma.🐛 Bugs
There was never a variable representing the total synchrotron power from the plasma, instead it was always outputted as
(pden_plasma_sync_mw*vol). This would cause parsing issues due to*. A new variablep_plasma_sync_mwhas been created inphysics_variables.f90to fix this.Checklist
I confirm that I have completed the following checks: