Modern energy and electronic systems comprise a large number of nonlinear elements operating in dynamic modes. Accurate modeling of such systems requires proper consideration of nonlinear current-voltage characteristics (CVC) and transient processes, which is especially important when designing rectifiers, inverters, control systems and other power electronics devices. Existing electrical circuit simulators do not always provide users with the necessary flexibility, scalability, or compatibility with enterprise safety standards, and may have legal restrictions. Custom effective modeling methods for such systems allow for creating specialized software solutions to analyze dynamic modes of electrical circuits, free from the limitations of commercial simulators and tailored to specific engineering and scientific tasks. The purpose of the work is to develop a method for numerical modeling of dynamic modes of electrical circuits comprising semiconductor diodes or other elements with nonlinear CVC, described by nodal equations. The scientific novelty lies in the development of a homotopy approach to overcoming high condition number of the Jacobian matrix when solving nonlinear differential-algebraic equations (DAEs) of electrical circuits, based on deformation of CVC with adaptation of the deformation parameter depending on the residual norm and condition number of the matrix; in the development of a method for extracting linearly independent differential equations from DAEs of electrical circuits without preliminary analysis of their topology; in the development of a universal stamp of a nonlinear element, based on linearization of the functional in the vicinity of the current approximation, allowing for integration of diode models with various CVCs into nodal equations. Materials and methods. Theoretical electrical engineering methods were used in the work, including the modified nodal potential method. The proposed numerical modeling method involves integration of elements with nonlinear CVC into nodal equations; extraction of differential and algebraic parts from DAEs, based on singular value decomposition of the matrix standing before the derivative vector; transformation of DAEs into a nonlinear system of algebraic equations using backward differentiation formulas (BDF) with variable time step. Initial points for BDF were determined by the diagonally implicit Runge–Kutta method of second order accuracy. Numerical solution of the obtained nonlinear equations was performed by the damped Newton–Raphson method. To reduce the condition number of the Jacobian matrix in transient modes, when the spread of differential conductivities reaches 12 orders and higher, a homotopy approach was proposed, consisting of gradual deformation of the diode CVC from a smoothed to the original curve during convergence, while maintaining a given value of the condition number. Results. To demonstrate the proposed solutions, computer simulation of a bridge rectifier operating on an active-inductive load with two types of diode CVC was performed: piecewise-linear and smooth, corresponding to the Shockley equation with series resistance. The deformation parameter and damping coefficient were adaptively changed depending on the residual norm of the functional and the condition number of the Jacobian matrix. Comparison of simulation results with different methods of specifying diode CVC showed that differences appear predominantly in transient processes of switching diode operation modes. It has been found that to ensure convergence of numerical solution in diode switching modes, characterized by high condition number of the Jacobian matrix, the homotopy approach is more effective than diagonal regularization. The proposed method for numerical modeling of dynamic modes of electrical circuits with nonlinear elements has a natural algorithmic structure, allowing for simple software implementation. Conclusions. 1. The most universal diode stamp, obtained on the basis of linearization of the functional derived from the CVC equation in the vicinity of the current approximation, has been identified. 2. A method for extracting linearly independent differential equations from DAEs of electrical circuits without preliminary analysis of circuit topology has been proposed. 3. A method for calculating the Jacobian matrix for solving nonlinear DAE has been proposed. 4. To ensure convergence of numerical solution with high condition number of the Jacobian matrix, it is preferable to apply the homotopy approach.
Read more