Skip to content

Commit

Permalink
Add comment for normalised total beta calculation and update output l…
Browse files Browse the repository at this point in the history
…abel for clarity
  • Loading branch information
chris-ashe committed Nov 8, 2024
1 parent 9338af9 commit b9aa615
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion process/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2988,6 +2988,7 @@ def calculate_plasma_current(
* (1.0 + kappa**2 * (1.0 + 2.0 * triang**2 - 1.2 * triang**3))
)

# Normalised beta from Troyon beta limit
physics_variables.normalised_total_beta = (
1.0e8 * physics_variables.beta * rminor * bt / plasma_current
)
Expand Down Expand Up @@ -3556,7 +3557,7 @@ def outplas(self):
po.ovarrf(
self.outfile,
"Normalised total beta",
" ",
"(normalised_total_beta)",
physics_variables.normalised_total_beta,
"OP ",
)
Expand Down

0 comments on commit b9aa615

Please sign in to comment.