Download presentation
Presentation is loading. Please wait.
1
A Differential Transformation Toolbox for Solving Power System Differential Equations
1Peyton Spencer, 2Yang Liu, 2Dr. Kai Sun 1Auburn University 2The University of Tennessee, Knoxville ABSTRACT By modeling the grid with differential equations, utilities can predict the outcome of a fault and determine if the system remains resilient. In modern times, the grid is pushed closer to its limits to save money on infrastructure Faster simulation tools are needed to allow utilities to respond to faults proactively The differential transform method is one possible solution, but it has never been automated CONTRIBUTIONS Designed a storage method for polynomial differential equations Developed automatic transform code that can approximate solutions Tested a single machine infinite bus system METHOD The tool relies on the Differential Transform (DT) which provides a set of rules to explicitly transform a function to its Taylor series coefficients. The program is comprised of three large operations: Read the input and convert equations to MTM cell array format, allowing simple indexing ๐ ๐ฅ1 ๐๐ก =๐ด+๐ต+๐ถ ๐ ๐ฅ2 ๐๐ก =๐ทโ๐ธ ๐ ๐ฅ3 ๐๐ก =๐น+๐บโ๐ป Monomial Term Matrix (MTM) ๐ด .โ ๐ฅ1 .โ ๐ฅ2 .โ ๐ฅ3 .โโฆ.โ ๐ฅ๐ = ๐ด1 ๐ฅ11 ๐ฅ12 โฆ ๐ฅ1๐ ๐ด2 ๐ฅ21 ๐ฅ22 โฆ ๐ฅ2๐ โฎ โฎ โฎ โฑ โฎ ๐ด๐ ๐ฅ๐1 ๐ฅ๐2 โฆ ๐ฅ๐๐ MTM cell array Sign cell array [๐ด] [๐ต] [๐ถ] [๐ท] [๐ธ] [๐น] [๐บ] [๐ป] [1 1] [2] [1 2] Monomials Construct a Taylor series approximation using initial values and the DT Taylor Approximation ๐ฅ ๐ ๐ก = ๐=0 โ ๐ ๐ ๐ ๐ก ๐ X(N,K) Transformed Matrix ๐ 1 (0) ๐ โฆ ๐ 1 (๐พ) ๐ 2 (0) ๐ โฆ ๐ 2 (๐พ) โฎ โฎ โฑ โฎ ๐ ๐ (0) ๐ ๐ (1) โฆ ๐ ๐ (๐พ) MTM cell array Sign cell array Initial Values Transform Functions Automatically repeat the second process across multiple time windows The X(N,K) matrix is used to build a Taylor expansion for each differentiable variable. These approximations are accurate within a small time window. At the end of this window, the Taylor output becomes the new initial values and a new X(N,K) matrix is calculated. The next Taylor expansion is constructed with the new coefficient matrix, and the Taylor output is approximated for a time window of equal length. This process is repeated until the end of the time range specified. RESULTS This SMIB equation was tested against MATLAB ode45 solver: ๐๐ฅ ๐๐ก =๐๐ โ๐ฆ, ๐ฅ=๐๐๐ก๐๐ ๐๐๐๐๐, ๐ฆ=๐๐๐๐๐ข๐๐๐๐ฆ ๐๐ฆ ๐๐ก = 1 2๐ป (๐๐ โ๐๐๐๐ฅโ sin ๐ฅ โ๐โ๐ฆ) Rotor Angle and Frequency of SMIB equation sin ๐ฅ was converted to a 9th order Taylor polynomial The solvers graphed ๐ก= 0, 5 with 4000 equal time steps DTsolver took 1.32 s while ode45 took .081 s Transforming high powers took the longest Increasing number of time steps affects accuracy more than increasing K order Can increase new methodโs speed by allowing a varying time step that is small at points of inflection and large when the slope is changing less Acknowledgements This work was supported primarily by the ERC Program of the National Science Foundation and DOE under NSF Award Number EEC and the CURENT Industry Partnership Program.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.