Skip to content

l_h_transition

calculate_iter1996_nominal(dnla20, b_plasma_toroidal_on_axis, rmajor)

Calculate the nominal ITER-1996 L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required

Returns:

Type Description
float

The ITER-1996 L-H transition power threshold [MW]

References
- T. Takizuka and International Atomic Energy Agency, Vienna (Austria),
"Threshold power and energy confinement for ITER". 1996.

- J. C. Wesley, International Thermonuclear Experimental Reactor: Physics issues, capabilities and physics program plans,”
Physics of Plasmas, vol. 4, no. 7, pp. 2642-2652, Jul. 1997,
doi: https://doi.org/10.1063/1.872406.
Source code in process/models/physics/l_h_transition.py
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
def calculate_iter1996_nominal(
    dnla20: float, b_plasma_toroidal_on_axis: float, rmajor: float
) -> float:
    """Calculate the nominal ITER-1996 L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]

    Returns
    -------
    float
        The ITER-1996 L-H transition power threshold [MW]

    References
    ----------
        - T. Takizuka and International Atomic Energy Agency, Vienna (Austria),
        "Threshold power and energy confinement for ITER". 1996.

        - J. C. Wesley, “International Thermonuclear Experimental Reactor: Physics issues, capabilities and physics program plans,”
        Physics of Plasmas, vol. 4, no. 7, pp. 2642-2652, Jul. 1997,
        doi: https://doi.org/10.1063/1.872406.
    """
    return 0.45 * dnla20**0.75 * b_plasma_toroidal_on_axis * rmajor**2

calculate_iter1996_upper(dnla20, b_plasma_toroidal_on_axis, rmajor)

Calculate the upper variant ITER-1996 L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required

Returns:

Type Description
float

The ITER-1996 L-H transition power threshold [MW]

References
- T. Takizuka and International Atomic Energy Agency, Vienna (Austria),
"Threshold power and energy confinement for ITER". 1996.

- J. C. Wesley, International Thermonuclear Experimental Reactor: Physics issues, capabilities and physics program plans,”
Physics of Plasmas, vol. 4, no. 7, pp. 2642-2652, Jul. 1997,
doi: https://doi.org/10.1063/1.872406.
Source code in process/models/physics/l_h_transition.py
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
def calculate_iter1996_upper(
    dnla20: float, b_plasma_toroidal_on_axis: float, rmajor: float
) -> float:
    """Calculate the upper variant ITER-1996 L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]

    Returns
    -------
    float
        The ITER-1996 L-H transition power threshold [MW]

    References
    ----------
        - T. Takizuka and International Atomic Energy Agency, Vienna (Austria),
        "Threshold power and energy confinement for ITER". 1996.

        - J. C. Wesley, “International Thermonuclear Experimental Reactor: Physics issues, capabilities and physics program plans,”
        Physics of Plasmas, vol. 4, no. 7, pp. 2642-2652, Jul. 1997,
        doi: https://doi.org/10.1063/1.872406.
    """
    return 0.3960502816 * dnla20 * b_plasma_toroidal_on_axis * rmajor**2.5

calculate_iter1996_lower(dnla20, b_plasma_toroidal_on_axis, rmajor)

Calculate the lower variant ITER-1996 L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required

Returns:

Type Description
float

The ITER-1996 L-H transition power threshold [MW]

References
- T. Takizuka and International Atomic Energy Agency, Vienna (Austria),
"Threshold power and energy confinement for ITER". 1996.

- J. C. Wesley, International Thermonuclear Experimental Reactor: Physics issues, capabilities and physics program plans,”
Physics of Plasmas, vol. 4, no. 7, pp. 2642-2652, Jul. 1997,
doi: https://doi.org/10.1063/1.872406.
Source code in process/models/physics/l_h_transition.py
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
def calculate_iter1996_lower(
    dnla20: float, b_plasma_toroidal_on_axis: float, rmajor: float
) -> float:
    """Calculate the lower variant ITER-1996 L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]

    Returns
    -------
    float
        The ITER-1996 L-H transition power threshold [MW]

    References
    ----------
        - T. Takizuka and International Atomic Energy Agency, Vienna (Austria),
        "Threshold power and energy confinement for ITER". 1996.

        - J. C. Wesley, “International Thermonuclear Experimental Reactor: Physics issues, capabilities and physics program plans,”
        Physics of Plasmas, vol. 4, no. 7, pp. 2642-2652, Jul. 1997,
        doi: https://doi.org/10.1063/1.872406.
    """
    return 0.5112987149 * dnla20**0.5 * b_plasma_toroidal_on_axis * rmajor**1.5

calculate_snipes1997_iter(dnla20, b_plasma_toroidal_on_axis, rmajor)

Calculate the Snipes 1997 ITER L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required

Returns:

Type Description
float

The Snipes 1997 L-H transition power threshold [MW]

References
- J. A. Snipes and the ITER H-mode Threshold Database Working Group, "An Analysis of the H-mode Threshold in ITER,"
Controlled Fusion and Plasma Physics, 24th EPS Conference,
Berchtesgaden, June 9th-13th 1997, vol.21A, part III, p.961.
url:https://library.ipp.mpg.de/EPS_24_Vol3_1997.pdf.
*This is a conference poster*
Source code in process/models/physics/l_h_transition.py
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
def calculate_snipes1997_iter(
    dnla20: float, b_plasma_toroidal_on_axis: float, rmajor: float
) -> float:
    """Calculate the Snipes 1997 ITER L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]

    Returns
    -------
    float
        The Snipes 1997 L-H transition power threshold [MW]

    References
    ----------
        - J. A. Snipes and the ITER H-mode Threshold Database Working Group, "An Analysis of the H-mode Threshold in ITER,"
        Controlled Fusion and Plasma Physics, 24th EPS Conference,
        Berchtesgaden, June 9th-13th 1997, vol.21A, part III, p.961.
        url:https://library.ipp.mpg.de/EPS_24_Vol3_1997.pdf.
        *This is a conference poster*
    """
    return 0.65 * dnla20**0.93 * b_plasma_toroidal_on_axis**0.86 * rmajor**2.15

calculate_snipes1997_kappa(dnla20, b_plasma_toroidal_on_axis, rmajor, kappa)

Calculate the Snipes 1997 ITER L-H transition power threshold with kappa factor.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required
kappa float

Plasma elongation

required

Returns:

Type Description
float

The Snipes 1997 L-H transition power threshold with kappa factor [MW]

References
- J. A. Snipes and the ITER H-mode Threshold Database Working Group, "An Analysis of the H-mode Threshold in ITER,"
Controlled Fusion and Plasma Physics, 24th EPS Conference,
Berchtesgaden, June 9th-13th 1997, vol.21A, part III, p.961.
url:https://library.ipp.mpg.de/EPS_24_Vol3_1997.pdf.
*This is a conference poster*
Source code in process/models/physics/l_h_transition.py
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
def calculate_snipes1997_kappa(
    dnla20: float, b_plasma_toroidal_on_axis: float, rmajor: float, kappa: float
) -> float:
    """Calculate the Snipes 1997 ITER L-H transition power threshold with kappa factor.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]
    kappa : float
        Plasma elongation

    Returns
    -------
    float
        The Snipes 1997 L-H transition power threshold with kappa factor [MW]

    References
    ----------
        - J. A. Snipes and the ITER H-mode Threshold Database Working Group, "An Analysis of the H-mode Threshold in ITER,"
        Controlled Fusion and Plasma Physics, 24th EPS Conference,
        Berchtesgaden, June 9th-13th 1997, vol.21A, part III, p.961.
        url:https://library.ipp.mpg.de/EPS_24_Vol3_1997.pdf.
        *This is a conference poster*
    """
    return (
        0.42
        * dnla20**0.80
        * b_plasma_toroidal_on_axis**0.90
        * rmajor**1.99
        * kappa**0.76
    )

calculate_martin08_nominal(dnla20, b_plasma_toroidal_on_axis, a_plasma_surface, m_ions_total_amu)

Calculate the nominal Martin L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
a_plasma_surface float

Plasma surface area [m^2]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Martin L-H transition power threshold [MW]

Notes
- A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
"When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, Power requirement for accessing the H-mode in ITER,”
Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
doi: https://doi.org/10.1088/1742-6596/123/1/012033.
Source code in process/models/physics/l_h_transition.py
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
def calculate_martin08_nominal(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    a_plasma_surface: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the nominal Martin L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    a_plasma_surface : float
        Plasma surface area [m^2]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Martin L-H transition power threshold [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
        "When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
        reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.


    References
    ----------
        - Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, “Power requirement for accessing the H-mode in ITER,”
        Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
        doi: https://doi.org/10.1088/1742-6596/123/1/012033.
    """
    return (
        0.0488
        * dnla20**0.717
        * b_plasma_toroidal_on_axis**0.803
        * a_plasma_surface**0.941
        * (2.0 / m_ions_total_amu)
    )

calculate_martin08_upper(dnla20, b_plasma_toroidal_on_axis, a_plasma_surface, m_ions_total_amu)

Calculate the upper Martin L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
a_plasma_surface float

Plasma surface area [m^2]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Martin L-H transition power threshold [MW]

Notes
- A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
"When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, Power requirement for accessing the H-mode in ITER,”
Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
doi: https://doi.org/10.1088/1742-6596/123/1/012033.
Source code in process/models/physics/l_h_transition.py
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
def calculate_martin08_upper(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    a_plasma_surface: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the upper Martin L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    a_plasma_surface : float
        Plasma surface area [m^2]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Martin L-H transition power threshold [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
        "When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
        reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
    References
    ----------
        - Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, “Power requirement for accessing the H-mode in ITER,”
        Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
        doi: https://doi.org/10.1088/1742-6596/123/1/012033.
    """
    return (
        0.05166240355
        * dnla20**0.752
        * b_plasma_toroidal_on_axis**0.835
        * a_plasma_surface**0.96
        * (2.0 / m_ions_total_amu)
    )

calculate_martin08_lower(dnla20, b_plasma_toroidal_on_axis, a_plasma_surface, m_ions_total_amu)

Calculate the lower Martin L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
a_plasma_surface float

Plasma surface area [m^2]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Martin L-H transition power threshold [MW]

Notes
- A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
"When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, Power requirement for accessing the H-mode in ITER,”
Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
doi: https://doi.org/10.1088/1742-6596/123/1/012033.
Source code in process/models/physics/l_h_transition.py
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
def calculate_martin08_lower(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    a_plasma_surface: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the lower Martin L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    a_plasma_surface : float
        Plasma surface area [m^2]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Martin L-H transition power threshold [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
        "When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
        reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, “Power requirement for accessing the H-mode in ITER,”
        Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
        doi: https://doi.org/10.1088/1742-6596/123/1/012033.
    """
    return (
        0.04609619059
        * dnla20**0.682
        * b_plasma_toroidal_on_axis**0.771
        * a_plasma_surface**0.922
        * (2.0 / m_ions_total_amu)
    )

calculate_snipes2000_nominal(dnla20, b_plasma_toroidal_on_axis, rmajor, rminor, m_ions_total_amu)

Calculate the nominal Snipes 2000 L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required
rminor float

Plasma minor radius [m]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Snipes 2000 L-H transition power threshold [MW]

Notes
- A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
"This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
doi: https://doi.org/10.1088/0741-3335/42/5a/336.
Source code in process/models/physics/l_h_transition.py
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
def calculate_snipes2000_nominal(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    rmajor: float,
    rminor: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the nominal Snipes 2000 L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]
    rminor : float
        Plasma minor radius [m]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Snipes 2000 L-H transition power threshold [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
        "This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
        results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
        Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
        doi: https://doi.org/10.1088/0741-3335/42/5a/336.
    """
    return (
        1.42
        * dnla20**0.58
        * b_plasma_toroidal_on_axis**0.82
        * rmajor
        * rminor**0.81
        * (2.0 / m_ions_total_amu)
    )

calculate_snipes2000_upper(dnla20, b_plasma_toroidal_on_axis, rmajor, rminor, m_ions_total_amu)

Calculate the upper Snipes 2000 L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required
rminor float

Plasma minor radius [m]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Snipes 2000 L-H transition power threshold [MW]

Notes
- A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
"This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
doi: https://doi.org/10.1088/0741-3335/42/5a/336.
Source code in process/models/physics/l_h_transition.py
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
def calculate_snipes2000_upper(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    rmajor: float,
    rminor: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the upper Snipes 2000 L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]
    rminor : float
        Plasma minor radius [m]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Snipes 2000 L-H transition power threshold [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
        "This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
        results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
        Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
        doi: https://doi.org/10.1088/0741-3335/42/5a/336.

    """
    return (
        1.547
        * dnla20**0.615
        * b_plasma_toroidal_on_axis**0.851
        * rmajor**1.089
        * rminor**0.876
        * (2.0 / m_ions_total_amu)
    )

calculate_snipes2000_lower(dnla20, b_plasma_toroidal_on_axis, rmajor, rminor, m_ions_total_amu)

Calculate the lower Snipes 2000 L-H transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required
rminor float

Plasma minor radius [m]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Snipes 2000 L-H transition power threshold [MW]

Notes
- A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
"This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
doi: https://doi.org/10.1088/0741-3335/42/5a/336.
Source code in process/models/physics/l_h_transition.py
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
def calculate_snipes2000_lower(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    rmajor: float,
    rminor: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the lower Snipes 2000 L-H transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]
    rminor : float
        Plasma minor radius [m]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Snipes 2000 L-H transition power threshold [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
        "This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
        results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
        Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
        doi: https://doi.org/10.1088/0741-3335/42/5a/336.

    """
    return (
        1.293
        * dnla20**0.545
        * b_plasma_toroidal_on_axis**0.789
        * rmajor**0.911
        * rminor**0.744
        * (2.0 / m_ions_total_amu)
    )

calculate_snipes2000_closed_divertor_nominal(dnla20, b_plasma_toroidal_on_axis, rmajor, m_ions_total_amu)

Calculate the nominal Snipes 2000 Closed Divertor L-H transition power threshold with CD factor.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Snipes 2000 L-H transition power threshold with CD factor [MW]

Notes
- A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
"This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
doi: https://doi.org/10.1088/0741-3335/42/5a/336.
Source code in process/models/physics/l_h_transition.py
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
def calculate_snipes2000_closed_divertor_nominal(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    rmajor: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the nominal Snipes 2000 Closed Divertor L-H transition power threshold with CD factor.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Snipes 2000 L-H transition power threshold with CD factor [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
        "This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
        results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
        Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
        doi: https://doi.org/10.1088/0741-3335/42/5a/336.

    """
    return (
        0.8
        * dnla20**0.5
        * b_plasma_toroidal_on_axis**0.53
        * rmajor**1.51
        * (2.0 / m_ions_total_amu)
    )

calculate_snipes2000_closed_divertor_upper(dnla20, b_plasma_toroidal_on_axis, rmajor, m_ions_total_amu)

Calculate the upper Snipes 2000 Closed Divertor L-H transition power threshold with CD factor.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Snipes 2000 L-H transition power threshold with CD factor [MW]

Notes
- A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
"This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
doi: https://doi.org/10.1088/0741-3335/42/5a/336.
Source code in process/models/physics/l_h_transition.py
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
def calculate_snipes2000_closed_divertor_upper(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    rmajor: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the upper Snipes 2000 Closed Divertor L-H transition power threshold with CD factor.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Snipes 2000 L-H transition power threshold with CD factor [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
        "This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
        results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
        Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
        doi: https://doi.org/10.1088/0741-3335/42/5a/336.

    """
    return (
        0.867
        * dnla20**0.561
        * b_plasma_toroidal_on_axis**0.588
        * rmajor**1.587
        * (2.0 / m_ions_total_amu)
    )

calculate_snipes2000_closed_divertor_lower(dnla20, b_plasma_toroidal_on_axis, rmajor, m_ions_total_amu)

Calculate the lower Snipes 2000 Closed Divertor L-H transition power threshold with CD factor.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
rmajor float

Plasma major radius [m]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required

Returns:

Type Description
float

The Snipes 2000 L-H transition power threshold with CD factor [MW]

Notes
- A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
"This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
doi: https://doi.org/10.1088/0741-3335/42/5a/336.
Source code in process/models/physics/l_h_transition.py
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
def calculate_snipes2000_closed_divertor_lower(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    rmajor: float,
    m_ions_total_amu: float,
) -> float:
    """Calculate the lower Snipes 2000 Closed Divertor L-H transition power threshold with CD factor.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    rmajor : float
        Plasma major radius [m]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]

    Returns
    -------
    float
        The Snipes 2000 L-H transition power threshold with CD factor [MW]

    Notes
    -----
        - A scaling with the total ion mass is used in this model. Snipes cites that P_LH scales with 1/m_i. It is stated;
        "This results in a 20% reduction in the threshold power for a 50/50 D-T mixture compared with the pure deuterium
        results above". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - J. A. Snipes and the I. H-mode. T. Group, “Latest results on the H-mode threshold using the international H-mode threshold database,”
        Plasma Physics and Controlled Fusion, vol. 42, no. 5A, pp. A299-A308, May 2000,
        doi: https://doi.org/10.1088/0741-3335/42/5a/336.

    """
    return (
        0.733
        * dnla20**0.439
        * b_plasma_toroidal_on_axis**0.472
        * rmajor**1.433
        * (2.0 / m_ions_total_amu)
    )

calculate_hubbard2012_nominal(plasma_current, dnla20)

Calculate the nominal Hubbard 2012 L-I transition power threshold.

Parameters:

Name Type Description Default
plasma_current float

Plasma current [A]

required
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required

Returns:

Type Description
float

The Hubbard 2012 L-I transition power threshold [MW]

Notes
References
- A. E. Hubbard et al., Threshold conditions for transitions to I-mode and H-mode with unfavourable ion grad B drift direction,”
Nuclear Fusion, vol. 52, no. 11, pp. 114009-114009, Oct. 2012,
doi: https://doi.org/10.1088/0029-5515/52/11/114009.
Source code in process/models/physics/l_h_transition.py
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
def calculate_hubbard2012_nominal(plasma_current: float, dnla20: float) -> float:
    """Calculate the nominal Hubbard 2012 L-I transition power threshold.

    Parameters
    ----------
    plasma_current : float
        Plasma current [A]
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.

    Returns
    -------
    float
        The Hubbard 2012 L-I transition power threshold [MW]

    Notes
    -----

    References
    ----------
        - A. E. Hubbard et al., “Threshold conditions for transitions to I-mode and H-mode with unfavourable ion grad B drift direction,”
        Nuclear Fusion, vol. 52, no. 11, pp. 114009-114009, Oct. 2012,
        doi: https://doi.org/10.1088/0029-5515/52/11/114009.

    """
    return 2.11 * (plasma_current / 1e6) ** 0.94 * dnla20**0.65

calculate_hubbard2012_upper(plasma_current, dnla20)

Calculate the upper Hubbard 2012 L-I transition power threshold.

Parameters:

Name Type Description Default
plasma_current float

Plasma current [A]

required
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required

Returns:

Type Description
float

The Hubbard 2012 L-I transition power threshold [MW]

Notes
References
- A. E. Hubbard et al., Threshold conditions for transitions to I-mode and H-mode with unfavourable ion grad B drift direction,”
Nuclear Fusion, vol. 52, no. 11, pp. 114009-114009, Oct. 2012,
doi: https://doi.org/10.1088/0029-5515/52/11/114009.
Source code in process/models/physics/l_h_transition.py
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
def calculate_hubbard2012_upper(plasma_current: float, dnla20: float) -> float:
    """Calculate the upper Hubbard 2012 L-I transition power threshold.

    Parameters
    ----------
    plasma_current : float
        Plasma current [A]
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.

    Returns
    -------
    float
        The Hubbard 2012 L-I transition power threshold [MW]

    Notes
    -----

    References
    ----------
        - A. E. Hubbard et al., “Threshold conditions for transitions to I-mode and H-mode with unfavourable ion grad B drift direction,”
        Nuclear Fusion, vol. 52, no. 11, pp. 114009-114009, Oct. 2012,
        doi: https://doi.org/10.1088/0029-5515/52/11/114009.

    """
    return 2.11 * (plasma_current / 1e6) ** 1.18 * dnla20**0.83

calculate_hubbard2012_lower(plasma_current, dnla20)

Calculate the lower Hubbard 2012 L-I transition power threshold.

Parameters:

Name Type Description Default
plasma_current float

Plasma current [A]

required
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required

Returns:

Type Description
float

The Hubbard 2012 L-I transition power threshold [MW]

Notes
References
- A. E. Hubbard et al., Threshold conditions for transitions to I-mode and H-mode with unfavourable ion grad B drift direction,”
Nuclear Fusion, vol. 52, no. 11, pp. 114009-114009, Oct. 2012,
doi: https://doi.org/10.1088/0029-5515/52/11/114009.
Source code in process/models/physics/l_h_transition.py
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
def calculate_hubbard2012_lower(plasma_current: float, dnla20: float) -> float:
    """Calculate the lower Hubbard 2012 L-I transition power threshold.

    Parameters
    ----------
    plasma_current : float
        Plasma current [A]
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.

    Returns
    -------
    float
        The Hubbard 2012 L-I transition power threshold [MW]

    Notes
    -----

    References
    ----------
        - A. E. Hubbard et al., “Threshold conditions for transitions to I-mode and H-mode with unfavourable ion grad B drift direction,”
        Nuclear Fusion, vol. 52, no. 11, pp. 114009-114009, Oct. 2012,
        doi: https://doi.org/10.1088/0029-5515/52/11/114009.

    """
    return 2.11 * (plasma_current / 1e6) ** 0.7 * dnla20**0.47

calculate_hubbard2017(dnla20, a_plasma_surface, b_plasma_toroidal_on_axis)

Calculate the Hubbard 2017 L-I transition power threshold.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
a_plasma_surface float

Plasma surface area [m^2]

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required

Returns:

Type Description
float

The Hubbard 2017 L-I transition power threshold [MW]

Notes
- The scaling is given in the caption of Figure 6 in the reference.
References
- A. E. Hubbard et al., Physics and performance of the I-mode regime over an expanded operating space on Alcator C-Mod,
Nuclear Fusion, vol. 57, no. 12, p. 126039, Oct. 2017,
doi: https://doi.org/10.1088/1741-4326/aa8570.
Source code in process/models/physics/l_h_transition.py
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
def calculate_hubbard2017(
    dnla20: float, a_plasma_surface: float, b_plasma_toroidal_on_axis: float
) -> float:
    """Calculate the Hubbard 2017 L-I transition power threshold.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    a_plasma_surface : float
        Plasma surface area [m^2]
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]

    Returns
    -------
    float
        The Hubbard 2017 L-I transition power threshold [MW]

    Notes
    -----
        - The scaling is given in the caption of Figure 6 in the reference.

    References
    ----------
        - A. E. Hubbard et al., “Physics and performance of the I-mode regime over an expanded operating space on Alcator C-Mod,”
        Nuclear Fusion, vol. 57, no. 12, p. 126039, Oct. 2017,
        doi: https://doi.org/10.1088/1741-4326/aa8570.

    """
    return 0.162 * dnla20 * a_plasma_surface * b_plasma_toroidal_on_axis**0.26

calculate_martin08_aspect_nominal(dnla20, b_plasma_toroidal_on_axis, a_plasma_surface, m_ions_total_amu, aspect)

Calculate the nominal Martin L-H transition power threshold with aspect ratio correction from T Takizuka.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
a_plasma_surface float

Plasma surface area [m^2]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required
aspect float

Plasma aspect ratio

required

Returns:

Type Description
float

The Martin L-H transition power threshold [MW]

Notes
- Thus will return an aspect ratio correction of the aspect ratio is less than or equal to 2.7.
if not the usual Martin 2008 scaling will be returned.

- A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
"When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, Power requirement for accessing the H-mode in ITER,”
Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
doi: https://doi.org/10.1088/1742-6596/123/1/012033.

- T. Takizuka et.al, Roles of aspect ratio, absolute B and effective Z of the H-mode power threshold in tokamaks of the ITPA database,”
Plasma Physics and Controlled Fusion, vol. 46, no. 5A, pp. A227-A233, Apr. 2004,
doi: https://doi.org/10.1088/0741-3335/46/5a/024.
Source code in process/models/physics/l_h_transition.py
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
def calculate_martin08_aspect_nominal(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    a_plasma_surface: float,
    m_ions_total_amu: float,
    aspect: float,
) -> float:
    """Calculate the nominal Martin L-H transition power threshold with aspect ratio correction from T Takizuka.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    a_plasma_surface : float
        Plasma surface area [m^2]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]
    aspect : float
        Plasma aspect ratio

    Returns
    -------
    float
        The Martin L-H transition power threshold [MW]

    Notes
    -----
        - Thus will return an aspect ratio correction of the aspect ratio is less than or equal to 2.7.
        if not the usual Martin 2008 scaling will be returned.

        - A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
        "When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
        reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, “Power requirement for accessing the H-mode in ITER,”
        Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
        doi: https://doi.org/10.1088/1742-6596/123/1/012033.

        - T. Takizuka et.al, “Roles of aspect ratio, absolute B and effective Z of the H-mode power threshold in tokamaks of the ITPA database,”
        Plasma Physics and Controlled Fusion, vol. 46, no. 5A, pp. A227-A233, Apr. 2004,
        doi: https://doi.org/10.1088/0741-3335/46/5a/024.

    """

    if aspect <= 2.7:
        aspect_correction = 0.098 * aspect / (1.0 - (2.0 / (1.0 + aspect)) ** 0.5)
    else:
        aspect_correction = 1.0

    return (
        0.0488
        * dnla20**0.717
        * b_plasma_toroidal_on_axis**0.803
        * a_plasma_surface**0.941
        * (2.0 / m_ions_total_amu)
        * aspect_correction
    )

calculate_martin08_aspect_upper(dnla20, b_plasma_toroidal_on_axis, a_plasma_surface, m_ions_total_amu, aspect)

Calculate the upper Martin L-H transition power threshold with aspect ratio correction from T Takizuka.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
a_plasma_surface float

Plasma surface area [m^2]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required
aspect float

Plasma aspect ratio

required

Returns:

Type Description
float

The Martin L-H transition power threshold [MW]

Notes
- Thus will return an aspect ratio correction of the aspect ratio is less than or equal to 2.7.
if not the usual Martin 2008 scaling will be returned.

- A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
"When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, Power requirement for accessing the H-mode in ITER,”
Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
doi: https://doi.org/10.1088/1742-6596/123/1/012033.

- T. Takizuka et.al, Roles of aspect ratio, absolute B and effective Z of the H-mode power threshold in tokamaks of the ITPA database,”
Plasma Physics and Controlled Fusion, vol. 46, no. 5A, pp. A227-A233, Apr. 2004,
doi: https://doi.org/10.1088/0741-3335/46/5a/024.
Source code in process/models/physics/l_h_transition.py
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
def calculate_martin08_aspect_upper(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    a_plasma_surface: float,
    m_ions_total_amu: float,
    aspect: float,
) -> float:
    """Calculate the upper Martin L-H transition power threshold with aspect ratio correction from T Takizuka.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    a_plasma_surface : float
        Plasma surface area [m^2]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]
    aspect : float
        Plasma aspect ratio

    Returns
    -------
    float
        The Martin L-H transition power threshold [MW]

    Notes
    -----
        - Thus will return an aspect ratio correction of the aspect ratio is less than or equal to 2.7.
        if not the usual Martin 2008 scaling will be returned.

        - A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
        "When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
        reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, “Power requirement for accessing the H-mode in ITER,”
        Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
        doi: https://doi.org/10.1088/1742-6596/123/1/012033.

        - T. Takizuka et.al, “Roles of aspect ratio, absolute B and effective Z of the H-mode power threshold in tokamaks of the ITPA database,”
        Plasma Physics and Controlled Fusion, vol. 46, no. 5A, pp. A227-A233, Apr. 2004,
        doi: https://doi.org/10.1088/0741-3335/46/5a/024.

    """

    if aspect <= 2.7:
        aspect_correction = 0.098 * aspect / (1.0 - (2.0 / (1.0 + aspect)) ** 0.5)
    else:
        aspect_correction = 1.0

    return (
        0.05166240355
        * dnla20**0.752
        * b_plasma_toroidal_on_axis**0.835
        * a_plasma_surface**0.96
        * (2.0 / m_ions_total_amu)
        * aspect_correction
    )

calculate_martin08_aspect_lower(dnla20, b_plasma_toroidal_on_axis, a_plasma_surface, m_ions_total_amu, aspect)

Calculate the lower Martin L-H transition power threshold with aspect ratio correction from T Takizuka.

Parameters:

Name Type Description Default
dnla20 float

Line averaged electron density in units of 10^20 m^-3.

required
b_plasma_toroidal_on_axis float

Toroidal magnetic field [T]

required
a_plasma_surface float

Plasma surface area [m^2]

required
m_ions_total_amu float

Total ion mass in atomic mass units [amu]

required
aspect float

Plasma aspect ratio

required

Returns:

Type Description
float

The Martin L-H transition power threshold [MW]

Notes
- Thus will return an aspect ratio correction of the aspect ratio is less than or equal to 2.7.
if not the usual Martin 2008 scaling will be returned.

- A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
"When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.
References
- Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, Power requirement for accessing the H-mode in ITER,”
Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
doi: https://doi.org/10.1088/1742-6596/123/1/012033.

- T. Takizuka et.al, Roles of aspect ratio, absolute B and effective Z of the H-mode power threshold in tokamaks of the ITPA database,”
Plasma Physics and Controlled Fusion, vol. 46, no. 5A, pp. A227-A233, Apr. 2004,
doi: https://doi.org/10.1088/0741-3335/46/5a/024.
Source code in process/models/physics/l_h_transition.py
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
def calculate_martin08_aspect_lower(
    dnla20: float,
    b_plasma_toroidal_on_axis: float,
    a_plasma_surface: float,
    m_ions_total_amu: float,
    aspect: float,
) -> float:
    """Calculate the lower Martin L-H transition power threshold with aspect ratio correction from T Takizuka.

    Parameters
    ----------
    dnla20 : float
        Line averaged electron density in units of 10^20 m^-3.
    b_plasma_toroidal_on_axis : float
        Toroidal magnetic field [T]
    a_plasma_surface : float
        Plasma surface area [m^2]
    m_ions_total_amu : float
        Total ion mass in atomic mass units [amu]
    aspect : float
        Plasma aspect ratio

    Returns
    -------
    float
        The Martin L-H transition power threshold [MW]

    Notes
    -----
        - Thus will return an aspect ratio correction of the aspect ratio is less than or equal to 2.7.
        if not the usual Martin 2008 scaling will be returned.

        - A scaling with the total ion mass is used in this model. Martin 08 shows that P_LH scales with 1/m_i. It is stated;
        "When this mass dependence is applied to the deuterium-tritium discharges for ITER, the above predicted values of P_LH can be
        reduced by ~ 20%". We thus apply a (2/m_i) addition so that for a 50/50 D-T mixture (M_i = 2.5 amu), the predicted values is 20% lower.

    References
    ----------
        - Y. R. Martin, T. Takizuka, and the I. C. H-mode. T. D. Group, “Power requirement for accessing the H-mode in ITER,”
        Journal of Physics: Conference Series, vol. 123, p. 012033, Jul. 2008,
        doi: https://doi.org/10.1088/1742-6596/123/1/012033.

        - T. Takizuka et.al, “Roles of aspect ratio, absolute B and effective Z of the H-mode power threshold in tokamaks of the ITPA database,”
        Plasma Physics and Controlled Fusion, vol. 46, no. 5A, pp. A227-A233, Apr. 2004,
        doi: https://doi.org/10.1088/0741-3335/46/5a/024.

    """

    if aspect <= 2.7:
        aspect_correction = 0.098 * aspect / (1.0 - (2.0 / (1.0 + aspect)) ** 0.5)
    else:
        aspect_correction = 1.0

    return (
        0.04609619059
        * dnla20**0.682
        * b_plasma_toroidal_on_axis**0.771
        * a_plasma_surface**0.922
        * (2.0 / m_ions_total_amu)
        * aspect_correction
    )