Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions process/data_structure/physics_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,9 @@
pflux_fw_neutron_mw: float = None
"""average neutron wall load (MW/m2)"""

plfux_plasma_surface_neutron_avg_mw: float = None
"""Average neutron flux at plasma surface (MW/m2)"""


wtgpd: float = None
"""mass of fuel used per day (g)"""
Expand Down Expand Up @@ -1630,6 +1633,7 @@ def init_physics_variables():
vs_plasma_res_ramp, \
vs_plasma_total_required, \
pflux_fw_neutron_mw, \
plfux_plasma_surface_neutron_avg_mw, \
wtgpd, \
a_plasma_poloidal, \
n_charge_plasma_effective_vol_avg, \
Expand Down Expand Up @@ -1893,6 +1897,7 @@ def init_physics_variables():
vs_plasma_res_ramp = 0.0
vs_plasma_total_required = 0.0
pflux_fw_neutron_mw = 0.0
plfux_plasma_surface_neutron_avg_mw = 0.0
wtgpd = 0.0
a_plasma_poloidal = 0.0
n_charge_plasma_effective_vol_avg = 0.0
Expand Down
5 changes: 3 additions & 2 deletions process/io/plot_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2870,12 +2870,13 @@ def plot_main_plasma_information(
)

textstr_neutron = (
f"$P_{{\\text{{n,total}}}}$ {mfile.get('p_neutron_total_mw', scan=scan):.2f} MW"
f"$P_{{\\text{{n,total}}}}$ {mfile.get('p_neutron_total_mw', scan=scan):.2f} MW \n"
f"$\\phi_{{\\text{{n,avg}}}}$ {mfile.get('plfux_plasma_surface_neutron_avg_mw', scan=scan):.3f} MW/m²"
)

axis.text(
0.775,
0.85,
0.875,
textstr_neutron,
fontsize=9,
verticalalignment="top",
Expand Down
12 changes: 12 additions & 0 deletions process/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -2494,6 +2494,10 @@ def physics(self):
- physics_variables.p_plasma_rad_mw
)

physics_variables.plfux_plasma_surface_neutron_avg_mw = (
physics_variables.p_neutron_total_mw / physics_variables.a_plasma_surface
)

# KLUDGE: Ensure p_plasma_separatrix_mw is continuously positive (physical, rather than
# negative potential power), as required by other models (e.g.
# Physics.calculate_density_limit())
Expand Down Expand Up @@ -5646,6 +5650,14 @@ def outplas(self):
physics_variables.pflux_fw_rad_mw,
"OP ",
)
po.ovarre(
self.outfile,
"Average neutron flux at plasma surface (MW/m^2)",
"(plfux_plasma_surface_neutron_avg_mw)",
physics_variables.plfux_plasma_surface_neutron_avg_mw,
"OP ",
)

po.ovarre(
self.outfile,
"Peaking factor for radiation first-wall load",
Expand Down
Loading