@@ -35,6 +35,8 @@ class BallReactor(paramak.Reactor):
35
35
plasma_gap_vertical_thickness: the vertical thickness of the gap
36
36
between the plasma and firstwall (cm). If left as None then the
37
37
outer_plasma_gap_radial_thickness is used.
38
+ divertor_to_tf_gap_vertical_thickness: the vertical thickness of the
39
+ gap between the divertor and the TF coils.
38
40
number_of_tf_coils: the number of tf coils
39
41
pf_coil_radial_thicknesses: the radial
40
42
thickness of each poloidal field coil.
@@ -76,6 +78,7 @@ def __init__(
76
78
elongation : float ,
77
79
triangularity : float ,
78
80
plasma_gap_vertical_thickness : Optional [float ] = None ,
81
+ divertor_to_tf_gap_vertical_thickness : Optional [float ] = 0 ,
79
82
number_of_tf_coils : Optional [int ] = 12 ,
80
83
rear_blanket_to_tf_gap : Optional [float ] = None ,
81
84
pf_coil_radial_thicknesses : Optional [Union [float , List [float ]]] = None ,
@@ -123,6 +126,7 @@ def __init__(
123
126
self .rotation_angle = rotation_angle
124
127
125
128
self .plasma_gap_vertical_thickness = plasma_gap_vertical_thickness
129
+ self .divertor_to_tf_gap_vertical_thickness = divertor_to_tf_gap_vertical_thickness
126
130
if self .plasma_gap_vertical_thickness is None :
127
131
self .plasma_gap_vertical_thickness = \
128
132
self .outer_plasma_gap_radial_thickness
@@ -315,23 +319,22 @@ def _make_vertical_build(self):
315
319
# in a similar manner to the radial build
316
320
317
321
self ._firstwall_start_height = (
318
- self ._plasma .high_point [1 ] + self . plasma_gap_vertical_thickness
319
- )
322
+ self ._plasma .high_point [1 ] +
323
+ self . plasma_gap_vertical_thickness )
320
324
self ._firstwall_end_height = self ._firstwall_start_height + \
321
325
self .firstwall_radial_thickness
322
326
323
327
self ._blanket_start_height = self ._firstwall_end_height
324
- self ._blanket_end_height = \
325
- self ._blanket_start_height + self .blanket_radial_thickness
328
+ self ._blanket_end_height = self ._blanket_start_height + self .blanket_radial_thickness
326
329
327
330
self ._blanket_rear_wall_start_height = self ._blanket_end_height
328
- self ._blanket_rear_wall_end_height = (
329
- self ._blanket_rear_wall_start_height +
330
- self .blanket_rear_wall_radial_thickness )
331
+ self ._blanket_rear_wall_end_height = self ._blanket_rear_wall_start_height + \
332
+ self .blanket_rear_wall_radial_thickness
333
+
334
+ self ._tf_coil_start_height = self ._blanket_rear_wall_end_height + \
335
+ self .divertor_to_tf_gap_vertical_thickness
331
336
332
- self ._tf_coil_height = self ._blanket_rear_wall_end_height
333
- self ._center_column_shield_height = \
334
- self ._blanket_rear_wall_end_height * 2
337
+ self ._center_column_shield_height = self ._blanket_rear_wall_end_height * 2
335
338
336
339
if self .rear_blanket_to_tf_gap is not None :
337
340
self ._tf_coil_start_radius = self ._blanket_rear_wall_end_radius + \
@@ -343,7 +346,7 @@ def _make_vertical_build(self):
343
346
def _make_inboard_tf_coils (self ):
344
347
345
348
self ._inboard_tf_coils = paramak .CenterColumnShieldCylinder (
346
- height = self ._tf_coil_height * 2 ,
349
+ height = self ._tf_coil_start_height * 2 ,
347
350
inner_radius = self ._inboard_tf_coils_start_radius ,
348
351
outer_radius = self ._inboard_tf_coils_end_radius ,
349
352
rotation_angle = self .rotation_angle ,
@@ -534,7 +537,7 @@ def _make_tf_coils(self):
534
537
with_inner_leg = False ,
535
538
horizontal_start_point = (
536
539
self ._inboard_tf_coils_start_radius ,
537
- self ._tf_coil_height ),
540
+ self ._tf_coil_start_height ),
538
541
vertical_mid_point = (
539
542
self ._tf_coil_start_radius , 0 ),
540
543
thickness = self .outboard_tf_coil_radial_thickness ,
0 commit comments