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
2 changes: 0 additions & 2 deletions process/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ def __post_init__(self):
"abktflnc": InputVariable(fortran.cost_variables, float, range=(0.1, 100.0)),
"adivflnc": InputVariable(fortran.cost_variables, float, range=(0.1, 100.0)),
"admv": InputVariable(fortran.buildings_variables, float, range=(1.0e4, 1.0e6)),
"afwi": InputVariable(fortran.fwbs_variables, float, range=(0.001, 0.05)),
"afwo": InputVariable(fortran.fwbs_variables, float, range=(0.001, 0.05)),
"airtemp": InputVariable(fortran.water_usage_variables, float, range=(-15.0, 40.0)),
"alfapf": InputVariable(fortran.pfcoil_variables, float, range=(1e-12, 1.0)),
"alstroh": InputVariable(
Expand Down
8 changes: 6 additions & 2 deletions process/stellarator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1409,10 +1409,14 @@ def stfwbs(self, output: bool):
bfwo = 0.5e0 * build_variables.dr_fw_outboard

f_a_fw_coolant_inboard = (
fwbs_variables.afwi * fwbs_variables.afwi / (bfwi * bfwi)
fwbs_variables.radius_fw_channel
* fwbs_variables.radius_fw_channel
/ (bfwi * bfwi)
) # inboard FW coolant void fraction
f_a_fw_coolant_outboard = (
fwbs_variables.afwo * fwbs_variables.afwo / (bfwo * bfwo)
fwbs_variables.radius_fw_channel
* fwbs_variables.radius_fw_channel
/ (bfwo * bfwo)
) # outboard FW coolant void fraction

# First wall decay length (m) - improved calculation required
Expand Down
10 changes: 0 additions & 10 deletions source/fortran/fwbs_variables.f90
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,6 @@ module fwbs_variables
!! - =2 pressurized water
!#TODO: change switch name to satisfy convention

real(dp) :: afwi
!! inner radius of inboard first wall/blanket coolant channels (stellarator only) [m]
!#TODO move to stellarator?

real(dp) :: afwo
!! inner radius of outboard first wall/blanket coolant channels (stellarator only) [m]
!#TODO move to stellarator?

character(len=6) :: i_fw_coolant_type
!! switch for first wall coolant (can be different from blanket coolant):
!!
Expand Down Expand Up @@ -736,8 +728,6 @@ subroutine init_fwbs_variables
i_thermal_electric_conversion = 0
secondary_cycle_liq = 4
i_blkt_coolant_type = 1
afwi = 0.008D0
afwo = 0.008D0
i_fw_coolant_type = 'helium'
dr_fw_wall = 0.003D0
radius_fw_channel = 0.006D0
Expand Down
16 changes: 0 additions & 16 deletions tests/integration/ref_dicts.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@
"admvol": 0.0,
"m_fuel_amu": 0.0,
"radius_fw_channel": 0.006,
"afwi": 0.008,
"afwo": 0.008,
"aintmass": 0.0,
"m_ions_total_amu": 0.0,
"airtemp": 15.0,
Expand Down Expand Up @@ -8793,8 +8791,6 @@
"admvol": "volume of administration buildings (m3)",
"m_fuel_amu": "average mass of fuel portion of ions (amu)",
"radius_fw_channel": "radius of first wall cooling channels (m)",
"afwi": "inner radius of inboard first wall/blanket coolant channels (stellarator only) (m)",
"afwo": "inner radius of outboard first wall/blanket coolant channels (stellarator only) (m)",
"aintmass": "intercoil structure mass (kg)",
"m_ions_total_amu": "average mass of all ions (amu)",
"airtemp": "ambient air temperature (degrees Celsius)",
Expand Down Expand Up @@ -11561,14 +11557,6 @@
"lb": 0.001,
"ub": 0.5
},
"afwi": {
"lb": 0.001,
"ub": 0.05
},
"afwo": {
"lb": 0.001,
"ub": 0.05
},
"airtemp": {
"lb": -15.0,
"ub": 40.0
Expand Down Expand Up @@ -18080,8 +18068,6 @@
"i_shield_mat",
"i_thermal_electric_conversion",
"i_blkt_coolant_type",
"afwi",
"afwo",
"i_fw_coolant_type",
"dr_fw_wall",
"radius_fw_channel",
Expand Down Expand Up @@ -19988,8 +19974,6 @@
"adivflnc": "real_variable",
"admv": "real_variable",
"radius_fw_channel": "real_variable",
"afwi": "real_variable",
"afwo": "real_variable",
"airtemp": "real_variable",
"alfapf": "real_variable",
"alphaj": "real_variable",
Expand Down
1 change: 1 addition & 0 deletions tests/regression/input_files/helias_5b.IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ i_coolant_pumping = 0 *Switch for pumping power (0: User sets pump power dir
i_thermal_electric_conversion = 2 *Switch for power conversion cycle (2: user input thermal-electric efficiency)
vfblkt = 0.10 *Coolant void fraction in blanket (blktmodel=0)
vfshld = 0.60 *Coolant void fraction in shield
radius_fw_channel = 0.008 *Inner radius of first wall coolant channel (m) is 0.008 for stellarator

*-------------Heat Transport Variables-------------*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ declblkt = 0.075 * neutron power deposition decay length of blanket structural m
declfw = 0.075 * neutron power deposition decay length of first wall structural material [m] (stellarators only)
declshld = 0.075 * neutron power deposition decay length of shield structural material [m] (stellarators only)
etahtp = 1. * electrical efficiency of primary coolant pumps
radius_fw_channel = 0.008 *Inner radius of first wall coolant channel (m) is 0.008 for stellarator

*-----------------Global Variables-----------------*

Expand Down
Loading