Abstract
Motivated by the task to design quench protection systems for superconducting magnets in particle accelerators we address a coupled field/circuit simulation based on a magneto-quasistatic field modeling. We investigate how a waveform relaxation of Gauß-Seidel type performs for a coupled simulation when circuit solving packages are used that describe the circuit by the modified nodal analysis. We present sufficient convergence criteria for the coupled simulation of FEM discretised field models and circuit models formed by a differential-algebraic equation (DAE) system of index 2. In particular, we demonstrate by a simple benchmark system the drastic influence of the circuit topology on the convergence behavior of the coupled simulation.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
1 Introduction
Lumped circuit models, such as modified nodal analysis (MNA), are well-established in electrical engineering. However, they neglect the spatial dimension and therefore distributed phenomena like the skin effect. For certain devices, this may lead to inaccuracies of unacceptable magnitude in the simulation, e.g. for electric machines [14] or the quench protection system of superconducting magnets in particle accelerators [1]. These cases call for field/circuit coupling [2, 16]. To solve such coupled systems, it is often advisable to use waveform relaxation (WR) [7], since this iterative method allows for dedicated step sizes and suitable solvers for the different subsystems, and even for the use of proprietary blackbox solvers. The coupled field/circuit model considered here is a DAE in the time domain after space discretisation of the field system. It is well-known that WR can suffer from instabilities for DAEs unless an additional contraction criterion is satisfied [7, 12]. This work presents coupled field/circuit models, which are DAEs of index 2 [5], for the case where WR is convergent and the case where it diverges. Furthermore, generalizing a convergence criterion of [12], a topological and easy-to-check criterion is provided. Finally, we present numerical simulations verifying the topological convergence criterion.
2 Field/Circuit Model
To describe the electromagnetic (EM) field part, we consider a magnetoquasistatic approximation of Maxwell’s equations in a reduced magnetic vector potential formulation [4]. This leads to the curl-curl eddy current partial differential equation (PDE). The circuit side is formulated with the MNA [6]. For the numerical simulation of the coupled system, the method of lines is used with a finite element (FE) discretisation. Altogether, this leads to a time-dependent coupled system of DAE initial value problems (IVPs), described by
The first Eq. (1) represents the space-discrete field model based on the matrices
which follow from the Ritz-Galerkin approach using a finite set of Nédélec basis functions ω i [10] defined on the domain Ω; σ denotes the space-dependent electric conductivity and ν(a) the magnetic reluctivity that can additionally depend nonlinearly on the unknown magnetic vector potential a. The current through the field device is described by i m. The excitation matrix is computed from a winding density function χ j modelling the j-th stranded conductor [15] as
Definition 1
A function \(f:\mathbb {R}^n\to \mathbb {R}^n\) is strongly monotone and a square matrix M(x) is uniformly positive definite, if
The space-discretization is supposed to meet the following properties.
Assumption 2
It holds (a) M is symmetric, (b) the matrix pencil λM + K is symmetric and positive definite for λ > 0, (c) X has full column rank and (d) the function a↦K(a)a is strongly monotone.
The assumptions are in agreement with previous formulation in the literature, e.g. [3, 15]. The first Assumption 2a follows naturally if a Ritz-Galerkin formulation (3) is chosen. The second Assumption 2b will be guaranteed by appropriate boundary and gauging conditions. Thirdly, the full column rank Assumption 2c follows from the fact that the columns are discretisations of different coils that are located in spatially disjoint subdomains. Finally, the monotonicity Assumption 2d follows from the strong monotonicity of the underlying nonlinear material law, i.e. the BH-curve [13]. In general, the field model is a multiport element such that the circuit coupling is established via multiple currents and voltages, i.e., vector-valued i m and v c. However, for simplicity of notation we assume a two-terminal device in the following.
The circuit Eq. (2) can be expanded into
using the definitions \(\mathscr L_C(e):=A_C C(A_C^\top e)A_C^\top \), \(g_R(e):=A_R g(A_R^\top e)\) and x = (e, i L, i V) where A ⋆ are the usual incidence matrices and L(⋅), C(⋅) are state-dependent square matrices describing inductances and capacitances. The position of the field device in the circuit is described by A m, and the voltage over the device by v c. The function g(⋅) describes the voltage–current relation of resistive elements and q i, q v are the input current and voltage. Finally, x collects all node potentials e, currents through branches with voltage sources i V and inductors i L. The circuit system shall fulfill the following properties:
Assumption 3
It holds (a) g, C and L are Lipschitz continuous, g is strongly monotone and C, L are uniformly positive definite, (b) q i and q v are continuously differentiable, (c) A V has full column rank and \(\begin {pmatrix}A_C&A_V&A_R&A_L\end {pmatrix}\) has full row rank.
Assumption 3a reflects the global passivity of the respective elements [8]. Considering well-known relations between incidence matrices and circuit topology, Assumption 3c excludes the electrically forbidden configurations of loops of voltage sources and cutsets of current sources [5].
3 Waveform Relaxation and Convergence
We consider the Gauß-Seidel WR method. Applied to the coupled system (1)–(2) for given consistent initial values, this yields the scheme
The coupling variables are the current through and the voltage over the field device i m and v c, where \(i_m^k\) is computed in (6) and is then given to (7) as input, and vice versa for \(v_c^k\). The superscript k denotes the iteration index. A common choice for the initial guess \(v_c^{0}\) is constant extrapolation of the initial value.
We shall proceed as follows:
-
1.
Lemmata 4 and 6 provide a DAE-decoupling of the EM field DAE (1) and the MNA DAE (2), respectively.
-
2.
Definition 5 introduces the concept of parallel CVR paths. Assuming their existence and exploiting the previous decoupling Lemmata, Lemma 7 yields a DAE-decoupling of the coupled WR iteration (6)–(7). Notably, it reveals the structure of its inherent ODE, given by ϕ in Eq. (11).
-
3.
The convergence Theorem 8 is a simple consequence of the previous Lemmata; it shows that the existence of parallel CVR paths guarantees convergence of the WR scheme (6)–(7).
For visual reasons, we shall write column vectors as (a, b, c).
Lemma 4
Let Assumption 2 hold. Then, for a given source term v c , there exists a coordinate transformation (w, u) = T −1 a and a system of the form
such that (a, i m) solves Eq. (1) if and only if (u, w, i m) solves Eq. (8).
Proof
For better readability and shortness we present the proof only for the slightly more restrictive case where X ⊤ M = 0, which is usually satisfied.
We equivalently transform the field DAE with new coordinates Tα = a:
The transformation matrix \(T:=(T_{\ker }\ X\ T_\perp )\) is constructed such that the columns of \(T_{\ker }\) and T ⊥ form a basis of \(\ker M\cap \ker X^\top \) and \((\ker M)^\perp \), respectively. It is nonsingular indeed, since its construction and Assumption 2 combined with X T M = 0 guarantee that \(\text{im}X\perp \text{im}T_{\ker }\) and \(\text{im}T_\perp \perp \text{im}(T_{\ker }\ X)\).
With α = (w, u) and u = (u 1, u 2), the transformed DAE (9) has the detailed form
The underlined matrices are nonsingular due to Assumption 2, and Eq. (8) is obtained by inversion and insertion.
Definition 5
A CVR path in a circuit is a path which consists of only capacitances, voltages sources and resistances. An element has a parallel CVR path, if its incident nodes are connnected by a CVR path.
Lemma 6
Let Assumption 3 hold. Then, for a given source term i m , there exists a coordinate transformation (y, z 1, z 2) = T −1 x and a system of the form
with f 0, g 1, g 2 uniformly globally Lipschitz continuous ∀t and g 2 ∈ C 1 such that
-
1.
(x, v c) solves Eq. (2) if and only if (y, z 1, z 2, v c) solves Eq. (10),
-
2.
QP = 0 if each EM field element has a parallel CVR-path.
A detailed proof can be found in [11], where Q is shown to have the form (Q 1 ∗ ∗) with \(\text{im}Q_1=\ker (A_C\ A_V\ A_R)^\top \). Hence, if each field element has a parallel CVR-path, each column of A m can be written as a sum of columns of (A C A V A R) and it follows Q 1 A m = 0, thus QP = 0.
Lemma 7
Let Assumptions 2 and 3 hold. If each EM field element has a parallel CVR path, then there exists a coordinate transformation (r, s) = T −1(a, x) and a system of the form
with ϕ uniformly globally Lipschitz continuous ∀t and ϕ, φ continuous such that \((a^k,i_m^k,x^k,v_c^k)\) solves Eqs. (6)–(7) if and only if (s k, r k) solves Eq. (11).
Proof
We apply Lemmata 4, 6 to the iterated subsystems (6), (7). This yields an equivalent system
Since each field element has a parallel CVR path, \(z_2^k=g(t)\) does not depend on u k anymore.
We insert \(v_c^{k-1}=P^\top x^{k-1}=P^\top T(y^{k-1},z_1^{k-1},z_2^{k-1})\) and \(z_1^{k-1}\) and \(z_2^{k-1}\) therein to obtain, with \(\tilde g_1(t,y^{k-1},u^{k-1})=g_1(t,y^{k-1},g_2(t),\dot g_2(t),u^{k-1})\),
Insertion of \(z_1^k,z_2^k,\dot z_2^k\) into f 0 yields
Hence, defining s k := (u k, y k) and ϕ := (ϕ 1, ϕ 2), the sequence (u k, y k) is given implicitly by an ODE recursion of the form \(\dot s^k=\phi (t,s^k,s^{k-1})\).
The algebraic constraint of Eq. (11) is obtained with \(r^k=(w^k,i^k,z_1^k,z_2^k,v_c^k)\), s k = (u k, y k) and
Clearly, (s k, r k) solves Eq. (11) if and only if \(\tilde \alpha ^k:=(u^k,w^k,i_m^k,y^k,z_1^k,z_2^k,v_c^k)\) solves Eqs. (12)–(14), and \(\tilde \alpha ^k\) solves (12)–(14) if and only if \((a^k,i_m^k,x^k,v_c^k)\) solves Eqs. (6)–(7).
We deduce the main result of this work:
Theorem 8
If each EM field element of the coupled system (1)–(2) has a parallel CVR path, then the WR scheme (6)–(7) is uniformly convergent to the exact solution of (1)–(2).
Proof
The ODE part of Eq. (11) is a WR scheme for ODEs with Lipschitz continuous vector field ϕ. It is well-known that such schemes are unconditionally convergent on bounded time intervals [7]. The convergence of s k clearly implies the convergence of (s k, r k) defined by (11). Due to the equivalence provided by Lemma 7, it follows that the original scheme (6)–(7) is convergent.
Remark 9
The convergence result holds for arbitrary continuous initial guesses x 0 and for bounded intervals of arbitrary size, see e.g. [7, 11].
Remark 10
The MNA decoupling given in Lemma 6 shows that g 1 depends on z 2 and the derivative \(\dot z_2\). Hence, the system is most sensitive to perturbations of z 2. The input of the EM field subsystem in the WR scheme is in fact a perturbation. Therefore, the condition QP = 0 from Lemma 6 is crucial to derive Theorem 8. If at least one EM field element has no parallel CVR path, then QP ≠ 0. Then, analogously to Lemma 7 and its proof, we find \(\dot s^k=\phi (t,s^k,s^{k-1},\dot s^{k-1})\), which is guaranteed to converge only if ϕ is contractive in \(\dot s^{k-1}\), see [7, 11].
4 Numerical Examples
To illustrate the convergence behaviour of the WR scheme according to the derived criteria, we consider the toy example circuits in Fig. 2a and b. Both are described with MNA (2) and the (arbitrary) parameters R = 1Ω, L = 5H, C = 1F, \(i_{\mathrm {s}}(t)=\sin {}(2t)+5\sin {}(20t)\) and \(v_{\mathrm {s}}(t)=\sin {}(t)+\sin {}(20t)\) are set. The eddy current Eq. (1) is solved on the single phase isolation transformer shown in Fig. 1. For simplicity, a zero current is imposed on the secondary coil (dark orange) and only the primary coil is coupled to the circuit.
The WR algorithm is applied on the simulation time window \(\mathscr {I} = [0\;0.8]\,\)s and the internal time integration is performed with the implicit Euler scheme with time step size δt = 10−2 s. The theoretical result is illustrated by the successful simulation, see Fig. 3a, of the model shown in Fig. 2a which satisfies the convergence criterion of Theorem 8. However, numerical simulations of the model shown in Fig. 2b show that WR can diverge indeed if the criterion is not satisfied (Fig. 3).
5 Conclusions
In this work, we have presented a space-discretised coupled field/circuit model, which is a DAE of index 2, and a simulation of this model by means of WR. Furthermore, we have provided an easy-to-check topological convergence criterion for a class of coupled DAE/DAE systems of index 2.
References
L. Bortot et al., STEAM: a hierarchical co-simulation framework for superconducting accelerator magnet circuits. IEEE Trans. Appl. Super. 28(3) (2018). 4900706
I. Cortes Garcia et al., Optimized field/circuit coupling for the simulation of quenches in superconducting magnets. IEEE J. Multiscale Multiphys. Comput. Tech. 2(1), 97–104 (2017)
I. Cortes Garcia, H. De Gersem, S. Schöps, A structural analysis of field/circuit coupled problems based on a generalised circuit element. Numer. Algorithm. 83(1), 373–394 (2020)
C.R.I. Emson, C.W. Trowbridge, Transient 3d eddy currents using modified magnetic vector potentials and magnetic scalar potentials. IEEE Trans. Magn. 24(1), 86–89 (1988)
D. Estévez Schwarz, C. Tischendorf, Structural analysis of electric circuits and consequences for MNA. Int. J. Circ. Theor. Appl. 28(2), 131–162 (2000)
C.-W. Ho, A.E. Ruehli, P.A. Brennan, The modified nodal approach to network analysis. IEEE Trans. Circ. Syst. 22(6), 504–509 (1975)
E. Lelarasmee, A.E. Ruehli, A.L. Sangiovanni-Vincentelli, The waveform relaxation method for time-domain analysis of large scale integrated circuits. IEEE Trans. Comput. Aided Des. Integr. Circ. Syst. 1(3), 131–145 (1982)
M. Matthes, Numerical Analysis of Nonlinear Partial Differential-Algebraic Equations: A Coupled and an Abstract Systems Approach. Dissertation, Universität zu Köln, 2012
D. Meeker, Finite Element Method Magnetics, version 4.2 (25feb2018 build) edition, 2018
P. Monk, Finite Element Methods for Maxwell’s Equations (Oxford University Press, Oxford, 2003)
J. Pade, Analysis and waveform relaxation for a differential-algebraic electrical circuit model. Dissertation, Humboldt University of Berlin, 2021
J. Pade, C. Tischendorf, Waveform relaxation: a convergence criterion for differential-algebraic equations. Numer. Algorithm. 81, 1327–1342 (2019)
C. Pechstein, Multigrid-Newton-methods for nonlinear-magnetostatic problems. Master’s thesis, Universität Linz, 2004
S.J. Salon, Finite Element Analysis of Electrical Machines (Kluwer, Boston, 1995)
S. Schöps, Multiscale Modeling and Multirate Time-Integration of Field/Circuit Coupled Problems (VDI Verlag. Fortschritt-Berichte VDI, Reihe, 2011)
S Schöps, H. De Gersem, A. Bartel, A cosimulation framework for multirate time-integration of field/circuit coupled problems. IEEE Trans. Magn. 46(8), 3233–3236 (2010)
Acknowledgements
This work is supported by the ‘Excellence Initiative’ of the German Federal and State Governments, the Graduate School of CE at TU Darmstadt and DFG grant SCHO1562/1-2. Further, we acknowledge financial support under BMWi grant 0324019E and by DFG under Germany’s Excellence Strategy – The Berlin Mathematics Research Center MATH+ (EXC-2046/1, ID 390685689).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Garcia, I.C., Pade, J., Schöps, S., Tischendorf, C. (2021). Waveform Relaxation for Low Frequency Coupled Field/Circuit Differential-Algebraic Models of Index 2. In: van Beurden, M., Budko, N., Schilders, W. (eds) Scientific Computing in Electrical Engineering. Mathematics in Industry(), vol 36. Springer, Cham. https://doi.org/10.1007/978-3-030-84238-3_20
Download citation
DOI: https://doi.org/10.1007/978-3-030-84238-3_20
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-84237-6
Online ISBN: 978-3-030-84238-3
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)