Skip to content

Commit 62a70a9

Browse files
committed
🔄 - rename tcoolin to temp_cp_coolant_inlet for consistency across files
1 parent 0273416 commit 62a70a9

16 files changed

+62
-43
lines changed

‎examples/data/large_tokamak_1_MFILE.DAT‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7531,7 +7531,7 @@ Resistive_losses_in_current_leads_(MW)___________________________________ (qcl/1
75317531
45%_allowance_for_heat_loads_in_transfer_lines,_storage_tanks_etc_(MW)___ (qmisc/1.0d6)__________________ 2.72832586344118472e-02 OP
75327532
Sum_=_Total_heat_removal_at_cryogenic_temperatures_(temp_tf_cryo_&_tcoolin)_(MW)_ (helpow_+_helpow_cryal/1.0d6)__ 8.79127222664381619e-02 OP
75337533
Temperature_of_cryogenic_superconducting_components_(K)__________________ (temp_tf_cryo)_________________ 4.50000000000000000e+00
7534-
Temperature_of_cryogenic_aluminium_components_(K)________________________ (tcoolin)______________________ 3.13149999999999977e+02
7534+
Temperature_of_cryogenic_aluminium_components_(K)________________________ (temp_cp_coolant_inlet)______________________ 3.13149999999999977e+02
75357535
Electric_power_for_cryogenic_plant_(MW)__________________________________ (p_cryo_plant_electric_mw)_____ 4.33777902259955042e+01 OP
75367536
# Plant Heat Transport Balance #
75377537
Neutronic_nuclear_heat_deposited_in_FW_[MW]______________________________ (p_fw_nuclear_heat_total_mw)___ 1.64705228778508570e+02

‎examples/data/large_tokamak_2_MFILE.DAT‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7531,7 +7531,7 @@ Resistive_losses_in_current_leads_(MW)___________________________________ (qcl/1
75317531
45%_allowance_for_heat_loads_in_transfer_lines,_storage_tanks_etc_(MW)___ (qmisc/1.0d6)__________________ 2.80915192906149337e-02 OP
75327532
Sum_=_Total_heat_removal_at_cryogenic_temperatures_(temp_tf_cryo_&_tcoolin)_(MW)_ (helpow_+_helpow_cryal/1.0d6)__ 9.05171177142036903e-02 OP
75337533
Temperature_of_cryogenic_superconducting_components_(K)__________________ (temp_tf_cryo)_________________ 4.50000000000000000e+00
7534-
Temperature_of_cryogenic_aluminium_components_(K)________________________ (tcoolin)______________________ 3.13149999999999977e+02
7534+
Temperature_of_cryogenic_aluminium_components_(K)________________________ (temp_cp_coolant_inlet)______________________ 3.13149999999999977e+02
75357535
Electric_power_for_cryogenic_plant_(MW)__________________________________ (p_cryo_plant_electric_mw)_____ 4.46628479114613484e+01 OP
75367536
# Plant Heat Transport Balance #
75377537
Neutronic_nuclear_heat_deposited_in_FW_[MW]______________________________ (p_fw_nuclear_heat_total_mw)___ 1.69539637888681625e+02

‎examples/data/large_tokamak_3_MFILE.DAT‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7531,7 +7531,7 @@ Resistive_losses_in_current_leads_(MW)___________________________________ (qcl/1
75317531
45%_allowance_for_heat_loads_in_transfer_lines,_storage_tanks_etc_(MW)___ (qmisc/1.0d6)__________________ 2.89423603823851655e-02 OP
75327532
Sum_=_Total_heat_removal_at_cryogenic_temperatures_(temp_tf_cryo_&_tcoolin)_(MW)_ (helpow_+_helpow_cryal/1.0d6)__ 9.32587167876855194e-02 OP
75337533
Temperature_of_cryogenic_superconducting_components_(K)__________________ (temp_tf_cryo)_________________ 4.50000000000000000e+00
7534-
Temperature_of_cryogenic_aluminium_components_(K)________________________ (tcoolin)______________________ 3.13149999999999977e+02
7534+
Temperature_of_cryogenic_aluminium_components_(K)________________________ (temp_cp_coolant_inlet)______________________ 3.13149999999999977e+02
75357535
Electric_power_for_cryogenic_plant_(MW)__________________________________ (p_cryo_plant_electric_mw)_____ 4.60156044457528566e+01 OP
75367536
# Plant Heat Transport Balance #
75377537
Neutronic_nuclear_heat_deposited_in_FW_[MW]______________________________ (p_fw_nuclear_heat_total_mw)___ 1.76218051876661121e+02

‎examples/data/large_tokamak_4_MFILE.DAT‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7531,7 +7531,7 @@ Resistive_losses_in_current_leads_(MW)___________________________________ (qcl/1
75317531
45%_allowance_for_heat_loads_in_transfer_lines,_storage_tanks_etc_(MW)___ (qmisc/1.0d6)__________________ 2.96747670762382149e-02 OP
75327532
Sum_=_Total_heat_removal_at_cryogenic_temperatures_(temp_tf_cryo_&_tcoolin)_(MW)_ (helpow_+_helpow_cryal/1.0d6)__ 9.56186939123231522e-02 OP
75337533
Temperature_of_cryogenic_superconducting_components_(K)__________________ (temp_tf_cryo)_________________ 4.50000000000000000e+00
7534-
Temperature_of_cryogenic_aluminium_components_(K)________________________ (tcoolin)______________________ 3.13149999999999977e+02
7534+
Temperature_of_cryogenic_aluminium_components_(K)________________________ (temp_cp_coolant_inlet)______________________ 3.13149999999999977e+02
75357535
Electric_power_for_cryogenic_plant_(MW)__________________________________ (p_cryo_plant_electric_mw)_____ 4.71800615346873045e+01 OP
75367536
# Plant Heat Transport Balance #
75377537
Neutronic_nuclear_heat_deposited_in_FW_[MW]______________________________ (p_fw_nuclear_heat_total_mw)___ 1.87203899318251160e+02

‎examples/data/large_tokamak_nof_2_MFILE.DAT‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7416,7 +7416,7 @@ Resistive_losses_in_current_leads_(MW)___________________________________ (qcl/1
74167416
45%_allowance_for_heat_loads_in_transfer_lines,_storage_tanks_etc_(MW)___ (qmisc/1.0d6)__________________ 2.76301692454299294e-02 OP
74177417
Sum_=_Total_heat_removal_at_cryogenic_temperatures_(temp_tf_cryo_&_tcoolin)_(MW)_ (helpow_+_helpow_cryal/1.0d6)__ 8.90305453463853258e-02 OP
74187418
Temperature_of_cryogenic_superconducting_components_(K)__________________ (temp_tf_cryo)_________________ 4.50000000000000000e+00
7419-
Temperature_of_cryogenic_aluminium_components_(K)________________________ (tcoolin)______________________ 3.13149999999999977e+02
7419+
Temperature_of_cryogenic_aluminium_components_(K)________________________ (temp_cp_coolant_inlet)______________________ 3.13149999999999977e+02
74207420
Electric_power_for_cryogenic_plant_(MW)__________________________________ (p_cryo_plant_electric_mw)_____ 4.39293451525369605e+01 OP
74217421
# Plant Heat Transport Balance #
74227422
Neutronic_nuclear_heat_deposited_in_FW_[MW]______________________________ (p_fw_nuclear_heat_total_mw)___ 1.74794853452737073e+02

‎examples/data/large_tokamak_nof_MFILE.DAT‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7416,7 +7416,7 @@ Resistive_losses_in_current_leads_(MW)___________________________________ (qcl/1
74167416
45%_allowance_for_heat_loads_in_transfer_lines,_storage_tanks_etc_(MW)___ (qmisc/1.0d6)__________________ 2.69532623647092545e-02 OP
74177417
Sum_=_Total_heat_removal_at_cryogenic_temperatures_(temp_tf_cryo_&_tcoolin)_(MW)_ (helpow_+_helpow_cryal/1.0d6)__ 8.68494009529520300e-02 OP
74187418
Temperature_of_cryogenic_superconducting_components_(K)__________________ (temp_tf_cryo)_________________ 4.50000000000000000e+00
7419-
Temperature_of_cryogenic_aluminium_components_(K)________________________ (tcoolin)______________________ 3.13149999999999977e+02
7419+
Temperature_of_cryogenic_aluminium_components_(K)________________________ (temp_cp_coolant_inlet)______________________ 3.13149999999999977e+02
74207420
Electric_power_for_cryogenic_plant_(MW)__________________________________ (p_cryo_plant_electric_mw)_____ 4.28531274958454702e+01 OP
74217421
# Plant Heat Transport Balance #
74227422
Neutronic_nuclear_heat_deposited_in_FW_[MW]______________________________ (p_fw_nuclear_heat_total_mw)___ 1.67952135824856697e+02

‎process/data_structure/heat_transport_variables.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484

8585
helpow_cryal: float = None
86-
"""Heat removal at cryogenic temperature tcoolin (W)"""
86+
"""Heat removal at cryogenic temperature temp_cp_coolant_inlet (W)"""
8787

8888

8989
p_coolant_pump_elec_total_mw: float = None

‎process/data_structure/tfcoil_variables.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@
10171017
"""average radius of coolant channel (m) (`iteration variable 69`)"""
10181018

10191019

1020-
tcoolin: float = None
1020+
temp_cp_coolant_inlet: float = None
10211021
"""centrepost coolant inlet temperature (K)"""
10221022

10231023

@@ -1287,7 +1287,7 @@ def init_tfcoil_variables():
12871287
global p_tf_leg_resistive
12881288
global temp_cp_max
12891289
global rcool
1290-
global tcoolin
1290+
global temp_cp_coolant_inlet
12911291
global dtiocool
12921292
global temp_cp_average
12931293
global tcpav2
@@ -1522,7 +1522,7 @@ def init_tfcoil_variables():
15221522
p_tf_leg_resistive = 0.0
15231523
temp_cp_max = 473.15 # 200 C
15241524
rcool = 0.005
1525-
tcoolin = 313.15 # 40 C
1525+
temp_cp_coolant_inlet = 313.15 # 40 C
15261526
dtiocool = 0.0
15271527
temp_cp_average = 373.15 # 100 C
15281528
tcpav2 = 0.0

‎process/init.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -645,10 +645,10 @@ def check_process(inputs): # noqa: ARG001
645645
# Water cooled copper magnets initalisation / checks
646646
if data_structure.tfcoil_variables.i_tf_sup == 0:
647647
# Check if the initial centrepost coolant loop adapted to the magnet technology
648-
# Ice cannot flow so tcoolin > 273.15 K
649-
if data_structure.tfcoil_variables.tcoolin < 273.15:
648+
# Ice cannot flow so temp_cp_coolant_inlet > 273.15 K
649+
if data_structure.tfcoil_variables.temp_cp_coolant_inlet < 273.15:
650650
raise ProcessValidationError(
651-
"Coolant temperature (tcoolin) cannot be < 0 C (273.15 K) for water cooled copper magents"
651+
"Coolant temperature (temp_cp_coolant_inlet) cannot be < 0 C (273.15 K) for water cooled copper magents"
652652
)
653653

654654
# Temperature of the TF legs cannot be cooled down
@@ -680,9 +680,9 @@ def check_process(inputs): # noqa: ARG001
680680
elif data_structure.tfcoil_variables.i_tf_sup == 2:
681681
# Call a lvl 3 error if the inlet coolant temperature is too large
682682
# Motivation : ill-defined aluminium resistivity fit for T > 40-50 K
683-
if data_structure.tfcoil_variables.tcoolin > 40.0:
683+
if data_structure.tfcoil_variables.temp_cp_coolant_inlet > 40.0:
684684
raise ProcessValidationError(
685-
"Coolant temperature (tcoolin) should be < 40 K for the cryo-al resistivity to be defined"
685+
"Coolant temperature (temp_cp_coolant_inlet) should be < 40 K for the cryo-al resistivity to be defined"
686686
)
687687

688688
# Check if the leg average temperature is low enough for the resisitivity fit
@@ -701,7 +701,7 @@ def check_process(inputs): # noqa: ARG001
701701

702702
# Otherwise intitialise the average conductor temperature at
703703
data_structure.tfcoil_variables.temp_cp_average = (
704-
data_structure.tfcoil_variables.tcoolin
704+
data_structure.tfcoil_variables.temp_cp_coolant_inlet
705705
)
706706

707707
# Check if the boostrap current selection is addapted to ST

‎process/input.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ def __post_init__(self):
16781678
data_structure.constraint_variables, float, range=(0.001, 2.0)
16791679
),
16801680
"tcomrepl": InputVariable(data_structure.cost_variables, float, range=(0.01, 2.0)),
1681-
"tcoolin": InputVariable(
1681+
"temp_cp_coolant_inlet": InputVariable(
16821682
data_structure.tfcoil_variables, float, range=(4.0, 373.15)
16831683
),
16841684
"tcritsc": InputVariable(

0 commit comments

Comments
 (0)