From 73bc6f89e8673252abe2d64302f6bb9485584b2d Mon Sep 17 00:00:00 2001
From: mn3981
- **Turn size parametrization:** the dimension of the turn `t_turn_tf` can be
+ **Turn size parametrization:** the dimension of the turn `dx_tf_turn_general` can be
set by the user. To do so, the user just have to select the following option:
- `i_tf_turns_integer = 0` and to set a value to the variable `t_turn_tf`. The
+ `i_tf_turns_integer = 0` and to set a value to the variable `dx_tf_turn_general`. The
area of the corresponding squared turn and the number of turns necessary to
fill the WP area is deduced. There is no guarantee that a realistic turn
configuration (with all the turn geometrically fitting in the allocated
diff --git a/documentation/eng-models/tf-coil.md b/documentation/eng-models/tf-coil.md
index ac0b1aa026..11fc73007f 100644
--- a/documentation/eng-models/tf-coil.md
+++ b/documentation/eng-models/tf-coil.md
@@ -968,11 +968,11 @@ considered/implemented in PROCESS.
| `i_tf_turns_integer` | Switch activating the integer turn parametrization
- 0 : Integer number of turns
- 1 : non integer number of turn | - | 0 | - |
| `n_tf_wp_layers` | Number of turns in the radial direction (`i_tf_turns_integer = 1` only) | - | 20 | - |
| `n_tf_wp_pancakes` | Number of turns in the toroidal direction (`i_tf_turns_integer = 1` only) | - | 10 | - |
-| `t_turn_tf` | TF turn squared size | - | No default | m |
+| `dx_tf_turn_general` | TF turn squared size | - | No default | m |
| `t_cable_tf` | TF cable diameter size | - | No default | m |
| `f_t_turn_tf` | f-value for TF turn squared size constraint (icc = 86) | 175 | 1. | m |
| `t_turn_tf_max` | Maximum turn squared size for constraint (icc = 86) | - | 0.05 | m |
-| `c_tf_turn` | Current per turn
Overwitten if `t_turn_tf` is set by the user | ixc = 60 | $70.10^3$ | A |
+| `c_tf_turn` | Current per turn
Overwitten if `dx_tf_turn_general` is set by the user | ixc = 60 | $70.10^3$ | A |
| `dx_tf_turn_insulation` | Turn insulation layer thickness | - | $0.8.10^{-3}$ | m |
| `dx_tf_turn_steel` | Steekl jacket/conduit thickness | 58 | $8.10^{-3}$ | m |
| `dia_tf_turn_coolant_channel` | Helium cooling channel diameter | - | $5.10^{-3}$ | m |
diff --git a/documentation/fusion-devices/stellarator.md b/documentation/fusion-devices/stellarator.md
index a507c10867..e58de803cf 100644
--- a/documentation/fusion-devices/stellarator.md
+++ b/documentation/fusion-devices/stellarator.md
@@ -210,7 +210,7 @@ The fully three-dimensional shape of the coils is assumed to be fixed, but the s
The stellarator coils are assumed to be superconducting - no resistive coil calculations are performed. The critical field at the superconductor is calculated using circular approximations for the coils in the inductance and field calculations, and the limit is enforced automatically. All superconductor materials that are available for tokamaks are also available for stellarators.
The winding pack cross-section is rectangular for the stellarator coils, rather than the two-step cross-section assumed for tokamaks. The coil thicknesses and most of the dimensions of the materials within the coil cross-section are outputs from the model, instead of being inputs as is the case for tokamaks; see the variable descriptor file for details. In addition, certain iteration variables (`dr_tf_inboard`, no. 13; `dr_tf_nose_case`, no. 57; `c_tf_turn`, no. 60 and `dx_tf_inboard_out_toroidal`, no. 77) should not be turned on in the input file as they are calculated self-consistently (`dr_tf_nose_case` is required as input); the code will stop with an error message of this is attempted.
-The conduit insulation thickness (`dx_tf_turn_insulation`), as well as the steel thickness around each conductor (`dx_tf_turn_steel`) should be given as input parameters together with the dimension of the conductor area (`t_turn_tf`).
+The conduit insulation thickness (`dx_tf_turn_insulation`), as well as the steel thickness around each conductor (`dx_tf_turn_steel`) should be given as input parameters together with the dimension of the conductor area (`dx_tf_turn_general`).
stellarator-PROCESS returns a set of parameters for the coil force densities, which are scaled from the reference calculation.
@@ -230,7 +230,7 @@ fiooic = 0.78 *Fraction TF coil critical current to operation current (should be
v_tf_coil_dump_quench_max_kv = 12.64 * Max voltage across tf coil during quench (kV)
t_tf_superconductor_quench = 20 * Dump time (should be iteration variable)
dr_tf_nose_case = 0.1 * Thickness TF Coil case (for stellarators: Also for toroidal direction)
-t_turn_tf = 0.048 * Dimension conductor area including steel and insulation. Important parameter.
+dx_tf_turn_general = 0.048 * Dimension conductor area including steel and insulation. Important parameter.
dx_tf_turn_insulation = 0.0015 * Conduit insulation thickness (one side) (m)
dx_tf_turn_steel = 0.006 * thickness of steel around each conductor (one side) (m)
dx_tf_wp_insulation = 0.1 * insulation on top of winding pack (one side) (m)
diff --git a/examples/data/csv_output_large_tokamak_MFILE.DAT b/examples/data/csv_output_large_tokamak_MFILE.DAT
index 6c1869a46a..5007d37210 100644
--- a/examples/data/csv_output_large_tokamak_MFILE.DAT
+++ b/examples/data/csv_output_large_tokamak_MFILE.DAT
@@ -711,7 +711,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2482E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.5709E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.7439E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.7439E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.5839E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 3.9839E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0000E-03 ITV
diff --git a/examples/data/large_tokamak_1_MFILE.DAT b/examples/data/large_tokamak_1_MFILE.DAT
index 895d75f982..b93816bdb0 100644
--- a/examples/data/large_tokamak_1_MFILE.DAT
+++ b/examples/data/large_tokamak_1_MFILE.DAT
@@ -708,7 +708,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3656E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4739E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.9223E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.9223E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7623E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1604E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0099E-03 ITV
diff --git a/examples/data/large_tokamak_2_MFILE.DAT b/examples/data/large_tokamak_2_MFILE.DAT
index 153bc0a4f9..4c2cf34cd6 100644
--- a/examples/data/large_tokamak_2_MFILE.DAT
+++ b/examples/data/large_tokamak_2_MFILE.DAT
@@ -708,7 +708,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3656E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4739E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.9223E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.9223E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7623E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1604E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0099E-03 ITV
diff --git a/examples/data/large_tokamak_3_MFILE.DAT b/examples/data/large_tokamak_3_MFILE.DAT
index 7529ec3f15..138d7f813d 100644
--- a/examples/data/large_tokamak_3_MFILE.DAT
+++ b/examples/data/large_tokamak_3_MFILE.DAT
@@ -708,7 +708,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3656E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4739E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.9223E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.9223E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7623E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1604E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0099E-03 ITV
diff --git a/examples/data/large_tokamak_4_MFILE.DAT b/examples/data/large_tokamak_4_MFILE.DAT
index 3ac986dac4..bf82e9863e 100644
--- a/examples/data/large_tokamak_4_MFILE.DAT
+++ b/examples/data/large_tokamak_4_MFILE.DAT
@@ -708,7 +708,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3656E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4739E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.9223E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.9223E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7623E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1604E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0099E-03 ITV
diff --git a/examples/data/large_tokamak_nof_2_MFILE.DAT b/examples/data/large_tokamak_nof_2_MFILE.DAT
index e1d77b2528..9d375f7dbf 100644
--- a/examples/data/large_tokamak_nof_2_MFILE.DAT
+++ b/examples/data/large_tokamak_nof_2_MFILE.DAT
@@ -670,7 +670,7 @@
Cable_WP_fraction________________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-aiwp)/a_tf_wp_with_insulation)________ 5.29144615941500196e-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil______________________________________________ (n_tf_coil_turns)____________________ 1.55574412294225624e+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)________________________ (t_turn_tf)____________________ 5.82428732675677810e-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)________________________ (dx_tf_turn_general)____________________ 5.82428732675677810e-02 OP
Width_of_conductor_(square)_(m)__________________________________________ (t_conductor)__________________ 5.66428732675677837e-02 OP
Width_of_space_inside_conductor_(m)______________________________________ (dx_tf_turn_cable_space_average)______________________ 4.06186532016039326e-02 OP
Steel_conduit_thickness_(m)______________________________________________ (dx_tf_turn_steel)_____________________ 8.01211003298192385e-03
diff --git a/examples/data/large_tokamak_nof_MFILE.DAT b/examples/data/large_tokamak_nof_MFILE.DAT
index cdd794dd89..0e54d8a8a9 100644
--- a/examples/data/large_tokamak_nof_MFILE.DAT
+++ b/examples/data/large_tokamak_nof_MFILE.DAT
@@ -744,7 +744,7 @@
Cable_WP_fraction________________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-aiwp)/a_tf_wp_with_insulation)________ 5.08389576488017192e-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil______________________________________________ (n_tf_coil_turns)____________________ 1.54382962574717794e+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)________________________ (t_turn_tf)____________________ 5.64999376912919751e-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)________________________ (dx_tf_turn_general)____________________ 5.64999376912919751e-02 OP
Width_of_conductor_(square)_(m)__________________________________________ (t_conductor)__________________ 5.48999376912919779e-02 OP
Width_of_space_inside_conductor_(m)______________________________________ (dx_tf_turn_cable_space_average)______________________ 3.83854185774860357e-02 OP
Steel_conduit_thickness_(m)______________________________________________ (dx_tf_turn_steel)_____________________ 8.25725955690296935e-03
diff --git a/process/constraints.py b/process/constraints.py
index 0d9fc5c766..841ccdcf13 100644
--- a/process/constraints.py
+++ b/process/constraints.py
@@ -2220,12 +2220,12 @@ def constraint_equation_86():
"""Upper limit on the turn edge length in the TF winding pack
Author : S Kahn
- t_turn_tf: TF coil turn edge length including turn insulation [m]
+ dx_tf_turn_general: TF coil turn edge length including turn insulation [m]
f_t_turn_tf: f-value for TF turn edge length constraint
t_turn_tf_max: TF turn edge length including turn insulation upper limit [m]
"""
cc = (
- data_structure.tfcoil_variables.t_turn_tf
+ data_structure.tfcoil_variables.dx_tf_turn_general
/ data_structure.tfcoil_variables.t_turn_tf_max
- 1.0 * data_structure.tfcoil_variables.f_t_turn_tf
)
diff --git a/process/data_structure/tfcoil_variables.py b/process/data_structure/tfcoil_variables.py
index e1b02fd267..24bf28c560 100644
--- a/process/data_structure/tfcoil_variables.py
+++ b/process/data_structure/tfcoil_variables.py
@@ -118,11 +118,11 @@
"""Conductor (cable + steel conduit) area averaged dimension [m]"""
-t_turn_tf: float = None
+dx_tf_turn_general: float = None
"""TF coil turn edge length including turn insulation [m]
If the turn is not a square (i_tf_turns_integer = 1) a squared turn of
equivelent size is use to calculated this quantity
-If the t_turn_tf is non zero, c_tf_turn is calculated
+If the dx_tf_turn_general is non zero, c_tf_turn is calculated
"""
@@ -1109,7 +1109,7 @@ def init_tfcoil_variables():
global casths_fraction
global tfc_sidewall_is_fraction
global t_conductor
- global t_turn_tf
+ global dx_tf_turn_general
global i_dx_tf_turn_general_input
global f_t_turn_tf
global t_turn_tf_max
@@ -1326,7 +1326,7 @@ def init_tfcoil_variables():
t_conductor = 0.0
t_cable_tf = 0.0
t_cable_tf_is_input = False
- t_turn_tf = 0.0
+ dx_tf_turn_general = 0.0
i_dx_tf_turn_general_input = False
f_t_turn_tf = 1.0
t_turn_tf_max = 0.05
diff --git a/process/init.py b/process/init.py
index aad5c808c2..e53fc5b1ac 100644
--- a/process/init.py
+++ b/process/init.py
@@ -1051,9 +1051,9 @@ def check_process(inputs): # noqa: ARG001
dr_tf_wp_min=dr_tf_wp_min,
)
- # Setting i_dx_tf_turn_general_input to true if t_turn_tf is an input
+ # Setting i_dx_tf_turn_general_input to true if dx_tf_turn_general is an input
data_structure.tfcoil_variables.i_dx_tf_turn_general_input = (
- abs(data_structure.tfcoil_variables.t_turn_tf) > 0
+ abs(data_structure.tfcoil_variables.dx_tf_turn_general) > 0
)
# Impossible to set the turn size of integer turn option
diff --git a/process/input.py b/process/input.py
index 9496aad34b..28462cdd14 100644
--- a/process/input.py
+++ b/process/input.py
@@ -1633,7 +1633,7 @@ def __post_init__(self):
"dz_cs_turn_conduit": InputVariable(
data_structure.cs_fatigue_variables, float, range=(0.001, 1.0)
),
- "t_turn_tf": InputVariable(
+ "dx_tf_turn_general": InputVariable(
data_structure.tfcoil_variables, float, range=(0.0, 0.1)
),
"t_turn_tf_max": InputVariable(
diff --git a/process/io/obsolete_vars.py b/process/io/obsolete_vars.py
index 6e37bb316b..0ecc803100 100644
--- a/process/io/obsolete_vars.py
+++ b/process/io/obsolete_vars.py
@@ -53,7 +53,7 @@
"ddwi": "dr_vv_outboard",
"pnuccp": "pnuc_cp",
"nuc_pow_dep_tot": "pnuc_tot_blk_sector",
- "t_turn": "t_turn_tf",
+ "t_turn": "dx_tf_turn_general",
"ratecdol": "discount_rate",
"strtf1": "sig_tf_case",
"strtf2": "sig_tf_wp",
diff --git a/process/io/plot_proc.py b/process/io/plot_proc.py
index e149229d3d..b2a418eae5 100644
--- a/process/io/plot_proc.py
+++ b/process/io/plot_proc.py
@@ -6185,7 +6185,7 @@ def plot_tf_turn(axis, fig, mfile_data, scan: int) -> None:
)
elif i_tf_turns_integer == 0:
- turn_width = mfile_data.data["t_turn_tf"].get_scan(scan)
+ turn_width = mfile_data.data["dx_tf_turn_general"].get_scan(scan)
cable_space_width = mfile_data.data["dx_tf_turn_cable_space_average"].get_scan(
scan
)
diff --git a/process/stellarator.py b/process/stellarator.py
index 83af2c9a80..acd0a4bd55 100644
--- a/process/stellarator.py
+++ b/process/stellarator.py
@@ -2561,7 +2561,7 @@ def stcoil(self, output: bool):
#
# [m] Dimension of square cable space inside insulation
# and case of the conduit of each turn
- dx_tf_turn_cable_space_average = tfcoil_variables.t_turn_tf - 2.0e0 * (
+ dx_tf_turn_cable_space_average = tfcoil_variables.dx_tf_turn_general - 2.0e0 * (
tfcoil_variables.dx_tf_turn_steel + tfcoil_variables.dx_tf_turn_insulation
) # dx_tf_turn_cable_space_average = t_w
if dx_tf_turn_cable_space_average < 0:
@@ -2643,7 +2643,7 @@ def stcoil(self, output: bool):
tfcoil_variables.a_tf_turn_cable_space_no_void
* (1.0e0 - tfcoil_variables.f_a_tf_turn_cable_space_extra_void)
)
- / (tfcoil_variables.t_turn_tf**2)
+ / (tfcoil_variables.dx_tf_turn_general**2)
* (1.0e0 - tfcoil_variables.f_a_tf_turn_cable_copper)
) # fraction that is SC of wp.
# print *, "f_scu. ",f_scu,"Awp min: ",Awp(1)
@@ -2666,7 +2666,7 @@ def stcoil(self, output: bool):
)
# Maximum field at superconductor surface (T)
- wp_width_r_min = max(tfcoil_variables.t_turn_tf**2, wp_width_r_min)
+ wp_width_r_min = max(tfcoil_variables.dx_tf_turn_general**2, wp_width_r_min)
# Recalculate tfcoil_variables.b_tf_inboard_peak_symmetric at the found awp_min:
tfcoil_variables.b_tf_inboard_peak_symmetric = self.bmax_from_awp(
@@ -2709,7 +2709,7 @@ def stcoil(self, output: bool):
coilcurrent * 1.0e6 / a_tf_wp_no_insulation
) # [A/m^2] winding pack current density
tfcoil_variables.n_tf_coil_turns = (
- a_tf_wp_no_insulation / (tfcoil_variables.t_turn_tf**2)
+ a_tf_wp_no_insulation / (tfcoil_variables.dx_tf_turn_general**2)
) # estimated number of turns for a given turn size (not global). Take at least 1.
tfcoil_variables.c_tf_turn = (
coilcurrent * 1.0e6 / tfcoil_variables.n_tf_coil_turns
@@ -2730,7 +2730,7 @@ def stcoil(self, output: bool):
tfcoil_variables.a_tf_coil_wp_turn_insulation = (
tfcoil_variables.n_tf_coil_turns
* (
- tfcoil_variables.t_turn_tf**2
+ tfcoil_variables.dx_tf_turn_general**2
- tfcoil_variables.a_tf_turn_steel
- tfcoil_variables.a_tf_turn_cable_space_no_void
)
@@ -3092,7 +3092,7 @@ def stcoil(self, output: bool):
1 - tfcoil_variables.f_a_tf_turn_cable_space_extra_void,
tfcoil_variables.tftmp,
tfcoil_variables.a_tf_turn_cable_space_no_void,
- tfcoil_variables.t_turn_tf**2,
+ tfcoil_variables.dx_tf_turn_general**2,
)
# print *, "Jmax, comparison: ", j_tf_wp_quench_heat_max, " ", jwdgpro2," ",j_tf_wp/j_tf_wp_quench_heat_max, " , tfcoil_variables.t_tf_superconductor_quench: ",t_tf_superconductor_quench, " tfcoil_variables.f_a_tf_turn_cable_copper: ",f_a_tf_turn_cable_copper
@@ -3212,7 +3212,7 @@ def stcoil(self, output: bool):
r_coil_minor,
r_tf_inleg_mid,
tfcoil_variables.sig_tf_wp,
- tfcoil_variables.t_turn_tf,
+ tfcoil_variables.dx_tf_turn_general,
tfcoil_variables.t_tf_superconductor_quench,
tf_total_h_width,
tfborev,
@@ -3720,7 +3720,7 @@ def stcoil_output(
r_coil_minor,
r_tf_inleg_mid,
sig_tf_wp,
- t_turn_tf,
+ dx_tf_turn_general,
t_tf_superconductor_quench,
tf_total_h_width,
tfborev,
@@ -4000,8 +4000,8 @@ def stcoil_output(
po.ovarre(
self.outfile,
"Width of each turn (incl. insulation) (m)",
- "(t_turn_tf)",
- t_turn_tf,
+ "(dx_tf_turn_general)",
+ dx_tf_turn_general,
)
po.ovarre(
self.outfile,
diff --git a/process/superconducting_tf_coil.py b/process/superconducting_tf_coil.py
index e5f1bd68bd..10b3b31164 100644
--- a/process/superconducting_tf_coil.py
+++ b/process/superconducting_tf_coil.py
@@ -2501,7 +2501,7 @@ def tf_cable_in_conduit_integer_turn_geometry(
)
# Average turn dimension [m]
- tfcoil_variables.t_turn_tf = np.sqrt(dr_tf_turn * dx_tf_turn)
+ tfcoil_variables.dx_tf_turn_general = np.sqrt(dr_tf_turn * dx_tf_turn)
# Number of TF turns
n_tf_coil_turns = np.double(n_tf_wp_layers * n_tf_wp_pancakes)
@@ -2626,7 +2626,7 @@ def tf_cable_in_conduit_averaged_turn_geometry(
# Turn dimension is a an input
if tfcoil_variables.i_dx_tf_turn_general_input:
# Turn area [m2]
- a_turn = tfcoil_variables.t_turn_tf**2
+ a_turn = tfcoil_variables.dx_tf_turn_general**2
# Current per turn [A]
tfcoil_variables.c_tf_turn = a_turn * j_tf_wp
@@ -2634,12 +2634,13 @@ def tf_cable_in_conduit_averaged_turn_geometry(
# Turn cable dimension is an input
elif tfcoil_variables.t_cable_tf_is_input:
# Turn squared dimension [m]
- tfcoil_variables.t_turn_tf = tfcoil_variables.t_cable_tf + 2.0e0 * (
- dx_tf_turn_insulation + dx_tf_turn_steel
+ tfcoil_variables.dx_tf_turn_general = (
+ tfcoil_variables.t_cable_tf
+ + 2.0e0 * (dx_tf_turn_insulation + dx_tf_turn_steel)
)
# Turn area [m2]
- a_turn = tfcoil_variables.t_turn_tf**2
+ a_turn = tfcoil_variables.dx_tf_turn_general**2
# Current per turn [A]
tfcoil_variables.c_tf_turn = a_turn * j_tf_wp
@@ -2652,11 +2653,15 @@ def tf_cable_in_conduit_averaged_turn_geometry(
a_turn = tfcoil_variables.c_tf_turn / j_tf_wp
# Dimension of square cross-section of each turn including inter-turn insulation [m]
- tfcoil_variables.t_turn_tf = np.sqrt(a_turn)
+ tfcoil_variables.dx_tf_turn_general = np.sqrt(a_turn)
# Square turn assumption
- superconducting_tf_coil_variables.dr_tf_turn = tfcoil_variables.t_turn_tf
- superconducting_tf_coil_variables.dx_tf_turn = tfcoil_variables.t_turn_tf
+ superconducting_tf_coil_variables.dr_tf_turn = (
+ tfcoil_variables.dx_tf_turn_general
+ )
+ superconducting_tf_coil_variables.dx_tf_turn = (
+ tfcoil_variables.dx_tf_turn_general
+ )
# See derivation in the following document
# k:\power plant physics and technology\process\hts\hts coil module for process.docx
diff --git a/process/tf_coil.py b/process/tf_coil.py
index 9c5ec71b8d..fff7f74344 100644
--- a/process/tf_coil.py
+++ b/process/tf_coil.py
@@ -1149,8 +1149,8 @@ def outtf(self):
po.ovarre(
self.outfile,
"Width of turn including inter-turn insulation (m)",
- "(t_turn_tf)",
- tfcoil_variables.t_turn_tf,
+ "(dx_tf_turn_general)",
+ tfcoil_variables.dx_tf_turn_general,
"OP ",
)
po.ovarre(
diff --git a/tests/integration/data/large_tokamak_1_MFILE.DAT b/tests/integration/data/large_tokamak_1_MFILE.DAT
index 0313148835..c76aa34f0a 100644
--- a/tests/integration/data/large_tokamak_1_MFILE.DAT
+++ b/tests/integration/data/large_tokamak_1_MFILE.DAT
@@ -707,7 +707,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3656E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4739E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.9223E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.9223E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7623E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1604E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0099E-03 ITV
diff --git a/tests/integration/data/large_tokamak_2_MFILE.DAT b/tests/integration/data/large_tokamak_2_MFILE.DAT
index 1a71b0d07f..334bba70ac 100644
--- a/tests/integration/data/large_tokamak_2_MFILE.DAT
+++ b/tests/integration/data/large_tokamak_2_MFILE.DAT
@@ -708,7 +708,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3656E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4739E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.9223E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.9223E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7623E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1604E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0099E-03 ITV
diff --git a/tests/integration/data/large_tokamak_3_MFILE.DAT b/tests/integration/data/large_tokamak_3_MFILE.DAT
index 9f6adad6c4..a5474c4985 100644
--- a/tests/integration/data/large_tokamak_3_MFILE.DAT
+++ b/tests/integration/data/large_tokamak_3_MFILE.DAT
@@ -708,7 +708,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3656E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4739E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.9223E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.9223E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7623E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1604E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0099E-03 ITV
diff --git a/tests/integration/data/large_tokamak_4_MFILE.DAT b/tests/integration/data/large_tokamak_4_MFILE.DAT
index 09897db283..024e6f94e1 100644
--- a/tests/integration/data/large_tokamak_4_MFILE.DAT
+++ b/tests/integration/data/large_tokamak_4_MFILE.DAT
@@ -708,7 +708,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3656E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4739E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.9223E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.9223E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7623E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1604E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0099E-03 ITV
diff --git a/tests/integration/data/large_tokamak_MFILE.DAT b/tests/integration/data/large_tokamak_MFILE.DAT
index 1cf005fc1a..66e8a75b85 100644
--- a/tests/integration/data/large_tokamak_MFILE.DAT
+++ b/tests/integration/data/large_tokamak_MFILE.DAT
@@ -952,7 +952,7 @@
Cable_WP_fraction________________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_ 5.36572232293409002e-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil______________________________________________ (n_tf_coil_turns)______________ 1.57080208524349899e+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)________________________ (t_turn_tf)____________________ 5.95643536626516285e-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)________________________ (dx_tf_turn_general)____________________ 5.95643536626516285e-02 OP
Width_of_conductor_(square)_(m)__________________________________________ (t_conductor)__________________ 5.79643536626516312e-02 OP
Width_of_space_inside_conductor_(m)______________________________________ (dx_tf_turn_cable_space_average)_ 4.19600383778606506e-02 OP
Steel_conduit_thickness_(m)______________________________________________ (dx_tf_turn_steel)_____________ 8.00215764239549203e-03
diff --git a/tests/integration/data/scan_2D_MFILE.DAT b/tests/integration/data/scan_2D_MFILE.DAT
index 5e2f2527ae..88a97816b6 100644
--- a/tests/integration/data/scan_2D_MFILE.DAT
+++ b/tests/integration/data/scan_2D_MFILE.DAT
@@ -709,7 +709,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2910E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4728E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.7774E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.7774E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6174E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0174E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0000E-03 ITV
@@ -1872,7 +1872,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2643E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4446E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.7926E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.7926E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6326E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0137E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0947E-03 ITV
@@ -3035,7 +3035,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2475E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4275E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.7852E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.7852E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6252E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 3.9985E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1335E-03 ITV
@@ -4198,7 +4198,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2458E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4281E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.7899E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.7899E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6299E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0014E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1427E-03 ITV
@@ -5361,7 +5361,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2526E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4390E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8141E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8141E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6541E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0240E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1506E-03 ITV
@@ -6524,7 +6524,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2599E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4469E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8549E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8549E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6949E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0589E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1797E-03 ITV
@@ -7687,7 +7687,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2584E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4484E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8590E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8590E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6990E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0616E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1874E-03 ITV
@@ -8850,7 +8850,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2527E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4315E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8451E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8451E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6851E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0465E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1933E-03 ITV
@@ -10013,7 +10013,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2495E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4163E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8278E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8278E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6678E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0301E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1885E-03 ITV
@@ -11176,7 +11176,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2487E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4162E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8312E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8312E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6712E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0324E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1944E-03 ITV
@@ -12339,7 +12339,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2496E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4306E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8526E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8526E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6926E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0506E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.2099E-03 ITV
@@ -13502,7 +13502,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2608E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4446E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8724E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8724E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7124E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0722E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.2008E-03 ITV
@@ -14665,7 +14665,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2598E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4447E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8762E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8762E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7162E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0746E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.2077E-03 ITV
@@ -15828,7 +15828,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2576E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4281E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8585E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8585E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6985E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0584E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.2007E-03 ITV
@@ -16991,7 +16991,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.2561E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.4117E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8398E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8398E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.6798E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.0416E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.1912E-03 ITV
diff --git a/tests/regression/input_files/helias_5b.IN.DAT b/tests/regression/input_files/helias_5b.IN.DAT
index 8d64d82da0..3c7fe69065 100644
--- a/tests/regression/input_files/helias_5b.IN.DAT
+++ b/tests/regression/input_files/helias_5b.IN.DAT
@@ -171,7 +171,7 @@ f_a_tf_turn_cable_copper = 0.69 *Copper fraction of cable conductor (TF
i_tf_sc_mat = 1 *Switch for superconductor material in tf coils (1: ITER Nb3Sn)
tftmp = 4.2 *Peak helium coolant temperature in TF coils and PF coils (k)
temp_tf_cryo = 4.2 *Coil temperature for cryogenic plant power calculation (K)
-t_turn_tf = 0.056 *Dimension conductor area including steel and insulation.
+dx_tf_turn_general = 0.056 *Dimension conductor area including steel and insulation.
dx_tf_turn_insulation = 0.002 *Conduit insulation thickness (m)
dx_tf_turn_steel = 0.0012 *TF coil conduit case thickness (m)
f_a_tf_turn_cable_space_extra_void = 0.3 *Coolant fraction of TF coil leg (i_tf_sup=0)
diff --git a/tests/regression/input_files/st_regression.IN.DAT b/tests/regression/input_files/st_regression.IN.DAT
index d05f7da51f..c7d351a7ec 100644
--- a/tests/regression/input_files/st_regression.IN.DAT
+++ b/tests/regression/input_files/st_regression.IN.DAT
@@ -1110,9 +1110,9 @@ i_tf_turns_integer = 0
*icc = 86
* DESCRIPTION: Constraint equation for limiting the numer of turns in the TF coil
* JUSTIFICATION: Turned off, not concerned with number of TF turns
-* VARIABLES: t_turn_tf_max. t_turn_tf calculated in-situ
+* VARIABLES: t_turn_tf_max. dx_tf_turn_general calculated in-situ
-*t_turn_tf =
+*dx_tf_turn_general =
* DESCRIPTION: TF coil turn edge length including turn insulation [m]
* JUSTIFICATION:
diff --git a/tests/regression/input_files/stellarator_helias_eval.IN.DAT b/tests/regression/input_files/stellarator_helias_eval.IN.DAT
index 5378adc165..07b18d7169 100644
--- a/tests/regression/input_files/stellarator_helias_eval.IN.DAT
+++ b/tests/regression/input_files/stellarator_helias_eval.IN.DAT
@@ -336,7 +336,7 @@ te0_ecrh_achievable = 14.880956269519242 * maximal central electron temperature
*-----------------Tfcoil Variables-----------------*
sig_tf_wp_max = 4.e8 * Allowable maximum shear stress (Tresca criterion) in TF coil conduit (Pa)
-t_turn_tf = 0.037 * TF coil turn edge length including turn insulation [m]
+dx_tf_turn_general = 0.037 * TF coil turn edge length including turn insulation [m]
f_a_tf_turn_cable_copper = 0.7630096974258808 * copper fraction of cable conductor (TF coils)
i_tf_sc_mat = 8 * Switch for superconductor material in TF coils;
ftoroidalgap = 1. * F-value for minimum dx_tf_inboard_out_toroidal (`constraint equation 82`)
diff --git a/tests/unit/data/large_tokamak_MFILE.DAT b/tests/unit/data/large_tokamak_MFILE.DAT
index 8c9b2d9745..e01ddf22be 100644
--- a/tests/unit/data/large_tokamak_MFILE.DAT
+++ b/tests/unit/data/large_tokamak_MFILE.DAT
@@ -711,7 +711,7 @@
Cable_WP_fraction_______________________________________________________ ((a_tf_wp_with_insulation-a_tf_wp_steel-a_tf_coil_wp_turn_insulation)/a_tf_wp_with_insulation)_______ 5.3296E-01
Turn_parametrisation____________________________________________________ (i_tf_turns_integer)__________ 0
Number_of_turns_per_TF_coil_____________________________________________ (n_tf_coil_turns)___________________ 1.5197E+02 OP
- Width_of_turn_including_inter-turn_insulation_(m)_______________________ (t_turn_tf)___________________ 5.8716E-02 OP
+ Width_of_turn_including_inter-turn_insulation_(m)_______________________ (dx_tf_turn_general)___________________ 5.8716E-02 OP
Width_of_conductor_(square)_(m)_________________________________________ (t_conductor)_________________ 5.7116E-02 OP
Width_of_space_inside_conductor_(m)_____________________________________ (dx_tf_turn_cable_space_average)_____________________ 4.1107E-02 OP
Steel_conduit_thickness_(m)_____________________________________________ (dx_tf_turn_steel)____________________ 8.0042E-03 ITV
diff --git a/tests/unit/test_sctfcoil.py b/tests/unit/test_sctfcoil.py
index ca057c4ab0..958be489c9 100644
--- a/tests/unit/test_sctfcoil.py
+++ b/tests/unit/test_sctfcoil.py
@@ -1003,7 +1003,7 @@ class TfIntegerTurnGeomParam(NamedTuple):
t_conductor: Any = None
- t_turn_tf: Any = None
+ dx_tf_turn_general: Any = None
c_tf_coil: Any = None
@@ -1033,7 +1033,7 @@ class TfIntegerTurnGeomParam(NamedTuple):
expected_t_conductor: Any = None
- expected_t_turn_tf: Any = None
+ expected_dx_tf_turn_general: Any = None
expected_t_conductor_radial: Any = None
@@ -1068,7 +1068,7 @@ class TfIntegerTurnGeomParam(NamedTuple):
dx_tf_wp_insulation=0.0080000000000000019,
dx_tf_wp_insertion_gap=0.01,
t_conductor=0,
- t_turn_tf=0,
+ dx_tf_turn_general=0,
c_tf_coil=14805350.287500001,
dx_tf_wp_toroidal_min=1.299782604942499,
t_conductor_radial=0,
@@ -1083,7 +1083,7 @@ class TfIntegerTurnGeomParam(NamedTuple):
dx_tf_turn_steel=0.0080000000000000002,
dx_tf_turn_insulation=0.002,
expected_t_conductor=0.052553108427885735,
- expected_t_turn_tf=0.056579413904423038,
+ expected_dx_tf_turn_general=0.056579413904423038,
expected_t_conductor_radial=0.046661087836601015,
expected_t_conductor_toroidal=0.059189130247124938,
expected_dr_tf_turn_cable_space=0.030661087836601014,
@@ -1102,7 +1102,7 @@ class TfIntegerTurnGeomParam(NamedTuple):
dx_tf_wp_insulation=0.0080000000000000019,
dx_tf_wp_insertion_gap=0.01,
t_conductor=0.052553108427885735,
- t_turn_tf=0.056579413904423038,
+ dx_tf_turn_general=0.056579413904423038,
c_tf_coil=14805350.287500001,
dx_tf_wp_toroidal_min=1.299782604942499,
t_conductor_radial=0.046661087836601015,
@@ -1117,7 +1117,7 @@ class TfIntegerTurnGeomParam(NamedTuple):
dx_tf_turn_steel=0.0080000000000000002,
dx_tf_turn_insulation=0.002,
expected_t_conductor=0.052553108427885735,
- expected_t_turn_tf=0.056579413904423038,
+ expected_dx_tf_turn_general=0.056579413904423038,
expected_t_conductor_radial=0.046661087836601015,
expected_t_conductor_toroidal=0.059189130247124938,
expected_dr_tf_turn_cable_space=0.030661087836601014,
@@ -1179,8 +1179,8 @@ def test_tf_cable_in_conduit_integer_turn_geometry(tfintegerturngeomparam, sctfc
assert t_conductor == pytest.approx(tfintegerturngeomparam.expected_t_conductor)
- assert tfcoil_variables.t_turn_tf == pytest.approx(
- tfintegerturngeomparam.expected_t_turn_tf
+ assert tfcoil_variables.dx_tf_turn_general == pytest.approx(
+ tfintegerturngeomparam.expected_dx_tf_turn_general
)
assert t_conductor_radial == pytest.approx(
@@ -1231,7 +1231,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
t_conductor: Any = None
- t_turn_tf: Any = None
+ dx_tf_turn_general: Any = None
i_dx_tf_turn_general_input: Any = None
@@ -1259,7 +1259,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
expected_t_conductor: Any = None
- expected_t_turn_tf: Any = None
+ expected_dx_tf_turn_general: Any = None
expected_t_turn_radial: Any = None
@@ -1282,7 +1282,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
TfAveragedTurnGeomParam(
layer_ins=0,
t_conductor=0,
- t_turn_tf=0,
+ dx_tf_turn_general=0,
i_dx_tf_turn_general_input=False,
c_tf_turn=65000,
t_cable_tf=0,
@@ -1296,7 +1296,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
dx_tf_turn_steel=0.0080000000000000019,
dx_tf_turn_insulation=0.00080000000000000004,
expected_t_conductor=0.047932469413859431,
- expected_t_turn_tf=0.049532469413859428,
+ expected_dx_tf_turn_general=0.049532469413859428,
expected_t_turn_radial=0.049532469413859428,
expected_dx_tf_turn=0.049532469413859428,
expected_t_cable=0.031932469413859424,
@@ -1308,7 +1308,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
TfAveragedTurnGeomParam(
layer_ins=0,
t_conductor=0.047932469413859431,
- t_turn_tf=0.049532469413859428,
+ dx_tf_turn_general=0.049532469413859428,
i_dx_tf_turn_general_input=False,
c_tf_turn=65000,
t_cable_tf=0,
@@ -1322,7 +1322,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
dx_tf_turn_steel=0.0080000000000000019,
dx_tf_turn_insulation=0.00080000000000000004,
expected_t_conductor=0.047932469413859431,
- expected_t_turn_tf=0.049532469413859428,
+ expected_dx_tf_turn_general=0.049532469413859428,
expected_t_turn_radial=0.049532469413859428,
expected_dx_tf_turn=0.049532469413859428,
expected_t_cable=0.031932469413859424,
@@ -1334,7 +1334,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
TfAveragedTurnGeomParam(
layer_ins=0,
t_conductor=5.712e-02,
- t_turn_tf=0.05872,
+ dx_tf_turn_general=0.05872,
i_dx_tf_turn_general_input=True,
c_tf_turn=0,
t_cable_tf=0,
@@ -1348,7 +1348,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
dx_tf_turn_steel=8.015e-03,
dx_tf_turn_insulation=8.0e-4,
expected_t_conductor=5.712e-02,
- expected_t_turn_tf=0.05872,
+ expected_dx_tf_turn_general=0.05872,
expected_t_turn_radial=0.05872,
expected_dx_tf_turn=0.05872,
expected_t_cable=0.04109,
@@ -1360,7 +1360,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
TfAveragedTurnGeomParam(
layer_ins=0,
t_conductor=0.058296,
- t_turn_tf=0,
+ dx_tf_turn_general=0,
i_dx_tf_turn_general_input=False,
c_tf_turn=0,
t_cable_tf=0.042,
@@ -1374,7 +1374,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
dx_tf_turn_steel=8.148e-03,
dx_tf_turn_insulation=8.0e-4,
expected_t_conductor=0.058296,
- expected_t_turn_tf=0.059896,
+ expected_dx_tf_turn_general=0.059896,
expected_t_turn_radial=0.059896,
expected_dx_tf_turn=0.059896,
expected_t_cable=0.042,
@@ -1409,7 +1409,9 @@ def test_tf_cable_in_conduit_averaged_turn_geometry(
)
monkeypatch.setattr(
- tfcoil_variables, "t_turn_tf", tfaveragedturngeomparam.t_turn_tf
+ tfcoil_variables,
+ "dx_tf_turn_general",
+ tfaveragedturngeomparam.dx_tf_turn_general,
)
monkeypatch.setattr(
@@ -1472,8 +1474,8 @@ def test_tf_cable_in_conduit_averaged_turn_geometry(
tfaveragedturngeomparam.expected_t_conductor
)
- assert tfcoil_variables.t_turn_tf == pytest.approx(
- tfaveragedturngeomparam.expected_t_turn_tf
+ assert tfcoil_variables.dx_tf_turn_general == pytest.approx(
+ tfaveragedturngeomparam.expected_dx_tf_turn_general
)
assert superconducting_tf_coil_variables.dr_tf_turn == pytest.approx(
From b86a10e8b09f537f10230892cfa673cd28eb9bbb Mon Sep 17 00:00:00 2001
From: mn3981
@@ -147,10 +147,10 @@ turns. The number of turns can be parametrized in three different ways : The current per turn `c_tf_turn` will be overwitten.
-
- **Cable size parametrization:** the dimension of the SC cable `t_cable_tf`
+ **Cable size parametrization:** the dimension of the SC cable `dx_tf_turn_cable_space_general`
can be set by the user. To do so, the user just have to select the following
option: `i_tf_turns_integer = 0` and to set a value to the variable
- `t_cable_tf`. The area of the corresponding squared turn is deduced adding
+ `dx_tf_turn_cable_space_general`. The area of the corresponding squared turn is deduced adding
the steel conduit structure and the turn insulation. The number of turns
necessary to fill the WP area is then deduced. There is no guarantee that a
realistic turn configuration (with all the turn geometrically fitting in the
diff --git a/documentation/eng-models/tf-coil.md b/documentation/eng-models/tf-coil.md
index 11fc73007f..4724bad96f 100644
--- a/documentation/eng-models/tf-coil.md
+++ b/documentation/eng-models/tf-coil.md
@@ -969,7 +969,7 @@ considered/implemented in PROCESS.
| `n_tf_wp_layers` | Number of turns in the radial direction (`i_tf_turns_integer = 1` only) | - | 20 | - |
| `n_tf_wp_pancakes` | Number of turns in the toroidal direction (`i_tf_turns_integer = 1` only) | - | 10 | - |
| `dx_tf_turn_general` | TF turn squared size | - | No default | m |
-| `t_cable_tf` | TF cable diameter size | - | No default | m |
+| `dx_tf_turn_cable_space_general` | TF cable diameter size | - | No default | m |
| `f_t_turn_tf` | f-value for TF turn squared size constraint (icc = 86) | 175 | 1. | m |
| `t_turn_tf_max` | Maximum turn squared size for constraint (icc = 86) | - | 0.05 | m |
| `c_tf_turn` | Current per turn
Overwitten if `dx_tf_turn_general` is set by the user | ixc = 60 | $70.10^3$ | A |
diff --git a/process/data_structure/tfcoil_variables.py b/process/data_structure/tfcoil_variables.py
index 1dbf591c7e..9221a19d7c 100644
--- a/process/data_structure/tfcoil_variables.py
+++ b/process/data_structure/tfcoil_variables.py
@@ -149,11 +149,11 @@
"""
-t_cable_tf: float = None
+dx_tf_turn_cable_space_general: float = None
"""TF coil superconducting cable squared/rounded dimensions [m]
If the turn is not a square (i_tf_turns_integer = 1) a squared cable of
equivelent size is use to calculated this quantity
-If the t_cable_tf is non zero, c_tf_turn is calculated
+If the dx_tf_turn_cable_space_general is non zero, c_tf_turn is calculated
"""
@@ -1113,7 +1113,7 @@ def init_tfcoil_variables():
global i_dx_tf_turn_general_input
global f_t_turn_tf
global t_turn_tf_max
- global t_cable_tf
+ global dx_tf_turn_cable_space_general
global i_dx_tf_turn_cable_space_general_input
global acs
global cdtfleg
@@ -1324,7 +1324,7 @@ def init_tfcoil_variables():
dx_tf_side_case_min = 0.0
casths_fraction = 0.06
t_conductor = 0.0
- t_cable_tf = 0.0
+ dx_tf_turn_cable_space_general = 0.0
i_dx_tf_turn_cable_space_general_input = False
dx_tf_turn_general = 0.0
i_dx_tf_turn_general_input = False
diff --git a/process/init.py b/process/init.py
index 483c0afc57..b4fff3c9d1 100644
--- a/process/init.py
+++ b/process/init.py
@@ -1081,9 +1081,9 @@ def check_process(inputs): # noqa: ARG001
"i_diamagnetic_current = 0 should be used with the Sakai plasma current scaling"
)
- # Setting i_dx_tf_turn_cable_space_general_input to true if t_cable_tf is an input
+ # Setting i_dx_tf_turn_cable_space_general_input to true if dx_tf_turn_cable_space_general is an input
data_structure.tfcoil_variables.i_dx_tf_turn_cable_space_general_input = (
- abs(data_structure.tfcoil_variables.t_cable_tf) > 0
+ abs(data_structure.tfcoil_variables.dx_tf_turn_cable_space_general) > 0
)
# Impossible to set the cable size of integer turn option
diff --git a/process/input.py b/process/input.py
index 28462cdd14..46ea6775e3 100644
--- a/process/input.py
+++ b/process/input.py
@@ -1594,7 +1594,7 @@ def __post_init__(self):
"t_burn_min": InputVariable(
data_structure.constraint_variables, float, range=(0.001, 1000000.0)
),
- "t_cable_tf": InputVariable(
+ "dx_tf_turn_cable_space_general": InputVariable(
data_structure.tfcoil_variables, float, range=(0.0, 0.1)
),
"t_crack_radial": InputVariable(
diff --git a/process/superconducting_tf_coil.py b/process/superconducting_tf_coil.py
index ebc2ad71df..1d4c71e328 100644
--- a/process/superconducting_tf_coil.py
+++ b/process/superconducting_tf_coil.py
@@ -2635,7 +2635,7 @@ def tf_cable_in_conduit_averaged_turn_geometry(
elif tfcoil_variables.i_dx_tf_turn_cable_space_general_input:
# Turn squared dimension [m]
tfcoil_variables.dx_tf_turn_general = (
- tfcoil_variables.t_cable_tf
+ tfcoil_variables.dx_tf_turn_cable_space_general
+ 2.0e0 * (dx_tf_turn_insulation + dx_tf_turn_steel)
)
diff --git a/tests/regression/input_files/st_regression.IN.DAT b/tests/regression/input_files/st_regression.IN.DAT
index c7d351a7ec..77f88eb97b 100644
--- a/tests/regression/input_files/st_regression.IN.DAT
+++ b/tests/regression/input_files/st_regression.IN.DAT
@@ -1142,11 +1142,11 @@ i_tf_turns_integer = 0
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-*t_cable_tf =
+*dx_tf_turn_cable_space_general =
* DESCRIPTION: TF coil superconducting cable squared/rounded dimensions [m]
* If the turn is not a square (i_tf_turns_integer = 1) a squared cable of
* equivelent size is use to calculated this quantity
-* If the t_cable_tf is non zero, c_tf_turn is calculated
+* If the dx_tf_turn_cable_space_general is non zero, c_tf_turn is calculated
* Sets the cable space and allows the turn size to be calculated
* JUSTIFICATION: Not set, as i_tf_turns_integer = 0
diff --git a/tests/unit/test_sctfcoil.py b/tests/unit/test_sctfcoil.py
index f02fe67dbb..e837f3c73a 100644
--- a/tests/unit/test_sctfcoil.py
+++ b/tests/unit/test_sctfcoil.py
@@ -1237,7 +1237,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
c_tf_turn: Any = None
- t_cable_tf: Any = None
+ dx_tf_turn_cable_space_general: Any = None
i_dx_tf_turn_cable_space_general_input: Any = None
@@ -1285,7 +1285,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
dx_tf_turn_general=0,
i_dx_tf_turn_general_input=False,
c_tf_turn=65000,
- t_cable_tf=0,
+ dx_tf_turn_cable_space_general=0,
i_dx_tf_turn_cable_space_general_input=False,
a_tf_wp_no_insulation=0.60510952642236249,
dr_tf_turn=0,
@@ -1311,7 +1311,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
dx_tf_turn_general=0.049532469413859428,
i_dx_tf_turn_general_input=False,
c_tf_turn=65000,
- t_cable_tf=0,
+ dx_tf_turn_cable_space_general=0,
i_dx_tf_turn_cable_space_general_input=False,
a_tf_wp_no_insulation=0.60510952642236249,
dr_tf_turn=0.049532469413859428,
@@ -1337,7 +1337,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
dx_tf_turn_general=0.05872,
i_dx_tf_turn_general_input=True,
c_tf_turn=0,
- t_cable_tf=0,
+ dx_tf_turn_cable_space_general=0,
i_dx_tf_turn_cable_space_general_input=False,
a_tf_wp_no_insulation=0.60510952642236249,
dr_tf_turn=0.05872,
@@ -1363,7 +1363,7 @@ class TfAveragedTurnGeomParam(NamedTuple):
dx_tf_turn_general=0,
i_dx_tf_turn_general_input=False,
c_tf_turn=0,
- t_cable_tf=0.042,
+ dx_tf_turn_cable_space_general=0.042,
i_dx_tf_turn_cable_space_general_input=True,
a_tf_wp_no_insulation=0.60510952642236249,
dr_tf_turn=0.05872,
@@ -1425,7 +1425,9 @@ def test_tf_cable_in_conduit_averaged_turn_geometry(
)
monkeypatch.setattr(
- tfcoil_variables, "t_cable_tf", tfaveragedturngeomparam.t_cable_tf
+ tfcoil_variables,
+ "dx_tf_turn_cable_space_general",
+ tfaveragedturngeomparam.dx_tf_turn_cable_space_general,
)
monkeypatch.setattr(
From c45c570e698917378543e9c17672c4851474cb42 Mon Sep 17 00:00:00 2001
From: mn3981