An Interesting Poster to look at from the Tri Alpha Energy Team in California
P. 1
A Current-Vorticity Model for FRC plasma control
S. A. Galkin, J. A. Romero and the TAE Team
TAE Technologies, Inc., 19631 Pauling, Foothill Ranch, CA 92610
Abstract
A current-vorticity MHD model and code have been developed for FRC plasma control applications in the C-2W device [1]. The model uses a flexible filtering technique to restrict the frequency bandwidth of the simulations to the control bandwidth of interest. For dynamic systems written in the state space form π₯αΆ = πΉ π₯, π‘ + π(π‘), we propose an algorithm based on a frequency domain eingenvalue analysis to remove frequency components above a certain frequency threshold of interest, typically determined by the desired control bandwidth. For small systems of a few states this filtering technique works effectively. For systems with a large number of states, a direct calculation of the Jacobian and its eigenvalues becomes impracticable, so we have developed a modified method which reduces the number of states (shrinking to a small system), filters and reconstructs the original high order system using a Gaussian Process inversion technique. The main purpose of the plasma model is to be applied to control system design, whose function is to maintain macroscopic plasma parameters such as shape, position, elongation, etc. at prescribed values. Details of the model and simulations will be presented.
A current-vorticity MHD model
βΌ The 2D non-linear dynamic integral-differential reduced MHD model written in the state space form π₯αΆ = πΉ π₯, π‘ + π(π‘) for plasma control application includes:
βΌ four differential governing equations: for the plasma current density π , for vorticity Ο, for induced currents in
magnets/wall Iext and for mass density Ο: ππππ=ββ (πΓπ©)βππ
Active high frequency filtering algorithm
Practical form of filtering algorithm
We can find a linear operator C, which provides such behavior near x0:
Single plasma current loop inside C-2W device
Magnetic system of C-2W (magnets and conducting CV) was used for simulation of one single plasma loop dynamics
βΌ
βΌ Linearization of the non-linear operator F(x) near x0 can be done with
βΌ βΌ βΌ βΌ βΌ
ΰ·©
πΆπΉπ₯ =π½π₯+π
(π₯)
βΌ
Consider non-linear dynamic system
00
π₯αΆ = πΉ(π₯)
πΉ π₯ βπΉ π₯0 +π½(π₯0)(π₯βπ₯0)
Substituting F from the Taylor expansion, with some algebra we get:
Jacobian operator J(x0)
βΌ The Jacobian matrix can be presented through a diagonal matrix Ξ of its
Therefore we have the modified filtered dynamic system:
ΰ·© β1 π₯αΆ=πΆπΉπ₯=π½π½ πΉ(π₯)
eigenvalues and left eigenfunction matrix U as π½ =πβ1Ξπ
βΌ use a threshold Οcrit to separate low frequency spectrum from
undesirable high end of the oscillating spectrum. It can be done for all
ΰ·© 00βΌ
There are higher frequency oscillations of r(t) and lower frequency in z(t). Plasma current and induced eddy currents in the CV contain high frequency oscillations. Simulation with I (0)=0.3MA, for r(t),
0
The filtering algorithm for the original non-linear dynamic system consist of finding the Jacobian J and the filtered Jacobian, defined by
p z(t), Ip(t) and Icv(t) - all red curves, blue β filtered with Οcrit =5kHz threshold.
not growing eigenvalues with Re(Ξ)β€0 and |Im(Ξ)|> Οcrit by replacing ΰ·©
until t0+ΞT, after that both Jacobians should be recomputed and solution is continued. Value of ΞT depends on properties of the original system and might vary from a few time steps to many time steps.
2D linear harmonic oscillator
Consider 2D linear harmonic oscillator with coordinates x(t), y(t) and velocity vx(t), vy(t), with coefficients k:
ππ£αΆ =βπ π₯βπ π¦βπ π£ π₯ π₯π₯ π₯π¦ π₯π£π₯
ππ£αΆ =βπ π¦βπ π₯βπ π£ π¦ π¦π¦ π¦π₯ π¦π£π¦
The system has βlowβ and βhighβ frequency spectrum if we choice kxx>>kyy. Filter with Οcrit β0.5(Οlow +Οhigh) suppresses high frequency oscillations with dumping and reproduces low frequency oscillations.
Figure. Results with kxx/kyy=100. Original (red) and filtered (blue) solutions. Both original and filtered y(t) coincides (bottom plot)
2D non-linear harmonic oscillator
πΆ=π½π½ 00
ΰ·© β1
The system can be solved in two steps:
π½ π’ = πΉ π₯ , π₯αΆ = π½ π’ (*)
0
Οcrit, then solution to the system (*). Such filtered solution will be valid
00
their imaginary parts with 0. Therefore we get filtered Ξ and can reconstruct a filtered Jacobian
ΰ·© β1ΰ·©
π½ =π Ξπ
0
βΌ Desired filtered behavior of the system near x0 is then governed by:
ΰ·©
π₯αΆ = π½ π₯ + π
(π₯ )
00
Linear harmonic oscillator
βΌ Linear harmonic oscillator, which has analytic solution, is a good starting test for the filtering algorithm:
βΌ
βΌ
βΌ
Fast oscillations were completely suppressed, slow spectrum dynamics was resolved. Accuracy: see the original and the filtered z(t) on the same plot. Amplitude and phase of the filtered solution slightly diverge in time, but many period were computed and time interval ΞT for Jacobian refreshing was pretty large: ΞT=100dt, dt - time stepping.
Filtering of large system
βΌ
π₯α· + 2ππ π₯αΆ + π2π₯ = 0 00
Analytic solution contains one frequency and dumping. In this case we cannot separate βlowβ and βhighβ frequencies but we can suppress oscillating solution to critical dumping solution:
Figure. Analytic solution was reproduced numerically (red curve) and critical dumping was computed with the filtering algorithm (blue curve)
Non-linear oscillator
Non-linear 1D oscillator (an analytic solution maybe unknown):
π₯α· + 2ππ π₯αΆ + π2π₯3 = 0 0 0
We expect to see βcritical dumpingβ if the filtering is applied. computed solution (red curves) exposes more complex behavior then linear oscillator. Computed filtered solution (blue curves) can be considered as βdumpedβ solution to non-linear oscillator.
Figure.Computedoriginal(red curves) and filtered (dumped β blue curves) solutions to non-linear oscillator
π
βΌ For large system (hundreds of thousand equations) computing of Jacobian becomes impractical. Large system can be clustered to a small system of cluster equations, which can be filtered effectively.
βΌ Clustering can be done with a linear projector operator P acting on large vector-column {x}N of size N and transferring it into much smaller vector {y}K , K<<N: π¦ = ππ₯.
βΌ We apply the filter to small cluster system with Jacobian j0 and then reconstruct filtered solution to the
original system either with MooreβPenrose inverse (or pseudoinverse, P+) or Gaussian exponential
covariance pseudoinverse [2] (or g-pseudoinverse, P +): g
αΆ +ΰ·©β1 π₯ΰ·€=π(π0π0 ππΉ(π₯))
Ongoing work and future plans
βΌ For current-vorticity model in integral-differential form, the Jacobean can be computed analytically. This was done and the analytic Jacobian is under testing now.
βΌ Choice of clustering projector operator P as well as Gaussian exponential covariance pseudoinverse P +
can be optimized for better accuracy. This is ongoing and future plan.
βΌ Accuracy of the filtering algorithm can be further improved with Gaussian matrix inversion also.
βΌ The filtered current-vorticity model will be incorporated into plasma control system of C-2W and future
machine.
References
βΌ [1] H. Gota et al., Nucl. Fusion 59, 112009 (2019).
βΌ [2] J. Romero et al. Inference of field reversed configuration topology and dynamics during Alfvenic
transients. Nature communications 9, 691 (2018)
0ππ‘ π π π
ππ π£ππ π =βπβπ»π+ π + π΅π/π+ π΅π/π
ππ‘ π πππ ππ§π§
πππΌππ₯π‘=βπ
πΌ βππ ππΌ+π ππ ππ‘ ππ₯π‘ ππ₯π‘ ππ‘ ππ₯π‘
ππ‘ = βπ β π»π
βΌ integral (matrix) equations for the magnetic flux and field: π=ππΌ+π πΌ
βΌ βΌ
βΌ
βΌ
2D non-linear harmonic oscillator with coordinates x(t), y(t) and velocity v (t), v (t), with coefficients k:
π΅ = π πΌ + π πΌ
π π ππ₯π‘π ππ₯π‘
π΅=ππΌ+π πΌ
π§ π§ ππ₯π‘π§ ππ₯π‘
βΌ integral (matrix) equations for plasma velocity: π£ =ππ
g
π ππ₯π‘ ππ₯π‘
ππ£αΆ =βπ π¦ βπ π¦π₯βπ π£ π¦ π¦π¦ π¦π₯ π¦π£π¦
xy3
ππ£αΆ =βπ π₯ βπ π₯π¦βπ π£
π₯ π₯π₯ π₯π¦ π₯π£π₯
3
βLowβ and βhighβ frequency spectrum exist if we consider large enough ratio of coefficients. For the simulations below kxx/kyy=104 was used.
Figure. Unfiltered solution x(t), y(t), vx(t), vy(t) β all reds; filtered solution β all blues, filtering was applied after 5 sec.
ππ
π£ = π π π§π
βΌ Proper
integral form, initial conditions complete the model.
into the
boundary conditions
have been
included