Skip to content

Commit

Permalink
🔄 Update f_res_plasma_neo calculation to include valid aspect ratio r…
Browse files Browse the repository at this point in the history
…ange
  • Loading branch information
chris-ashe committed Feb 17, 2025
1 parent 94650de commit 9bc6d97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion process/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3147,7 +3147,9 @@ def plasma_ohmic_heating(
# Taken from ITER Physics Design Guidelines: 1989
# The expression is valid for aspect ratios in the range 2.5 to 4.0

f_res_plasma_neo = 1.0 if rmajor / rminor < 2.5 else 4.3 - 0.6 * rmajor / rminor
f_res_plasma_neo = (
1.0 if 2.5 >= rmajor / rminor <= 4.0 else 4.3 - 0.6 * rmajor / rminor
)

res_plasma = res_plasma * f_res_plasma_neo

Expand Down

0 comments on commit 9bc6d97

Please sign in to comment.