원시데이터 수집 시스템
선정목록으로

Learning Solutions for Electromagnetic Problems Using RBF Network-Based FE-LSSVM

관련 필름·전자재료 · (18) VENT(방수통기 부품)

기본 정보

저자
  1. Xiaoming Han — School of Electrical Engineering, Dalian University of Technology, Dalian, China
  2. Zheng Liu — School of Electrical Engineering, Dalian University of Technology, Dalian, China
  3. Jinjun Wang — School of Electrical Engineering, Dalian University of Technology, Dalian, China
  4. Ziku Wu — Science and Information College, Qingdao Agricultural University, Qingdao, China
  5. Guofeng Li — School of Electrical Engineering, Dalian University of Technology, Dalian, China
  6. Yan Wu — School of Electrical Engineering, Dalian University of Technology, Dalian, China
DOI
10.1109/access.2019.2922292
저널
IEEE Access
발행년도
2019
발행기관
Institute of Electrical and Electronics Engineers
피인용수
5
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2019.2922292
토픽
Composite Structure Analysis and Optimization
OpenAlex ID
W2952498200

평가 내용

관련도
관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > VENT(방수통기 부품)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Solutions to most electromagnetic problems use numerical methods, such as the finite element method (FEM), element free method (EFM), and soft computing method. To decrease the computational complexities of these methods, this paper presents an approach for solving electromagnetic problems, called radial basis function (RBF) network-based finite element least square support vector machine (FE-LSSVM). First, the expansion of approximate solutions by the proposed method uses the same structure as the RBF network method. Second, governing equations of electromagnetic problems are transformed to weak integral forms and variational formulations of FEM. Finally, Dirichlet boundary conditions are handled in the LS-SVM framework, which are considered as constraints of an optimization problem. By the Lagrange multiplier method, the quadratic programming problem can be transformed to a problem requiring the solution of a system of equations. The advantages of the proposed method are to directly satisfy the natural boundary conditions of the electromagnetic equations and remarkably improve the calculation accuracy. To verify the efficiency of the method, four categories of electromagnetic problems are investigated by using the proposed method. An analytical method and FEM are also carried out as comparisons to prove the advantages of the method proposed in this paper.

본문 70,002자

본문 펼치기
Received April 18, 2019, accepted May 29, 2019, date of publication June 12, 2019, date of current version July 2, 2019. _Digital Object Identifier 10.1109/ACCESS.2019.2922292_ # Learning Solutions for Electromagnetic Problems Using RBF Network-Based FE-LSSVM XIAOMING HAN <sup>1</sup>, ZHENG LIU <sup>1</sup>, JINJUN WANG <sup>1</sup>, ZIKU WU <sup>2</sup>, GUOFENG LI 1, AND YAN WU1 1School of Electrical Engineering, Dalian University of Technology, Dalian 116024, China 2Science and Information College, Qingdao Agricultural University, Qingdao 266109, China Corresponding author: Guofeng Li (guofenli@dlut.edu.cn) The work was supported in part by the National Natural Science Youth Foundation of China, under Grant 51607023 and in part by Liaoning Province Natural Science Foundation under Grant 20170540179. ABSTRACT Solutions to most electromagnetic problems use numerical methods, such as the finite element method (FEM), element free method (EFM), and soft computing method. To decrease the computational complexities of these methods, this paper presents an approach for solving electromagnetic problems, called radial basis function (RBF) network-based finite element least square support vector machine (FELSSVM). First, the expansion of approximate solutions by the proposed method uses the same structure as the RBF network method. Second, governing equations of electromagnetic problems are transformed to weak integral forms and variational formulations of FEM. Finally, Dirichlet boundary conditions are handled in the LS-SVM framework, which are considered as constraints of an optimization problem. By the Lagrange multiplier method, the quadratic programming problem can be transformed to a problem requiring the solution of a system of equations. The advantages of the proposed method are to directly satisfy the natural boundary conditions of the electromagnetic equations and remarkably improve the calculation accuracy. To verify the efficiency of the method, four categories of electromagnetic problems are investigated by using the proposed method. An analytical method and FEM are also carried out as comparisons to prove the advantages of the method proposed in this paper. INDEX TERMS Electromagnetic problems, least square support vector machine, finite element method, approximate solution. I. INTRODUCTION The solutions of most electromagnetic problems rely on numerical methods. A number of numerical approaches, such as the finite difference method (FDM) [1], finite element method (FEM) [2], [3], and boundary element method [4], have been developed, of which FEM is the most popular. FEM easily accommodates the complex boundary conditions of electromagnetic problems. During its computational process, FEM requires a series of meshing processes in the entire computational domain, and only provides solutions at mesh points. Additional interpolation for an arbitrary point is thus required, which increases computational complexity. This problem becomes more acute when solving complicated electromagnetic problems. To overcome the drawbacks of FEM, element free methods (EFMs), such as smoothed particle hydrodynamics (SPH) [5], the radial basis function The associate editor coordinating the review of this manuscript and approving it for publication was Luca Chiaraviglio. method (RBF) [6], and the element-free Galerkin method (EFG) [7]–[11], have been investigated. As one of the most popular methods for solving electromagnetic equations, EFG has been demonstrated to have good robustness and stability compared to other element-free methods [7]–[10]. However, the basis functions cannot satisfy the Kronecker delta property, and the Dirichlet boundary conditions (also referred to as essential boundary conditions) are not directly imposed [11]. The computational complexity of EFG is not obviously less than that of FEM. Moreover, improved radial basis function collocation methods for solving electromagnetic problems are sometimes implemented [12]–[15]. By these methods, shape functions based on the radial basis function are established, and accurate solutions are obtained. However, the coefficient matrix of the RBF collocation method is full and asymmetric, which restricts its application for solving complex electromagnetic problems. RBF mixed with FEM (RBF-FEM) [16] and natural boundary conditions are the simple treatment as FEM, but the coefficient matrix of basis functions is not positive definite, and the obtained solutions are not always unique [17]. To reduce the computational complexities of the above methods, soft computing methods have been employed to solve differential equations. The artificial neural network (ANN) [18]–[24] and least square support vector machine (LS-SVM) [25]–[31] have recently been used with these methods. Ramuhalli [20] presented a finite element neural network method (FENN) that can obtain accurate solutions. Choi [22] used backpropagation and RBF networks of ANN to solve differential equations. The advantages of ANN methods (including RBF networks) are a solution search process without coordinate transformations, and computational complexity that does not quickly increase with the number of sampling points [24]. However, ANN methods suffer two serious drawbacks: one is that the optimized problems have many local minimum solutions, and the other is how to choose the number of hidden units, which is an important issue. Mehrkanoon et al. [29]–[31] used LS-SVM to solve differential equations. LS-SVM derives incorporating boundary conditions as constraints of a quadratic programming problem, and uses Karush-Kuhn-Tucher (KKT) optimality conditions to obtain closed-form approximate solutions. Therefore, LS-SVM may overcome the drawbacks of ANN. Baymani et al. [26] solved ordinary differential equations by _ε_ -LS-SVM, and the obtained solutions were more accurate than from the standard LS-SVM. Until now, LS-SVM has had difficulty handling complex boundary conditions, such as the boundary condition of two homogeneous media. This paper presents a hybrid method for solving 2-D electromagnetic equations, which is RBF network-based FE-LSSVM. The approximate solutions are expressed simply, with the same structure as the RBF network method. The governing equation of a 2-D electromagnetic problem is transformed to a weak integral form and variational formulation, respectively. In this case, the natural boundary conditions (of which the Neumann boundary condition is a special case) can be directly satisfied. In the LS-SVM framework, Dirichlet boundary conditions are considered as constraints of an optimization problem. Then the quadratic programming problem is transformed to the problem of solving a system of equations by the Lagrange multiplier method. The method in this paper simplifies the expression for approximate solutions, decreases the computational complexity, and easily handles the natural boundary conditions as in FEM. The remainder of this paper is organized as follows. In section II, the LS-SVM, FEM, and RBF networks are briefly described. Our proposed method is presented in section III. Particle swarm optimization (PSO) for _σ_, _γ_, and _ε_ is presented in Section IV. In section V, we give the numerical results of four examples using our proposed method. These are a linear electromagnetic equation with continuous boundary conditions, linear electromagnetic equation with discontinuous boundary conditions, nonlinear electromagnetic equation, and multimedia electromagnetic equation where _G_ are typically selected as Gaussian kernel functions in the hidden layer, _ωk_ are the weights from the hidden layer to the output layer, and _Q_ is the total number of training pairs. Then Eq. (1) can be written as: _y_ = _�ω,_ (2) where _y_ is the output vector of RBF networks, _ω_ is the weight matrix, and _�_ is the matrix of RBF nonlinear mappings performed by the hidden layer. Fig. 1 shows the architecture of RBF networks. _B._ _FEM_ The two major components of FEM are Galerkin FEM and variational FEM. Natural boundary conditions are directly satisfied, so it is easy to handle the complex boundary conditions with Galerkin FEM and variational FEM. FIGURE 1. Architecture of RBF networks. with complex boundary conditions. The last section presents the discussion and our conclusions. II. FORMULATIONS OF RBF NETWORKS, FEM, AND LS-SVM All electromagnetic problems are expressed as Maxwell’s equations with different boundary conditions and media materials. Numerical methods are widely used for solving complex electromagnetic problems. To clearly illustrate the method proposed in this paper, we briefly describe the formulations of RBF networks, FEM, and LS-SVM. The expansion of approximate solutions is written with the same structure as the RBF network method. In the FEM model, the governing equations are transformed to weak integral forms and variational formulations. Then the weak integral forms, variational formulations, and essential boundary conditions are considered as quadratic programming problems in the LS-SVM framework. _A._ _RBF NETWORK APPROACH_ If we expand any function _y_ into radial basis function networks, then the output of the network to the input vectors in the training dataset can be expressed as [32]: _y_ ( _x_ ) = _q_ _k_ =1 _ωk_ _G_ ( _x, xk_ ) _,_ _q_ = 1 _,_ 2 _,_ - · · _, Q,_ (1) 1) GALERKIN FEM Consider the following typical boundary value problem with the governing differential equation [3] _Lu_ = _f,_ (3) where _L_ is a differential operator, _f_ is the applied source or forcing function, and _u_ is the unknown quantity. Assume that the approximate solution of the differential equation _Lu_ = _f_ can be expressed by the expanded formula [3]: The weak integral form can be expressed as:   (7) - _�_ <sup>[∇</sup> <sup>_Wij_</sup> <sup>(</sup> <sup>_x_</sup> <sup>) •</sup> <sup>_ε_</sup> <sup>∇</sup> <sup>_u_</sup> <sup>+</sup> <sup>_Wi_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_ρ_</sup> <sup>]</sup> <sup>_ds_</sup> <sup>= 0</sup> _u_ 1 = _g, on∂�_ 1 ∩ _∂�_ _u_ 2 = _g, on∂�_ 2 ∩ _∂�,_  where _K_ = - _�_ <sup>[∇</sup> <sup>_Wij_</sup> <sup>(</sup> <sup>_x_</sup> <sup>) •</sup> <sup>_ε_</sup> <sup>∇</sup> <sup>_Wij_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)]</sup> <sup>_ds_</sup> <sup>and</sup> <sup>_b_</sup> = - - _�_ <sup>_Wi_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_ρds_</sup> <sup>.</sup> <sup>Therefore,</sup> <sup>we</sup> <sup>construct</sup> <sup>the</sup> <sup>system</sup> <sup>of</sup> where _K_ = - - _�_ <sup>_Wi_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_ρds_</sup> <sup>.</sup> <sup>Therefore,</sup> <sup>we</sup> <sup>construct</sup> <sup>the</sup> <sup>system</sup> <sup>of</sup> equations: _Ku_ = _b._ (8) Natural boundary conditions can be directly satisfied. Moreover, Dirichlet boundary conditions _∂�_ 1 ∩ _∂�_ and _∂�_ 2 ∩ _∂�_ are imposed by deleting the rows and columns of the matrix _K_ corresponding to the nodes on the Dirichlet boundaries and modifying _b_ in (8). 2) VARIATIONAL FEM Let us consider the general boundary value problem with the governing differential equation [20]: _Lφ_ = _f,_ (9) where _L_ is a differential operator, _f_ is the applied source or forcing function, and _φ_ is the unknown quantity. In finite element analysis, the variational formulation to determine the unknown _φ_ is expressed as: _F_ ( _φ_ <sup>˜</sup> ) = <sup><u>1</u></sup> (10) 2 <sup>⟨</sup> <sup>_L_</sup> <sup>˜</sup> <sup>_φ,_</sup> <sup>_φ_</sup> <sup>˜⟩−⟨˜</sup> <sup>_φ, f_</sup> <sup>⟩</sup> <sup>_._</sup> The minimization procedure is implemented by dividing _�_ into _M_ small subdomains called elements, and representing _φ_ <sup>˜</sup> in each element by means of basis functions defined over the element, _u_ <sup>∗</sup> = _N_ _Wiui,_ (4) _i_ =1 where _u_ <sup>∗</sup> denotes the approximate solution of the differential equation, _Wi_ are the basis functions, and _ui_ are the values to be determined. Galerkin FEM is one of the weighted residual methods, which constructs the weighting function set _Wi_ ( _i_ = 1 _,_ 2 _,_ - · · _, n_ ) (where _n_ is the total number of nodes) of linearly independent. The residual equation is _R_ = _Lu_ <sup>∗</sup> - _f_ . The weighted integration of the computational domain is zero, which can be expressed as: _WiRd�_ = 0 _,_ _i_ = 1 _,_ 2 · · · _, n._ (5) _�_ First, the unknown function of the integrand function is approximately expanded by the weighted functions, and a system of equations is constructed. Second, the system of equations is solved, and the undetermined coefficients _ui_ are obtained. Finally, the solved _ui_ is inserted in the expanded formula (4), and the approximate solutions are obtained. The weighted function is known as a basis function. The method, which is Galerkin FEM, deduces the weak integral form in the computational process, and the natural boundary conditions are directly satisfied. Therefore, it is easy to handle complex boundary conditions using Galerkin FEM. As an example, consider the typical 2-D electrostatic problem that is combined with natural and essential boundary conditions (also referred to as Dirichlet boundary conditions): _φ_ ˜ <sup>_e_</sup> = _n_ _j_ =1 _Nj_ <sup>_e_</sup> _j_ <sup>_eφ_</sup> _j_ <sup>_e_</sup> _j_ <sup>_e,_</sup> (11)    ∇ <sup>2</sup> _u_ 1 = − <sup>_ρ_</sup> _ε_ 1 ∇ <sup>2</sup> _u_ 2 = − <sup>_ρ_</sup> _ε_ 1 _, in �_ 1 _, in �_ 2 _ε_ 1 _ε_ 2 _u_ 1 = _g, on ∂�_ 1 ∩ _∂�_ _u_ 2 = _g, on ∂�_ 2 ∩ _∂�_ _u_ 1 = _u_ 2 _, on �_ (6) where _φ_ <sup>˜</sup> <sup>_e_</sup> is the unknown solution in each element _e_, _N_ <sup>_e_</sup> _j_ <sup>is</sup> the basis function associated with node _j_ in element _e_, _φj_ <sup>_e_</sup> is the value of the unknown quantity at node _j_, and _n_ is the total number of nodes associated with element _e_ . The linear, quadratic, or higher-order functions can be used as the basis functions (also known as interpolation functions or shape functions). In the more general case, finite element methods use either linear or polynomial spline basis functions. The functional within an element is expressed as: _f_ _φ_ <sup>˜</sup> <sup>_e_</sup> _d�._ (12) _�_ <sup>_e_</sup> _∂u_ <u>1</u> _∂n_ <sup>=</sup> <sup>_ε_</sup> <sup>2</sup> _∂u_ <u>2</u> _∂n_ <sup>_, on �,_</sup> _F_ <sup>_e_</sup> ( _φ_ <sup>˜</sup> <sup>_e_</sup> ) = <sup><u>1</u></sup> 2 _F_ <sup>_e_</sup> ( _φ_ <sup>˜</sup> <sup>_e_</sup> ) = <sup><u>1</u></sup> _�_ <sup>_e_</sup> _φ_ ˜ <sup>_e_</sup> _L_ ˜ _φ_ <sup>_e_</sup> _d�_ where _�_ 1 and _�_ 2 are two subdomains; _u_ 1 and _u_ 2 are the undetermined values; _�_ is the interface between _�_ 1 and _�_ 2; _g_, _ρ_, _ε_ 1, and _ε_ 2 are constants; _∂�_ 1 ∩ _∂�_ and _∂�_ 2 ∩ _∂�_ are the respective boundary conditions of the subdomains; and _n_ is the outward normal vector. By inserting (11) into (12), we obtain the discrete formula of the functional within each element, _F_ <sup>_e_</sup> ( _φ_ <sup>˜</sup> <sup>_e_</sup> ) = <sup><u>1</u></sup> (13) 2 <sup>(</sup> <sup>_ϕe_</sup> <sup>)</sup> <sup>_T K eϕe_</sup> <sup>−</sup> <sup>(</sup> <sup>_ϕe_</sup> <sup>)</sup> <sup>_T be,_</sup> where (· · · ) <sup>_T_</sup> is the transpose of a matrix, _K_ <sup>_e_</sup> is the _n_ × _n_ elemental matrix with elements _i_ <sup>_eLN e_</sup> _j_ <sup>_e_</sup> _j_ <sup>_d�,_</sup> _i, j_ = 1 _,_ 2 · · · _, n,_ (14) _Kij_ <sup>_e_</sup> <sup>=</sup> _Ni_ <sup>_e_</sup> _�_ <sup>_e_</sup>  where _γ_ _>_ 0 is a regularization parameter and _ei_ ∈ _R_ are bias terms. We denote _y_ = ( _y_ 1 _, y_ 2 _,_ - · · _, yN_ ) <sup>_T_</sup> ∈ _R_ <sup>_N_</sup>, _α_ = ( _α_ 1 _, α_ 2 _,_ - · · _, αN_ ) <sup>_T_</sup> ∈ _R_ <sup>_N_</sup>, and 1 _N_ = (1 _,_ 1 _,_ - · · _,_ 1) <sup>_T_</sup> ∈ _R_ <sup>_N_</sup> . Then the regression parameters _α_ and _b_ are given by:  _α_   _y_ 0 and _b_ <sup>_e_</sup> is an _n_ × 1 vector with elements  _�_ + <sup>_<u>IN</u>_</sup> 1 _N_ _γ_ 1 <sup>_T_</sup> _N_ 0  _,_ (20) _b_   =     _i_ <sup>_ed�,_</sup> _i_ = 1 _,_ 2 · · · _, n._ (15) _b_ <sup>_e_</sup> _i_ <sup>=</sup> _fNi_ <sup>_e_</sup> _�_ <sup>_e_</sup> Consider the values in (13) for each element _e_, _F_ = <sup><u>1</u></sup> (16) 2 <sup>_ϕT K_</sup> <sup>_ϕ_</sup> <sup>−</sup> <sup>_ϕT b,_</sup> where _K_ is the _N_ × _N_ global matrix derived from the terms of the elemental matrices for different elements, and _N_ is the total number of nodes. _K_, which is also called the stiffness matrix, is a sparse, banded matrix. Eq. (16) is the discrete formula of the functional, which can be minimized with respect to the nodal parameters _ϕ_ by taking the derivative with respect to _ϕ_ and setting it equal to zero, which results in the matrix equation _∂F_ _∂ϕ_ <sup>=</sup> <sup>_K_</sup> <sup>_ϕ_</sup> <sup>−</sup> <sup>_b_</sup> <sup>= 0</sup> <sup>_._</sup> (17) Boundary conditions of these electromagnetic equations have two types, which are natural boundary conditions and essential boundary conditions. Essential boundary conditions impose constraints on the value of the unknown _φ_ at several nodes. Natural boundary conditions impose constraints on the change in _φ_ across a boundary. Dirichlet boundary conditions are imposed on the functional minimization (17) by deleting the rows and columns of the matrix _K_ corresponding to the nodes on the Dirichlet boundary and modifying _b_ in (17). _C._ _PRINCIPLE OF LS-SVM_ Let us assume _y_ = _f_ ( _X_ ) with domain _�_, where _�_ is a bounded set and _�_ ⊂ _R_ <sup>_k_</sup> . Now, a given training set in the domain is _yi_ = _f_ ( _Xi_ ) ( _i_ = 1 _,_ 2 _,_ - · · _, N_ ). The key problem is how to express _y_ . In the LS-SVM model, _y_ is written in the form: where _�_ = ( _G_ ( _Xi, Xj_ )) _N_ is the kernel matrix, and _IN_ is the identity matrix of order _N_ . III. FORMULATION OF PROPOSED METHOD This section describes the proposed method for solving 2-D electromagnetic problems (including 2-D linear electromagnetic problems with continuous boundary conditions, 2-D linear electromagnetic problems with discontinuous boundary conditions, and 2-D nonlinear electromagnetic problems). _A._ _LINEAR ELECTROMAGNETIC EQUATION WITH_ _CONTINUOUS BOUNDARY CONDITIONS_ The 2-D linear electromagnetic equation with continuous boundary conditions is expressed as:    _v_ <sup>_∂φ_</sup> _∂n_ _φxx_ + _φyy_ = 0 _,_ ( _x, y_ ) ∈ _�_ _φ_ | _�_ 1 = _g_ 0( _x_ ) _φ_ | _�_ 2 = _g_ 1( _x_ ) (21) = _g_ 2( _x_ ) _,_ ���� _�_ 3 where _�_ is the entire computational domain, _�_ (= _�_ 1+ _�_ 2 + _�_ 3) denotes the boundary conditions enclosing the area _�_, _n_ is the outward normal vector, and _v_ is a constant. Let us consider the training set _Xi_ = ( _xi, yi_ ) ∈ _�_, _i_ = {1 _,_ 2 _,_ - · · _, N_ }. In this paper, the expression for approximate solutions has the same structure as the RBF network method. The expansion of approximate solutions can be represented as: _N_ _j_ =1 _ωjG_ ( _X_ _, Xj_ ) _,_ (22) _φ_ ¯ = _y_ = _N_ _j_ =1 _αjG_ ( _X_ _, Xj_ ) + _b,_ (18) where _G_ ( _X_ _, Xj_ ) = exp(− 2 _σ_ <sup><u>1</u></sup> <sup>2</sup> �� _X_ - _Xj_ ��22 <sup>) is a Gaussian kernel</sup> function with kernel width _σ_ . _αj_ and _b_ are regression parameters that must be estimated. The values of the parameters _α_ and _b_ can be obtained by solving the following quadratic programming problem:  <u>1</u> min  _α,b,e_ 2 <sup>_αT α_</sup> <sup>+</sup> <sup>_γ_</sup> 2 <sup>_eT e_</sup> where _G_ ( _X_ _, Xj_ ) = exp(− <sup><u>1</u></sup> 2 _σ_ min _α,b,e_ <u>12</u> <sup>_αT α_</sup> <sup>+</sup> <sup>_γ_</sup> 2 <sup>_eT e_</sup> _N_ where _φ_ <sup>¯</sup> are the outputs of RBF networks, _ωj_ are the weights, and _G_ ( _X_ _, Xj_ ) = exp(− 2 _σ_ <sup><u>1</u></sup> <sup>2</sup> �� _X_ - _Xj_ ��22 <sup>) is the Gaussian kernel</sup> function with kernel width _σ_ . The key point of RBF networks is to estimate the weights _ω_, after which the solutions of the electromagnetic equation can be obtained. First, to easily deal with the complex boundary conditions, the governing equation of the electromagnetic problem is transformed to a weak integral form in the FEM framework. Then, in the LS-SVM model, the weak integral form and Dirichlet boundary conditions are considered in the quadratic programming problem. The different radial basis functions [such as the multiquadrics (MQ)  _s.t._ _yi_ = _j_ =1 _αjG_ ( _Xi, Xj_ ) + _b_ + _ei,_ _i_ = 1 _,_ 2 _,_ - · · _, N_ _,_ (19) function] can be used to solve the electromagnetic equations. Considering (22) and transforming (21) to the weak integral form, we obtain the following equation: ∇ _Gi_ ( _x, y_ )∇ _Gj_ ( _x, y_ ) _d�ωi_   _�_ ≈ _g_ 2( _x_ ) _G_ ( _�_ ) _d�_ _�_ 3 Algorithm 1 Procedure of Proposed Method for Linear Elec<u>tromagnetic Equations</u> 1: Input the material parameters and geometric structure parameters; 2: Set total number of training points; 3: Generate training points inside the entire computational domain; 4: Form a quadratic programming problem (25); 5: According to the KKT optimality conditions, the linear system of equations is established; 6: Get the optimal parameters _γ_ and _σ_ by PSO algorithm; 7: Solving the linear system of equations (28); 8: Outputting and saving solutions. Then the KKT optimality conditions are expressed as:  _∂L_ _∂ei_ _∂L_ _∂βj_ <sup>1</sup> _∂L_ _∂βj_ <sup>2</sup> _g_ 0( _x_ ) = _ω_ <sup>_T_</sup> _G_ ( _�_ 1) _g_ 1( _x_ ) = _ω_ <sup>_T_</sup> _G_ ( _�_ 2) _._  By introducing the bias terms, we have: ∇ _Gi_ ( _x, y_ )∇ _Gj_ ( _x, y_ ) _d�ωi_ + _ei_  _�_  _�_ = _g_ 2( _x_ ) _G_ ( _�_ ) _d�_ _�_ 3 = _ωi_ _∂L_ _∂ωi_ _N_ _i_ =1 _λi_ ( _g_ 0( _x_ ) = _ω_ <sup>_T_</sup> _G_ ( _�_ 1) _g_ 1( _x_ ) = _ω_ <sup>_T_</sup> _G_ ( _�_ 2) _._ _g_  _g_ ∇ _Gi_ ∇ _Gjd�_ ) _βj_ <sup>2</sup> <sup>_G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>2) = 0</sup> _N_ _�_ _N_ _j_ =1 _βj_ <sup>1</sup> <sup>_G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>1) −</sup> _βj_ <sup>1</sup> _j_ =1 (27) The weights _ω_ can be obtained as follows:   _∂L_ _∂λi_ = _g_ 2( _x_ ) _G_ ( _�_ ) _d�_ _�_ 3 _�_ ∇ _Gi_ ∇ _Gjd�ωi_ + _ei_ = 0    min _w_ = <sup><u>1</u></sup> 2 <sup>_ωT ω_</sup> <sup>+</sup> <sup>_<u>γ</u>_</sup> 2 <sup>_eT e_</sup> _j_ _s.t._ _�_ ∇ _Gi_ ( _x, y_ )∇ _Gj_ ( _x, y_ ) _d�ωi_ + _ei_ (23) (24) (25) _j_ = _g_ 2( _x_ ) _G_ ( _�_ ) _d�_ _�_ 3 = _γ ei_ - _λi_ = 0 = _ω_ <sup>_T_</sup> _G_ ( _�_ 1) − _g_ 0( _x_ ) = 0 = _ω_ <sup>_T_</sup> _G_ ( _�_ 2) − _g_ 1( _x_ ) = 0 _._ _g_ 0( _x_ ) = _ω_ <sup>_T_</sup> _G_ ( _�_ 1) _g_ 1( _x_ ) = _ω_ <sup>_T_</sup> _G_ ( _�_ 2) _,_ where _ei_ are the bias terms and _γ_ is the regularization parameter. Formula (25) is a quadratic minimization problem under linear equality constraints, which can be solved by the Lagrange multiplier method. Consider that the Lagrange function of (25) is Eliminating the basis terms _ei_, we can obtain the following linear system of equations: _A_ 21 _A_ 22 _A_ 23 _A_ 24 _A_ 31 _A_ 32 _A_ 33 _A_ 34  _A_ 41 _A_ 42 _A_ 43 _A_ 44  _A_ 11 _A_ 12 _A_ 13 _A_ 14  _ω_ _λ_ _βj_ <sup>1</sup> _βj_ <sup>2</sup> _j_   _B_ 1 _B_ 2 _B_ 3 _B_ 4   _,_ (28)      = _L_ = <sup><u>1</u></sup> 2 <sup>_ωT ω_</sup> <sup>+</sup> <sup>_γ_</sup> 2 <sup>_eT e_</sup> <sup>−</sup> _N_ _i_ =1 _λi_ _�_ ∇ _Gi_ ∇ _Gjd�ωi_ where _A_ 11 = _IN_, _A_ 12 = - ∇ _Gi_ - ∇ _Gjd�_, _A_ 13 = - _G_ ( _�_ 1), _�_ _N_ _i_ =1 _N_ _j_ =1 _N_ _j_ =1 _A_ 14 = - _G_ ( _�_ 2), _A_ 21 = - _A_ <sup>_T_</sup> 12 <sup>,</sup> <sup>_A_</sup> <sup>22</sup> <sup>=</sup> <sup>_<u>I</u>_</sup> _<u>γ</u>_ <sup>_<u>N</u>_</sup> <sup>,</sup> <sup>_A_</sup> <sup>23</sup> <sup>=</sup> <sup>(0)</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> <sup>,</sup> _A_ 24 = (0) _N_ × _N_, _A_ 31 = − _A_ <sup>_T_</sup> 13 <sup>,</sup> <sup>_A_</sup> <sup>32</sup> <sup>= (0)</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> <sup>,</sup> <sup>_A_</sup> <sup>33</sup> <sup>= (0)</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> <sup>,</sup> _A_ 14 = - _G_ ( _�_ 2), _A_ 21 = - _A_ <sup>_T_</sup> _A_ 24 = (0) _N_ × _N_, _A_ 31 = − _A_ <sup>_T_</sup> 13 <sup>,</sup> <sup>_A_</sup> <sup>32</sup> <sup>= (0)</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> <sup>,</sup> <sup>_A_</sup> <sup>33</sup> <sup>= (0)</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> <sup>,</sup> _A_ 34 = (0) _N_ × _N_, _A_ 41 = − _A_ <sup>_T_</sup> 14 <sup>,</sup> <sup>_A_</sup> <sup>42</sup> <sup>= (0)</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> <sup>,</sup> <sup>_A_</sup> <sup>43</sup> <sup>= (0)</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> <sup>,</sup> _A_ 44 = (0) _N_ × _N_, _B_ 1 = (0) _N_ ×1, _B_ 2 = - _�_ 3 <sup>_g_</sup> <sup>2(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>)</sup> <sup>_d�_</sup> <sup>,</sup> _g_ 2( _x_ ) _G_ ( _�_ ) _d�_ + _ei_ ) _�_ 3 _λi_ (− _βj_ <sup>2[</sup> <sup>_ωT G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>2) −</sup> <sup>_g_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>)]</sup> <sup>_,_</sup> (26) _j_ <sup>2[</sup> <sup>_ωT G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>2) −</sup> <sup>_g_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>)]</sup> <sup>_,_</sup> (26) _βj_ <sup>1[</sup> <sup>_ωT G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>1) −</sup> <sup>_g_</sup> <sup>0(</sup> <sup>_x_</sup> <sup>)]</sup> _j_ <sup>1[</sup> <sup>_ωT G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>1) −</sup> <sup>_g_</sup> <sup>0(</sup> <sup>_x_</sup> <sup>)]</sup> _A_ 44 = (0) _N_ × _N_, _B_ 1 = (0) _N_ ×1, _B_ 2 = - _�_ 3 <sup>_g_</sup> <sup>2(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>)</sup> <sup>_d�_</sup> <sup>,</sup> _B_ 3 = _g_ 0( _x_ ), _B_ 4 = _g_ 1( _x_ ), _IN_ is a unit matrix of order _N_, _λ_ = ( _λ_ 1 _, λ_ 2 _,_ - · · _, λN_ ) <sup>_T_</sup>, _βj_ <sup>1</sup> <sup>=</sup> <sup>(</sup> <sup>_β_</sup> 1 <sup>1</sup> <sup>_, β_</sup> 2 <sup>1</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>1</sup> <sup>)</sup> <sup>_T_</sup> <sup>,</sup> <sup>and</sup> _j_ <sup>1</sup> <sup>=</sup> <sup>(</sup> <sup>_β_</sup> 1 <sup>1</sup> _N_, _λ_ = ( _λ_ 1 _, λ_ 2 _,_ - · · _, λN_ ) <sup>_T_</sup>, _βj_ <sup>1</sup> <sup>=</sup> <sup>(</sup> <sup>_β_</sup> 1 <sup>1</sup> <sup>_, β_</sup> 2 <sup>1</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>1</sup> <sup>)</sup> <sup>_T_</sup> <sup>,</sup> <sup>and</sup> _βj_ <sup>2</sup> <sup>= (</sup> <sup>_β_</sup> 1 <sup>2</sup> <sup>_, β_</sup> 2 <sup>2</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>2</sup> <sup>)</sup> <sup>_T_</sup> <sup>.</sup> _βj_ <sup>2</sup> <sup>= (</sup> <sup>_β_</sup> 1 <sup>2</sup> <sup>_, β_</sup> 2 <sup>2</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>2</sup> <sup>)</sup> <sup>_T_</sup> <sup>.</sup> Therefore, the weights _ω_ can be obtained by solving the linear system of equations (28). The procedure of the proposed method for linear electromagnetic equations is shown in Algorithm 1. _j_ <sup>2</sup> <sup>= (</sup> <sup>_β_</sup> 1 <sup>2</sup> where _λi_, _βj_ <sup>1</sup> _j_ <sup>1, and</sup> <sup>_β_</sup> _j_ <sup>2</sup> _j_ <sup>2</sup> <sup>are Lagrange multipliers.</sup> _B._ _LINEAR ELECTROMAGNETIC EQUATION WITH_ _DISCONTINUOUS BOUNDARY CONDITIONS_ The radial basis function (such as a Gaussian or MQ function) has the Gibbs phenomenon on the discontinuous boundary conditions of electromagnetic equation [33]. Therefore, the method in this paper cannot solve the following electromagnetic equation with discontinuous boundary conditions: - _φxx_ + _φyy_ = 0 _,_ ( _x, y_ ) ∈ (0 _, a_ ) × (0 _, b_ ) _φ_ | _x_ =0 = _φ_ | _y_ =0 = _φ_ | _y_ = _b_ = 0 _,_ _φ_ | _x_ = _b_ = _φ_ 0 _._ (29) To solve Eq. (29), we use a cubic spline to handle the discontinuous boundary conditions by the asymptotic approximation method. The electromagnetic equation with discontinuous boundary conditions is changed to an electromagnetic equation with continuous boundary conditions by constructing a cubic spline function on the abrupt boundary. Thus, we have: The expansion of the approximate solutions can be written as: By introducing the bias terms, we have: _A_ ¯ = _N_ _j_ =1 _ωjG_ ( _X_ _, Xj_ ) _._ (33) In the FEM framework, the governing equation of an electromagnetic problem is transformed to a variational formulation. In the LS-SVM model, the variational formulation and Dirichlet boundary conditions are considered in the following quadratic programming problem. Considering (33) and transforming (32) to the variational formulation, we obtain the following equation: _∂F_ _∂A_ <sup>¯</sup> _i_   ≈ 0 _ω_ <sup>_T_</sup> _G_ ( _�_ 1) = _g_ 0( _x_ )  _ω_ <sup>_T_</sup> _G_ ( _�_ 2) = _g_ 1( _x_ ) _._ (30) _φε_ ( _y_ ) =   _c_ 1 _y_ <sup>3</sup> + _c_ 2 _y_ <sup>2</sup> + _c_ 3 _y,_ _y_ ∈ [0 _, ε_ ] _φ_ 0 _,_ _y_ ∈ ( _ε, b_ - _ε_ ) _d_ 1 _y_ <sup>3</sup> + _d_ 2 _y_ <sup>2</sup> + _d_ 3 _y_ + _d_ 0 _,_ _y_ ∈ [ _b_ - _ε, b_ ] _,_   _∂F_ _∂A_ <sup>¯</sup> _i_ + _ei_ = 0  _ω_ <sup>_T_</sup> _G_ ( _�_ 1) = _g_ 0( _x_ ) where _ε_ ∈ (0 _,_ <sup>_<u>b</u>_</sup> 2 <sup>). Obviously,</sup> <sup>_φε_</sup> <sup>(</sup> <sup>_y_</sup> <sup>) satisfies</sup> <sup>_φε_</sup> <sup>(0) =</sup> <sup>_φε_</sup> <sup>(</sup> <sup>_b_</sup> <sup>) =</sup> 0, _φε_ ∈ _C_ <sup>2</sup> [0 _, b_ ]. Then _c_ 1, _c_ 2, _c_ 3, _d_ 0, _d_ 1, _d_ 2, and _d_ 3 are given by the moving average filtering method.  _ω_ <sup>_T_</sup> _G_ ( _�_ 2) = _g_ 1( _x_ ) _._ The variational formulation can be expressed as: (34) (35) (36) (37) ( _W_ ( _A_ <sup>¯</sup> ) − _J_ _A_ <sup>¯</sup> ) _d�_    _�_ : _F_ ( _A_ <sup>¯</sup> ) = Furthermore, we have _ε_ →lim0 becomes _ε_ →lim0 <sup>+</sup> <sup>_φε_</sup> <sup>=</sup> <sup>_φ_</sup> <sup>.</sup> <sup>Thus</sup> <sup>problem</sup> <sup>(29)</sup> _�_ - _φxx_ + _φyy_ = 0 _,_ ( _x, y_ ) ∈ (0 _, a_ ) × (0 _, b_ ) _φ_ | _x_ =0 = _φ_ | _y_ =0 = _φ_ | _y_ = _b_ = 0 _,_ _φ_ | _x_ = _b_ = _φε._ (31) Obviously, the electromagnetic equation (29) with discontinuous boundary conditions is transformed to an electromagnetic equation with continuous boundary conditions, so it is directly solvable by the method proposed in this paper. _C._ _NONLINEAR ELECTROMAGNETIC EQUATION_ Having formulated the proposed method for solving a linear electromagnetic equation, we now introduce its use for solving a nonlinear electromagnetic equation. Consider a 2-D nonlinear electromagnetic equation expressed as: Therefore, the weights _ω_ can be obtained by solving the following quadratic programming problem: _Ag_ ¯ 2( _x_ ) _d�_ = min _,_ _�_ 3 where    <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _x_ <sup>¯</sup> <sup>)2 + (</sup> <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _y_ <sup>¯</sup> _W_ ( _A_ <sup>¯</sup> ) = - _B_ _B_ _vbdb_ = <sup><u>1</u></sup> 0 2 2 - _B_ 2 _v_ ( _b_ <sup>2</sup> ) _db_ <sup>2</sup> 0 _B_ <sup>2</sup> = ( <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _x_ <sup>¯</sup> <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _y_ <sup>¯</sup> <sup>)2</sup> <sup>_._</sup> The above formulation, <sup>_<u>∂F</u>_</sup> <sup><u>(</u></sup> <sup>_<u>A</u>_</sup> <sup>¯</sup> <sup><u>)</u></sup> _∂A_ <sup>¯</sup> _i_ <sup>,</sup> <sup>is</sup> <sup>expanded</sup> <sup>to</sup> <sup>a</sup> <sup>multivariate</sup> Taylor series near _A_ <sup>¯</sup>, and the high-order terms are omitted: ������ _A_ ¯ _∂F_ _∂A_ <sup>¯</sup> _i_ = <sup>_∂F_</sup> _∂A_ <sup>¯</sup> _i_ + ���� _A_ ¯ _N_ _j_ =1 _∂_ <sup>2</sup> _<u>F</u>_ _∂A_ <sup>¯</sup> _i∂A_ <sup>¯</sup> _j_ _δA_ <sup>¯</sup> _i_ ≈ 0 _._ (38) _∂∂x_ <sup>(</sup> <sup>_v_</sup> <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _x_ _∂_ <sup>_∂_</sup> _y_ <sup>(</sup> <sup>_v_</sup> <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _y_ <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _y_ <sup>) = −</sup> <sup>_J_</sup> <sup>_,_</sup> <sup>(</sup> <sup>_x, y_</sup> <sup>) ∈</sup> <sup>_�_</sup>   <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _x_ <sup>) +</sup> _∂_ <sup>_∂_</sup>   min _w_ = <sup><u>1</u></sup> 2 _s.t._ <sup>_∂F_</sup> _A_ | _�_ 1 = _g_ 0( _x_ ) _, A_ | _�_ 2 = _g_ 1( _x_ ) (32) <sup><u>1</u></sup> 2 <sup>_ωT ω_</sup> <sup>+</sup> <sup>_γ_</sup> 2 <sup>_eT e_</sup> _v_ <sup>_∂A_</sup> _∂n_  <sup>_∂A_</sup> _∂n_ <sup>|</sup> <sup>_�_</sup> <sup>3</sup> <sup>=</sup> <sup>_g_</sup> <sup>2(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_,_</sup> (39) + _ei_ = 0 _∂A_ <sup>¯</sup> _i_ where _�_ is a bounded set, _n_ is the outward normal vector, _v_ is a nonlinear function, and _�_ (= _�_ 1 + _�_ 2 + _�_ 3) denote the boundary conditions enclosing the area _�_ . where _ei_ are bias terms and _γ_ is the regularization parameter.  _ω_ <sup>_T_</sup> _G_ ( _�_ 1) = _g_ 0( _x_ ) _ω_ <sup>_T_</sup> _G_ ( _�_ 2) = _g_ 1( _x_ ) _,_ The Lagrange function of (39) is: _L_ = <sup><u>1</u></sup> 2 <sup>_ωT ω_</sup> <sup>+</sup> <sup>_γ_</sup> 2 <sup>_eT e_</sup> <sup>−</sup> _N_ _i_ =1 _λi_ ( <sup>_∂F_</sup> _∂A_ <sup>¯</sup> _i_ + _ei_ ) _j_ <sup>2[</sup> <sup>_ωT G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>2) −</sup> <sup>_g_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>)]</sup> <sup>_,_</sup> _βj_ <sup>2[</sup> <sup>_ωT G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>2) −</sup> <sup>_g_</sup> <sup>1(</sup> <sup>_x_</sup> <sup>)]</sup> <sup>_,_</sup> _N_ _N_ _j_ =1 _βj_ <sup>1</sup> _βj_ <sup>1[</sup> <sup>_ωT G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>1)−</sup> <sup>_g_</sup> <sup>0(</sup> <sup>_x_</sup> <sup>)]−</sup> _j_ =1 (40) Algorithm 2 Procedure of Proposed Method for Nonlinear <u>Electromagnetic Equation</u> 1: Input the material parameters and geometric structure parameters; 2: Set tolerance _tol_ and total number of training points _N_ 0; 3: Generate the training points inside the entire computational domain; 4: Form a quadratic programming problem (39); 5: Follow the KKT optimality conditions to construct the nonlinear system of equations (42); 6: Set the required solution _A_ = 0, and the number of iterations _K_ = 0; 7: Calculating _B_ and _v_ of each training point; 8: if _N_ = _N_ 0 then Goto 10; 9: else _N_ = _N_ + 1; Goto 7; 10: Get the optimal parameters _γ_ and _σ_ by PSO; _j_ <sup>1, and</sup> <sup>_β_</sup> _j_ <sup>2</sup> where _λ_, _βj_ <sup>1</sup> where _λ_, _βj_ <sup>1, and</sup> <sup>_β_</sup> _j_ <sup>2</sup> <sup>are Lagrange multipliers.</sup> Then the KKT optimality conditions can be written as: _∂L_ _∂ω_ <sup>=</sup> <sup>_ωi_</sup> <sup>−</sup> - _N_ _i_ =1 _∂ω∂_ <sup>(</sup> _∂_ <sup>_∂_</sup> _A_ <sup>_<u>F</u>_</sup> <sup>¯</sup> _i_ _∂ω∂_ <sup>(</sup> _∂_ <sup>_∂_</sup> _A_ <sup>_<u>F</u>_</sup> <sup>¯</sup> _i_    _j_ _λi_ ) - _βj_ <sup>1</sup> _j_ <sup>1</sup> <sup>_G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>1) −</sup> <sup>_β_</sup> _j_ <sup>2</sup> - _βj_ <sup>1</sup> <sup>_G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>1) −</sup> <sup>_β_</sup> _j_ <sup>2</sup> <sup>_G_</sup> <sup>(</sup> <sup>_�_</sup> <sup>2) = 0</sup> _∂L_ = <sup>_∂F_</sup> + _ei_ = 0 _∂λi_ _∂A_ <sup>¯</sup> _i_ 11: Solving the linear system of equations; = <sup>_∂F_</sup> + _ei_ = 0 _∂L_ _∂ei_ _∂L_ _∂βj_ <sup>1</sup> _∂L_ _∂βj_ <sup>2</sup> _∂A_ <sup>¯</sup> _i_ ��� _< tol_ then 12: if (41) ��� _<u>A</u>_ ( _K_ ) _A_ <u>−</u> <sup>(</sup> _<u>A</u>_ <sup>_K_</sup> ( <sup>)</sup> _K_ −1) 13: Outputting and saving solutions _A_ ; 14: else _K_ = _K_ + 1; Goto 7. _j_ = _γ ei_ - _λi_ = 0 = _ω_ <sup>_T_</sup> _G_ ( _�_ 1) − _g_ 0( _x_ ) = 0 = _ω_ <sup>_T_</sup> _G_ ( _�_ 2) − _g_ 1( _x_ ) = 0 _._ Eliminating the basis terms _ei_, we can obtain the following nonlinear system of equations:  _IN_ _HN_ - _G_ ( _�_ 1) - _G_ ( _�_ 2) _ω_ _λ_ _βj_ <sup>1</sup> _βj_ <sup>2</sup>   0 _N_ ×1 0 _N_ ×1 _g_ 0( _x_ ) _g_ 1( _x_ )  _<u>IN</u>_ _γ_ <sup>0</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup> <sup>0</sup> <sup>_N_</sup> <sup>×</sup> <sup>_N_</sup>  _G_ ( _�_ 1) 0 _N_ × _N_ 0 _N_ × _N_ 0 _N_ × _N_ _G_ ( _�_ 2) 0 _N_ × _N_ 0 _N_ × _N_ 0 _N_ × _N_ _EN_   _,_ (42)   =    _j_ _<u>∂ω</u>_ <sup>_<u>∂</u>_</sup> <sup>(</sup> <sup>_<u>∂F</u>_</sup> <sup><u>(</u></sup> <sup>_<u>A</u>_</sup> <sup>¯</sup> <sup><u>)</u></sup> _∂A_ <sup>¯</sup> _i_ _<u>∂F</u>_ <u>(</u> _<u>A</u>_ <sup>¯</sup> <u>)</u> where _HN_ = - _<u>∂ω</u>_ <sup>_<u>∂</u>_</sup> = <u>1</u> <sup>_<u>F</u>_</sup> <sup><u>(</u></sup> <sup>_<u>A</u>_</sup> <sup>¯</sup> <sup><u>)</u></sup> _<u>ω</u>_ _∂A_ <sup>¯</sup> _i_ <sup>)</sup> <sup>and</sup> <sup>_EN_</sup> where _HN_ = - _<u>∂ω</u>_ <sup>_<u>∂</u>_</sup> <sup>(</sup> <sup>_<u>∂F</u>_</sup> _∂A_ <sup>¯(</sup> <sup>_<u>A</u>_</sup> _i_ <sup>¯</sup> <sup><u>)</u></sup> <sup>)</sup> <sup>and</sup> <sup>_EN_</sup> = _<u>ω</u>_ <u>1</u> _∂A_ <sup>¯</sup> _i_ are the kernel matrices, _IN_ is a unit matrix of order _N_, _ω_ = ( _ω_ 1 _, ω_ 2 _,_ - · · _, ωN_ ) <sup>_T_</sup>, _λ_ = ( _λ_ 1 _, λ_ 2 _,_ - · · _, λN_ ) <sup>_T_</sup>, _βj_ <sup>1</sup> = ( _β_ 1 <sup>1</sup> <sup>_, β_</sup> 2 <sup>1</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>1</sup> <sup>)</sup> <sup>_T_</sup> <sup>, and</sup> <sup>_β_</sup> _j_ <sup>2</sup> <sup>= (</sup> <sup>_β_</sup> 1 <sup>2</sup> <sup>_, β_</sup> 2 <sup>2</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>2</sup> <sup>)</sup> <sup>_T_</sup> <sup>.</sup> 1 <sup>1</sup> <sup>_, β_</sup> 2 <sup>1</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>1</sup> <sup>)</sup> <sup>_T_</sup> <sup>, and</sup> <sup>_β_</sup> _j_ <sup>2</sup> ( _β_ 1 <sup>1</sup> <sup>_, β_</sup> 2 <sup>1</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>1</sup> <sup>)</sup> <sup>_T_</sup> <sup>, and</sup> <sup>_β_</sup> _j_ <sup>2</sup> <sup>= (</sup> <sup>_β_</sup> 1 <sup>2</sup> <sup>_, β_</sup> 2 <sup>2</sup> <sup>_,_</sup> <sup>· · ·</sup> <sup>_, β_</sup> _N_ <sup>2</sup> <sup>)</sup> <sup>_T_</sup> <sup>.</sup> Hence the weights _ω_ can be obtained by solving the nonlinear system of equations (42). The procedure of the proposed method for solving the nonlinear electromagnetic equation is shown in Algorithm 2. _j_ <sup>2</sup> <sup>= (</sup> <sup>_β_</sup> 1 <sup>2</sup> IV. PARTICLE SWARM OPTIMIZATION ALGORITHM FOR PARAMETERS _σ_ , _γ_ , AND _ε_ Particle swarm optimization (PSO) has become one of the most popular forms of swarm intelligence, and it has been used for solving path-planning and multi-objective problems [34], [35]. Assume an _M_ -dimensional search space. The velocity and location of a particle are expressed by: FIGURE 2. Flowchart for optimizing the parameters _σ_, _γ_, and _ε_ by PSO. component of dimension _d_, _pgd_ is the optimal particle of dimension _d_, _v_ <sup>_k_</sup> _id_ <sup>is</sup> <sup>the</sup> <sup>velocity</sup> <sup>vector,</sup> <sup>_c_</sup> <sup>1</sup> <sup>=</sup> <sup>_c_</sup> <sup>2</sup> <sup>=</sup> <sup>2,</sup> <sup>and</sup> _w_ = 0 _._ 6. The maximal iteration number is 200, and the population size is 50 for all examples of section V. The flowchart of PSO is shown in Fig. 2. The fitness is calculated as: - _N_ _i_ =1 _D⌢_ 2( _i_ ) [ _D⌢_ ( _i_ ) −¯ _D_ ( _Pj,k_ )( _i_ )] 2 _Sj_ ( _k_ ) = ~~�~~ <u>�</u> - _N_ _<u>i</u>_ =1 _,_ (44)   _v_ <sup>_k_</sup> _id_ <sup>+1</sup> <sup>_k_</sup> _id_ <sup>+</sup> <sup>_c_</sup> <sup>1</sup> <sup>_rand_</sup> <sup>1(</sup> <sup>_pid_</sup> <sup>−</sup> <sup>_x_</sup> _id_ <sup>_k_</sup> <sup>_k_</sup> _id_ <sup>+1</sup> = _wv_ <sup>_k_</sup> _id_ _v_ <sup>_k_</sup> _id_ <sup>+1</sup> = _wv_ <sup>_k_</sup> _id_ <sup>+</sup> <sup>_c_</sup> <sup>1</sup> <sup>_rand_</sup> <sup>1(</sup> <sup>_pid_</sup> <sup>−</sup> <sup>_x_</sup> _id_ <sup>_k_</sup> <sup>)</sup> + _c_ 2 _rand_ 2( _pgd_ - _xid_ <sup>_k_</sup> <sup>)</sup> where _Sj_ ( _k_ ) is the fitness of particle _Pj_ ( _k_ ), _D⌢_ ( _i_ ) is the initial value of particle _Pj_ ( _k_ ), and _D_ <sup>¯</sup> ( _Pj,k_ )( _i_ ) are the predicted values of trained particle _Pj_ ( _k_ ). The fitness of _Pjbest_ ( _k_ ) is expressed as _Pjbest_ ( _k_ ) = min{ _Sj_ (0) _, Sj_ (1) _,_ - · · _, Sj_ ( _k_ )} _._ (45) + _c_ 2 _rand_ 2( _pgd_ - _xid_ <sup>_k_</sup> <sup>)</sup> _xid_ <sup>_k_</sup> <sup>+1</sup> = _xid_ <sup>_k_</sup> <sup>+</sup> <sup>_vk_</sup> _id_ <sup>+1</sup> _,_ (43) <sup>_k_</sup> _id_ <sup>+1</sup> _,_  _id_ <sup>_k_</sup> <sup>+1</sup> = _xid_ <sup>_k_</sup> _id_ <sup>_k_</sup> <sup>+</sup> <sup>_vk_</sup> _id_ <sup>+1</sup> where _d_ ∈ [1 _, M_ ], _w_ is the inertia weight, _c_ 1 and _c_ 2 are the learning factors, _rand_ 1 and _rand_ 2 are random numbers between 0 and 1, _pid_ are the optimal solutions, _xid_ <sup>_k_</sup> <sup>is</sup> <sup>the</sup> The fitness of _Pgbest_ ( _k_ ) is written as _Pgbest_ ( _k_ ) = min{ _P_ 1 _best_ ( _k_ ) _, P_ 2 _best_ ( _k_ ) _,_ - · · _, PMbest_ ( _k_ )} _._ (46) V. NUMERICAL EXAMPLES Four examples will prove the efficiency of the proposed method for solving the electromagnetic equations. They are a linear electromagnetic equation with continuous boundary conditions, a linear electromagnetic equation with discontinuous boundary conditions, a nonlinear electromagnetic equation, and a multimedia electromagnetic equation with complex boundary conditions. These examples have known analytical solutions. We tested the efficiency of the proposed method by computing the maximum error, the absolute error, and the root mean squared error. The maximum error is: _δM_ ( _z_ ) = max | _za_ - _zl_ | _,_ (47) the absolute error is: _δA_ ( _z_ ) = _za_ - _zl,_ (48) and the root mean squared error is: <u>�</u> _i_ ∈ _�_ TABLE 1. Numerical results by Gaussian kernel function (example 1). TABLE 2. Numerical results by MQ function (example 1). FIGURE 3. Fitness curve for optimizing _σ_ and _γ_ by PSO algorithm (Ex1). FIGURE 4. Absolute error distribution of Ex1 between analytic solutions and solutions of the proposed method. Ex1 by the proposed method is 3.1685e-11, which is much less than that of the hybrid method [the same number of mesh points (training points) as in Ex1 are used] [16]. The method of reference [16] has error 3.467e-5. The irregular points are carried out in the entire computational domain. The number of training points was 300, and the Gaussian kernel function was used. The set of irregular points is shown in Fig. 6. Fig. 7 shows the absolute error distribution by irregular points for the analytic solutions and the proposed method. Fig. 8 shows the solutions by irregular points (optimal _σ_ = 4 _._ 5 and _γ_ = 6 _._ 90 _e_ + 7). _δM_ and _δS_ are 6.8441e-5 and 2.7326e-5, respectively. The numerical results show that the proposed method performs efficiently and can be used to solve electromagnetic problems. To prove the efficiency of the proposed method, MATLAB 2014A was used on a Windows 8.1 system with an Intel Core ( _z_ <sup>_i_</sup> _a_ - _z_ <sup>_i_</sup> _l_ <sup>)2</sup> <sup>_,_</sup> (49) _δS_ ( _z_ ) = ~~�~~ <u>1</u> | _�_ | where _�_ is the index set, and _za_ and _zl_ are respectively the analytical solution (or the solution of the FEM) and the solution of the proposed method. The Gaussian kernel function and MQ function were employed for all examples, thus two parameters ( _σ_ and _γ_ ) had to be tuned. _A._ _LINEAR ELECTROMAGNETIC EQUATION WITH_ _CONTINUOUS BOUNDARY CONDITIONS_ Consider the following electromagnetic equation with continuous boundary conditions:    ∇ <sup>2</sup> _φ_ = _φxx_ + _φyy_ = 0 _φ_ | _x_ =0 = _φx_ =3 = _φ_ | _y_ =−1 = 0 (50) _φ_ | _y_ =0 = sin <sup>_<u>π</u>_</sup> 3 <sup>_x._</sup> The analytic solution of the electromagnetic equation is _φ_ ( _x, y_ ) = <u>1</u> sinh <sup>_~~<u>π</u>~~_</sup> 3 <sup>sinh</sup> <sup>_<u>π</u>_</sup> 3 <sup>(</sup> <sup>_y_</sup> <sup>+ 1). We choose 30 equidis-</sup> 3 <sup>sin</sup> <sup>_<u>πx</u>_</sup> tant points in the interval [0, 3] and 10 equidistant points in the interval [−1, 0] as training points. So, the number of training points is 300. There are similar results while changing the number of training points. The node spacings of _x_ and _y_ are used to generate the mesh points for the training sets _hx_ and _hy_ . To test the performance of the proposed method, we designed several numerical experiments. The numerical results by the Gaussian kernel function and MQ function are listed in Tables 1 and 2, respectively. Fig. 3 shows the fitness curve for optimizing _σ_ and _γ_ by the PSO algorithm (Ex1). Fig. 4 shows the absolute error distribution of Ex1 between the analytic solutions and the solutions by the proposed method. Fig. 5 shows the solutions of Ex1. According to the defined relative error formula [16], the relative error of FIGURE 5. Solutions of Ex1. a: analytic solutions, b: solutions of proposed method. FIGURE 6. Irregular point sets for example 1. FIGURE 7. Absolute error distribution by irregular points between analytic solutions and solutions of proposed method. FIGURE 8. Solutions by irregular points (optimal _σ_ = 4 _._ 5 and _γ_ = 6 _._ 90 _e_ + 7). a: analytic solutions, b: solutions of proposed method. i5 CPU and 8.00 GB RAM. The computational cost and CPU time (Ex1) of the proposed method are listed in Table 3. The CPU time (Ex1) for integral computation is 10.321s, and the CPU time for solving the linear system of equations is 6.818s. The FEM can obtain the same accuracy of the proposed method, but it needs nearly eleven times more nodes and the CPU time is 27.305s. TABLE 3. Computational cost and CPU time of Ex1 (example 1). TABLE 4. Numerical results by Gaussian kernel function (example 2). TABLE 5. Numerical results by MQ function (example 2). _B._ _LINEAR ELECTROMAGNETIC EQUATION WITH_ _DISCONTINUOUS BOUNDARY CONDITIONS_ Consider the following electromagnetic equation with discontinuous boundary conditions: - _φxx_ + _φyy_ = 0 _,_ ( _x, y_ ) ∈ (0 _,_ 1) × (0 _,_ 1) _φ_ | _x_ =0 = _φ_ | _y_ =0 = _φ_ | _y_ =1 = 0 _,_ _φ_ | _x_ =1 = 10 _._ (51) The entire computational domain has a square shape. Forty equidistant points in the interval [0, 1] are used as training points, so the number of training points is 1,600. There are similar results while changing the number of training points. The node spacings of _x_ and _y_ are used to generate the mesh points for the training sets _hx_ and _hy_, respectively. The numerical results by the Gaussian kernel function and MQ function are listed in Tables 4 and 5, respectively. Since the problem’s exact solution is expressed as a series, we truncated the first 100 terms to compare with the solutions of the proposed method. To make a fair comparison, the same number of mesh points (training points) as in the proposed method were used, and the Galerkin FEM was _δM_ = 0 _._ 8543 and _δS_ = 0 _._ 05762. The maximum error and the root square error decreased as _ε_ decreased. In theory, the solutions of the proposed method approach the analytic solutions as _ε_ → 0 <sup>+</sup> . In fact, this is not true, as ∥∇ _φε_ ∥→∞ as _ε_ → 0 <sup>+</sup> . Fig. 9 shows the fitness curve for optimizing _σ_, _ε_, and _γ_ by the PSO algorithm (Ex1). Fig. 10 shows the absolute error distribution of Ex1. Fig. 11 shows the solutions of Ex1 by the proposed method. The computational cost and CPU time of The analytic solution of the electromagnetic equation is _φ_ ( _x, y_ ) = <sup><u>40</u></sup> _<u>π</u>_ ∞ _n_ =1 sinh _<u>π</u>_ <u>1(2</u> _n_ −1) <sup>sinh((2</sup> <sup>_n_</sup> <sup>−1)</sup> <sup>_πx_</sup> <sup>) sin((2</sup> <sup>_n_</sup> <sup>−1)</sup> <sup>_πy_</sup> <sup>).</sup> FIGURE 9. Fitness curve for optimizing _σ_, _ε_, and _γ_ by PSO algorithm (Ex1). FIGURE 10. Absolute error distribution of Ex1 between analytic solutions and solutions of proposed method. the proposed method are listed in Table 6 (Ex1). The CPU time (Ex1) for integral computation is 22.248s, and the CPU time for solving the linear system of equations is 10.477s. The FEM can obtain the same accuracy of the proposed method, but it needs nearly ten times more nodes and the CPU time is 58.122s. The irregular points are implemented in the entire computational domain. The number of training points is 1,600, and the Gaussian kernel function is used. The irregular point sets are shown in Fig. 12. Fig. 13 shows the solutions by irregular points (optimal _ε_ = 0 _._ 053, _γ_ = 2 _._ 4591 _e_ + 9, and _σ_ = 0 _._ 0163). Fig. 14 shows the absolute error distribution by irregular points between the analytic solutions and the solutions of the proposed method. _δM_ and _δS_ are 1.3862 and 0.8359, respectively. The results by the proposed method show superiority over the FEM method, so the proposed method can solve the electromagnetic equation with discontinuous boundary conditions. _C._ _NONLINEAR ELECTROMAGNETIC EQUATION_ Consider the following nonlinear electromagnetic equation: _∂∂x_ <sup>(</sup> <sup>_v_</sup> <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _x_ <sup>_<u>z</u>_</sup> _∂_ <sup>_<u>A</u>_</sup> _y_ <sup>_<u>z</u>_</sup> <sup>) = 1</sup> <sup>_._</sup> <sup>5</sup> <sup>_a_</sup> <sup>5</sup> <sup>_e_</sup> <sup>4</sup> <sup>_ay_</sup> <sup>sin</sup> <sup>_ax_</sup> _π_   <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _x_ <sup>_<u>z</u>_</sup> <sup>) +</sup> _∂_ <sup>_∂_</sup> _∂_ <sup>_∂_</sup> _y_ <sup>(</sup> <sup>_v_</sup> <sup>_∂_</sup> _∂_ <sup>_<u>A</u>_</sup> _y_ <sup>_<u>z</u>_</sup> FIGURE 11. Solutions of Ex1. a: analytic solutions, b: solutions of proposed method. TABLE 6. Computational cost and CPU time of Ex1 (example 2). FIGURE 12. Irregular point sets for example 2. FIGURE 13. Solutions by irregular points (optimal _ε_ = 0 _._ 053, _γ_ = 2 _._ 4591 _e_ + 9 and _σ_ = 0 _._ 0163). a: analytic solutions, b: solutions of proposed method. and 40 equidistant points in the interval [0, 6] are used as training points, so the number of training points is 1,600. There are similar results while changing the number of training points. The node spacings of _x_ and _y_ are used to generate the mesh points for the training sets _hx_ and _hy_, respectively. To test the performance of the proposed method, we designed several numerical experiments. The numerical results by the Gaussian kernel function and MQ function are listed in Tables 7 and 8, respectively. The same number _Az_ ( _x,_ 0) = sin _ax, Az_ ( _x,_ 6) = _e_ (52)  <sup>_∂Az_</sup> _∂x_ <sup>(6</sup> <sup>_, y_</sup> <sup>) = 0</sup> <sup>_,_</sup> 2 sin _ax_ _Az_ (0 _, y_ ) = 0 _,_ <sup>_∂Az_</sup> _∂x_ where _a_ = 12 <sup>_<u>π</u>_</sup> <sup>,</sup> <sup>_H_</sup> <sup>= 0</sup> <sup>_._</sup> <sup>5</sup> <sup>_B_</sup> <sup>4, and</sup> <sup>_v_</sup> <sup>= 0</sup> <sup>_._</sup> <sup>5</sup> <sup>_B_</sup> <sup>3.</sup> The analytic solution of the example is _Az_ = _e_ <sup>_ay_</sup> sin( _ax_ ). Forty equidistant points in the interval [0, 6] FIGURE 14. Absolute error distribution by irregular points between analytic solutions and solutions of proposed method. FIGURE 15. Fitness curve for optimizing _σ_ and _γ_ by PSO algorithm (Ex1). TABLE 7. Numerical results by Gaussian kernel function (example 3). TABLE 8. Numerical results by MQ function (example 3). of mesh points (training points of Ex1) as in the proposed method were generated, and the variational FEM was _δM_ = 7 _._ 5293 _e_ - 3 and _δS_ = 1 _._ 9836 _e_ - 3. Fig. 15 shows the fitness curve for optimizing _σ_ and _γ_ by the PSO algorithm (Ex1). Fig. 16 shows the absolute error distribution of Ex1 between the analytic solutions and the solutions of the proposed method. Fig. 17 shows the solutions of Ex1. The computational cost and CPU time (Ex1) of the proposed method are listed in Table 9. The CPU time (Ex1) for integral computation is 423.925s, and the CPU time for solving the linear system of equations is 192.672s. The FEM can obtain the same accuracy of the proposed method, but it needs nearly fifteen times more nodes and the CPU time is 728.201s. The irregular points are implemented in the FIGURE 16. Absolute error distribution of Ex1 between analytic solutions and solutions of proposed method. FIGURE 17. Solutions of Ex1. a: analytic solutions, b: solutions of proposed method. FIGURE 18. Irregular point sets for example 3. TABLE 9. Computational cost and CPU time of Ex1 (example 3). entire computational domain. The number of training points was 1,600, and the Gaussian kernel function was used. The irregular point sets are shown in Fig. 18. Fig. 19 shows the absolute error distribution by irregular points between the analytic solutions and the solutions of the proposed method. Fig. 20 shows the solutions by irregular points (optimal _γ_ = 7 _._ 8936 _e_ + 9 and _σ_ = 0 _._ 4743). _δM_ and _δS_ are 4.4242e-14 and 1.2859e-14. The numerical results show that the solutions of the proposed method have the desired accuracy, so it can solve the nonlinear electromagnetic equation. FIGURE 19. Absolute error distribution by irregular points between analytic solutions and solutions of proposed method. FIGURE 20. Solutions by irregular points (optimal _γ_ = 7 _._ 8936 _e_ + 9, and _σ_ = 0 _._ 4743). a: analytic solutions, b: solutions of proposed method. _D._ _MULTIMEDIA ELECTROMAGNETIC EQUATION_ Consider the following multimedia electromagnetic equation: ∇ <sup>2</sup> _u_ 1( _x, y_ ) = 0 _,_ ( _x, y_ ) ∈ _�_ 1 ∇ <sup>2</sup> _u_ 2( _x, y_ ) = 0 _,_ ( _x, y_ ) ∈ _�_ 2   _u_ 1| _y_ =−0 _._ 5 = _u_ 2| _y_ =−0 _._ 5 _,_ _on �_ 1 FIGURE 21. Schematic diagram of entire computational domain. FIGURE 22. Fitness curve for optimizing _σ_ and _γ_ by PSO algorithm (Gaussian kernel function). FIGURE 23. Contours of example. a: analytic solutions; b: solutions of proposed method (Gaussian kernel function). FIGURE 24. Contour of FEM software. _σ_ <sup>2</sup> = 0 _._ 1998, and _γ_ = 2 _._ 36 _e_ + 8 (Gaussian kernel function). The contours of the example by the Gaussian kernel function are shown in Fig. 23. To test the performance of the proposed method, we computed the example using FEM ���� _y_ =−0 _._ 5 (53) _∂u_ <u>2</u> _∂n_ _,_ _on �_ 1 _ε_ 1 ���� _y_ =−0 _._ 5 = _ε_ 2  _∂u_ <u>1</u> _∂n_ <sup>_<u>x</u>_</sup> 3 <sup>_, u_</sup> <sup>|</sup> <sup>_y_</sup> <sup>=−1</sup> <sup>_,x_</sup> <sup>=0</sup> <sup>_,x_</sup> <sup>=3</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>_on �_</sup> <sup>2</sup> <sup>_,_</sup> _u_ | _y_ =0 = sin <sup>_πx_</sup> 3 where _ε_ 1 = 100 and _ε_ 2 = 1; _�_ 1 is the interface between _�_ 1 and _�_ 2; _�_ 2 are the left, right, top and bottom; and _n_ is the outward normal vector. The analytic solution of the example is _k_ sin( <sup>_π_</sup> 3 <sup>_<u>x</u>_</sup> 3 <sup>_<u>x</u>_</sup> <sup>)((</sup> <sup>_ε_</sup> <sup>1 tanh(</sup> <sup>_π_</sup> 6 <sup>) −</sup> <sup>_ε_</sup> <sup>2 coth(</sup> <sup>_π_</sup> 6 <sup>)) sinh</sup> ( <sup>_π_</sup> <sup><u>(</u></sup> <sup>_<u>y</u>_</sup> <sup>+ 1)</sup> <sup>+ 1)</sup> ) + ( _ε_ 2 − _ε_ 1) cosh( <sup>_π_</sup> <sup><u>(</u></sup> <sup>_<u>y</u>_</sup> <sup>+ 1)</sup> 3 3 <sup>+ 1)</sup> )) _,_ 3 _u_ ( _x, y_ ) =  (  _k_ (  - 0 _._ 5 ≤ _y_ ≤ 0 _k_ ( _ε_ 1 tanh( <sup>_π_</sup> 6 <sup>_π_</sup> 6 <sup>) −</sup> <sup>_ε_</sup> <sup>2 coth(</sup> <sup>_π_</sup> 6 <sup>)+</sup> ( _ε_ 2 − _ε_ 1) coth( <sup>_π_</sup> 6 <sup>_π_</sup> 6 <sup>)) sin(</sup> <sup>_π_</sup> 3 <sup>_<u>x</u>_</sup> <sup>) sinh(</sup> <sup>_π_</sup> <sup><u>(</u></sup> <sup>_<u>y</u>_</sup> <sup>+</sup> 3 <sup><u>1)</u></sup> ) _,_ −1 _._ 0 ≤ _y_ ≤−0 _._ 5 The entire computational domain is shown in Fig. 21. One hundred equidistant points in the interval [0, 3] and 30 equidistant points in the interval [−1, 0] are used as training points, so the number of training points is 3,000. The fitness curve for optimizing _σ_ and _γ_ by the PSO algorithm (Gaussian kernel function) is shown in Fig. 22. The optimal FIGURE 25. Absolute error among solutions of proposed method, FEM, and analytic solutions along the line _x_ = 1 _._ 5 (Guassian kernel function). FIGURE 26. Absolute error among solutions of proposed method, FEM, and analytic solutions along the line _x_ = 1 _._ 5 (MQ function). FIGURE 27. Irregular point sets for example 4. software. The same number of mesh points (training points) as in the proposed method were used in the entire computational domain. Fig. 24 shows the results from the FEM software. We used the proposed method with the MQ function to solve the example. The optimal _σ_ <sup>2</sup> = 1 _._ 463, and _γ_ = 8 _._ 75 _e_ + 6 (MQ function). Fig. 25 shows the absolute error (comparisons among the solutions of the proposed method, FEM, and analytic solutions) along the line _x_ = 1 _._ 5 by the Gaussian kernel function. Fig. 26 shows the absolute error (comparisons among the solutions of the proposed method, FEM, and analytic solutions) along the line _x_ = 1 _._ 5 by the MQ function. The computational cost and CPU time of the proposed method are listed in Table 10 (Gaussian kernel function). The CPU time for integral computation is 85.516s, and the CPU time for solving the linear system of equations is 38.752s. The FEM can obtain the same accuracy of the proposed method, but it needs nearly nine times more nodes and the CPU time is 148.461s. The irregular point sets are FIGURE 28. Contours of example. a: analytic solutions; b: solutions of proposed method (irregular points). FIGURE 29. Absolute error among solutions of proposed method, FEM, and analytic solutions along the line _x_ = 1 _._ 5 (irregular points). TABLE 10. Computational cost and CPU time of example 4 (Gaussian kernel function). shown in Fig. 27. The number of training points was 3,000, and a Gaussian kernel function was used. Fig. 28 shows the solutions by irregular points (optimal _γ_ = 5 _._ 0037 _e_ + 7 and _σ_ <sup>2</sup> = 0 _._ 0076). Fig. 29 shows the absolute error (comparisons among the solutions of the proposed method, FEM, and analytic solutions) along the line _x_ = 1 _._ 5 by the Gaussian kernel function (irregular points). The numerical results show that the proposed method can obtain accurate solutions and can be used to solve the multimedia electromagnetic equation. VI. DISCUSSION AND CONCLUSION This paper uses RBF network-based FE-LSSVM to solve 2-D electromagnetic equations, including a linear electromagnetic equation with continuous boundary conditions, linear electromagnetic equation with discontinuous boundary conditions, nonlinear electromagnetic equation, and multimedia electromagnetic equation. Examples of electromagnetic equations in this paper were solved by FEM, the analytical method, and standard LS-SVM for comparison. From Tables 1, 2, 4, 5, 7, and 8, the results show that the accuracy of the proposed method is superior to that of ordinary FEM because the proposed method can obtain the closed-form approximate solutions of electromagnetic equations. The irregular points are carried out in the entire computational domain for all of the examples. Compared with the results of the uniform points, the accuracy is reduced. To implement the proposed method, _σ_, _γ_, and _ε_ are given by PSO, and the results of the proposed method are very close to the analytical solutions. This demonstrates that the proposed method has good robustness and convergence. The results show that the method proposed in this paper easily handles complex boundary conditions, and the computational complexity is decreased. In future work, the proposed method will be used to solve three-dimensional electromagnetic equations with open boundaries and inverse problems of electromagnetic fields. To reduce the CPU time, the faster deterministic approach (such as secant or tangent method) will be used to get the optimal parameters. REFERENCES [1] R. K. Mohanty, ‘‘An unconditionally stable finite difference formula for a linear second order one space dimensional hyperbolic equation with variable coefficients,’’ _Appl. Math. Comput._, vol. 165, no. 1, pp. 229–236, 2005. [2] V. Thomée, ‘‘From finite differences to finite elements: A short history of numerical analysis of partial differential equations,’’ _J._ _Comput._ _Appl._ _Math_, vol. 128, nos. 1–2, pp. 1–54, 2001. [3] J.-M. Jin, _The Finite Element Method in Electromagnetics_ . New York, NY, USA: Wiley, 1993. [4] P. K. Banerjee and R. Butterfield, _Boundary Element Methods in Engineer-_ _ing Science_ . London, U.K.: McGraw-Hill, 1981. [5] L. B. Lucy, ‘‘A numerical approach to the testing of the fission hypothesis,’’ _Astron. J._, vol. 8, no. 12, pp. 1013–1024, 1977. [6] C. Piret, ‘‘The orthogonal gradients method: A radial basis functions method for solving partial differential equations on arbitrary surfaces,’’ _J. Comput. Phys._, vol. 231, no. 14, pp. 4662–4675, 2012. [7] T. Belytschko, Y. Y. Lu, and L. Gu, ‘‘Element-free Galerkin methods,’’ _Int._ _J. Numer. Methods Eng._, vol. 37, no. 2, pp. 229–256, 1994. [8] H.-J. Chung and T. Belytschko, ‘‘An error estimate in the EFG method,’’ _Comput. Mech._, vol. 21, no. 2, pp. 91–100, 1998. [9] T. Belytschko, Y. Krongauz, M. Fleming, W. K. S. Liu, and D. Organ, ‘‘Smoothing and accelerated computations in the element free Galerkin method,’’ _J. Comput. Appl. Math._, vol. 74, no. 1, pp. 111–126, 1996. [10] Y. Y. Lu, T. Belytschko, and M. Tabbara, ‘‘Element-free Galerkin method for wave propagation and dynamic fracture,’’ _Comput._ _Methods_ _Appl._ _Mech. Eng._, vol. 126, nos. 1–2, pp. 131–153, 1995. [11] G. F. Parreira, E. J. Silva, R. C. Mesquita, and A. R. Fonseca, ‘‘The element-free Galerkin method in three-dimensional electromagnetic problems,’’ _IEEE Trans. Magn._, vol. 42, no. 4, pp. 711–714, Apr. 2006. [12] X. Chen, G. Lei, K. R. Shao, Y. Guo, J. Zhu, J. D. Lavers, and G. Yang, ‘‘Using improved domain decomposition method and radial basis functions to determine electromagnetic fields near material interfaces,’’ _IEEE Trans._ _Magn._, vol. 48, no. 2, pp. 199–202, Feb. 2012. [13] S. J. Lai, B. Z. Wang, and Y. Duan, ‘‘Meshless radial basis function method for transient electromagnetic computations,’’ _IEEE Trans. Magn._, vol. 44, no. 10, pp. 2288–2295, Oct. 2008. [14] G. Yang, X. Chen, K. R. Shao, Y. Guo, J. Zhu, J. D. Lavers, and G. Lei, ‘‘Domain decomposition combined radial basis function collocation method to solve transient eddy current magnetic problems with moving conductors,’’ _IEEE Trans. Magn._, vol. 47, no. 10, pp. 2939–2942, Oct. 2011. [15] S. L. Ho, S. Yang, H. C. Wong, and G. Ni, ‘‘A meshless collocation method based on radial basis functions and wavelets,’’ _IEEE Trans. Magn._, vol. 40, no. 2, pp. 1021–1024, Mar. 2004. [16] Y. Zou, G. Lei, Y. Guo, J. Zhu, X. Chen, and K. Shao, ‘‘Hybrid approach of radial basis function and finite element method for electromagnetic problems,’’ _IEEE Trans. Magn._, vol. 51, no. 3, Mar. 2015, Art. no. 7201704. [17] C. A. Micchelli, ‘‘Interpolation of scattered data: Distance matrices and conditionally positive definite functions,’’ _Constructive_ _Approx._, vol. 2, no. 1, pp. 11–22, 1986. [18] J. Li, S. Luo, Y. Huang, and Y. Qi, ‘‘Numerical solution of elliptic partial differential equation by growing radial basis function neural networks,’’ in _Proc. Conf. Neural Netw._, 2003, pp. 85–90. [19] I. E. Lagaris, A. Likas, and D. I. Fotiadis, ‘‘Artificial neural networks for solving ordinary and partial differential equations,’’ _IEEE_ _Trans._ _Neural_ _Netw._, vol. 9, no. 5, pp. 987–1000, Sep. 1998. [20] P. Ramuhalli, L. Udpa, and S. S. Udpa, ‘‘Finite-element neural networks for solving differential equations,’’ _IEEE Trans. Neural Netw._, vol. 16, no. 6, pp. 1381–1392, Nov. 2005. [21] I. E. Lagaris, A. C. Likas, and D. G. Papageorgiou, ‘‘Neural-network methods for boundary value problems with irregular boundaries,’’ _IEEE_ _Trans. Neural Netw._, vol. 11, no. 5, pp. 1041–1049, Sep. 2000. [22] B. Choi and J.-H. Lee, ‘‘Comparison of generalization ability on solving differential equations using backpropagation and reformulated radial basis function networks,’’ _Neurocomputing_, vol. 73, nos. 1–3, pp. 115–118, 2009. [23] N. Mai-Duy and T. Tran-Cong, ‘‘Numerical solution of differential equa tions using multiquadric radial basis function networks,’’ _Neural_ _Netw._, vol. 14, no. 2, pp. 185–199, 2001. [24] Y. Shirvany, M. Hayati, and R. Moradian, ‘‘Multilayer perceptron neural networks with novel unsupervised training method for numerical solution of the partial differential equations,’’ _Appl._ _Soft_ _Comput._, vol. 9, no. 1, pp. 20–29, 2009. [25] J.-L. An and Z.-P. Ma, ‘‘Study on the solving method of electromagnetic field forward problem based on support vector machine,’’ in _Proc._ _Conf._ _Mach. Learn. Cybern._, 2010, pp. 1505–1509. [26] M. Baymani, O. Teymoori, and S. G. Razavi, ‘‘ _ε_ -least square support vector method for solving differential equations,’’ _Amer._ _J._ _Comput._ _Sci._ _Inf. Eng._, vol. 3, no. 1, pp. 1–6, 2016. [27] Z. K. Wu, F. L. Li, and D. Y. Kwak, ‘‘Approximate solutions to one dimensional backward heat conduction problem using least squares support vector machines,’’ _J._ _Chungcheong_ _Math._ _Soc._, vol. 29, no. 4, pp. 631–642, 2016. [28] Y.-X. Wu, L. Guo, Y. Li, X.-Q. Shen, W.-L. Yan, ‘‘Multi-layer support vector machine and its application,’’ in _Proc. Conf. Mach. Learn. Cybern._, 2006, pp. 13–16. [29] S. Mehrkanoon and J. A. K. Suykens, ‘‘Learning solutions to partial differential equations using LS-SVM,’’ _Neurocomputing_, vol. 159, no. 1, pp. 105–116, 2015. [30] S. Mehrkanoon and J. A. K. Suykens, ‘‘LS-SVM approximate solution to linear time varying descriptor systems,’’ _Automatica_, vol. 48, no. 10, pp. 2502–2511, 2012. [31] S. Mehrkanoon, T. Falck, and J. A. K. Suykens, ‘‘Approximate solu tions to ordinary differential equations using least squares support vector machines,’’ _IEEE_ _Trans._ _Neural_ _Netw._ _Learn._ _Syst._, vol. 23, no. 9, pp. 1356–1367, Sep. 2012. [32] F. M. Ham and I. Kostanic, _Principles of Neurocomputing for Science and_ _Engineering_ . New York, NY, USA: McGraw-Hill, 2001. [33] J.-H. Jung, ‘‘A note on the Gibbs phenomenon with multiquadric radial basis functions,’’ in _Applied_ _Numerical_ _Mathematics_ . Amsterdam, The Netherlands: Elsevier, 2007. [34] K. E. Parsopoulos and M. N. Vrahatis, ‘‘Particle swarm optimization method in multiobjective problems,’’ in _Proc. ACM Symp. Appl. Comput._, 2002, pp. 603–607. [35] M. D. Phung, C. H. Quach, Q. Ha, and T. H. Dinh, ‘‘Enhanced discrete particle swarm optimization path planning for UAV vision-based surface inspection,’’ _Autom. Construct._, vol. 81, pp. 25–33, Sep. 2017. XIAOMING HAN was born in Shenyang, China. He received the B.E. and M.E. degrees in control engineering from Shenyang Aerospace University, Shenyang, China, in 2005, and Shenyang University of Technology, Shenyang, China, in 2013, respectively. He is currently pursuing the Ph.D. degree in electrical engineering. His current research interests include numerical computation of electromagnetic field and machine learning. ZHENG LIU (S’13) was born in Handan, China, in 1987. He received the B.S. degree in electric engineering and automation from the Huazhong University of Science and Technology, Wuhan, China, in 2009, and the M.Sc. degree in electronic and electrical engineering from the University of Sheffield, Sheffield, U.K., in 2011. He received the Ph.D. degree in electrical machine from the School of Electrical and Electronic Engineering, Newcastle University, Newcastle upon Tyne, U.K. He is currently a Postdoctoral Researcher with the Dalian university of Technology. His research interests include the multi-parameter fusion-based condition monitoring technologies of electrical machines and machine design. Dr. Liu received the Best Paper Award at the Linear Drives for Industry Applications (LDIA’13) Conference. JINJUN WANG was born in Dalian, China, in 1981. He received the B.E. and Ph.D. degrees in electrical engineering from the Dalian University of Technology, Dalian, China, in 2005 and 2011, respectively. He is currently an Associate Professor with the School of Electrical Engineering. His research interests include electric arc furnace mathematical modeling and control technology, and numerical computation of electromagnetic field. ZIKU WU was born in Qiqihaer, China, in 1968. He received the Ph.D. degree from the Ocean University of China, Qingdao, China, in 2005. He is currently a Professor with the Science and Information College, Qingdao Agricultural University, Qingdao, China. His research interests include numerical computation of electromagnetic field and machine learning. GUOFENG LI was born in Qiqihaer, China, in 1968. He received the Ph.D. degree from the Dalian University of Technology, Dalian, China, in 2000. He is currently a Professor with the School of Electrical engineering, Dalian University of Technology, Dalian, China. His research interests include theory and new technologies of electrical engineering. YAN WU received the B.E. degree from Northeast Normal University, Changchun, China, in 1982. He is currently a Professor with the School of Electrical Engineering, Dalian University of Technology, Dalian, China. His research interests include machine learning and numerical computation of electromagnetic field.

섹션 본문

섹션 본문이 없습니다.

참고문헌 34건

  1. From finite differences to finite elements Journal of Computational and Applied Mathematics · Elsevier BV · 2001 10.1016/s0377-0427(00)00507-0
  2. Boundary element methods in engineering science International Journal of Rock Mechanics and Mining Sciences & Geomechanics Abstracts · Elsevier BV · 1984 10.1016/0148-9062(84)90010-x
  3. Principles of Neurocomputing for Science and Engineering 2000
  4. The Finite Element Method in Electromagnetics 1993
  5. Learning solutions to partial differential equations using LS-SVM Neurocomputing · Elsevier BV · 2015 10.1016/j.neucom.2015.02.013
  6. An error estimate in the EFG method Computational Mechanics · Springer Science+Business Media · 1998 10.1007/s004660050286
  7. An unconditionally stable finite difference formula for a linear second order one space dimensional hyperbolic equation with variable coefficients Applied Mathematics and Computation · Elsevier BV · 2004 10.1016/j.amc.2004.07.002
  8. Approximate Solutions to Ordinary Differential Equations Using Least Squares Support Vector Machines IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2012 10.1109/tnnls.2012.2202126
  9. Hybrid Approach of Radial Basis Function and Finite Element Method for Electromagnetic Problems IEEE Transactions on Magnetics · IEEE Magnetics Society · 2015 10.1109/tmag.2014.2354371
  10. A note on the Gibbs phenomenon with multiquadric radial basis functions Applied Numerical Mathematics · Elsevier BV · 2006 10.1016/j.apnum.2006.02.006
  11. Numerical solution of differential equations using multiquadric radial basis function networks Neural Networks · Elsevier BV · 2001 10.1016/s0893-6080(00)00095-2
  12. Smoothing and accelerated computations in the element free Galerkin method Journal of Computational and Applied Mathematics · Elsevier BV · 1996 10.1016/0377-0427(96)00020-9
  13. Multilayer perceptron neural networks with novel unsupervised training method for numerical solution of the partial differential equations Applied Soft Computing · Elsevier BV · 2008 10.1016/j.asoc.2008.02.003
  14. Element-free Galerkin method for wave propagation and dynamic fracture Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1995 10.1016/0045-7825(95)00804-a
  15. Study on the solving method of electromagnetic field forward problem based on support vector machine International Conference on Machine Learning and Cybernetics · 2010 10.1109/icmlc.2010.5580827
  16. LS-SVM approximate solution to linear time varying descriptor systems Automatica · Elsevier BV · 2012 10.1016/j.automatica.2012.06.095
  17. A numerical approach to the testing of the fission hypothesis The Astronomical Journal · Institute of Physics · 1977 10.1086/112164
  18. The orthogonal gradients method: A radial basis functions method for solving partial differential equations on arbitrary surfaces Journal of Computational Physics · Elsevier BV · 2012 10.1016/j.jcp.2012.03.007
  19. Multi-Layer Support Vector Machine and its Application International Conference on Machine Learning and Cybernetics · 2006 10.1109/icmlc.2006.258583
  20. Finite-Element Neural Networks for Solving Differential Equations IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 2005 10.1109/tnn.2005.857945
  21. Meshless Radial Basis Function Method for Transient Electromagnetic Computations IEEE Transactions on Magnetics · IEEE Magnetics Society · 2008 10.1109/tmag.2008.2001796
  22. A Meshless Collocation Method Based on Radial Basis Functions and Wavelets IEEE Transactions on Magnetics · IEEE Magnetics Society · 2004 10.1109/tmag.2004.824778
  23. Element‐free Galerkin methods International Journal for Numerical Methods in Engineering · Wiley · 1994 10.1002/nme.1620370205
  24. The element-free Galerkin method in three-dimensional electromagnetic problems IEEE Transactions on Magnetics · IEEE Magnetics Society · 2006 10.1109/tmag.2006.872014
  25. Neural-network methods for boundary value problems with irregular boundaries IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 2000 10.1109/72.870037
  26. Domain Decomposition Combined Radial Basis Function Collocation Method to Solve Transient Eddy Current Magnetic Problems With Moving Conductors IEEE Transactions on Magnetics · IEEE Magnetics Society · 2011 10.1109/tmag.2011.2146240
  27. Artificial neural networks for solving ordinary and partial differential equations IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 1998 10110972712178
  28. Using Improved Domain Decomposition Method and Radial Basis Functions to Determine Electromagnetic Fields Near Material Interfaces IEEE Transactions on Magnetics · IEEE Magnetics Society · 2012 10.1109/tmag.2011.2173750
  29. Comparison of generalization ability on solving differential equations using backpropagation and reformulated radial basis function networks Neurocomputing · Elsevier BV · 2009 10.1016/j.neucom.2009.02.026
  30. APPROXIMATE SOLUTIONS TO ONE-DIMENSIONAL BACKWARD HEAT CONDUCTION PROBLEM USING LEAST SQUARES SUPPORT VECTOR MACHINES Journal of the Chungcheng Mathematical Society · Chungcheong Mathematical Society · 2016 10.14403/jcms.2016.29.4.631
  31. Enhanced discrete particle swarm optimization path planning for UAV vision-based surface inspection Automation in Construction · Elsevier BV · 2017 10.1016/j.autcon.2017.04.013
  32. Particle swarm optimization method in multiobjective problems Proceedings of the 2002 ACM symposium on Applied computing - SAC '02 · 2002 10.1145/508895.508907
  33. Interpolation of scattered data: Distance matrices and conditionally positive definite functions Constructive Approximation · Springer Science+Business Media · 1986 10.1007/bf01893414
  34. Numerical solution of elliptic partial differential equation by growing radial basis function neural networks Proceedings of ... International Joint Conference on Neural Networks · 2004 10.1109/ijcnn.2003.1223302