@@ -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
0 commit comments