pfcoil_variables
N_PF_GROUPS_MAX = 10
module-attribute
maximum number of groups of PF coils
N_PF_COILS_IN_GROUP_MAX = 2
module-attribute
maximum number of PF coils in a given group
NPTSMX = 32
module-attribute
maximum number of points across the midplane of the plasma at which the field from the PF coils is fixed
NFIXMX = 64
module-attribute
maximum number of fixed current PF coils
NGC = N_PF_GROUPS_MAX * N_PF_COILS_IN_GROUP_MAX
module-attribute
maximum total number of coils across all groups
NGC2 = NGC + 2
module-attribute
new variable to include 2 additional circuits: plasma and central solenoid
CREATE_DICTS_FROM_DATACLASS = PFCoilData
module-attribute
PFCoilData
dataclass
Source code in process/data_structure/pfcoil_variables.py
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 | |
nef = 0
class-attribute
instance-attribute
nfxf = 0
class-attribute
instance-attribute
ricpf = 0.0
class-attribute
instance-attribute
ssq0 = 0.0
class-attribute
instance-attribute
stress_z_cs_self_peak_midplane = 0.0
class-attribute
instance-attribute
Peak axial stress (z) in central solenoid at midplane due to its own field (when at peak current) (Pa)
stress_z_cs_self_midplane_profile = field(default_factory=(lambda: np.zeros(6)))
class-attribute
instance-attribute
Axial stress (z) in central solenoid at midplane due to its own field at each time point (Pa)
sig_hoop = 0.0
class-attribute
instance-attribute
forc_z_cs_self_peak_midplane = 0.0
class-attribute
instance-attribute
Axial force (z) on central solenoid at midplane due to its own field (when at peak current) (N)
r_pf_cs_current_filaments = field(default_factory=(lambda: np.zeros(NFIXMX)))
class-attribute
instance-attribute
array of radial positions of current filaments in central solenoid
z_pf_cs_current_filaments = field(default_factory=(lambda: np.zeros(NFIXMX)))
class-attribute
instance-attribute
array of vertical positions of current filaments in central solenoid
c_pf_cs_current_filaments = field(default_factory=(lambda: np.zeros(NFIXMX)))
class-attribute
instance-attribute
array of current in filaments in central solenoid
xind = field(default_factory=(lambda: np.zeros(NFIXMX)))
class-attribute
instance-attribute
r_pf_coil_middle_group_array = field(default_factory=(lambda: np.zeros((N_PF_GROUPS_MAX, N_PF_COILS_IN_GROUP_MAX))))
class-attribute
instance-attribute
2D array of PF coil middle radii, indexed by group and coil in group
z_pf_coil_middle_group_array = field(default_factory=(lambda: np.zeros((N_PF_GROUPS_MAX, N_PF_COILS_IN_GROUP_MAX))))
class-attribute
instance-attribute
2D array of PF coil middle heights, indexed by group and coil in group
ccls = field(default_factory=(lambda: np.zeros(N_PF_GROUPS_MAX)))
class-attribute
instance-attribute
ccl0 = field(default_factory=(lambda: np.zeros(N_PF_GROUPS_MAX)))
class-attribute
instance-attribute
bpf2 = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
vsdum = field(default_factory=(lambda: np.zeros((NGC2, 3))))
class-attribute
instance-attribute
first_call = True
class-attribute
instance-attribute
cslimit = False
class-attribute
instance-attribute
alfapf = 5e-10
class-attribute
instance-attribute
smoothing parameter used in PF coil current calculation at the beginning of pulse (BoP)
alstroh = 400000000.0
class-attribute
instance-attribute
allowable hoop stress in Central Solenoid structural material (Pa)
i_cs_stress = 1
class-attribute
instance-attribute
Switch for CS stress calculation: - =0 Hoop stress only - =1 Hoop + Axial stress
a_cs_poloidal = 0.0
class-attribute
instance-attribute
Central solenoid vertical cross-sectional area (m2)
a_cs_turn = 0.0
class-attribute
instance-attribute
Central solenoid (OH) trun cross-sectional area (m2)
awpoh = 0.0
class-attribute
instance-attribute
central solenoid conductor+void area with area of steel subtracted (m2)
b_cs_peak_flat_top_end = 0.0
class-attribute
instance-attribute
maximum field in central solenoid at end of flat-top (EoF) (T)
b_cs_peak_pulse_start = 0.0
class-attribute
instance-attribute
maximum field in central solenoid at beginning of pulse (T)
b_pf_coil_peak = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
peak field at coil i (T)
ccl0_ma = field(default_factory=(lambda: np.zeros(N_PF_GROUPS_MAX)))
class-attribute
instance-attribute
PF group current array, flux-swing cancellation current (MA) Input if i_pf_current=0, computed otherwise
ccls_ma = field(default_factory=(lambda: np.zeros(N_PF_GROUPS_MAX)))
class-attribute
instance-attribute
PF group current array, equilibrium current (MA) Input if i_pf_current=0, computed otherwise
j_cs_pulse_start = 0.0
class-attribute
instance-attribute
Central solenoid overall current density at beginning of pulse (A/m2)
j_cs_flat_top_end = 18500000.0
class-attribute
instance-attribute
Central solenoid overall current density at end of flat-top (A/m2) (iteration variable 37) (sweep variable 62)
c_pf_coil_turn = field(default_factory=(lambda: np.zeros((NGC2, 6))))
class-attribute
instance-attribute
current per turn in coil i at time j (A)
c_pf_coil_turn_peak_input = field(default_factory=(lambda: np.full(NGC2, 40000.0)))
class-attribute
instance-attribute
peak current per turn input for PF coil i (A)
c_pf_cs_coil_pulse_start_ma = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
PF coil current array, at beginning of pulse (MA) Indexed by coil number, not group number
c_pf_cs_coil_flat_top_ma = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
PF coil current array, at flat top (MA) Indexed by coil number, not group number
c_pf_cs_coil_pulse_end_ma = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
PF coil current array, at end of pulse (MA) Indexed by coil number, not group number
etapsu = 0.9
class-attribute
instance-attribute
Efficiency of transfer of PF stored energy into or out of storage.
f_j_cs_start_end_flat_top = 0.0
class-attribute
instance-attribute
ratio of central solenoid overall current density at beginning of flat-top / end of flat-top
f_j_cs_start_pulse_end_flat_top = 0.9
class-attribute
instance-attribute
ratio of central solenoid overall current density at beginning of pulse / end of flat-top
(iteration variable 41)
fcuohsu = 0.7
class-attribute
instance-attribute
copper fraction of strand in central solenoid
fcupfsu = 0.69
class-attribute
instance-attribute
copper fraction of cable conductor (PF coils)
i_pf_location = field(default_factory=(lambda: np.array([2, 2, 3, 0, 0, 0, 0, 0, 0, 0])))
class-attribute
instance-attribute
Switch for location of PF coil group i: - =1 PF coil on top of central solenoid (flux ramp only) - =2 PF coil on top of TF coil (flux ramp only) - =3 PF coil outside of TF coil (equilibrium coil) - =4 PF coil, general location (equilibrium coil)
i_pf_conductor = 0
class-attribute
instance-attribute
switch for PF & CS coil conductor type: - =0 superconducting PF coils - =1 resistive PF coils
itr_sum = 0.0
class-attribute
instance-attribute
total sum of I x turns x radius for all PF coils and CS (Am)
i_cs_superconductor = 1
class-attribute
instance-attribute
switch for superconductor material in central solenoid: - =1 ITER Nb3Sn critical surface model with standard ITER parameters - =2 Bi-2212 high temperature superconductor (range of validity T < 20K, adjusted field b < 104 T, B > 6 T) - =3 NbTi - =4 ITER Nb3Sn model with user-specified parameters - =5 WST Nb3Sn parameterisation - =6 REBCO HTS tape in CroCo strand - =7 Durham Ginzburg-Landau critical surface model for Nb-Ti - =8 Durham Ginzburg-Landau critical surface model for REBCO - =9 Hazelton experimental data + Zhai conceptual model for REBCO
i_pf_superconductor = 1
class-attribute
instance-attribute
switch for superconductor material in PF coils: - =1 ITER Nb3Sn critical surface model with standard ITER parameters - =2 Bi-2212 high temperature superconductor (range of validity T < 20K, adjusted field b < 104 T, B > 6 T) - =3 NbTi - =4 ITER Nb3Sn model with user-specified parameters - =5 WST Nb3Sn parameterisation - =6 REBCO HTS tape in CroCo strand - =7 Durham Ginzburg-Landau critical surface model for Nb-Ti - =8 Durham Ginzburg-Landau critical surface model for REBCO - =9 Hazelton experimental data + Zhai conceptual model for REBCO
j_crit_str_cs = 0.0
class-attribute
instance-attribute
superconductor strand critical current density under operating conditions in central solenoid (A/m2). Necessary for the cost calculation in $/kA m
j_crit_str_pf = 0.0
class-attribute
instance-attribute
superconductor strand critical current density under operating conditions in PF coils (A/m2). Necessary for the cost calculation in $/kA m
i_pf_current = 1
class-attribute
instance-attribute
Switch for controlling the current of the PF coils: - =0 Input via the variables c_pf_cs_coil_pulse_start_ma, c_pf_cs_coil_flat_top_ma, c_pf_cs_coil_pulse_end_ma - =1 SVD targets zero field across midplane (flux swing coils) and the correct vertical field at the plasma center (equilibrium coils)
i_r_pf_outside_tf_placement = 0
class-attribute
instance-attribute
Switch for the placement of Location 3 (outboard) PF coils - =0 (Default) Outboard PF coils follow TF shape in an ellipsoidal winding surface - =1 Outboard PF coils all have same radius, cylindrical winding surface
j_cs_conductor_critical_pulse_start = 0.0
class-attribute
instance-attribute
central solenoid superconductor critical current density (A/m2) at beginning-of-pulse
j_cs_conductor_critical_flat_top_end = 0.0
class-attribute
instance-attribute
central solenoid superconductor critical current density (A/m2) at end-of-flattop
jcableoh_bop = 0.0
class-attribute
instance-attribute
central solenoid cable critical current density (A/m2) at beginning-of-pulse
jcableoh_eof = 0.0
class-attribute
instance-attribute
central solenoid cable critical current density (A/m2) at end-of-flattop
n_pf_cs_plasma_circuits = 0
class-attribute
instance-attribute
number of PF circuits (including central solenoid and plasma)
n_pf_coils_in_group = field(default_factory=(lambda: np.array([1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0])))
class-attribute
instance-attribute
number of PF coils in group j
n_cs_current_filaments = 7
class-attribute
instance-attribute
number of filaments the top and bottom of the central solenoid should be broken into during scaling (5 - 10 is good)
n_pf_coil_groups = 3
class-attribute
instance-attribute
number of groups of PF coils. Symmetric coil pairs should all be in the same group
n_cs_pf_coils = 0
class-attribute
instance-attribute
number of PF coils (excluding the central solenoid) + 1
f_z_cs_tf_internal = 0.71
class-attribute
instance-attribute
Central solenoid height / TF coil internal height
f_a_cs_turn_steel = 0.5
class-attribute
instance-attribute
Fraction of CS turn poloidal area that is steel (iteration variable 122)
pf_current_safety_factor = 1.0
class-attribute
instance-attribute
Ratio of permissible PF coil conductor current density to critical conductor current density based on short-sample DC measurements
pfcaseth = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
steel case thickness for PF coil i (m)
rho_pf_coil = 2.5e-08
class-attribute
instance-attribute
PF coil resistivity (if i_pf_conductor=1) (Ohm-m)
rhopfbus = 3.93e-08
class-attribute
instance-attribute
Resistivity of CS and PF coil bus bars (irrespective of whether the coils themselves are superconducting or resistive) (Ohm-m)
m_pf_coil_max = 0.0
class-attribute
instance-attribute
mass of heaviest PF coil (tonnes)
r_pf_coil_outer_max = 0.0
class-attribute
instance-attribute
radius of largest PF coil (m)
p_pf_electric_supplies_mw = 0.0
class-attribute
instance-attribute
Total mean wall plug power dissipated in PFC and CS power supplies (MW) (issue #713)
p_cs_resistive_flat_top = 0.0
class-attribute
instance-attribute
central solenoid resistive power during flattop (W)
p_pf_coil_resistive_total_flat_top = 0.0
class-attribute
instance-attribute
total PF coil resistive losses during flattop (W)
r_pf_coil_inner = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
inner radius of coil i (m)
r_pf_coil_outer = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
outer radius of coil i (m)
c_pf_cs_coils_peak_ma = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
peak current in coil i (MA-turns)
j_pf_coil_wp_peak = field(default_factory=(lambda: np.full(NGC2, 30000000.0)))
class-attribute
instance-attribute
average winding pack current density of PF coil i (A/m2) at time of peak
current in that coil (calculated for i_pf_location=1 coils)
j_cs_critical_flat_top_end = 0.0
class-attribute
instance-attribute
allowable central solenoid current density at end of flat-top (A/m2)
j_cs_critical_pulse_start = 0.0
class-attribute
instance-attribute
allowable central solenoid current density at beginning of pulse (A/m2)
j_pf_wp_critical = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
allowable winding pack current density of PF coil i (A/m2)
r_cs_middle = 0.0
class-attribute
instance-attribute
radius to the centre of the central solenoid (m)
dz_cs_full = 0.0
class-attribute
instance-attribute
Full height of the central solenoid (m)
dr_pf_tf_outboard_out_offset = 1.5
class-attribute
instance-attribute
radial distance (m) from outboard TF coil leg to centre of i_pf_location=3 PF coils
r_pf_coil_middle = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
radius of PF coil i (m)
dr_pf_cs_middle_offset = 0.0
class-attribute
instance-attribute
offset (m) of radial position of i_pf_location=1 PF coils from being directly above
the central solenoid
rpf2 = -1.63
class-attribute
instance-attribute
offset (m) of radial position of i_pf_location=2 PF coils from being at
rmajor (offset = rpf2*triang*rminor)
rref = field(default_factory=(lambda: np.full(N_PF_GROUPS_MAX, 7.0)))
class-attribute
instance-attribute
PF coil radial positioning adjuster: - for groups j with i_pf_location(j) = 1; rref(j) is ignored - for groups j with i_pf_location(j) = 2; rref(j) is ignored - for groups j with i_pf_location(j) = 3; rref(j) is ignored - for groups j with i_pf_location(j) = 4; rref(j) is radius of the coil in units of minor radii from the major radius (r = rmajor + rref*rminor)
s_shear_cs_peak = 0.0
class-attribute
instance-attribute
Maximum shear stress (Tresca criterion) coils/central solenoid [MPa]
sigpfcalw = 500.0
class-attribute
instance-attribute
maximum permissible tensile stress (MPa) in steel coil cases for superconducting
PF coils (i_pf_conductor=0)
sigpfcf = 1.0
class-attribute
instance-attribute
fraction of JxB hoop force supported by steel case for superconducting PF coils (i_pf_conductor=0)
ind_pf_cs_plasma_mutual = field(default_factory=(lambda: np.zeros((NGC2, NGC2))))
class-attribute
instance-attribute
mutual inductance matrix (H)
temp_cs_superconductor_margin = 0.0
class-attribute
instance-attribute
Central solenoid temperature margin (K)
n_pf_coil_turns = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
number of turns in PF coil i
f_a_pf_coil_void = field(default_factory=(lambda: np.full(NGC2, 0.3)))
class-attribute
instance-attribute
winding pack void fraction of PF coil i for coolant
f_a_cs_void = 0.3
class-attribute
instance-attribute
void fraction of central solenoid conductor for coolant
vs_cs_pf_total_burn = 0.0
class-attribute
instance-attribute
total flux swing available for burn (Wb)
vs_pf_coils_total_burn = 0.0
class-attribute
instance-attribute
flux swing from PF coils for burn (Wb)
vs_pf_coils_total_ramp = 0.0
class-attribute
instance-attribute
flux swing from PF coils for startup (Wb)
vs_pf_coils_total_pulse = 0.0
class-attribute
instance-attribute
total flux swing from PF coils (Wb)
vs_cs_total_pulse = 0.0
class-attribute
instance-attribute
total flux swing from the central solenoid (Wb)
vs_cs_burn = 0.0
class-attribute
instance-attribute
central solenoid flux swing for burn (Wb)
vs_cs_ramp = 0.0
class-attribute
instance-attribute
central solenoid flux swing for startup (Wb)
vs_cs_pf_total_ramp = 0.0
class-attribute
instance-attribute
total flux swing for startup (constraint eqn 51 to enforce vs_cs_pf_total_ramp=vs_plasma_res_ramp+vs_plasma_ind_ramp) (Wb)
vs_cs_pf_total_pulse = 0.0
class-attribute
instance-attribute
total flux swing for pulse (Wb)
f_c_pf_cs_peak_time_array = field(default_factory=(lambda: np.zeros((NGC2, 6))))
class-attribute
instance-attribute
PF, CS coil current relative to peak current at time points 1 to 6
m_pf_coil_conductor_total = 0.0
class-attribute
instance-attribute
total mass of the PF coil conductor (kg)
m_pf_coil_structure_total = 0.0
class-attribute
instance-attribute
total mass of the PF coil structure (kg)
m_pf_coil_conductor = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
conductor mass for PF coil i (kg)
m_pf_coil_structure = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
structure mass for PF coil i (kg)
z_pf_coil_upper = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
upper point of PF coil i (m)
z_pf_coil_lower = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
lower point of PF coil i (m)
z_pf_coil_middle = field(default_factory=(lambda: np.zeros(NGC2)))
class-attribute
instance-attribute
z (height) location of PF coil i (m)
zref = field(default_factory=(lambda: np.array([3.6, 1.2, 2.5, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0])))
class-attribute
instance-attribute
PF coil vertical positioning adjuster: - for groups j with i_pf_location(j) = 1; zref(j) is ignored - for groups j with i_pf_location(j) = 2 AND itart=1 (only); zref(j) is distance of centre of PF coil from inside edge of TF coil (remember that PF coils for STs lie within the TF coil) - for groups j with i_pf_location(j) = 3; zref(j) = ratio of height of coil group j to plasma minor radius - for groups j with i_pf_location(j) = 4; zref(j) = ratio of height of coil group j to plasma minor radius
b_cs_limit_max = 13.0
class-attribute
instance-attribute
Central solenoid max field limit [T]
f_dr_dz_cs_turn = 70.0 / 22.0
class-attribute
instance-attribute
Ratio of CS coil turn conduit length to depth
dr_cs_turn = 0.0
class-attribute
instance-attribute
Length of CS of CS coil turn conduit
dr_cs_full = 0.0
class-attribute
instance-attribute
Full radial thickness of the central solenoid (m)
dz_cs_turn = 0.0
class-attribute
instance-attribute
Depth/width of CS of CS coil turn conduit
radius_cs_turn_corners = 0.003
class-attribute
instance-attribute
Radius of curvature of CS coil turn corners (m)
radius_cs_turn_cable_space = 0.0
class-attribute
instance-attribute
Length of CS of CS coil turn conduit length