-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathphysics_variables.py
More file actions
1917 lines (1352 loc) · 47 KB
/
physics_variables.py
File metadata and controls
1917 lines (1352 loc) · 47 KB
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
30
31
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
61
62
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
92
93
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
122
123
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
160
161
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
206
207
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
250
251
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
295
296
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
344
345
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
394
395
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
444
445
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
490
491
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
536
537
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
582
583
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
610
611
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
638
639
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
666
667
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
699
700
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
762
763
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
825
826
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
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
"""Module containing tokamak plasma physics routines
author: P J Knight, CCFE, Culham Science Centre
N/A
This module contains all the primary plasma physics routines
for a tokamak device.
author: J. Morris (UKAEA)
Module containing global variables relating to the plasma physics
"""
import numpy as np
# From physics.f90:
iscz: int = None
err242: int = None
err243: int = None
f_p_plasma_separatrix_rad: float = None
"""Separatrix radiation fraction"""
e_plasma_beta: float = None
"""[J]"""
p_plasma_heating_total_mw: float = None
"""[W]"""
t_energy_confinement_beta: float = None
"""[s]"""
ptarmw: float = None
lambdaio: float = None
drsep: float = None
fio: float = None
fli: float = None
flo: float = None
fui: float = None
fuo: float = None
plimw: float = None
plomw: float = None
puimw: float = None
puomw: float = None
rho_star: float = None
nu_star: float = None
beta_mcdonald: float = None
itart_r: float = None
# Var in subroutine plasma_composition which requires re-initialisation on
# each new run:
first_call: int = None
# From physics_variables.f90:
N_CONFINEMENT_SCALINGS: int = 51
"""number of energy confinement time scaling laws"""
LABELS_CONFINEMENT_SCALINGS: list[str] = [
"User input electron confinement ",
"Neo-Alcator (Ohmic)",
"Mirnov (H)",
"Merezkhin-Muhkovatov (Ohmic)(L)",
"Shimomura (H)",
"Kaye-Goldston (L)",
"ITER 89-P (L)",
"ITER 89-O (L)",
"Rebut-Lallia (L)",
"Goldston (L)",
"T10 (L)",
"JAERI / Odajima-Shimomura (L)",
"Kaye-Big Complex (L)",
"ITER H90-P (H)",
"ITER 89-P & 89-O min (L)",
"Riedel (L)",
"Christiansen (L)",
"Lackner-Gottardi (L)",
"Neo-Kaye (L)",
"Riedel (H)",
"ITER H90-P amended (H)",
"LHD (Stell)",
"Gyro-reduced Bohm (Stell)",
"Lackner-Gottardi (Stell)",
"ITER-93H ELM-free (H)",
"TITAN RFP OBSOLETE ",
"ITER H-97P ELM-free (H)",
"ITER H-97P ELMy (H)",
"ITER-96P (ITER-97L) (L)",
"Valovic modified ELMy (H)",
"Kaye 98 modified (L)",
"ITERH-PB98P(y) (H)",
"IPB98(y) (H)",
"IPB98(y,1) (H)",
"IPB98(y,2) (H)",
"IPB98(y,3) (H)",
"IPB98(y,4) (H)",
"ISS95 (Stell)",
"ISS04 (Stell)",
"DS03 beta-independent (H)",
'Murari "Non-power law" (H)',
"Petty 2008 (ST)(H)",
"Lang high density (H)",
"Hubbard 2017 - nominal (I)",
"Hubbard 2017 - lower (I)",
"Hubbard 2017 - upper (I)",
"Menard NSTX (ST)(H)",
"Menard NSTX-Petty08 hybrid (ST)(H)",
"Buxton NSTX gyro-Bohm (ST)(H)",
"ITPA20 (H)",
"ITPA20-IL (H)",
]
"""labels describing energy confinement scaling laws"""
m_beam_amu: float = None
"""beam ion mass (amu)"""
m_fuel_amu: float = None
"""average mass of fuel portion of ions (amu)"""
m_ions_total_amu: float = None
"""average mass of all ions (amu)"""
m_plasma_fuel_ions: float = None
"""Mass of the plasma fuel ions (kg)"""
m_plasma_ions_total: float = None
"""Mass of all ions in plasma (kg)"""
m_plasma_alpha: float = None
"""Mass of the alpha particles in the plasma (kg)"""
m_plasma_electron: float = None
"""Mass of the electrons in the plasma (kg)"""
m_plasma: float = None
"""Total mass of the plasma (kg)"""
alphaj: float = None
"""current profile index"""
alphaj_wesson: float = None
"""Wesson-like current profile index"""
alphan: float = None
"""density profile index"""
alphap: float = None
"""pressure profile index"""
fusden_alpha_total: float = None
"""Alpha particle production rate per unit volume, from plasma and beams [particles/m3/sec]"""
fusden_plasma_alpha: float = None
"""Alpha particle production rate per unit volume, just from plasma [particles/m3/sec]"""
alphat: float = None
"""temperature profile index"""
aspect: float = None
"""aspect ratio (`iteration variable 1`)"""
beamfus0: float = None
"""multiplier for beam-background fusion calculation"""
beta: float = None
"""total plasma beta (`iteration variable 5`) (calculated if stellarator)"""
beta_fast_alpha: float = None
"""fast alpha beta component"""
beta_max: float = None
"""Max allowable beta"""
beta_min: float = None
"""allowable lower beta"""
beta_beam: float = None
"""neutral beam beta component"""
beta_poloidal: float = None
"""poloidal beta"""
beta_poloidal_eps: float = None
"""Poloidal beta and inverse aspcet ratio product"""
beta_toroidal: float = None
"""toroidal beta"""
beta_toroidal_profile: list[float] = None
"""toroidal beta profile"""
beta_poloidal_profile: list[float] = None
"""poloidal beta profile"""
beta_total_profile: list[float] = None
"""total beta profile"""
beta_thermal: float = None
"""thermal beta"""
beta_thermal_poloidal: float = None
"""poloidal thermal beta"""
beta_thermal_toroidal: float = None
"""poloidal thermal beta"""
beta_norm_total: float = None
"""normaised total beta"""
beta_norm_thermal: float = None
"""normaised thermal beta"""
beta_norm_toroidal: float = None
"""normaised toroidal beta"""
beta_norm_poloidal: float = None
"""normaised poloidal beta"""
e_plasma_beta_thermal: float = None
"""Plasma thermal energy derived from thermal beta"""
betbm0: float = None
"""leading coefficient for NB beta fraction"""
b_plasma_poloidal_average: float = None
"""Plasma average poloidal field (T)"""
b_plasma_poloidal_edge: float = None
"""Plasma poloidal field at plasma edge (T)"""
b_plasma_toroidal_on_axis: float = None
"""Plasma toroidal field on axis (T) (`iteration variable 2`)"""
b_plasma_toroidal_profile: list[float] = None
"""toroidal field profile in plasma (T)"""
b_plasma_poloidal_profile: list[float] = None
"""poloidal field profile in plasma (T)"""
b_plasma_circular_poloidal_profile: list[float] = None
"""poloidal field profile in circular plasma (T)"""
b_plasma_total_profile: list[float] = None
"""total field profile in plasma (T)"""
b_plasma_total: float = None
"""Sum of plasma total toroidal + poloidal field (T)"""
burnup: float = None
"""fractional plasma burnup"""
burnup_in: float = None
"""fractional plasma burnup user input"""
b_plasma_vertical_required: float = None
"""Vertical field needed for plasma equilibrium (T)"""
c_beta: float = None
"""Destabalisation parameter for i_beta_norm_max=4 beta limit"""
csawth: float = None
"""coeff. for sawteeth effects on burn V-s requirement"""
f_vol_plasma: float = None
"""multiplying factor for the plasma volume (normally=1)"""
f_r_conducting_wall: float = None
"""maximum ratio of conducting wall distance to plasma minor radius for
vertical stability (`constraint equation 23`)
"""
nd_plasma_electrons_vol_avg: float = None
"""Plasma volume averaged electron density (/m3) (`iteration variable 6`)"""
nd_fuel_ions: float = None
"""fuel ion density (/m3)"""
dlamee: float = None
"""electron-electron coulomb logarithm"""
dlamie: float = None
"""ion-electron coulomb logarithm"""
dlimit: list[float] = None
"""density limit (/m3) as calculated using various models"""
nd_alphas: float = None
"""thermal alpha density (/m3)"""
nd_beam_ions: float = None
"""hot beam ion density, variable (/m3)"""
nd_beam_ions_out: float = None
"""hot beam ion density from calculation (/m3)"""
beta_norm_max: float = None
"""Troyon-like coefficient for beta scaling"""
beta_norm_max_wesson: float = None
"""Wesson-like coefficient for beta scaling"""
beta_norm_max_menard: float = None
"""Menard-like coefficient for beta scaling"""
beta_norm_max_original_scaling: float = None
"""Original scaling coefficient for beta scaling"""
beta_norm_max_tholerus: float = None
"""Tholerus-like coefficient for beta scaling"""
beta_norm_max_stambaugh: float = None
"""Stambaugh-like coefficient for beta scaling"""
dnelimt: float = None
"""density limit (/m3)"""
nd_ions_total: float = None
"""total ion density (/m3)"""
nd_electron_line: float = None
"""line averaged electron density (/m3)"""
nd_protons: float = None
"""proton ash density (/m3)"""
ntau: float = None
"""Fusion double product (s/m3)"""
nTtau: float = None
"""Lawson triple product [keV s / m3]"""
nd_impurities: float = None
"""high Z ion density (/m3)"""
gradient_length_ne: float = None
"""Max. normalized gradient length in el. density (i_plasma_pedestal==0 only)"""
gradient_length_te: float = None
"""Max. normalized gradient length in el. temperature (i_plasma_pedestal==0 only)"""
beta_poloidal_eps_max: float = None
"""maximum (eps*beta_poloidal) (`constraint equation 6`). Note: revised issue #346
"Operation at the tokamak equilibrium poloidal beta-limit in TFTR", 1992 Nucl. Fusion 32 1468
"""
eps: float = None
"""inverse aspect ratio"""
f_c_plasma_auxiliary: float = None
"""fraction of plasma current produced by auxiliary current drive"""
f_c_plasma_inductive: float = None
"""fraction of plasma current produced inductively"""
f_alpha_electron: float = None
"""fraction of alpha energy to electrons"""
f_p_alpha_plasma_deposited: float = None
"""Fraction of alpha power deposited in plasma. Default of 0.95 taken from https://doi.org/10.1088/0029-5515/39/12/305."""
f_alpha_ion: float = None
"""fraction of alpha power to ions"""
f_deuterium: float = None
"""deuterium fuel fraction"""
f_p_div_lower: float = None
"""fraction of power to the lower divertor in double null configuration
(`i_single_null = 0` only) (default assumes SN)
"""
ffwal: float = None
"""factor to convert plasma surface area to first wall area in neutron wall
load calculation (`i_pflux_fw_neutron=1`)
"""
f_nd_plasma_pedestal_greenwald: float = None
"""fraction of Greenwald density to set as pedestal-top density. If `<0`, pedestal-top
density set manually using nd_plasma_pedestal_electron (`i_plasma_pedestal==1`).
(`iteration variable 145`)
"""
f_nd_plasma_separatrix_greenwald: float = None
"""fraction of Greenwald density to set as separatrix density. If `<0`, separatrix
density set manually using nd_plasma_separatrix_electron (`i_plasma_pedestal==1`).
(`iteration variable 152`)
"""
f_helium3: float = None
"""helium-3 fuel fraction"""
figmer: float = None
"""physics figure of merit (= plasma_current*aspect**sbar, where `sbar=1`)"""
fkzohm: float = None
"""Zohm elongation scaling adjustment factor (`i_plasma_geometry=2, 3`)"""
fplhsep: float = None
"""F-value for Psep >= Plh + Paux (`constraint equation 73`)"""
fp_plasma_separatrix_min_mw: float = None
"""F-value for minimum p_plasma_separatrix_mw (`constraint equation 80`)"""
fne0: float = None
"""f-value for the constraint ne(0) > ne(ped) (`constraint equation 81`)
(`Iteration variable 154`)
"""
f_tritium: float = None
"""tritium fuel fraction"""
fusden_total: float = None
"""fusion reaction rate density, from beams and plasma (reactions/m3/sec)"""
fusrat_total: float = None
"""fusion reaction rate, from beams and plasma (reactions/sec)"""
fusrat_plasma_dt_profile: list[float] = None
"""Profile of D-T fusion reaction rate in plasma, (reactions/sec)"""
fusrat_plasma_dd_triton_profile: list[float] = None
"""Profile of D-D fusion reaction rate (tritium branch) in plasma, (reactions/sec)"""
fusrat_plasma_dd_helion_profile: list[float] = None
"""Profile of D-D fusion reaction rate (helium branch) in plasma, (reactions/sec)"""
fusrat_plasma_dhe3_profile: list[float] = None
"""Profile of D-3He fusion reaction rate in plasma, (reactions/sec)"""
fusden_plasma: float = None
"""fusion reaction rate, just from plasma (reactions/m3/sec)"""
f_c_plasma_non_inductive: float = None
"""fraction of the plasma current produced by non-inductive means (`iteration variable 44`)"""
ejima_coeff: float = None
"""Ejima coefficient for resistive startup V-s formula"""
f_beta_alpha_beam_thermal: float = None
"""ratio of (fast alpha + neutral beam beta) to thermal beta"""
hfac: list[float] = None
"""H factors for an ignited plasma for each energy confinement time scaling law"""
hfact: float = None
"""H factor on energy confinement times, radiation corrected (`iteration variable 10`)."""
t_plasma_energy_confinement_max: float = None
"""Maximum allowed energy confinement time (s)"""
i_bootstrap_current: int = None
"""switch for bootstrap current scaling
- =1 ITER 1989 bootstrap scaling (high R/a only)
- =2 for Nevins et al general scaling
- =3 for Wilson et al numerical scaling
- =4 for Sauter et al scaling
- =5 for Sakai et al scaling
- =6 for ARIES scaling
- =7 for Andrade et al scaling
- =8 for Hoang et al scaling
- =9 for Wong et al scaling
- =10 for Gi-I et al scaling
- =11 for Gi-II et al scaling
- =12 for Sugiyama (L-mode) et al scaling
- =13 for Sugiyama (H-mode) et al scaling
"""
i_beta_component: int = None
"""switch for beta limit scaling (`constraint equation 24`)
- =0 apply limit to total beta
- =1 apply limit to thermal beta
- =2 apply limit to thermal + neutral beam beta
- =3 apply limit to toroidal beta
"""
i_plasma_current: int = None
"""switch for plasma current scaling to use
- =1 Peng analytic fit
- =2 Peng double null divertor scaling (ST)
- =3 simple ITER scaling (k = 2.2, d = 0.6)
- =4 later ITER scaling, a la Uckan
- =5 Todd empirical scaling I
- =6 Todd empirical scaling II
- =7 Connor-Hastie model
- =8 Sauter scaling allowing negative triangularity
- =9 FIESTA ST fit
"""
i_diamagnetic_current: int = None
"""switch for diamagnetic current scaling
- =0 Do not calculate
- =1 Use original TART scaling
- =2 Use SCENE scaling
"""
i_density_limit: int = None
"""switch for density limit to enforce (`constraint equation 5`)
- =1 old ASDEX
- =2 Borrass model for ITER (I)
- =3 Borrass model for ITER (II)
- =4 JET edge radiation
- =5 JET simplified
- =6 Hugill-Murakami Mq limit
- =7 Greenwald limit
- =8 ASDEX New
"""
n_divertors: int = None
"""number of divertors (calculated from `i_single_null`)"""
i_beta_fast_alpha: int = None
"""switch for fast alpha pressure calculation
- =0 ITER physics rules (Uckan) fit
- =1 Modified fit (D. Ward) - better at high temperature
"""
i_plasma_ignited: int = None
"""switch for ignition assumption. Obviously, i_plasma_ignited must be zero if current drive
is required. If i_plasma_ignited is 1, any auxiliary power is assumed to be used only during
plasma start-up, and is excluded from all steady-state power balance calculations.
- =0 do not assume plasma ignition
- =1 assume ignited (but include auxiliary power in costs)</UL
"""
i_plasma_pedestal: int = None
"""switch for pedestal profiles:
- =0 use original parabolic profiles
- =1 use pedestal profile
"""
i_pfirsch_schluter_current: int = None
"""switch for Pfirsch-Schlüter current scaling (issue #413):
- =0 Do not calculate
- =1 Use SCENE scaling
"""
nd_plasma_pedestal_electron: float = None
"""electron density of pedestal [m-3] (`i_plasma_pedestal==1)"""
nd_plasma_separatrix_electron: float = None
"""electron density at separatrix [m-3] (`i_plasma_pedestal==1)"""
alpha_crit: float = None
"""critical ballooning parameter value"""
nd_plasma_separatrix_electron_eich_max: float = None
"""Eich critical electron density at separatrix [m-3]"""
plasma_res_factor: float = None
"""plasma resistivity pre-factor"""
radius_plasma_pedestal_density_norm: float = None
"""Normalised radius of density pedestal (`i_plasma_pedestal==1`)"""
radius_plasma_pedestal_temp_norm: float = None
"""Normalised radius of temperature pedestal (`i_plasma_pedestal==1`)"""
rho_te_max: float = None
"""r/a where the temperature gradient is largest (`i_plasma_pedestal==0`)"""
rho_ne_max: float = None
"""r/a where the density gradient is largest (`i_plasma_pedestal==0`)"""
tbeta: float = None
"""temperature profile index beta (`i_plasma_pedestal==1)"""
temp_plasma_pedestal_kev: float = None
"""Plasma electron temperature of pedestal (keV) (`i_plasma_pedestal==1`)"""
temp_plasma_separatrix_kev: float = None
"""Plasma electron temperature at separatrix (keV) (`i_plasma_pedestal==1`) calculated if reinke
criterion is used (`icc=78`)
"""
i_beta_norm_max: int = None
"""Switch for maximum normalised beta scaling:"""
i_ind_plasma_internal_norm: int = None
"""Switch for plasma normalised internal inductance scaling:"""
i_alphaj: int = None
"""Switch for current profile index scaling:"""
i_rad_loss: int = None
"""switch for radiation loss term usage in power balance (see User Guide):
- =0 total power lost is scaling power plus radiation
- =1 total power lost is scaling power plus core radiation only
- =2 total power lost is scaling power only, with no additional
allowance for radiation. This is not recommended for power plant models.
"""
i_confinement_time: int = None
"""switch for energy confinement time scaling law (see description in `LABELS_CONFINEMENT_SCALINGS`)"""
i_plasma_wall_gap: int = None
"""Switch for plasma-first wall clearances at the mid-plane:
- =0 use 10% of plasma minor radius
- =1 use input (`dr_fw_plasma_gap_inboard` and `dr_fw_plasma_gap_outboard`)
"""
i_plasma_geometry: int = None
"""switch for plasma elongation and triangularity calculations:
- =0 use input kappa, triang to calculate 95% values
- =1 scale q95_min, kappa, triang with aspect ratio (ST)
- =2 set kappa to the natural elongation value (Zohm ITER scaling), triang input
- =3 set kappa to the natural elongation value (Zohm ITER scaling), triang95 input
- =4 use input kappa95, triang95 to calculate separatrix values
- =5 use input kappa95, triang95 to calculate separatrix values based on MAST scaling (ST)
- =6 use input kappa, triang to calculate 95% values based on MAST scaling (ST)
- =7 use input kappa95, triang95 to calculate separatrix values based on fit to FIESTA (ST)
- =8 use input kappa, triang to calculate 95% values based on fit to FIESTA (ST)
- =9 set kappa to the natural elongation value, triang input
- =10 set kappa to maximum stable value at a given aspect ratio (2.6<A<3.6)), triang input (#1399)
- =11 set kappa Menard 2016 aspect-ratio-dependent scaling, triang input (#1439)
"""
i_plasma_shape: int = None
"""switch for plasma boundary shape:
- =0 use original PROCESS 2-arcs model
- =1 use the Sauter model
"""
itart: int = None
"""switch for spherical tokamak (ST) models:
- =0 use conventional aspect ratio models
- =1 use spherical tokamak models
"""
itartpf: int = None
"""switch for Spherical Tokamak PF models:
- =0 use Peng and Strickler (1986) model
- =1 use conventional aspect ratio model
"""
i_pflux_fw_neutron: int = None
"""switch for neutron wall load calculation:
- =1 use scaled plasma surface area
- =2 use first wall area directly
"""
plasma_square: float = None
"""plasma squareness used by Sauter plasma shape"""
kappa: float = None
"""plasma separatrix elongation (calculated if `i_plasma_geometry = 1-5, 7 or 9-10`)"""
kappa95: float = None
"""plasma elongation at 95% surface (calculated if `i_plasma_geometry = 0-3, 6, or 8-10`)"""
kappa_ipb: float = None
"""Separatrix elongation calculated for IPB scalings"""
nd_plasma_electron_on_axis: float = None
"""central electron density (/m3)"""
nd_plasma_ions_on_axis: float = None
"""central ion density (/m3)"""
m_s_limit: float = None
"""margin to vertical stability"""
pres_plasma_thermal_on_axis: float = None
"""central total plasma pressure (Pa)"""
pres_plasma_total_profile: list[float] = None
"""Profile of total pressure in plasma (Pa)"""
pres_plasma_electron_profile: list[float] = None
"""Profile of electron pressure in plasma (Pa)"""
pres_plasma_ion_total_profile: list[float] = None
"""Profile of ion pressure in plasma (Pa)"""
pres_plasma_fuel_profile: list[float] = None
"""Profile of fuel pressure in plasma (Pa)"""
j_plasma_on_axis: float = None
"""Central plasma current density (A/m2)"""
j_plasma_circular_on_axis: float = None
"""Central plasma current density for a circular plasma (A/m2)"""
n_plasma_profile_elements: int = None
"""Number of elements in plasma profile"""
pres_plasma_thermal_vol_avg: float = None
"""Volume averaged thermal plasma pressure (Pa)"""
f_dd_branching_trit: float = None
"""branching ratio for DD -> T"""
pden_plasma_alpha_mw: float = None
"""Alpha power per volume just from plasma [MW/m3]"""
pden_alpha_total_mw: float = None
"""Alpha power per volume from plasma and beams [MW/m3]"""
f_pden_alpha_electron_mw: float = None
"""Alpha power per volume to electrons [MW/m3]"""
p_fw_alpha_mw: float = None
"""alpha power escaping plasma and reaching first wall (MW)"""
f_pden_alpha_ions_mw: float = None
"""alpha power per volume to ions (MW/m3)"""
p_plasma_alpha_mw: float = None
"""Alpha power from only the plasma (MW)"""
p_alpha_total_mw: float = None
"""Total alpha power from plasma and beams (MW)"""
p_beam_alpha_mw: float = None
"""alpha power from hot neutral beam ions (MW)"""
p_beam_neutron_mw: float = None
"""neutron power from hot neutral beam ions (MW)"""
p_beam_dt_mw: float = None
"""D-T fusion power from hot neutral beam ions (MW)"""
p_non_alpha_charged_mw: float = None
"""non-alpha charged particle fusion power (MW)"""
p_charged_particle_mw: float = None
"""Total charged particle fusion power [MW]"""
pden_non_alpha_charged_mw: float = None
"""Non-alpha charged particle fusion power per volume [MW/m3]"""
pcoef: float = None
"""profile factor (= n-weighted T / average T)"""
p_plasma_inner_rad_mw: float = None
"""radiation power from inner zone (MW)"""
pden_plasma_core_rad_mw: float = None
"""total core radiation power per volume (MW/m3)"""
p_dd_total_mw: float = None
"""deuterium-deuterium fusion power (MW)"""
p_dhe3_total_mw: float = None
"""deuterium-helium3 fusion power (MW)"""
p_plasma_separatrix_mw: float = None
"""power to conducted to the divertor region (MW)"""
p_div_lower_separatrix_mw: float = None
"""Separatrix power conducted to the lower divertor region (calculated if `i_single_null = 0`) (MW)"""
p_div_upper_separatrix_mw: float = None
"""Separatrix power conducted to the upper divertor region (calculated if `i_single_null = 0`) (MW)"""
p_div_separatrix_max_mw: float = None
"""Separatrix power conducted to the divertor with most load (calculated if `i_single_null = 0`) (MW)"""
p_dt_total_mw: float = None
"""Total deuterium-tritium fusion power, from plasma and beams [MW]"""
p_plasma_dt_mw: float = None
"""Deuterium-tritium fusion power, just from plasma [MW]"""
p_plasma_outer_rad_mw: float = None
"""radiation power from outer zone (MW)"""
pden_plasma_outer_rad_mw: float = None
"""edge radiation power per volume (MW/m3)"""
vs_plasma_internal: float = None
"""internal plasma V-s"""
pflux_fw_rad_mw: float = None
"""Nominal mean radiation load on inside surface of reactor (MW/m2)"""
pden_ion_electron_equilibration_mw: float = None
"""ion/electron equilibration power per volume (MW/m3)"""
plasma_current: float = None
"""plasma current (A)"""
c_plasma_circular: float = None
"""Plasma current for circular plasma (A)"""
p_plasma_neutron_mw: float = None
"""Neutron fusion power from just the plasma [MW]"""
p_neutron_total_mw: float = None
"""Total neutron fusion power from plasma and beams [MW]"""
pden_neutron_total_mw: float = None
"""neutron fusion power per volume from beams and plasma (MW/m3)"""
pden_plasma_neutron_mw: float = None
"""neutron fusion power per volume just from plasma (MW/m3)"""
p_plasma_ohmic_mw: float = None
"""ohmic heating power (MW)"""