Skip to content

Commit

Permalink
Update obsolete variables list
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-ashe committed Feb 11, 2025
1 parent afc04ce commit 1c7f5cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions process/io/obsolete_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@
"isc": "i_confinement_time",
"iradloss": "i_rad_loss",
"ipnlaws": "n_confinement_scalings",
"rli": "ind_plasma_internal_norm",
"gamma": "ejima_coeff",
"lpulse": "i_pulsed_plant",
}

OBS_VARS_HELP = {
Expand Down
4 changes: 2 additions & 2 deletions process/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -5482,7 +5482,7 @@ def outplas(self):
)
po.ovarre(
self.outfile,
"V-s needed during flat-top (heat + burn times) (Wb)",
"Plasma volt-seconds needed for flat-top (heat + burn times) (Wb)",
"(vs_plasma_burn_required)",
physics_variables.vs_plasma_burn_required,
"OP ",
Expand All @@ -5505,7 +5505,7 @@ def outplas(self):

po.ovarre(
self.outfile,
"Resistive diffusion time (s)",
"Plasma resistive diffusion time (s)",
"(t_plasma_res_diffusion)",
physics_variables.t_plasma_res_diffusion,
"OP ",
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ def test_vscalc(voltsecondreqparam):
rmajor=voltsecondreqparam.rmajor,
res_plasma=voltsecondreqparam.res_plasma,
t_burn=voltsecondreqparam.t_burn,
t_fusion_ramp=voltsecondreqparam.t_fusion_ramp,
t_fusion_ramp=voltsecondreqparam.t_fusion_ramp,
)

assert vs_plasma_internal == pytest.approx(
Expand Down

0 comments on commit 1c7f5cb

Please sign in to comment.