Example: Symmetry-reduced Pulse Design Tool (Anamak)
This notebook demonstrates how to use SymmetryReducedSolver with the FreeGSNKE Pulse Design Tool (FPDT) on an Anamak-like tokamak, evolving the coupled plasma/metal system strictly in the even-in-\(Z\) subspace.
This should enable large timesteps to be taken and rapid prototyping of plasma scenarios.
In this notebook, we:
Prepare an exactly up-down symmetric machine description.
Construct a symmetric initial Grad-Shafranov equilibrium.
Inspect the even and odd passive structure modes.
Run a closed-loop FPDT simulation using
SymmetryReducedSolverin place ofnl_solver.
Note that this is a very basic example on a tokamak with few coils, so the control demonstrated here is limited.
1. Build the analytic source machine
We place active coils and passive structures in reflected pairs about \(Z = 0\): five shaping pairs, one symmetric central solenoid, and one odd anti-series vertical-control circuit (included to demonstrate explicit exclusion during preparation). The fifth shaping pair sits close to the X-points: the other four pairs act almost identically on the X-point radius \(R_x\) and the midplane radii, so moving \(R_x\) on its own would need very large, nearly cancelling currents. The limiter radius is chosen to avoid landing directly on grid nodes.
import time
import matplotlib.pyplot as plt
import numpy as np
from freegsnke import GSstaticsolver, build_machine, equilibrium_update
from freegsnke.inverse import Inverse_optimizer
from freegsnke.jtor_update import Lao85
from freegsnke.up_down_symmetry import prepare_up_down_symmetric_machine
# build the symmetric machine data
def active_element(r, z, multiplier=100, polarity=1):
"""Return one rectangular active-coil filament bundle."""
return {
"R": [r],
"Z": [z],
"dR": 0.06,
"dZ": 0.06,
"resistivity": 1.55e-8,
"polarity": polarity,
"multiplier": multiplier,
}
def analytic_source_machine():
"""Build an approximately machine-shaped, exactly paired toy description."""
major_radius = 1.0
active = {
"solenoid": {
**active_element(0.28, 0.0, multiplier=20),
"R": [0.28] * 4,
"Z": [-0.55, -0.18, 0.18, 0.55],
}
}
upper_angles = (np.pi / 4, 3 * np.pi / 4, np.pi / 8, 7 * np.pi / 8)
for index, angle in enumerate(upper_angles, start=1):
r = major_radius + 0.70 * np.cos(angle)
z = 0.70 * np.sin(angle)
active[f"PF_{index}_upper"] = active_element(r, z)
active[f"PF_{index}_lower"] = active_element(r, -z)
# fifth shaping pair, close to the X-points, for independent control of the X-point position
active["PF_5_upper"] = active_element(0.75, 0.60)
active["PF_5_lower"] = active_element(0.75, -0.60)
active["vertical_control"] = {
"upper": active_element(1.68, 0.28),
"lower": active_element(1.68, -0.28, polarity=-1),
}
passive = []
for index, angle in enumerate(np.linspace(np.pi / 20, 19 * np.pi / 20, 10)):
r = major_radius + 0.50 * np.cos(angle)
z = 0.50 * np.sin(angle)
half_width = 0.025
for side, z_centre in (("upper", z), ("lower", -z)):
passive.append(
{
"name": f"shell_{index}_{side}",
"element": f"shell_{index}",
"R": np.array(
[
r - half_width,
r + half_width,
r + half_width,
r - half_width,
]
),
"Z": np.array(
[
z_centre - half_width,
z_centre - half_width,
z_centre + half_width,
z_centre + half_width,
]
),
"resistivity": 5.5e-7,
}
)
theta = np.linspace(0.0, 2 * np.pi, 96, endpoint=True)
limiter = [
{
"R": float(major_radius + 0.44 * np.cos(angle)),
"Z": float(0.44 * np.sin(angle)),
}
for angle in theta
]
return active, passive, limiter
Build the symmetrised machine
Let’s build the symmetric machine (excluding the vertical control coil).
# machine data
active_source, passive_source, limiter_source = analytic_source_machine()
# symmetric machine data
symmetric_machine = prepare_up_down_symmetric_machine(
active_source,
passive_source,
limiter_data=limiter_source,
wall_data=limiter_source,
exclude_odd_active=True,
)
Retained active coil circuits (even): ('solenoid', 'PF_1', 'PF_2', 'PF_3', 'PF_4', 'PF_5')
Explicitly excluded active circuits (odd): ('vertical_control',)
Passive structure pairs (10):
shell_0_upper / shell_0_lower
shell_1_upper / shell_1_lower
shell_2_upper / shell_2_lower
shell_3_upper / shell_3_lower
shell_4_upper / shell_4_lower
shell_5_upper / shell_5_lower
shell_6_upper / shell_6_lower
shell_7_upper / shell_7_lower
shell_8_upper / shell_8_lower
shell_9_upper / shell_9_lower
Source midplane: +0.000 mm
Applied whole-machine shift: +0.000 mm
Midplane fit RMS: nan mm
Matched fit samples: 0
Active reflected pairs: 5
Component discrepancies (pre-averaging reflected RMS):
limiter upper path / lower path : 0.000 mm
wall upper path / lower path : 0.000 mm
active PF_1_upper / PF_1_lower : 0.000 mm
active PF_2_upper / PF_2_lower : 0.000 mm
active PF_3_upper / PF_3_lower : 0.000 mm
active PF_4_upper / PF_4_lower : 0.000 mm
active PF_5_upper / PF_5_lower : 0.000 mm
active solenoid / solenoid : 0.000 mm
passive shell_0_upper / shell_0_lower : 0.000 mm
passive shell_1_upper / shell_1_lower : 0.000 mm
passive shell_2_upper / shell_2_lower : 0.000 mm
passive shell_3_upper / shell_3_lower : 0.000 mm
passive shell_4_upper / shell_4_lower : 0.000 mm
passive shell_5_upper / shell_5_lower : 0.000 mm
passive shell_6_upper / shell_6_lower : 0.000 mm
passive shell_7_upper / shell_7_lower : 0.000 mm
passive shell_8_upper / shell_8_lower : 0.000 mm
passive shell_9_upper / shell_9_lower : 0.000 mm
/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages/freegsnke/up_down_symmetry.py:978: UserWarning: Limiter changed by intersection with its reflection about Z=0 m: removed 2.22045e-16 m² (3.65e-14%); 96 -> 120 vertices.
_warn_boundary_change(original, symmetric, target_midplane, name)
/opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages/freegsnke/up_down_symmetry.py:978: UserWarning: Wall changed by intersection with its reflection about Z=0 m: removed 2.22045e-16 m² (3.65e-14%); 96 -> 120 vertices.
_warn_boundary_change(original, symmetric, target_midplane, name)
# build machine
tokamak = build_machine.tokamak(
active_coils_data=symmetric_machine.even_active_coils_data,
passive_coils_data=symmetric_machine.passive_coils_data,
limiter_data=symmetric_machine.limiter_data,
wall_data=symmetric_machine.wall_data,
)
Active coils --> built from user-provided data.
Passive structures --> built from user-provided data.
Limiter --> built from user-provided data.
Wall --> built from user-provided data.
Magnetic probes --> none provided.
Resistance (R) and inductance (M) matrices --> built using actives (and passives if present).
Tokamak built.
# plot machine
fig, ax = plt.subplots(figsize=(6, 6), dpi=80)
tokamak.plot(axis=ax, show=False)
ax.plot(tokamak.limiter.R, tokamak.limiter.Z, "k-", linewidth=1.2)
ax.set( xlabel="Major radius, R [m]", ylabel="Height, Z [m]", aspect="equal")
ax.grid(zorder=0, alpha=0.75)
ax.set_aspect('equal')
plt.show()
2. Construct a symmetric initial equilibrium
Let’s use the inverse solver to build an initial equilibrium.
# initialise eq
eq = equilibrium_update.Equilibrium(
tokamak=tokamak,
Rmin=0.1,
Rmax=1.9,
Zmin=-0.8,
Zmax=0.8,
nx=65,
ny=65,
)
# initialise profiles
profiles = Lao85(
eq=eq,
Ip=2.0e5,
fvac=0.5,
alpha=[58213.6],
beta=[0.582136],
)
# static solver
static_solver = GSstaticsolver.NKGSsolver(eq)
# constraints for inverse solver
tokamak.set_coil_current("solenoid", 3000.0)
tokamak["solenoid"].control = False
# the extra shaping pair carries no current in the initial equilibrium (so the equilibrium is
# unchanged); it is only used by the shape controllers
tokamak.set_coil_current("PF_5", 0.0)
tokamak["PF_5"].control = False
constrain = Inverse_optimizer(
null_points=[[0.8, 0.8], [0.35, -0.35]],
isoflux_set=np.array([[[0.8, 0.8, 1.22], [0.35, -0.35, 0.0]]]),
weight_isoflux=1.0,
weight_nulls=0.8,
)
# the numerical operators need exactly up-down symmetric resistances and inductances, so these calls enforce this
eq._vgreen = symmetric_machine.symmetrise_even_machine_greens(eq._vgreen)
tokamak.coil_resist = symmetric_machine.symmetrise_even_machine_resistances(
tokamak.coil_resist
)
tokamak.coil_self_ind = symmetric_machine.symmetrise_even_machine_square_operator(
tokamak.coil_self_ind
)
# solve and plot
static_solver.inverse_solve(
eq=eq,
profiles=profiles,
constrain=constrain,
target_relative_tolerance=1e-5,
target_relative_psit_update=1e-3,
l2_reg=np.full(4, 1e-8),
force_up_down_symmetric=True,
verbose=False,
)
Inverse static solve SUCCESS. Tolerance 5.83e-06 (vs. requested 1e-05) reached in 18/100 iterations.
We should have a nice up-down symmetric equilibrium in the symmetric machine!
# plot the equilibrium
fig1, ax1 = plt.subplots(1, 1, figsize=(7, 15), dpi=80)
ax1.grid(zorder=0, alpha=0.75)
ax1.set_aspect('equal')
eq.tokamak.plot(axis=ax1,show=False) # plots the active coils and passive structures
ax1.fill(tokamak.wall.R, tokamak.wall.Z, color='k', linewidth=1.2, facecolor='w', zorder=0) # plots the limiter
eq.plot(axis=ax1,show=False) # plots the equilibrium
constrain.plot(axis=ax1, show=False) # plots the constraints
<Axes: xlabel='Major radius [m]', ylabel='Height [m]'>
If needed we can do some checks to ensure everything is fully up-down symmetric (i.e. machine operators commute with the metal-current reflection, the limiter mask is reflection-invariant, and the initial plasma fields and metal currents are even to round-off).
passive_reflection_operator = symmetric_machine.passive_reflection_operator
reflection_operator = symmetric_machine.even_machine_reflection_operator
def relative_reflection_error(values, parity=1):
denominator = np.linalg.norm(values)
if denominator == 0:
return 0.0
return np.linalg.norm(values - parity * values[:, ::-1]) / denominator
def relative_commutator_error(matrix):
numerator = np.linalg.norm(
reflection_operator @ matrix - matrix @ reflection_operator
)
return numerator / np.linalg.norm(matrix)
reflected_greens = np.einsum(
"ij,jrz->irz", reflection_operator, eq._vgreen[:, :, ::-1]
)
resistance_matrix = np.diag(tokamak.coil_resist)
initial_currents = tokamak.getCurrentsVec()
symmetry_errors = {
"sampled Green functions": (
np.linalg.norm(eq._vgreen - reflected_greens)
/ np.linalg.norm(eq._vgreen)
),
"inductance operator": relative_commutator_error(tokamak.coil_self_ind),
"resistance operator": relative_commutator_error(resistance_matrix),
"plasma flux": relative_reflection_error(eq.plasma_psi),
"toroidal current density": relative_reflection_error(profiles.jtor),
"metal currents": (
np.linalg.norm(reflection_operator @ initial_currents - initial_currents)
/ np.linalg.norm(initial_currents)
),
}
limiter_defects = np.count_nonzero(
eq.limiter_handler.mask_inside_limiter
!= eq.limiter_handler.mask_inside_limiter[:, ::-1]
)
for name, error in symmetry_errors.items():
print(f"{name:27s}: {error:.3e}")
print(f"{'limiter-mask defects':27s}: {limiter_defects}")
assert max(symmetry_errors.values()) < 1e-12
assert limiter_defects == 0
sampled Green functions : 0.000e+00
inductance operator : 0.000e+00
resistance operator : 0.000e+00
plasma flux : 0.000e+00
toroidal current density : 0.000e+00
metal currents : 0.000e+00
limiter-mask defects : 0
3. Build the virtual circuits for the PCS
We use FreeGSNKE’s VirtualCircuitHandling class (see Example 09) to build the virtual circuits for the five shaping circuits. It computes, by finite differences of static GS solves, the shape sensitivity matrix
where \(s_k\) are the shape targets (Rin, Rout, Rx, Zx) and \(I_j\) the shaping-circuit currents, and its pseudo-inverse \(S^+\) (the virtual circuits), which maps requested shape corrections to coil-current commands. The solenoid is excluded because it is reserved for plasma-current control.
# functions for the plasma descriptors (shape functions)
def selected_lower_xpoint(equilibrium):
"""Select the lower null nearest the inverse-solve target."""
lower = equilibrium.xpt[equilibrium.xpt[:, 1] < 0]
target = np.array([0.8, -0.35])
return lower[np.argmin(np.linalg.norm(lower[:, :2] - target, axis=1)), :2]
def plasma_descriptors(equilibrium):
"""Return the four shape measurements used by the controller."""
rin, rout = equilibrium.innerOuterSeparatrix()
rx, zx = selected_lower_xpoint(equilibrium)
return np.array([rin, rout, rx, zx])
# calculate initial values
baseline_descriptors = plasma_descriptors(eq)
active_coils = list(tokamak.coils_list[: tokamak.n_active_coils])
shape_coils = [name for name in active_coils if name != "solenoid"]
ctrl_targets = ["Rin", "Rout", "Rx", "Zx"]
print("Active circuit order:", active_coils)
print("Shape parameters:", ctrl_targets)
print("Initial descriptors [m]:", baseline_descriptors)
Active circuit order: ['solenoid', 'PF_1', 'PF_2', 'PF_3', 'PF_4', 'PF_5']
Shape parameters: ['Rin', 'Rout', 'Rx', 'Zx']
Initial descriptors [m]: [ 0.79153908 1.22846475 0.80965718 -0.34977121]
from freegsnke import virtual_circuits
# build the VCs
VCs = virtual_circuits.VirtualCircuitHandling()
VCs.define_solver(static_solver)
VCs.calculate_VC(
eq=eq,
profiles=profiles,
coils=shape_coils,
target_names=ctrl_targets,
target_calculator=plasma_descriptors,
n_vc_workers=2,
verbose=True,
name="VC_shape",
)
shape_matrix = VCs.VC_shape.shape_matrix # [no. of targets x no. of coils], units m/A
shape_vcs = VCs.VC_shape.VCs_matrix # [no. of coils x no. of targets], units A/m
--- Stage one ---
Re-sizing each initial coil current shift so that it produces a 0.1% change in plasma current density from the input equilibrium.
Building shape matrix columns with 2 worker processes.
Forward static solve SUCCESS. Tolerance 4.39e-08 (vs. requested 1.00e-07) reached in 5/100 iterations.
Forward static solve SUCCESS. Tolerance 8.25e-09 (vs. requested 1.00e-07) reached in 7/100 iterations.
Forward static solve SUCCESS. Tolerance 1.12e-08 (vs. requested 1.00e-07) reached in 5/100 iterations.
Forward static solve SUCCESS. Tolerance 3.61e-08 (vs. requested 1.00e-07) reached in 6/100 iterations.
Forward static solve SUCCESS. Tolerance 5.98e-08 (vs. requested 1.00e-07) reached in 9/100 iterations.
Forward static solve SUCCESS. Tolerance 3.94e-08 (vs. requested 1.00e-07) reached in 7/100 iterations.
Forward static solve SUCCESS. Tolerance 9.69e-08 (vs. requested 1.00e-07) reached in 4/100 iterations.
Forward static solve SUCCESS. Tolerance 2.39e-08 (vs. requested 1.00e-07) reached in 6/100 iterations.
Forward static solve SUCCESS. Tolerance 1.70e-08 (vs. requested 1.00e-07) reached in 6/100 iterations.
Forward static solve SUCCESS. Tolerance 1.39e-08 (vs. requested 1.00e-07) reached in 6/100 iterations.
Coil PF_1 (original current shift = 50.0 [A] --> scaled current shift 0.28 [A]).
Coil PF_2 (original current shift = 50.0 [A] --> scaled current shift 7.05 [A]).
Coil PF_3 (original current shift = 50.0 [A] --> scaled current shift 0.22 [A]).
Coil PF_4 (original current shift = 50.0 [A] --> scaled current shift 3.38 [A]).
Coil PF_5 (original current shift = 50.0 [A] --> scaled current shift 2.07 [A]).
--- Stage three ---
Inverting the shape matrix to get the virtual circuit matrix.
VC object stored under name: 'VC_shape'.
VC computing using Moore-Penrose pseudoinverse.
4. Configure the plasma-control loop
Here we set up the FPDT controllers as in Example 11, holding the plasma current and all but one of the shape targets at their initial values, so that the controllers must counteract the resistive decay of the plasma current and any drift in the plasma shape. The X-point radius, \(R_x\), is ramped outwards by 5 cm between 25% and 75% of the simulation. The shape controllers use proportional-integral (PI) control, so they remove steady offsets.
from freegsnke.control_loop.pcs import PlasmaControlSystem
tmin = 0.0
tmax = 1.0
waveform_times = np.array([tmin, tmax])
zeros = {"times": waveform_times, "vals": np.zeros(2)}
plasma_data = {
"ip_ref": {"times": waveform_times, "vals": np.full(2, profiles.Ip)},
"vloop_ff": zeros,
"ip_blend": {"times": waveform_times, "vals": np.ones(2)},
"k_prop": {"times": np.array([tmin]), "vals": np.array([-20.0])},
"k_int": {"times": np.array([tmin]), "vals": np.array([-100.0])},
"k_deriv": {"times": np.array([tmin]), "vals": np.array([0.0])},
"M_solenoid": {"times": np.array([tmin]), "vals": np.array([1.0])},
}
initial_shape = dict(zip(ctrl_targets, baseline_descriptors))
shape_data = {}
for target in ctrl_targets:
shape_data[target] = {
"ff": zeros,
"ref": {
"times": waveform_times,
"vals": np.full(2, initial_shape[target]),
},
"blend": {"times": waveform_times, "vals": np.ones(2)},
"k_prop": {"times": np.array([tmin]), "vals": np.array([25.0])},
"k_int": {"times": np.array([tmin]), "vals": np.array([100.0])},
"k_deriv": {"times": np.array([tmin]), "vals": np.array([0.0])},
}
Virtual circuits and electrical limits
The shape virtual circuits are the columns of \(S^+\) (padded with zero on the solenoid), while the plasma-current virtual circuit acts solely on the solenoid. Electrical limits, resistances, and inductances are taken directly from the analytic tokamak object.
n_active = tokamak.n_active_coils
circuits_data = {"coil_order": active_coils}
for target_index, target in enumerate(ctrl_targets):
circuit = np.zeros(n_active)
circuit[1:] = shape_vcs[:, target_index]
circuits_data[target] = {"times": np.array([tmin]), "vals": [circuit]}
circuits_data["plasma"] = {
"times": np.array([tmin]),
"vals": [np.r_[1.0, np.zeros(n_active - 1)]],
}
for coil_name in active_coils:
circuits_data[f"{coil_name}_ref"] = zeros
initial_active = tokamak.getCurrentsVec()[:n_active]
current_margin = np.maximum(5000.0, 2.0 * np.abs(initial_active))
min_current_lims = initial_active - current_margin
max_current_lims = initial_active + current_margin
# the solenoid current is limited to +/-10 kA
solenoid_index = active_coils.index("solenoid")
min_current_lims[solenoid_index] = -10e3
max_current_lims[solenoid_index] = 10e3
systems_data = {
"min_coil_curr_lims": {
"times": [tmin],
"vals": [min_current_lims],
},
"max_coil_curr_lims": {
"times": [tmin],
"vals": [max_current_lims],
},
"max_coil_curr_ramp_lims": {
"times": [tmin],
"vals": [1e12 * np.ones(n_active)],
},
}
for coil_name in active_coils:
systems_data[f"{coil_name}_pert"] = zeros
pf_data = {
"R_matrix": {"times": [tmin], "vals": [tokamak.coil_resist[:n_active]]},
"M_FF_matrix": {
"times": [tmin],
"vals": [tokamak.coil_self_ind[:n_active, :n_active]],
},
"M_FB_matrix": {
"times": [tmin],
"vals": [tokamak.coil_self_ind[:n_active, :n_active]],
},
"coil_gains": {
"times": [tmin],
"vals": [0.015 * np.ones(n_active)],
},
"coil_voltage_lims": {
"times": np.array([tmin]),
"vals": [[2000.0] + [750.0] * (n_active - 1)],
},
"coil_voltage_slew_lims": {
"times": [tmin],
"vals": [1e12 * np.ones(n_active)],
},
}
vertical_data = {
"z_ref": {"times": waveform_times, "vals": np.zeros(2)},
"k_prop": {"times": np.array([tmin]), "vals": np.array([0.0])},
"k_deriv": {"times": np.array([tmin]), "vals": np.array([0.0])},
}
activation_data = {
f"{name}_activation": {
"times": np.array([tmin]),
"vals": np.array([1.0]),
}
for name in active_coils
}
Assemble the PCS
The standard PCS interface is unchanged: symmetry reduction is handled entirely by the evolutive solver.
# build
pcs = PlasmaControlSystem(
plasma_data=plasma_data,
shape_data=shape_data,
shape_control_mode="PID",
circuits_data=circuits_data,
systems_data=systems_data,
pf_data=pf_data,
vertical_data=vertical_data,
coil_activation_data=activation_data,
active_coils=active_coils,
ctrl_coils=active_coils,
vertical_coils=[],
ctrl_targets=ctrl_targets,
plasma_target=["plasma"],
)
# ramp Rx outwards by 5 cm between 25% and 75% of the simulation (the other shape targets are held)
rx_initial = initial_shape["Rx"]
pcs.ShapeController.data["Rx"]["ref"] = {
"times": np.array([tmin, 0.25 * tmax, 0.75 * tmax, tmax]),
"vals": np.array([rx_initial, rx_initial, rx_initial + 0.05, rx_initial + 0.05]),
}
pcs.ShapeController.update_interpolants()
5. Initialise the reduced evolutive solver
In Example 10 we showed that the metals and the plasma are governed by the circuit equation (2) and the plasma equation (3). Linearising the plasma current density about the current equilibrium (equation (4)) gives the state-matrix system
where the eigenvalues of \(A\) are the timescales \(\tau_i\) of the system (\(\tau_i > 0\) unstable, \(\tau_i < 0\) stable). The nl_solver used in Examples 05 and 11 evolves all of these modes (or a subset if needed). This includes the fast, vertically unstable mode, whose short timescale forces a small timestep (0.5 ms in Example 11).
SymmetryReducedSolver removes that mode by exploiting the up-down symmetry of the machine and the equilibrium. Let \(S_m\) be the reflection operator for the metal currents (it swaps each upper/lower partner) and \(S_y\) the reflection of the plasma grid about \(Z = 0\). For an exactly symmetric machine and equilibrium, reflected partners have equal resistances and inductances, and the Jacobians in equation (4) are even fields. The linearised system then commutes with reflection, \(SA = AS\) with \(S = \mathrm{diag}(S_m, 1)\), so the even and odd parts of the state evolve independently: an even perturbation never drives an odd response. The vertical instability is a vertical displacement of the plasma, which is odd, so it lives in the odd part and is removed by keeping only the even part.
How the passive modes are calculated
The passive structures obey the circuit equation (2) with no plasma and no applied voltage:
We form \(A_p = -R_{p,p}^{-1}M_{p,p}\) and solve the eigenproblem
Each eigenvector \(\vec{v}_i\) is a pattern of passive currents that decays as \(e^{t/\tau_i}\). All \(\tau_i\) are negative because the passive structures only dissipate energy. The modes are stored with their decay rates \(1/|\tau_i|\) and sorted from lowest rate (slowest decay) upwards.
For \(n=20\) passive elements, we obtain \(n/2 = 10\) up-down symmetric pairs. The passive reflection operator \(S_p\) is a permutation matrix, built from the pairing found by prepare_up_down_symmetric_machine, that swaps each upper/lower partner. For a pair \((u, l)\):
the \(S_p = +1\) eigenvector is \((e_u + e_l)/\sqrt{2}\): both partners carry the same current, giving flux that is even in \(Z\).
the \(S_p = -1\) eigenvector is \((e_u - e_l)/\sqrt{2}\): the partners carry opposite currents, giving a field that is odd in \(Z\). This is the kind of current that responds to vertical plasma motion.
The 10 pairs therefore give a 10-dimensional even subspace and a 10-dimensional odd subspace. A passive element on the midplane has no partner and contributes to the even subspace only.
We solve the eigenproblem separately in each subspace, so every mode has a definite parity, even when eigenvalues are degenerate. This requires \(S_pA_p = A_pS_p\), which holds when the resistances and inductances are reflection-symmetric. The solver checks this and raises an error if it fails.
What the reduced solver evolves
We keep only (a subset of) the even modes. The metal currents are written as \(\vec{I}_m = P\vec{\alpha}\), where the columns of \(P\) are the active-coil unit vectors and the retained even passive modes (in the following cell, we will retain 6 of the 10 even modes). The odd modes are removed before the plasma coupling is built. The reduced state is then
Substituting \(\vec{I}_m = P\vec{\alpha}\) into equation (5), multiplying by \(P^{-1}R_{m,m}^{-1}\), and dividing equation (6) by the lumped plasma resistance \(R_p\) gives the same equations as Example 10 in the reduced state:
The Jacobians \(\partial\vec{I}_y/\partial\vec{\alpha}\), \(\partial\vec{I}_y/\partial I_p\) and \(\partial\vec{I}_y/\partial\vec{\theta}\) come from Grad-Shafranov solves forced to be even in \(Z\), and are projected with \(\Pi_+ = \tfrac{1}{2}(I + S_y)\) to remove odd round-off. The system is advanced with implicit Euler,
After each step the equilibrium is updated with a Grad-Shafranov solve, and the Jacobians are rebuilt if the plasma current density has changed by more than the relinearisation threshold.
Note: Without the odd modes, the fastest remaining timescales are resistive, which allows a much larger timestep to be taken (recall the small timesteps used in Examples 05 and 11). This is exact only for the linearisation about an even equilibrium in an even machine: the plasma cannot move vertically, so it cannot be used for vertical displacement events or asymmetric scenarios. The timestep cannot be arbitrarily large, however: it must still resolve the retained dynamics, keep the linearisation accurate (the Jacobians are rebuilt whenever the plasma has changed significantly), and be small compared with the timescales and gains used in the virtual PCS.
from freegsnke.symmetry_reduced_solve import SymmetryReducedSolver
# plasma resistivity [Ohm m]: sets how quickly the plasma current decays without control
plasma_resistivity = 1e-8
# initialise the solver object
stepping = SymmetryReducedSolver(
eq=eq,
profiles=profiles,
GSStaticSolver=static_solver,
full_timestep=2.5e-3, # <-- 2.5 ms timestep!
max_internal_timestep=2.5e-3,
plasma_resistivity=plasma_resistivity,
fix_n_vessel_modes=6, # <-- 6/10 retained modes
plasma_descriptor_function=plasma_descriptors,
passive_reflection_operator=passive_reflection_operator,
n_linearization_workers=2,
verbose=False,
)
-----
Checking that the provided 'eq' and 'profiles' are a GS solution...
Forward static solve SUCCESS. Tolerance 2.93e-09 (vs. requested 1.00e-08) reached in 1/100 iterations.
-----
Instantiating nonlinear solver objects...
done.
-----
Identifying mode selection criteria...
'fix_n_vessel_modes' option selected --> passive structure modes that couple most to the strongest passive structure mode are being selected.
-----
Initial mode selection:
Active coils
total selected = 6 (out of 6)
Passive structures
6 selected using 'fix_n_vessel_modes'
Total number of modes = 12 (6 active coils + 6 passive structures)
(Note: some additional modes may be removed after Jacobian calculation if 'mode_removal=True')
-----
Building the 865 x 13 Jacobian (dIy/dI) of plasma current density (inside the LCFS) with respect to all metal currents and the total plasma current.
Building the 865 x 2 Jacobian (dIy/dtheta) of plasma current density (inside the LCFS) with respect to all plasma current density profile parameters within Jtor.
Built the 4 x 13 Jacobian (ds/dI) of plasma descriptors with respect to all metal currents and the total plasma current.
Built the 4 x 2 Jacobian (ds/dtheta) of plasma descriptors with respect to all plasma current density profile parameters within Jtor.
-----
Stability paramters:
No unstable modes found in the retained even-in-Z subspace.
-----
Evolutive solver timestep:
Solver timestep 'dt_step' has been set to 0.0025 as requested.
Odd-in-Z modes are excluded; ensure the timestep resolves the retained even dynamics.
-----
Inspect passive-mode parity and truncation
Open markers show the discarded passive modes (even in blue, odd in orange); filled markers show the even modes retained after parity and mode-count selection (we keep the 6 slowest-decaying even modes). The spatial panels show representative even and odd mode current patterns.
normal_modes = stepping.evol_metal_curr.normal_modes
passive_parity = normal_modes.passive_mode_parity
passive_frequency = normal_modes.w_passive
retained_passive = stepping.evol_metal_curr.selected_modes_mask[n_active:]
passive_centres = np.array(
[
[np.mean(element["R"]), np.mean(element["Z"])]
for element in symmetric_machine.passive_coils_data
]
)
representative_modes = {
"even mode": np.flatnonzero(passive_parity > 0)[0],
"odd mode": np.flatnonzero(passive_parity < 0)[0],
}
fig, axes = plt.subplots(1, 3, figsize=(13, 4))
for parity, label, colour in ((1, "even", "tab:blue"), (-1, "odd", "tab:orange")):
parity_mask = (passive_parity == parity) & ~retained_passive
axes[0].scatter(
np.flatnonzero(parity_mask),
passive_frequency[parity_mask],
facecolors="none",
edgecolors=colour,
label=f"{label}, discarded",
)
retained_indices = np.flatnonzero(retained_passive)
axes[0].scatter(
retained_indices,
passive_frequency[retained_passive],
color="tab:blue",
label="even, retained",
)
axes[0].set_yscale("log")
axes[0].set_xlabel("passive-mode index")
axes[0].set_ylabel("frequency [s$^{-1}$]")
axes[0].set_title("Parity-aware mode selection")
axes[0].grid(True)
axes[0].legend()
for axis, (title, mode_index) in zip(axes[1:], representative_modes.items()):
amplitudes = normal_modes.Pmatrix[
n_active:, n_active + mode_index
]
scale = np.max(np.abs(amplitudes))
points = axis.scatter(
passive_centres[:, 0],
passive_centres[:, 1],
c=amplitudes,
cmap="coolwarm",
vmin=-scale,
vmax=scale,
s=70,
edgecolor="k",
)
axis.axhline(0.0, color="0.6", linewidth=1)
axis.set_aspect("equal")
axis.set_xlabel("R [m]")
axis.set_ylabel("Z [m]")
axis.set_title(title)
fig.colorbar(points, ax=axis, label="relative mode current")
fig.tight_layout()
plt.show()
6. Run the controlled evolution
Next, we’ll run the simulation with a 2.5 ms solver step and a 1.25 ms PCS timestep.
The virtual PCS will return the voltages to be applied to the active coils, which the reduced solver will use to advance the retained metal modes, plasma current, and profile response (and equilibrium!).
The PCS holds the plasma current at its initial value, and all shape targets at their initial values except \(R_x\), which is ramped outwards by 5 cm. The plasma resistivity is set to \(10^{-8}\,\Omega\,\mathrm{m}\), so the resistive loss in plasma current that the solenoid must make up stays within its \(\pm 10\) kA current limit.
# setup and storage
dt = stepping.dt_step
n_steps = int(round((tmax - tmin) / dt)) + 1 # simulate from tmin to tmax
dt_pcs = dt / 2
times = tmin + np.arange(n_steps) * dt
stepping.initialize_from_ICs(eq, profiles)
# keep four equilibrium snapshots, evenly spaced in time, for plotting later
snapshot_indices = np.linspace(0, n_steps - 1, 4).astype(int)
snapshots = {0: stepping.eq1.create_auxiliary_equilibrium()}
# re-linearisation: the solver re-linearises when the relative change in the toroidal current density
# since the last linearisation reaches this threshold (we store this criterion at every step)
relinearise_threshold = 0.05
relinearise_criterion = np.zeros(n_steps - 1)
dynamic_psi = np.zeros((*eq.psi().shape, n_steps))
dynamic_currents = np.zeros((len(stepping.vessel_currents_vec), n_steps))
dynamic_ip = np.zeros(n_steps)
dynamic_shape = np.zeros((len(ctrl_targets), n_steps))
dynamic_z = np.zeros(n_steps)
voltages = np.zeros((n_active, n_steps - 1))
step_times = np.zeros(n_steps - 1)
dynamic_psi[:, :, 0] = stepping.eq1.psi()
dynamic_currents[:, 0] = stepping.vessel_currents_vec
dynamic_ip[0] = stepping.profiles1.Ip
dynamic_shape[:, 0] = plasma_descriptors(stepping.eq1)
dynamic_z[0] = stepping.eq1.Zcurrent()
ip_hist_prev = 0.0
ip_err_prev = 0.0
shape_error_prev = np.zeros(len(ctrl_targets))
shape_history_prev = np.zeros(len(ctrl_targets))
approved_current_prev = initial_active.copy()
approved_voltage_prev = np.zeros(n_active)
# simulate!
for index, time_value in enumerate(times[:-1]):
print("-----")
print(f"t = {np.round(time_value,5)}s (step {index+1}/{n_steps-1})")
result = pcs.calculate_ctrl_voltages(
t=time_value,
dt=dt_pcs,
dt_simulator=dt,
ip_meas=dynamic_ip[index],
ip_hist_prev=ip_hist_prev,
ip_err_prev=ip_err_prev,
T_meas=dynamic_shape[:, index],
T_err_prev=shape_error_prev,
T_hist_prev=shape_history_prev,
I_approved_prev=approved_current_prev,
I_meas=dynamic_currents[:n_active, index],
V_approved_prev=approved_voltage_prev,
zip_meas=dynamic_z[index] * dynamic_ip[index],
zipv_meas=0.0,
active_coil_resists=tokamak.coil_resist[:n_active],
verbose=False,
)
(
approved_voltage,
ip_hist_prev,
ip_err_prev,
shape_error_prev,
shape_history_prev,
approved_current_prev,
active_resistances,
) = result
voltages[:, index] = approved_voltage
approved_voltage_prev = approved_voltage.copy()
start = time.perf_counter()
stepping.nlstepper(
plasma_resistivity=plasma_resistivity,
active_voltage_vec=approved_voltage,
# Lao logic adds one dependent closure coefficient to each stored
# array; the evolutive interface accepts the independent values only.
profiles_parameters={
"alpha": profiles.alpha[:-1].copy(),
"beta": profiles.beta[:-1].copy(),
},
custom_active_coil_resistances=active_resistances,
linear_only=True,
target_relative_tol_currents=1e-2,
target_relative_tol_GS=1e-2,
working_relative_tol_GS=5e-3,
max_solving_iterations=20,
relinearise_threshold=relinearise_threshold,
no_GS=False,
verbose=False,
)
step_times[index] = time.perf_counter() - start
relinearise_criterion[index] = stepping.relinearise_criteria
# dynamic_psi[:, :, index + 1] = stepping.eq1.psi()
dynamic_currents[:, index + 1] = stepping.vessel_currents_vec
dynamic_ip[index + 1] = stepping.profiles1.Ip
dynamic_shape[:, index + 1] = plasma_descriptors(stepping.eq1)
dynamic_z[index + 1] = stepping.eq1.Zcurrent()
if index + 1 in snapshot_indices:
snapshots[index + 1] = stepping.eq1.create_auxiliary_equilibrium()
# print some stuff to track solve
print(f" PLASMA QUANTITIES")
print(f" Ip = {np.round(dynamic_ip[index+1]/1000,1)} [kA]")
print(f" Shape parameters {ctrl_targets} = {np.round(dynamic_shape[:,index+1],3)}")
print(f" Z position = {np.round(dynamic_z[index+1],5)} [m]")
-----
t = 0.0s (step 1/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.228 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0025s (step 2/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.228 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.005s (step 3/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.228 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0075s (step 4/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.228 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.01s (step 5/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.228 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0125s (step 6/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.015s (step 7/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0175s (step 8/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.02s (step 9/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0225s (step 10/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = -0.0 [m]
-----
t = 0.025s (step 11/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0275s (step 12/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.03s (step 13/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0325s (step 14/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.035s (step 15/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0375s (step 16/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.04s (step 17/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0425s (step 18/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.045s (step 19/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0475s (step 20/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.05s (step 21/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0525s (step 22/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.055s (step 23/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0575s (step 24/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.06s (step 25/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0625s (step 26/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.065s (step 27/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0675s (step 28/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.07s (step 29/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0725s (step 30/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.075s (step 31/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0775s (step 32/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.08s (step 33/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0825s (step 34/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.085s (step 35/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0875s (step 36/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.09s (step 37/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0925s (step 38/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.095s (step 39/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.0975s (step 40/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1s (step 41/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1025s (step 42/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.231 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.105s (step 43/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1075s (step 44/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.11s (step 45/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1125s (step 46/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.115s (step 47/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1175s (step 48/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.12s (step 49/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1225s (step 50/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.125s (step 51/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1275s (step 52/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.13s (step 53/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1325s (step 54/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.135s (step 55/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1375s (step 56/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.14s (step 57/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1425s (step 58/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.145s (step 59/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1475s (step 60/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.15s (step 61/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1525s (step 62/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.23 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.155s (step 63/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1575s (step 64/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.16s (step 65/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1625s (step 66/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.165s (step 67/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1675s (step 68/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.17s (step 69/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1725s (step 70/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.175s (step 71/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1775s (step 72/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.18s (step 73/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1825s (step 74/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.185s (step 75/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1875s (step 76/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.19s (step 77/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1925s (step 78/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.195s (step 79/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.1975s (step 80/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2s (step 81/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2025s (step 82/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.205s (step 83/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2075s (step 84/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.21s (step 85/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2125s (step 86/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.215s (step 87/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2175s (step 88/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.22s (step 89/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2225s (step 90/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.225s (step 91/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2275s (step 92/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.23s (step 93/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2325s (step 94/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.235s (step 95/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2375s (step 96/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.24s (step 97/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2425s (step 98/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.245s (step 99/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2475s (step 100/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.25s (step 101/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2525s (step 102/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.255s (step 103/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2575s (step 104/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.26s (step 105/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2625s (step 106/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.265s (step 107/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2675s (step 108/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.27s (step 109/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2725s (step 110/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.81 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.275s (step 111/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.811 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2775s (step 112/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.811 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.28s (step 113/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.811 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2825s (step 114/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.811 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.285s (step 115/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.811 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2875s (step 116/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.811 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.29s (step 117/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.811 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2925s (step 118/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.812 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.295s (step 119/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.812 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.2975s (step 120/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.812 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.3s (step 121/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.812 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.3025s (step 122/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.812 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.305s (step 123/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.813 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.3075s (step 124/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.813 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.31s (step 125/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.813 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.3125s (step 126/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.813 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.315s (step 127/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.813 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.3175s (step 128/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.814 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.32s (step 129/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.229 0.814 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.3225s (step 130/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.229 0.814 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.325s (step 131/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.814 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.3275s (step 132/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.814 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.33s (step 133/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.815 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.3325s (step 134/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.815 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.335s (step 135/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.815 -0.349]
Z position = 0.0 [m]
-----
t = 0.3375s (step 136/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.815 -0.349]
Z position = 0.0 [m]
-----
t = 0.34s (step 137/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.816 -0.349]
Z position = 0.0 [m]
-----
t = 0.3425s (step 138/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.816 -0.349]
Z position = 0.0 [m]
-----
t = 0.345s (step 139/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.816 -0.349]
Z position = 0.0 [m]
-----
t = 0.3475s (step 140/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.228 0.816 -0.349]
Z position = 0.0 [m]
-----
t = 0.35s (step 141/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.817 -0.349]
Z position = 0.0 [m]
-----
t = 0.3525s (step 142/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.817 -0.349]
Z position = 0.0 [m]
-----
t = 0.355s (step 143/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.817 -0.349]
Z position = 0.0 [m]
-----
t = 0.3575s (step 144/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.817 -0.349]
Z position = 0.0 [m]
-----
t = 0.36s (step 145/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.818 -0.349]
Z position = 0.0 [m]
-----
t = 0.3625s (step 146/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.818 -0.349]
Z position = 0.0 [m]
-----
t = 0.365s (step 147/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.818 -0.349]
Z position = 0.0 [m]
-----
t = 0.3675s (step 148/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.818 -0.349]
Z position = 0.0 [m]
-----
t = 0.37s (step 149/400)
Re-linearising around current equilibrium!
Relative relinearisation criteria change = 5.086% (threshold = 5.0%)
Building the 865 x 13 Jacobian (dIy/dI) of plasma current density (inside the LCFS) with respect to all metal currents and the total plasma current.
Building the 865 x 2 Jacobian (dIy/dtheta) of plasma current density (inside the LCFS) with respect to all plasma current density profile parameters within Jtor.
Built the 4 x 13 Jacobian (ds/dI) of plasma descriptors with respect to all metal currents and the total plasma current.
Built the 4 x 2 Jacobian (ds/dtheta) of plasma descriptors with respect to all plasma current density profile parameters within Jtor.
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.819 -0.349]
Z position = 0.0 [m]
-----
t = 0.3725s (step 150/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.819 -0.349]
Z position = 0.0 [m]
-----
t = 0.375s (step 151/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.819 -0.349]
Z position = 0.0 [m]
-----
t = 0.3775s (step 152/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.819 -0.348]
Z position = 0.0 [m]
-----
t = 0.38s (step 153/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.82 -0.348]
Z position = 0.0 [m]
-----
t = 0.3825s (step 154/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.82 -0.348]
Z position = 0.0 [m]
-----
t = 0.385s (step 155/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.82 -0.348]
Z position = 0.0 [m]
-----
t = 0.3875s (step 156/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.227 0.82 -0.348]
Z position = 0.0 [m]
-----
t = 0.39s (step 157/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.226 0.821 -0.348]
Z position = 0.0 [m]
-----
t = 0.3925s (step 158/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.226 0.821 -0.348]
Z position = 0.0 [m]
-----
t = 0.395s (step 159/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.226 0.821 -0.348]
Z position = 0.0 [m]
-----
t = 0.3975s (step 160/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.226 0.821 -0.348]
Z position = 0.0 [m]
-----
t = 0.4s (step 161/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.822 -0.348]
Z position = 0.0 [m]
-----
t = 0.4025s (step 162/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.822 -0.348]
Z position = 0.0 [m]
-----
t = 0.405s (step 163/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.822 -0.348]
Z position = 0.0 [m]
-----
t = 0.4075s (step 164/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.823 -0.348]
Z position = 0.0 [m]
-----
t = 0.41s (step 165/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.823 -0.348]
Z position = 0.0 [m]
-----
t = 0.4125s (step 166/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.823 -0.348]
Z position = 0.0 [m]
-----
t = 0.415s (step 167/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.823 -0.348]
Z position = 0.0 [m]
-----
t = 0.4175s (step 168/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.824 -0.348]
Z position = 0.0 [m]
-----
t = 0.42s (step 169/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.824 -0.348]
Z position = 0.0 [m]
-----
t = 0.4225s (step 170/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.824 -0.348]
Z position = 0.0 [m]
-----
t = 0.425s (step 171/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.824 -0.348]
Z position = 0.0 [m]
-----
t = 0.4275s (step 172/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.825 -0.348]
Z position = 0.0 [m]
-----
t = 0.43s (step 173/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.825 -0.348]
Z position = 0.0 [m]
-----
t = 0.4325s (step 174/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.825 -0.348]
Z position = 0.0 [m]
-----
t = 0.435s (step 175/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.826 -0.348]
Z position = 0.0 [m]
-----
t = 0.4375s (step 176/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.226 0.826 -0.348]
Z position = 0.0 [m]
-----
t = 0.44s (step 177/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.826 -0.348]
Z position = 0.0 [m]
-----
t = 0.4425s (step 178/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.826 -0.348]
Z position = 0.0 [m]
-----
t = 0.445s (step 179/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.827 -0.348]
Z position = 0.0 [m]
-----
t = 0.4475s (step 180/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.827 -0.347]
Z position = 0.0 [m]
-----
t = 0.45s (step 181/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.827 -0.347]
Z position = 0.0 [m]
-----
t = 0.4525s (step 182/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.827 -0.347]
Z position = 0.0 [m]
-----
t = 0.455s (step 183/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.828 -0.347]
Z position = 0.0 [m]
-----
t = 0.4575s (step 184/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.828 -0.347]
Z position = 0.0 [m]
-----
t = 0.46s (step 185/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.828 -0.347]
Z position = 0.0 [m]
-----
t = 0.4625s (step 186/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.828 -0.347]
Z position = 0.0 [m]
-----
t = 0.465s (step 187/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.829 -0.347]
Z position = 0.0 [m]
-----
t = 0.4675s (step 188/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.829 -0.347]
Z position = 0.0 [m]
-----
t = 0.47s (step 189/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.829 -0.347]
Z position = 0.0 [m]
-----
t = 0.4725s (step 190/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.83 -0.347]
Z position = 0.0 [m]
-----
t = 0.475s (step 191/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.83 -0.347]
Z position = 0.0 [m]
-----
t = 0.4775s (step 192/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.83 -0.347]
Z position = 0.0 [m]
-----
t = 0.48s (step 193/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.83 -0.347]
Z position = 0.0 [m]
-----
t = 0.4825s (step 194/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.831 -0.347]
Z position = 0.0 [m]
-----
t = 0.485s (step 195/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.831 -0.347]
Z position = 0.0 [m]
-----
t = 0.4875s (step 196/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.831 -0.347]
Z position = 0.0 [m]
-----
t = 0.49s (step 197/400)
Re-linearising around current equilibrium!
Relative relinearisation criteria change = 5.061% (threshold = 5.0%)
Building the 865 x 13 Jacobian (dIy/dI) of plasma current density (inside the LCFS) with respect to all metal currents and the total plasma current.
Building the 865 x 2 Jacobian (dIy/dtheta) of plasma current density (inside the LCFS) with respect to all plasma current density profile parameters within Jtor.
Built the 4 x 13 Jacobian (ds/dI) of plasma descriptors with respect to all metal currents and the total plasma current.
Built the 4 x 2 Jacobian (ds/dtheta) of plasma descriptors with respect to all plasma current density profile parameters within Jtor.
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.831 -0.347]
Z position = 0.0 [m]
-----
t = 0.4925s (step 198/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.832 -0.347]
Z position = 0.0 [m]
-----
t = 0.495s (step 199/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.832 -0.347]
Z position = 0.0 [m]
-----
t = 0.4975s (step 200/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.832 -0.347]
Z position = 0.0 [m]
-----
t = 0.5s (step 201/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.832 -0.347]
Z position = 0.0 [m]
-----
t = 0.5025s (step 202/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.833 -0.347]
Z position = 0.0 [m]
-----
t = 0.505s (step 203/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.833 -0.347]
Z position = 0.0 [m]
-----
t = 0.5075s (step 204/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.833 -0.347]
Z position = 0.0 [m]
-----
t = 0.51s (step 205/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.834 -0.347]
Z position = 0.0 [m]
-----
t = 0.5125s (step 206/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.834 -0.347]
Z position = 0.0 [m]
-----
t = 0.515s (step 207/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.834 -0.347]
Z position = 0.0 [m]
-----
t = 0.5175s (step 208/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.834 -0.347]
Z position = 0.0 [m]
-----
t = 0.52s (step 209/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.835 -0.347]
Z position = 0.0 [m]
-----
t = 0.5225s (step 210/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.835 -0.347]
Z position = 0.0 [m]
-----
t = 0.525s (step 211/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.835 -0.347]
Z position = 0.0 [m]
-----
t = 0.5275s (step 212/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.835 -0.347]
Z position = 0.0 [m]
-----
t = 0.53s (step 213/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.836 -0.347]
Z position = 0.0 [m]
-----
t = 0.5325s (step 214/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.836 -0.347]
Z position = 0.0 [m]
-----
t = 0.535s (step 215/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.836 -0.347]
Z position = 0.0 [m]
-----
t = 0.5375s (step 216/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.837 -0.347]
Z position = 0.0 [m]
-----
t = 0.54s (step 217/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.837 -0.347]
Z position = 0.0 [m]
-----
t = 0.5425s (step 218/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.837 -0.347]
Z position = 0.0 [m]
-----
t = 0.545s (step 219/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.837 -0.347]
Z position = 0.0 [m]
-----
t = 0.5475s (step 220/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.838 -0.347]
Z position = 0.0 [m]
-----
t = 0.55s (step 221/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.838 -0.347]
Z position = 0.0 [m]
-----
t = 0.5525s (step 222/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.838 -0.347]
Z position = 0.0 [m]
-----
t = 0.555s (step 223/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.838 -0.347]
Z position = 0.0 [m]
-----
t = 0.5575s (step 224/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.839 -0.347]
Z position = 0.0 [m]
-----
t = 0.56s (step 225/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.839 -0.347]
Z position = 0.0 [m]
-----
t = 0.5625s (step 226/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.839 -0.347]
Z position = 0.0 [m]
-----
t = 0.565s (step 227/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.839 -0.347]
Z position = 0.0 [m]
-----
t = 0.5675s (step 228/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.84 -0.347]
Z position = 0.0 [m]
-----
t = 0.57s (step 229/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.84 -0.347]
Z position = 0.0 [m]
-----
t = 0.5725s (step 230/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.84 -0.347]
Z position = 0.0 [m]
-----
t = 0.575s (step 231/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.841 -0.347]
Z position = 0.0 [m]
-----
t = 0.5775s (step 232/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.841 -0.347]
Z position = 0.0 [m]
-----
t = 0.58s (step 233/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.841 -0.347]
Z position = 0.0 [m]
-----
t = 0.5825s (step 234/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.841 -0.347]
Z position = 0.0 [m]
-----
t = 0.585s (step 235/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.842 -0.347]
Z position = 0.0 [m]
-----
t = 0.5875s (step 236/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.842 -0.347]
Z position = 0.0 [m]
-----
t = 0.59s (step 237/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.842 -0.347]
Z position = 0.0 [m]
-----
t = 0.5925s (step 238/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.842 -0.347]
Z position = 0.0 [m]
-----
t = 0.595s (step 239/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.843 -0.347]
Z position = 0.0 [m]
-----
t = 0.5975s (step 240/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.843 -0.347]
Z position = 0.0 [m]
-----
t = 0.6s (step 241/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.843 -0.347]
Z position = 0.0 [m]
-----
t = 0.6025s (step 242/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.844 -0.347]
Z position = 0.0 [m]
-----
t = 0.605s (step 243/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.844 -0.347]
Z position = 0.0 [m]
-----
t = 0.6075s (step 244/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.844 -0.347]
Z position = 0.0 [m]
-----
t = 0.61s (step 245/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.844 -0.347]
Z position = 0.0 [m]
-----
t = 0.6125s (step 246/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.845 -0.347]
Z position = 0.0 [m]
-----
t = 0.615s (step 247/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.845 -0.347]
Z position = 0.0 [m]
-----
t = 0.6175s (step 248/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.845 -0.347]
Z position = 0.0 [m]
-----
t = 0.62s (step 249/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.845 -0.346]
Z position = 0.0 [m]
-----
t = 0.6225s (step 250/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.845 -0.347]
Z position = 0.0 [m]
-----
t = 0.625s (step 251/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.846 -0.347]
Z position = 0.0 [m]
-----
t = 0.6275s (step 252/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.846 -0.347]
Z position = 0.0 [m]
-----
t = 0.63s (step 253/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.846 -0.346]
Z position = 0.0 [m]
-----
t = 0.6325s (step 254/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.846 -0.346]
Z position = 0.0 [m]
-----
t = 0.635s (step 255/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.847 -0.346]
Z position = 0.0 [m]
-----
t = 0.6375s (step 256/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.847 -0.346]
Z position = 0.0 [m]
-----
t = 0.64s (step 257/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.847 -0.346]
Z position = 0.0 [m]
-----
t = 0.6425s (step 258/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.848 -0.346]
Z position = 0.0 [m]
-----
t = 0.645s (step 259/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.848 -0.346]
Z position = 0.0 [m]
-----
t = 0.6475s (step 260/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.848 -0.346]
Z position = 0.0 [m]
-----
t = 0.65s (step 261/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.848 -0.346]
Z position = 0.0 [m]
-----
t = 0.6525s (step 262/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.849 -0.346]
Z position = 0.0 [m]
-----
t = 0.655s (step 263/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.849 -0.346]
Z position = 0.0 [m]
-----
t = 0.6575s (step 264/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.849 -0.346]
Z position = 0.0 [m]
-----
t = 0.66s (step 265/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.849 -0.346]
Z position = 0.0 [m]
-----
t = 0.6625s (step 266/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.85 -0.346]
Z position = 0.0 [m]
-----
t = 0.665s (step 267/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.85 -0.346]
Z position = 0.0 [m]
-----
t = 0.6675s (step 268/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.85 -0.346]
Z position = 0.0 [m]
-----
t = 0.67s (step 269/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.85 -0.346]
Z position = 0.0 [m]
-----
t = 0.6725s (step 270/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.851 -0.346]
Z position = 0.0 [m]
-----
t = 0.675s (step 271/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.851 -0.346]
Z position = 0.0 [m]
-----
t = 0.6775s (step 272/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.851 -0.346]
Z position = 0.0 [m]
-----
t = 0.68s (step 273/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.851 -0.346]
Z position = 0.0 [m]
-----
t = 0.6825s (step 274/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.852 -0.346]
Z position = 0.0 [m]
-----
t = 0.685s (step 275/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.852 -0.346]
Z position = 0.0 [m]
-----
t = 0.6875s (step 276/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.225 0.852 -0.346]
Z position = 0.0 [m]
-----
t = 0.69s (step 277/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.853 -0.346]
Z position = 0.0 [m]
-----
t = 0.6925s (step 278/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.853 -0.346]
Z position = 0.0 [m]
-----
t = 0.695s (step 279/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.853 -0.346]
Z position = 0.0 [m]
-----
t = 0.6975s (step 280/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.853 -0.346]
Z position = 0.0 [m]
-----
t = 0.7s (step 281/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.854 -0.346]
Z position = 0.0 [m]
-----
t = 0.7025s (step 282/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.854 -0.346]
Z position = 0.0 [m]
-----
t = 0.705s (step 283/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.854 -0.346]
Z position = 0.0 [m]
-----
t = 0.7075s (step 284/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.854 -0.346]
Z position = 0.0 [m]
-----
t = 0.71s (step 285/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.855 -0.346]
Z position = 0.0 [m]
-----
t = 0.7125s (step 286/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.855 -0.346]
Z position = 0.0 [m]
-----
t = 0.715s (step 287/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.855 -0.346]
Z position = 0.0 [m]
-----
t = 0.7175s (step 288/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.855 -0.346]
Z position = 0.0 [m]
-----
t = 0.72s (step 289/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.856 -0.346]
Z position = 0.0 [m]
-----
t = 0.7225s (step 290/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.856 -0.346]
Z position = 0.0 [m]
-----
t = 0.725s (step 291/400)
Re-linearising around current equilibrium!
Relative relinearisation criteria change = 5.013% (threshold = 5.0%)
Building the 865 x 13 Jacobian (dIy/dI) of plasma current density (inside the LCFS) with respect to all metal currents and the total plasma current.
Building the 865 x 2 Jacobian (dIy/dtheta) of plasma current density (inside the LCFS) with respect to all plasma current density profile parameters within Jtor.
Built the 4 x 13 Jacobian (ds/dI) of plasma descriptors with respect to all metal currents and the total plasma current.
Built the 4 x 2 Jacobian (ds/dtheta) of plasma descriptors with respect to all plasma current density profile parameters within Jtor.
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.856 -0.346]
Z position = 0.0 [m]
-----
t = 0.7275s (step 292/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.856 -0.346]
Z position = 0.0 [m]
-----
t = 0.73s (step 293/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.857 -0.346]
Z position = 0.0 [m]
-----
t = 0.7325s (step 294/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.857 -0.346]
Z position = 0.0 [m]
-----
t = 0.735s (step 295/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.857 -0.346]
Z position = 0.0 [m]
-----
t = 0.7375s (step 296/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.858 -0.346]
Z position = 0.0 [m]
-----
t = 0.74s (step 297/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.858 -0.346]
Z position = 0.0 [m]
-----
t = 0.7425s (step 298/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.858 -0.346]
Z position = 0.0 [m]
-----
t = 0.745s (step 299/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.858 -0.346]
Z position = 0.0 [m]
-----
t = 0.7475s (step 300/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.859 -0.346]
Z position = 0.0 [m]
-----
t = 0.75s (step 301/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.859 -0.346]
Z position = 0.0 [m]
-----
t = 0.7525s (step 302/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.859 -0.346]
Z position = 0.0 [m]
-----
t = 0.755s (step 303/400)
PLASMA QUANTITIES
Ip = 200.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.859 -0.346]
Z position = 0.0 [m]
-----
t = 0.7575s (step 304/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.86 -0.346]
Z position = 0.0 [m]
-----
t = 0.76s (step 305/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.86 -0.346]
Z position = 0.0 [m]
-----
t = 0.7625s (step 306/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.86 -0.346]
Z position = 0.0 [m]
-----
t = 0.765s (step 307/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.86 -0.346]
Z position = 0.0 [m]
-----
t = 0.7675s (step 308/400)
PLASMA QUANTITIES
Ip = 200.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.861 -0.346]
Z position = 0.0 [m]
-----
t = 0.77s (step 309/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.861 -0.346]
Z position = 0.0 [m]
-----
t = 0.7725s (step 310/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.861 -0.347]
Z position = 0.0 [m]
-----
t = 0.775s (step 311/400)
PLASMA QUANTITIES
Ip = 200.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.861 -0.347]
Z position = 0.0 [m]
-----
t = 0.7775s (step 312/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.861 -0.347]
Z position = 0.0 [m]
-----
t = 0.78s (step 313/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.862 -0.347]
Z position = 0.0 [m]
-----
t = 0.7825s (step 314/400)
PLASMA QUANTITIES
Ip = 200.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.862 -0.347]
Z position = 0.0 [m]
-----
t = 0.785s (step 315/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.862 -0.347]
Z position = 0.0 [m]
-----
t = 0.7875s (step 316/400)
PLASMA QUANTITIES
Ip = 200.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.862 -0.347]
Z position = 0.0 [m]
-----
t = 0.79s (step 317/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.862 -0.347]
Z position = 0.0 [m]
-----
t = 0.7925s (step 318/400)
PLASMA QUANTITIES
Ip = 200.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.862 -0.348]
Z position = 0.0 [m]
-----
t = 0.795s (step 319/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.863 -0.348]
Z position = 0.0 [m]
-----
t = 0.7975s (step 320/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.79 1.224 0.863 -0.348]
Z position = 0.0 [m]
-----
t = 0.8s (step 321/400)
PLASMA QUANTITIES
Ip = 199.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.225 0.863 -0.348]
Z position = 0.0 [m]
-----
t = 0.8025s (step 322/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.225 0.863 -0.348]
Z position = 0.0 [m]
-----
t = 0.805s (step 323/400)
PLASMA QUANTITIES
Ip = 199.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.225 0.863 -0.348]
Z position = 0.0 [m]
-----
t = 0.8075s (step 324/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.225 0.863 -0.349]
Z position = 0.0 [m]
-----
t = 0.81s (step 325/400)
PLASMA QUANTITIES
Ip = 199.7 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.225 0.864 -0.349]
Z position = 0.0 [m]
-----
t = 0.8125s (step 326/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.225 0.864 -0.349]
Z position = 0.0 [m]
-----
t = 0.815s (step 327/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.226 0.864 -0.349]
Z position = 0.0 [m]
-----
t = 0.8175s (step 328/400)
PLASMA QUANTITIES
Ip = 199.6 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.226 0.864 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.82s (step 329/400)
PLASMA QUANTITIES
Ip = 199.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.226 0.864 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.8225s (step 330/400)
PLASMA QUANTITIES
Ip = 199.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.791 1.226 0.864 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.825s (step 331/400)
PLASMA QUANTITIES
Ip = 199.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.227 0.865 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.8275s (step 332/400)
PLASMA QUANTITIES
Ip = 199.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.227 0.865 -0.35 ]
Z position = 0.0 [m]
-----
t = 0.83s (step 333/400)
PLASMA QUANTITIES
Ip = 199.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.227 0.865 -0.351]
Z position = 0.0 [m]
-----
t = 0.8325s (step 334/400)
PLASMA QUANTITIES
Ip = 199.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.228 0.865 -0.351]
Z position = 0.0 [m]
-----
t = 0.835s (step 335/400)
PLASMA QUANTITIES
Ip = 199.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.228 0.865 -0.351]
Z position = 0.0 [m]
-----
t = 0.8375s (step 336/400)
PLASMA QUANTITIES
Ip = 199.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.865 -0.352]
Z position = 0.0 [m]
-----
t = 0.84s (step 337/400)
PLASMA QUANTITIES
Ip = 199.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.792 1.229 0.865 -0.352]
Z position = 0.0 [m]
-----
t = 0.8425s (step 338/400)
PLASMA QUANTITIES
Ip = 199.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.793 1.229 0.865 -0.352]
Z position = 0.0 [m]
-----
t = 0.845s (step 339/400)
PLASMA QUANTITIES
Ip = 199.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.793 1.23 0.865 -0.352]
Z position = 0.0 [m]
-----
t = 0.8475s (step 340/400)
PLASMA QUANTITIES
Ip = 199.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.793 1.23 0.865 -0.353]
Z position = 0.0 [m]
-----
t = 0.85s (step 341/400)
Re-linearising around current equilibrium!
Relative relinearisation criteria change = 5.017% (threshold = 5.0%)
Building the 865 x 13 Jacobian (dIy/dI) of plasma current density (inside the LCFS) with respect to all metal currents and the total plasma current.
Building the 865 x 2 Jacobian (dIy/dtheta) of plasma current density (inside the LCFS) with respect to all plasma current density profile parameters within Jtor.
Built the 4 x 13 Jacobian (ds/dI) of plasma descriptors with respect to all metal currents and the total plasma current.
Built the 4 x 2 Jacobian (ds/dtheta) of plasma descriptors with respect to all plasma current density profile parameters within Jtor.
PLASMA QUANTITIES
Ip = 199.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.793 1.23 0.866 -0.353]
Z position = 0.0 [m]
-----
t = 0.8525s (step 342/400)
PLASMA QUANTITIES
Ip = 199.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.793 1.231 0.866 -0.353]
Z position = 0.0 [m]
-----
t = 0.855s (step 343/400)
PLASMA QUANTITIES
Ip = 199.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.793 1.231 0.866 -0.353]
Z position = 0.0 [m]
-----
t = 0.8575s (step 344/400)
PLASMA QUANTITIES
Ip = 199.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.793 1.231 0.866 -0.354]
Z position = 0.0 [m]
-----
t = 0.86s (step 345/400)
PLASMA QUANTITIES
Ip = 199.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.793 1.232 0.866 -0.354]
Z position = 0.0 [m]
-----
t = 0.8625s (step 346/400)
PLASMA QUANTITIES
Ip = 199.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.232 0.866 -0.354]
Z position = 0.0 [m]
-----
t = 0.865s (step 347/400)
PLASMA QUANTITIES
Ip = 199.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.232 0.866 -0.354]
Z position = 0.0 [m]
-----
t = 0.8675s (step 348/400)
PLASMA QUANTITIES
Ip = 199.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.233 0.866 -0.354]
Z position = 0.0 [m]
-----
t = 0.87s (step 349/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.233 0.866 -0.355]
Z position = 0.0 [m]
-----
t = 0.8725s (step 350/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.233 0.866 -0.355]
Z position = 0.0 [m]
-----
t = 0.875s (step 351/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.234 0.866 -0.355]
Z position = 0.0 [m]
-----
t = 0.8775s (step 352/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.234 0.866 -0.355]
Z position = 0.0 [m]
-----
t = 0.88s (step 353/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.234 0.866 -0.355]
Z position = 0.0 [m]
-----
t = 0.8825s (step 354/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.235 0.866 -0.356]
Z position = 0.0 [m]
-----
t = 0.885s (step 355/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.235 0.866 -0.356]
Z position = 0.0 [m]
-----
t = 0.8875s (step 356/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.235 0.866 -0.356]
Z position = 0.0 [m]
-----
t = 0.89s (step 357/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.235 0.866 -0.356]
Z position = 0.0 [m]
-----
t = 0.8925s (step 358/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.236 0.865 -0.356]
Z position = 0.0 [m]
-----
t = 0.895s (step 359/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.236 0.865 -0.356]
Z position = 0.0 [m]
-----
t = 0.8975s (step 360/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.236 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.9s (step 361/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.237 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.9025s (step 362/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.237 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.905s (step 363/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.237 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.9075s (step 364/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.237 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.91s (step 365/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.238 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.9125s (step 366/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.238 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.915s (step 367/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.238 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.9175s (step 368/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.238 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.92s (step 369/400)
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.239 0.865 -0.357]
Z position = 0.0 [m]
-----
t = 0.9225s (step 370/400)
Re-linearising around current equilibrium!
Relative relinearisation criteria change = 5.003% (threshold = 5.0%)
Building the 865 x 13 Jacobian (dIy/dI) of plasma current density (inside the LCFS) with respect to all metal currents and the total plasma current.
Building the 865 x 2 Jacobian (dIy/dtheta) of plasma current density (inside the LCFS) with respect to all plasma current density profile parameters within Jtor.
Built the 4 x 13 Jacobian (ds/dI) of plasma descriptors with respect to all metal currents and the total plasma current.
Built the 4 x 2 Jacobian (ds/dtheta) of plasma descriptors with respect to all plasma current density profile parameters within Jtor.
PLASMA QUANTITIES
Ip = 198.8 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.239 0.864 -0.357]
Z position = 0.0 [m]
-----
t = 0.925s (step 371/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.239 0.864 -0.358]
Z position = 0.0 [m]
-----
t = 0.9275s (step 372/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.239 0.864 -0.358]
Z position = 0.0 [m]
-----
t = 0.93s (step 373/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.239 0.864 -0.358]
Z position = 0.0 [m]
-----
t = 0.9325s (step 374/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.239 0.864 -0.358]
Z position = 0.0 [m]
-----
t = 0.935s (step 375/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.864 -0.358]
Z position = 0.0 [m]
-----
t = 0.9375s (step 376/400)
PLASMA QUANTITIES
Ip = 198.9 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.864 -0.358]
Z position = 0.0 [m]
-----
t = 0.94s (step 377/400)
PLASMA QUANTITIES
Ip = 199.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.864 -0.357]
Z position = 0.0 [m]
-----
t = 0.9425s (step 378/400)
PLASMA QUANTITIES
Ip = 199.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.863 -0.357]
Z position = 0.0 [m]
-----
t = 0.945s (step 379/400)
PLASMA QUANTITIES
Ip = 199.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.863 -0.357]
Z position = 0.0 [m]
-----
t = 0.9475s (step 380/400)
PLASMA QUANTITIES
Ip = 199.0 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.863 -0.357]
Z position = 0.0 [m]
-----
t = 0.95s (step 381/400)
PLASMA QUANTITIES
Ip = 199.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.863 -0.357]
Z position = 0.0 [m]
-----
t = 0.9525s (step 382/400)
PLASMA QUANTITIES
Ip = 199.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.863 -0.357]
Z position = 0.0 [m]
-----
t = 0.955s (step 383/400)
PLASMA QUANTITIES
Ip = 199.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.863 -0.357]
Z position = 0.0 [m]
-----
t = 0.9575s (step 384/400)
PLASMA QUANTITIES
Ip = 199.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.796 1.24 0.863 -0.357]
Z position = 0.0 [m]
-----
t = 0.96s (step 385/400)
PLASMA QUANTITIES
Ip = 199.1 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.24 0.862 -0.357]
Z position = 0.0 [m]
-----
t = 0.9625s (step 386/400)
PLASMA QUANTITIES
Ip = 199.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.24 0.862 -0.357]
Z position = 0.0 [m]
-----
t = 0.965s (step 387/400)
PLASMA QUANTITIES
Ip = 199.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.24 0.862 -0.357]
Z position = 0.0 [m]
-----
t = 0.9675s (step 388/400)
PLASMA QUANTITIES
Ip = 199.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.24 0.862 -0.357]
Z position = 0.0 [m]
-----
t = 0.97s (step 389/400)
PLASMA QUANTITIES
Ip = 199.2 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.239 0.862 -0.357]
Z position = 0.0 [m]
-----
t = 0.9725s (step 390/400)
PLASMA QUANTITIES
Ip = 199.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.239 0.862 -0.356]
Z position = 0.0 [m]
-----
t = 0.975s (step 391/400)
PLASMA QUANTITIES
Ip = 199.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.239 0.862 -0.356]
Z position = 0.0 [m]
-----
t = 0.9775s (step 392/400)
PLASMA QUANTITIES
Ip = 199.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.239 0.862 -0.356]
Z position = 0.0 [m]
-----
t = 0.98s (step 393/400)
PLASMA QUANTITIES
Ip = 199.3 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.239 0.861 -0.356]
Z position = 0.0 [m]
-----
t = 0.9825s (step 394/400)
PLASMA QUANTITIES
Ip = 199.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.239 0.861 -0.356]
Z position = 0.0 [m]
-----
t = 0.985s (step 395/400)
PLASMA QUANTITIES
Ip = 199.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.239 0.861 -0.356]
Z position = 0.0 [m]
-----
t = 0.9875s (step 396/400)
PLASMA QUANTITIES
Ip = 199.4 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.238 0.861 -0.356]
Z position = 0.0 [m]
-----
t = 0.99s (step 397/400)
PLASMA QUANTITIES
Ip = 199.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.238 0.861 -0.355]
Z position = 0.0 [m]
-----
t = 0.9925s (step 398/400)
PLASMA QUANTITIES
Ip = 199.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.238 0.861 -0.355]
Z position = 0.0 [m]
-----
t = 0.995s (step 399/400)
PLASMA QUANTITIES
Ip = 199.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.795 1.238 0.861 -0.355]
Z position = 0.0 [m]
-----
t = 0.9975s (step 400/400)
PLASMA QUANTITIES
Ip = 199.5 [kA]
Shape parameters ['Rin', 'Rout', 'Rx', 'Zx'] = [ 0.794 1.238 0.861 -0.355]
Z position = 0.0 [m]
7. Inspect the results
Below we plot the plasma current and shape against their reference targets, followed by the active coil currents (with the solenoid’s PCS current limits) and voltages, snapshots of the equilibrium as it evolves, and finally the passive structure currents.
Note the slightly non-physical solenoid current that is compensating a bit for the lack of shaping coils.
t_ms = 1e3 * times
shape_reference = np.array( # reference waveform of each shape target, evaluated at the simulation times
[
np.interp(
times,
pcs.ShapeController.data[target]["ref"]["times"],
pcs.ShapeController.data[target]["ref"]["vals"],
)
for target in ctrl_targets
]
)
t_voltage_ms = 1e3 * times[:-1] # each voltage request is applied from the start of its step
colours = {name: f"C{index}" for index, name in enumerate(active_coils)}
# plasma current and shape: evolved values against their reference targets
ip_reference = np.interp(times, plasma_data["ip_ref"]["times"], plasma_data["ip_ref"]["vals"])
fig, axes = plt.subplots(2, 3, figsize=(12, 6), dpi=80, sharex=True, constrained_layout=True)
ip_axis = axes[0, 0]
shape_axes = [axes[0, 1], axes[0, 2], axes[1, 0], axes[1, 1]]
axes[1, 2].axis("off") # unused
ip_axis.plot(t_ms, dynamic_ip / 1e3, color="k", label="evolved")
ip_axis.plot(t_ms, ip_reference / 1e3, color="tab:red", linestyle="--", label="reference")
ip_axis.set_ylabel(r"Plasma current, $I_p$ [kA]")
ip_axis.legend()
for target_index, (axis, target) in enumerate(zip(shape_axes, ctrl_targets)):
axis.plot(t_ms, dynamic_shape[target_index], color="k", label="evolved")
axis.plot(t_ms, shape_reference[target_index], color="tab:red", linestyle="--", label="reference")
axis.set_ylabel(f"{target} [m]")
for axis in [ip_axis] + shape_axes:
axis.grid(alpha=0.5)
for axis in (axes[0, 2], axes[1, 0], axes[1, 1]):
axis.tick_params(labelbottom=True)
axis.set_xlabel("Time [ms]")
fig.suptitle("Plasma current and shape: evolved against reference")
plt.show()
# active coil currents and voltages (solenoid and shape coils are shown separately)
solenoid = active_coils.index("solenoid")
shape_coil_indices = [index for index in range(n_active) if index != solenoid]
min_current_limits = systems_data["min_coil_curr_lims"]["vals"][0]
max_current_limits = systems_data["max_coil_curr_lims"]["vals"][0]
fig, axes = plt.subplots(2, 2, figsize=(12, 6), dpi=80, sharex=True, constrained_layout=True)
axes[0, 0].plot(t_ms, dynamic_currents[solenoid] / 1e3, color=colours["solenoid"], label="solenoid")
axes[0, 0].axhline(max_current_limits[solenoid] / 1e3, color="tab:red", linestyle="--", linewidth=1, label="PCS limits")
axes[0, 0].axhline(min_current_limits[solenoid] / 1e3, color="tab:red", linestyle="--", linewidth=1)
axes[0, 0].set_ylabel("Solenoid current [kA]")
axes[0, 0].legend()
axes[1, 0].step(t_voltage_ms, voltages[solenoid], where="post", color=colours["solenoid"])
axes[1, 0].set_ylabel("Solenoid voltage [V]")
for index in shape_coil_indices:
name = active_coils[index]
axes[0, 1].plot(t_ms, dynamic_currents[index] - dynamic_currents[index, 0], color=colours[name], label=name)
axes[1, 1].step(t_voltage_ms, voltages[index], where="post", color=colours[name], label=name)
axes[0, 1].set_ylabel("Shape-coil current change [A]")
axes[1, 1].set_ylabel("Shape-coil voltages [V]")
axes[0, 1].legend(ncol=2)
for axis in axes.ravel():
axis.grid(alpha=0.5)
for axis in axes[1]:
axis.set_xlabel("Time [ms]")
fig.suptitle("Active coil currents and voltages")
plt.show()
from matplotlib.lines import Line2D
# evolution of the equilibrium: four snapshots, evenly spaced in time
fig, axes = plt.subplots(1, 4, figsize=(15, 4.5), dpi=80, sharex=True, sharey=True, constrained_layout=True)
initial = snapshots[0]
for axis, index in zip(axes, snapshot_indices):
snapshot = snapshots[index]
snapshot.tokamak.plot(axis=axis, show=False) # plots the active coils and passive structures
snapshot.plot(axis=axis, show=False) # plots the equilibrium and its separatrix
axis.set_title(f"t = {1e3 * times[index]:.0f} ms")
axis.grid(alpha=0.5)
for axis in axes[1:]:
axis.set_ylabel("")
axes[0].set_xlim(eq.Rmin, eq.Rmax) # show the full computational domain, including the coils
axes[0].set_ylim(eq.Zmin, eq.Zmax)
axes[-1].legend(
handles=[
Line2D([], [], color="r", label="separatrix"),
Line2D([], [], color="r", marker="x", linestyle="", label="X-points"),
Line2D([], [], color="g", marker="2", linestyle="", label="O-point"),
],
loc="lower right",
fontsize="small",
)
plt.show()
# passive structure currents (the passive elements follow the active coils in the stored current vector)
passive_currents = dynamic_currents[n_active:]
passive_names = symmetric_machine.passive_names
passive_centres = np.array([[np.mean(element["R"]), np.mean(element["Z"])] for element in symmetric_machine.passive_coils_data])
scale, unit = (1e-3, "kA") if np.max(np.abs(passive_currents)) > 1e3 else (1.0, "A")
fig, (time_axis, space_axis) = plt.subplots(1, 2, figsize=(13, 5), dpi=80, constrained_layout=True)
# time evolution: reflected partners carry identical currents, so only the upper elements are drawn
upper = [index for index, name in enumerate(passive_names) if name.endswith("_upper")]
for colour, index in zip(plt.cm.viridis(np.linspace(0, 1, len(upper))), upper):
time_axis.plot(t_ms, scale * passive_currents[index], color=colour, label=passive_names[index].replace("_upper", ""))
time_axis.set_xlabel("Time [ms]")
time_axis.set_ylabel(f"Passive structure current [{unit}]")
time_axis.set_title("Passive currents (upper elements; the lower partners are identical)")
time_axis.legend(ncol=2, fontsize="small")
time_axis.grid(alpha=0.5)
# spatial distribution at the end of the simulation
limit = scale * np.max(np.abs(passive_currents[:, -1]))
points = space_axis.scatter(
passive_centres[:, 0],
passive_centres[:, 1],
c=scale * passive_currents[:, -1],
cmap="coolwarm",
vmin=-limit,
vmax=limit,
s=120,
edgecolor="k",
zorder=3,
)
space_axis.plot(tokamak.limiter.R, tokamak.limiter.Z, "k-", linewidth=1.2)
space_axis.set_aspect("equal")
space_axis.set_xlabel("Major radius [m]")
space_axis.set_ylabel("Height [m]")
space_axis.set_title(f"Passive currents at t = {t_ms[-1]:.0f} ms")
space_axis.grid(alpha=0.5)
fig.colorbar(points, ax=space_axis, label=f"Passive structure current [{unit}]")
plt.show()
upper_lower_difference = max(
np.max(np.abs(passive_currents[index] - passive_currents[passive_names.index(passive_names[index].replace("_upper", "_lower"))]))
for index in upper
)
print(f"Maximum upper/lower passive current difference: {upper_lower_difference:.2e} A")
Maximum upper/lower passive current difference: 0.00e+00 A
The passive structure currents are even in \(Z\): each upper element carries exactly the same current as its lower partner. The largest changes occur when the \(R_x\) ramp starts and ends.
Finally, we look at the wall-clock time taken by each step of the evolutive solver (this excludes the virtual PCS calculation). The red markers show the steps in which the solver re-linearised, i.e. where the relative change in the toroidal current density since the last linearisation reached the threshold (5%). Re-linearisations are the most expensive steps, as the Jacobians are rebuilt.
# wall-clock time of each evolutive solver step (the virtual PCS calculation is not included)
median_step = np.median(step_times)
t_step_ms = 1e3 * times[1:] # time at the end of each step
relin_steps = np.flatnonzero(relinearise_criterion >= relinearise_threshold) # steps in which the solver re-linearised
fig, (step_axis, total_axis) = plt.subplots(1, 2, figsize=(13, 4.5), dpi=80, constrained_layout=True)
step_axis.semilogy(t_step_ms, step_times, color="k", linewidth=0.8, label="all steps")
step_axis.semilogy(t_step_ms[relin_steps], step_times[relin_steps], "v", color="tab:red", markersize=7, label=f"re-linearisations ({len(relin_steps)})")
step_axis.axhline(median_step, color="tab:blue", linestyle="--", linewidth=1, label=f"median step ({1e3 * median_step:.0f} ms)")
step_axis.set_xlabel("Time [ms]")
step_axis.set_ylabel("Wall-clock time per solver step [s]")
step_axis.set_title("Time per step")
step_axis.legend(loc="lower right")
step_axis.grid(alpha=0.5, which="both")
total_axis.plot(t_step_ms, np.cumsum(step_times), color="k")
for step in relin_steps:
total_axis.axvline(t_step_ms[step], color="tab:red", linestyle=":", linewidth=1)
total_axis.plot([], [], color="tab:red", linestyle=":", label="re-linearisation")
total_axis.set_xlabel("Simulated time [ms]")
total_axis.set_ylabel("Cumulative wall-clock time [s]")
total_axis.set_title(f"Total: {np.sum(step_times):.0f} s for {t_step_ms[-1]:.0f} ms of plasma evolution")
total_axis.legend()
total_axis.grid(alpha=0.5)
plt.show()
print(f"{len(step_times)} steps of {1e3 * dt:.1f} ms | median {1e3 * median_step:.0f} ms | total {np.sum(step_times):.0f} s")
print(f"{len(relin_steps)} re-linearisations, at t = {np.round(1e3 * times[relin_steps], 1)} ms")
400 steps of 2.5 ms | median 21 ms | total 14 s
5 re-linearisations, at t = [370. 490. 725. 850. 922.5] ms