WO2018102720A1 - System and method for a fast power network simulator - Google Patents
System and method for a fast power network simulator Download PDFInfo
- Publication number
- WO2018102720A1 WO2018102720A1 PCT/US2017/064273 US2017064273W WO2018102720A1 WO 2018102720 A1 WO2018102720 A1 WO 2018102720A1 US 2017064273 W US2017064273 W US 2017064273W WO 2018102720 A1 WO2018102720 A1 WO 2018102720A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- equations
- power network
- power
- differential
- differential equations
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote monitoring or remote control of equipment in a power distribution network
- H02J13/10—Circuit arrangements for providing remote monitoring or remote control of equipment in a power distribution network characterised by displaying of information or by user interaction, e.g. supervisory control and data acquisition [SCADA] systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
- G06F17/13—Differential equations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/36—Circuit design at the analogue level
- G06F30/367—Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/60—Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/001—Arrangements for handling faults or abnormalities, e.g. emergencies or contingencies
- H02J3/0014—Arrangements for handling faults or abnormalities, e.g. emergencies or contingencies for preventing or reducing power oscillations in networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/04—Arrangements for connecting networks of the same frequency but supplied from different sources
- H02J3/06—Controlling the transfer of power between connected networks; Controlling load sharing between connected networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/38—Arrangements for feeding a single network from two or more generators or sources in parallel; Arrangements for feeding already energised networks from additional generators or sources in parallel
- H02J3/46—Controlling the sharing of generated power between the generators, sources or networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2103/00—Details of circuit arrangements for mains or AC distribution networks
- H02J2103/30—Simulating, planning, modelling, reliability check or computer assisted design [CAD] of electric power networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/40—Display of information, e.g. of data or controls
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S40/00—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
- Y04S40/20—Information technology specific aspects, e.g. CAD, simulation, modelling, system security
Definitions
- the present disclosure relates to power system stability analysis and more specifically to using differential equations to model grid generators, transmission lines, and loads.
- Power system stability analysis relies on power network simulators that find the power network variables such as voltages and currents, numerically.
- the stability studies are performed using off-line simulations that represent dynamical behavior of the power grids when affected by disturbances such as short circuits, sudden load changes, line disconnections, sudden topology changes, renewable energy interactions, etc.
- Currently available simulators for these studies include (1) dynamical-model simulators and (2) differential-algebraic-model simulators, each with simulation time-steps in the range of 5ms or less.
- Dynamical-model simulators such as Matlab/Simulink and EMTP employ dynamical models of the grid generators, transmission lines, and loads, while differential-algebraic model simulators utilize algebraic models of the transmission lines and loads, resulting in a faster simulation.
- These methods benefit from high levels of accuracy; however, the simulation times for both methods represent a significant barrier, especially with large power grids. More specifically, as power grids get larger and more complicated, the amount of time required to simulate those power grids using dynamical-model simulators and differential-algebraic model simulators grows exponentially. In the real-world, this can mean that power grid personnel must often wait hours before performing maintenance or upgrades while simulations are performed.
- differential-algebraic-model simulators employ dynamical models of the grid generators, controllers, time-variable components, and algebraic power-flow equations to model transmission lines through impedance models and loads.
- the dynamic models of the generators, as well as the algebraic power-flow equations are converted to differential equations, which can in turn be used to simulate the power system. Doing so results in significantly faster convergence compared to the dynamic- model simulators or conventional differential-algebraic model simulators.
- Table 1 [0006] For example, in previous simulators, the set of dynamic models, or the set of nonlinear differential and algebraic equations that model the entire power grid, was solved fully or partially by the Newton-Raphson method.
- the Newton-Raphson method is a method to solve non-linear algebraic equations, and is utilized to find load-flow solutions in power systems in order to find the bus voltages and angles at steady-state condition.
- load flow equations which describe the entire power grid, are utilized in the form of algebraic equations in an error loop until a convergence occurs.
- FIG. 1 illustrates an example of a two-axis generator
- FIG. 2 illustrates an example stator algebraic relationship diagram
- FIG. 3 illustrates an example network power balance diagram of Bus / ' ;
- FIG. 4 illustrates an example of a trapezoidal integration algorithm
- FIG. 5 illustrates an example of an error detection loop
- FIG. 6 illustrates an example of a dynamic stability analysis
- FIG. 7 illustrates an exemplary iterative process for combining generator models into bus models
- FIG. 8 illustrates an exemplary method embodiment
- FIG. 9 illustrates an exemplary computer system.
- a system, method and computer-readable media are disclosed which provide for fast power network simulations.
- An exemplary method of performing the concepts disclosed herein can include: identifying a power network, the power network comprising generators, transmission lines, and loads; receiving a model of the power network, the model of the power network comprising: models of the generators and dynamical components modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting, via a processor, the algebraic equations of the models of the transmission lines and the loads to additional differential equations; combining, via the processor, the differential equations and the additional differential equations, to yield combined differential equations; iteratively solving linear equations, via the processor, associated with the combined differential equations, to yield solutions; and outputting the solutions as part of a power simulation of the power network.
- An exemplary system configured as disclosed herein can include: a processor; and a non-transitory computer-readable storage device having instructions stored which, when executed by the processor, cause the processor to perform operations comprising: identifying a power network, the power network comprising generators, transmission lines, and loads; receiving a model of the power network, the model of the power network comprising: models of the generators and dynamical components modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting the algebraic equations of the models of the transmission lines and the loads to additional differential equations; combining the differential equations and the additional differential equations, to yield combined differential equations; iteratively solving linear equations associated with the combined differential equations, to yield solutions; and outputting the solutions as part of a power simulation of the power network.
- An exemplary non-transitory computer-readable storage device can include instructions stored which, when executed by a computing device, cause the computing device to perform operations including: identifying a power network, the power network comprising generators, transmission lines, and loads; receiving a model of the power network, the model of the power network comprising: models of the generators and dynamical components modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting the algebraic equations of the models of the transmission lines and the loads to additional differential equations; combining the differential equations and the additional differential equations, to yield combined differential equations; iteratively solving linear equations associated with the combined differential equations, to yield solutions; and outputting the solutions as part of a power simulation of the power network.
- Section 1 Conventional Differential- Algebraic Model for Dynamic Model of Power System
- This section introduces the conventional differential-algebraic (DA) model that describes the dynamic behavior of the power system. More specifically, a transient stability analysis of the power system requires solving DA equations.
- DA differential-algebraic
- a major obstacle for solving DA equations is that there is no known analytical approach to have a time domain solution for these nonlinear equations.
- numerical methods are mainly utilized to solve the differential-algebraic equations.
- This section is organized in three sections.
- the first section briefly introduces the DA model using general mathematical form of a generator.
- the second section shows the differential equations describing a two-axis generator model in the power system.
- the last section introduces the algebraic equations when dealing with a multi-machine power system.
- a power system is called multi-machine when many synchronous generators at different buses are interconnected together by transformers and transmission lines.
- DAE ntial-algebraic equations
- (1) /represents all dynamic characteristics of the power system which mainly include generator dynamics.
- the system state variables such as generator angle ⁇ , generator speed ⁇ , and other generator dynamical parameters are shown by y.
- Vector x denotes all system algebraic variables such as bus voltages V and bus angles ⁇ .
- Input vector u represents inputs to the power system such as generator input torque and reference voltage Vref.
- the salient-pole machine has a narrower air gap along the direct axis comparing to the quadrature axis for each pole.
- the two-axis generator model 100 is shown in FIG. 1. As illustrated, dc field winding coils 112 are on a spinning rotor 1 14. As the rotor spins, distributed windings 102a, 102b, 104a, 104b, 106a, 106b are exposed to the magnetic fields, resulting in electrical generation.
- E'd and E'q are the transient voltage of d-axis and q-axis, respectively; and 0 is the angle of the bus.
- Td0 is the open circuit time constant of d-axis
- xd is the d-axis reactance
- Efd s the steady state internal voltage of the armature
- T qo is the open circuit time constant of q-axis
- Xq is the q-axis reactance.
- TE is the electrical torque
- URde notes the exciter input
- KE is an exciter gain.
- KA is the amplifier gain
- RF is the rate feedback
- Ta denotes the amplifier time c onstant
- Ure ⁇ is the reference voltage
- KFi the feedback gain
- TF is the feedback time c onstant.
- Psv is the steam value position
- TRHis the outputtorque ofthe steam
- KHPde notes the high pressure turbine gain
- TcH is the steam chest outputtorque
- PcN is the steam chest pressure.
- Tsvde the steam value torque
- Pc the output of a load reference motor
- R the speed regulation.
- a generator classical model has five parameters which are b;cv, Tnr,PcH,and Psv.
- the l ast three parameters areturbine parameters,which aresimilarcomparingtotwo-axis generator m odel.
- Generator angle b also has the same function as shown in equation (2).
- the c lassical generator model assumes a constant internal voltage due to the lack oftransient status. T his leads to a different function for cu,
- stator power balance equations can be derived by the following algebraic equations as,
- stator variables relationship can be derived from the circuit mode1200 ofFIG,2.
- Pg;and Qg denote the real power generation and reactive power generation.
- P,;S ⁇ h, Q;S ⁇ e denote the scheduled power entering the network.
- P Li and Q Li denote the demand power ofthe load on Bus i. P;and Q;are the calculated value that flow to the network.
- the trapezoidal integration method converts the differential equation into an algebraic equation and attempts to solve it using numerical methods. For example, for a general differential equation
- the integral area is approximately equal to trapezoidal area 404. That is, the integral for a function with values 406 over ⁇ t 402 can be approximated with a trapezoid 404, the trapezoid having values of the function 408, 410 as points of the trapezoid.
- a synchronous generator can be simulated using various models including, but not limited to, a two-axis generator model and a classical generator model. Although these two models have distinct differential expressions, the process of simulating them via the classic simulation process is the same. This classic simulation process is based on Newton-Raphson method. By building a Jacobian matrix (a matrix that is formed by first order partial derivatives in a particular pattern), the trapezoidal integration algorithm can yield the preferred precision.
- System operation falls into three phases in such simulations, which are: pre-fault, during the fault, and after the fault condition.
- the simulation steps are:
- step 3 If the error is smaller than 10 "5 (or other value), then go to step 3. Otherwise, go to step 9.
- step 3 If current simulation time is smaller than the maximum simulation time, go to step 3. Otherwise output the results.
- Newton-Raphson is a widely adopted iterative algorithm for numerically solving nonlinear equation sets, and can be used as a computerized algorithm for solving power system load flow equations.
- the differential equations can be solved separately, or can be converted into algebraic equations and solved along with the algebraic equations, as shown in (26). Assuming there are no dynamic variables y, the nonlinear equation set is:
- the first equation can be calculated as:
- (27) is a function for the product of high-order partial derivative of
- / represents calculated power for all buses as shown in (17) and (18); Zi denotes the scheduled power; and ⁇ represents both the bus voltages Vand bus angles ⁇ .
- the Newton-Raphson method can be used to calculate both the system's steady state and the system's instantaneous solution which are used to perform a stability analysis in which generator parameters and dynamics also may be considered.
- a two-axis generator model contains ten different dynamic parameters: All these variables are denoted as y i . Considering the generator dynamics, the Jacobian matrix .
- ⁇ F can be formed as:
- y is calculated in the same way along with x t .
- the Newton-Raphson method described can be used as part of an iterative error detection loop 500,as illustrated in FIG.5. Specifically,the method allowsfor calculating all differential equations ofgenerator variables(502),and the difference between the current and previous differential equation results(504). The system then calculatesthe power flow errors ofall algebraic equations(506),calculatesthe Jacobian matrix,0F,then updatesthe variables (see steps 3-6 above)(508), Ifthe maximum ofOF ⁇ s(510),then the loop ends,but ifnot then the loop begins to repeat until such a convergence occurs. As the size of a system increases,this process continuesto require more and moretime. [0056] 2.3Runge-Kutta Method and Procedure
- a power• system is a nonlinear system, models of power systems contain both differential and algebraic equations(as discussed earlier).However,it has been challenging to solve a set ofdifferential-algebraic equations(DAE)simultaneously.
- DAE Differential-algebraic equations
- the original DAE modeling the power system is converted into purely differential equations,then simulated by using the Runge-Kutta method(or any other appropriate solver)for differential equations.
- TheRunge-Kutta method isexplained hereasan exampletoshow howthedisclosed purely differential model ofpower system can be used and solved in time domain simulations.
- the Runge-Kutta method is very similar to a Taylor series solution. Different orders (a fi1•st order,second order,third order,etc.)in performing the Runge-Kutta method are used depending on elements which are keptfrom a Taylor series expansion. For example, a higher order of Runge-Kutta requires more significant items in a higher order expansions of Tylor series expansion, which results in more accurate calculations and output.
- step (n+1) the general function for x is:
- Ax is the incremental value of x depending on the weighted average of slope of beginning, middle and last point of the time step.
- the bus, line, and generator data are input into the system, the fault injection time is set, and the simulation time is cleared and reset (602). Then the various variables are initialized (604), at which point the Runge-Kutta algorithm can be run for a pre-fault situation (606). The initial value of the fault situation is calculated (608), and then the Runge-Kutta algorithm is run for a during-fault situation (610). The initial value(s) are then calculated for after-the-fault situation (612), and the Runge-Kutta algorithm runs for the after fault situation, and the algorithm ends.
- Section 3 Power System Dynamical Model Development [0063] This section explains the development of a power system dynamic model. First, dynamical equations are developed for bus voltage magnitudes and angles. All basic settings are also provided and explained in this section. Next, simulation results and analysis are presented including comparison between the disclosed method and the Newton-Raphson method. The benefits of using Runge-Kutta method are also illustrated.
- the Center of Inertia coordinate uses a synchronous rotational coordinate, which is a time varying coordinate.
- generator angles Under the center of inertia coordinate, generator angles, generator speeds, and bus angles can be represented as:
- bus voltage P and bus angle ⁇ are immediately affected when a fault occurs or is cleared. Accordingly, the variable I q changes follow the equation (69).
- the previous status I q can be used for the faulted or after-fault condition.
- the simulation can be separated into three incidents: i.e., before fault, during fault, and after fault.
- the initial value can be calculated for every incident. For example, if for a fault scenario, the line impedance of the system changes, based on the new impedance and the pre-fault internal voltage and generator angle, bus voltages and bus angles for faulted condition are calculated.
- a similar procedure can be used for the after- fault condition.
- bus voltages, bus angles, generator angles, and generator speeds are selected for comparison of accuracy.
- efficiency i.e., time required
- the disclosed method may use models of nonlinear loads where they can be converted to differential representation using differentiation method disclosed in (54).
- the two-axis generator model is simulated.
- the entire simulation time is 10 seconds.
- the disturbance is applied to two different systems, the IEEE 14-bus 5-generator system and the IEEE 1 18-bus 10-generator system, both small fault and larger fault is simulated. First in this section, the 14-bus system is tested.
- stator algebraic equations When substituting the stator equations to power balance algebraic equations, previous voltages and bus angles are used. However, when dealing with a faulted situation, the pre-fault stator variables cannot be used because of the immediate change in variables. The simulation discussed above uses previous stator variables which have different values after fault for all variables.
- a system 900 can receive a model of a power network, wherein the power network comprises dynamic models of generators and other dynamic components modeled as differential equations and models of transmission lines and loads modeled as algebraic equations (802).
- the system 900 converts, via a processor, the algebraic equations of the models of transmission lines and the loads to additional differential equations (804).
- the system 900 combines, via the processor, the differential equations and the additional equations, to yield combined differential equations (806).
- the system 900 then iteratively solves linear equations, via the processor, associated with the combined equations, to yield solutions (808) at each step time, and outputs the solutions as part of a power simulation system (810).
- the system 900 can iteratively solve the linear equations utilizing a Runge-Kutta algorithm. In some configurations, a number of iterations needed to solve the linear equations is based on a size of the power network. Moreover, iteratively solving the linear equations can further include forming Jacobian matrices based on the combined equations.
- the power simulation system 900 can operate with time steps having a duration of 0.5ms or less (for example, any time step between .01ms to .5ms).
- the power simulation system can also provide data to a power control system used to manage the power network.
- other dynamic elements of the power network are received as further differential equations and used as part of the combined differential equations.
- an exemplary system includes a general-purpose computing device 900, including a processing unit (CPU or processor) 920 and a system bus 910 that couples various system components including the system memory 930 such as read only memory (ROM) 940 and random access memory (RAM) 950 to the processor 920.
- the system 900 can include a cache of high speed memory connected directly with, in close proximity to, or integrated as part of the processor 920.
- the system 900 copies data from the memory 930 and/or the storage device 960 to the cache for quick access by the processor 920. In this way, the cache provides a performance boost that avoids processor 920 delays while waiting for data.
- These and other modules can control or be configured to control the processor 920 to perform various actions.
- the memory 930 can include multiple different types of memory with different performance characteristics. It can be appreciated that the disclosure may operate on a computing device 900 with more than one processor 920 or on a group or cluster of computing devices networked together to provide greater processing capability.
- the processor 920 can include any general purpose processor and a hardware module or software module, such as module 1 962, module 2 964, and module 3 966 stored in storage device 960, configured to control the processor 920 as well as a special-purpose processor where software instructions are incorporated into the actual processor design.
- the processor 920 may essentially be a completely self-contained computing system, containing multiple cores or processors, a bus, memory controller, cache, etc.
- a multi-core processor may be symmetric or asymmetric.
- the system bus 910 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures.
- a basic input/output (BIOS) stored in ROM 940 or the like may provide the basic routine that helps to transfer information between elements within the computing device 900, such as during start-up.
- the computing device 900 further includes storage devices 960 such as a hard disk drive, a magnetic disk drive, an optical disk drive, tape drive or the like.
- the storage device 960 can include software modules 962, 964, 966 for controlling the processor 920. Other hardware or software modules are contemplated.
- the storage device 960 is connected to the system bus 910 by a drive interface.
- the drives and the associated computer-readable storage media provide nonvolatile storage of computer-readable instructions, data structures, program modules and other data for the computing device 900.
- a hardware module that performs a particular function includes the software component stored in a tangible computer-readable storage medium in connection with the necessary hardware components, such as the processor 920, bus 910, display 970, and so forth, to carry out the function.
- the system can use a processor and computer- readable storage medium to store instructions which, when executed by the processor, cause the processor to perform a method or other specific actions.
- the basic components and appropriate variations are contemplated depending on the type of device, such as whether the device 900 is a small, handheld computing device, a desktop computer, or a computer server.
- the exemplary embodiment described herein employs the hard disk 960
- other types of computer-readable media which can store data that are accessible by a computer such as magnetic cassettes, flash memory cards, digital versatile disks, cartridges, random access memories (RAMs) 950, and read only memory (ROM) 940
- Tangible computer-readable storage media, computer- readable storage devices, or computer-readable memory devices expressly exclude media such as transitory waves, energy, carrier signals, electromagnetic waves, and signals per se.
- an input device 990 represents any number of input mechanisms, such as a microphone for speech, a touch-sensitive screen for gesture or graphical input, keyboard, mouse, motion input, speech and so forth.
- An output device 970 can also be one or more of a number of output mechanisms known to those of skill in the art.
- multimodal systems enable a user to provide multiple types of input to communicate with the computing device 900.
- the communications interface 980 generally governs and manages the user input and system output. There is no restriction on operating on any particular hardware arrangement and therefore the basic features here may easily be substituted for improved hardware or firmware arrangements as they are developed.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Power Engineering (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Computational Mathematics (AREA)
- Mathematical Optimization (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Algebra (AREA)
- Operations Research (AREA)
- Software Systems (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- Computing Systems (AREA)
- Supply And Distribution Of Alternating Current (AREA)
- Human Computer Interaction (AREA)
Abstract
Systems, methods, and non-transitory computer-readable storage media for a fast power network simulator. A system configured per this disclosure can use identify a power network, the power network comprising generators, transmission lines, and loads, and receive a model of the power network. The model of the power network can include: models of the generators modeled as differential equations, and models of the transmission lines and the loads modeled as algebraic equations. The system can convert, via a processor, the algebraic equations of the models of the transmission lines and the loads to additional differential equations, then combine, via the processor, the differential equations and the additional differential equations, to yield combined differential equations. The system can then iteratively solve linear equations, via the processor, associated with the combined differential equations, to yield solutions, and output the solutions as part of a power simulation of the power network.
Description
SYSTEM AND METHOD FOR A FAST POWER NETWORK SIMULATOR
PRIORITY
[0001] The present disclosure claims priority to U.S. Provisional Patent Application 62/428,812, filed December 1 , 2016, the contents of which are incorporated herein by reference in their entirety.
BACKGROUND
1. Technical Field
[0002] The present disclosure relates to power system stability analysis and more specifically to using differential equations to model grid generators, transmission lines, and loads.
2. Introduction
[0003] Power system stability analysis relies on power network simulators that find the power network variables such as voltages and currents, numerically. The stability studies are performed using off-line simulations that represent dynamical behavior of the power grids when affected by disturbances such as short circuits, sudden load changes, line disconnections, sudden topology changes, renewable energy interactions, etc. Currently available simulators for these studies include (1) dynamical-model simulators and (2) differential-algebraic-model simulators, each with simulation time-steps in the range of 5ms or less. Dynamical-model simulators such as Matlab/Simulink and EMTP employ dynamical models of the grid generators, transmission lines, and loads, while differential-algebraic model simulators utilize algebraic models of the transmission lines and loads, resulting in a faster simulation. These methods benefit from high levels of accuracy; however, the simulation times for both methods represent a significant barrier, especially with large power grids. More specifically, as power grids get larger and more complicated, the amount of time required to simulate those power grids using dynamical-model simulators and differential-algebraic model simulators grows exponentially. In the real-world, this can mean that power grid personnel must often wait hours before performing maintenance or upgrades while simulations are performed.
SUMMARY
[0004] Disclosed are systems, methods, and non-transitory computer-readable storage media for a fast power network simulator. The differential-algebraic-model simulators disclosed herein employ dynamical models of the grid generators, controllers, time-variable components, and algebraic power-flow equations to model transmission lines through impedance models and loads. The dynamic models of the generators, as well as the algebraic power-flow equations, are converted to differential equations, which can in turn be used to simulate the power system. Doing so results in significantly faster convergence compared to the dynamic- model simulators or conventional differential-algebraic model simulators.
[0005] Consider Table 1, which outlines basic distinctions over the prior simulators:
Table 1
[0006] For example, in previous simulators, the set of dynamic models, or the set of nonlinear differential and algebraic equations that model the entire power grid, was solved fully or partially by the Newton-Raphson method. The Newton-Raphson method is a method to solve non-linear algebraic equations, and is utilized to find load-flow solutions in power systems in order to find the bus voltages and angles at steady-state condition. To perform the Newton- Raphson method, load flow equations, which describe the entire power grid, are utilized in the form of algebraic equations in an error loop until a convergence occurs.
[0007] By contrast, the disclosed models of power systems performing stability analysis convert all algebraic equations into differential equations, in contrast with the Newton-Raphson method. The merit of this approach is twofold: a) solving differential equations can be performed faster and more efficiently by using other available numerical algorithms such as Runge-Kutta and b) the number of executions for linear system solutions in the error loop of the Newton-Raphson method, which varies from 3 to 10 (or higher), can be reduced to 2 or 4, depending on the solver.
[0008] Consider the following explanation. Power systems are modeled by elements which change (that is, are dynamic), such as generators, and static elements, such as transmission lines and loads. The conventional models present the dynamic elements as differential equations and the static elements as algebraic equations. The previously available simulation method relied on solving the differential equations, then solving algebraic equations, a process that can take hours for a standard study (depending on the size of the power grid). By contrast, simulators configured according to this disclosure convert the algebraic equations of the static elements to differential equations, then solve each portion of the overall equation using distinct algorithms (such as the Runge-Kutta), resulting in much greater convergence speeds. Conversion of the algebraic equations to differential equations reduces the overall number of executions of the linear system solutions required, which is a time consuming part in the currently available methods.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] FIG. 1 illustrates an example of a two-axis generator;
[0010] FIG. 2 illustrates an example stator algebraic relationship diagram;
[0011] FIG. 3 illustrates an example network power balance diagram of Bus /';
[0012] FIG. 4 illustrates an example of a trapezoidal integration algorithm;
[0013] FIG. 5 illustrates an example of an error detection loop;
[0014] FIG. 6 illustrates an example of a dynamic stability analysis;
[0015] FIG. 7 illustrates an exemplary iterative process for combining generator models into bus models;
[0016] FIG. 8 illustrates an exemplary method embodiment; and
[0017] FIG. 9 illustrates an exemplary computer system.
DETAILED DESCRIPTION
[0018] A system, method and computer-readable media are disclosed which provide for fast power network simulations. An exemplary method of performing the concepts disclosed herein can include: identifying a power network, the power network comprising generators, transmission lines, and loads; receiving a model of the power network, the model of the power network comprising: models of the generators and dynamical components modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting, via a processor, the algebraic equations of the models of the transmission lines and the loads to additional differential equations; combining, via the processor, the differential equations and the additional differential equations, to yield combined differential equations; iteratively solving linear equations, via the processor, associated with the combined differential equations, to yield solutions; and outputting the solutions as part of a power simulation of the power network.
[0019] An exemplary system configured as disclosed herein can include: a processor; and a non-transitory computer-readable storage device having instructions stored which, when executed by the processor, cause the processor to perform operations comprising: identifying a power network, the power network comprising generators, transmission lines, and loads; receiving a model of the power network, the model of the power network comprising: models of the generators and dynamical components modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting the algebraic equations of the models of the transmission lines and the loads to additional differential equations; combining the differential equations and the additional differential equations, to yield combined differential equations; iteratively solving linear equations associated with the combined differential equations, to yield solutions; and outputting the solutions as part of a power simulation of the power network.
[0020] An exemplary non-transitory computer-readable storage device can include instructions stored which, when executed by a computing device, cause the computing device
to perform operations including: identifying a power network, the power network comprising generators, transmission lines, and loads; receiving a model of the power network, the model of the power network comprising: models of the generators and dynamical components modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting the algebraic equations of the models of the transmission lines and the loads to additional differential equations; combining the differential equations and the additional differential equations, to yield combined differential equations; iteratively solving linear equations associated with the combined differential equations, to yield solutions; and outputting the solutions as part of a power simulation of the power network.
Section 1: Conventional Differential- Algebraic Model for Dynamic Model of Power System
[0021] This section introduces the conventional differential-algebraic (DA) model that describes the dynamic behavior of the power system. More specifically, a transient stability analysis of the power system requires solving DA equations. Previously, a major obstacle for solving DA equations is that there is no known analytical approach to have a time domain solution for these nonlinear equations. Thus, numerical methods are mainly utilized to solve the differential-algebraic equations.
[0022] This section is organized in three sections. The first section briefly introduces the DA model using general mathematical form of a generator. The second section shows the differential equations describing a two-axis generator model in the power system. The last section introduces the algebraic equations when dealing with a multi-machine power system. A power system is called multi-machine when many synchronous generators at different buses are interconnected together by transformers and transmission lines.
[0023] 1.1 Power System Differential-Algebraic Model
[0025] In (1), /represents all dynamic characteristics of the power system which mainly include generator dynamics. The system state variables such as generator angle δ, generator speed ω, and other generator dynamical parameters are shown by y. Vector x denotes all
system algebraic variables such as bus voltages V and bus angles Θ. Input vector u represents inputs to the power system such as generator input torque and reference voltage Vref.
[0026] 1.2 Differential Equations
[0027] For transient stability analysis different generator models may be used. The method disclosed herein is not dependent on the generator model, and thus, two-axis model which is more accurate than the classical generator model in extended transient analysis is explained here as an example. This method can be extended to different generator models with no limitations. Unlike round-rotor machine, the salient-pole machine has a narrower air gap along the direct axis comparing to the quadrature axis for each pole. The two-axis generator model 100 is shown in FIG. 1. As illustrated, dc field winding coils 112 are on a spinning rotor 1 14. As the rotor spins, distributed windings 102a, 102b, 104a, 104b, 106a, 106b are exposed to the magnetic fields, resulting in electrical generation.
[0028] By neglecting d-axis 110 and q-axis 108 open circuit sub-transient time constants Tdo ' and a two-axis generator model generator differential equations are formed as follows:
where δ and ω denote the generator angle and speed; ωs is the nominal speed of the generator. Next, the speed can be represented as
where M denotes the inertia constant of generator; TM is mechanical input torque; Vdenotes the bus voltage; x'dis the direct-axis transient reactance; E'd and E'q are the transient voltage of d-axis and q-axis, respectively; and 0 is the angle of the bus. Variables E'd and E'q are defined as
where Td0is the open circuit time constant of d-axis; xd is the d-axis reactance; Efd s the steady state internal voltage of the armature; Tqo is the open circuit time constant of q-axis; and Xq is the q-axis reactance. Also,
where TEis the electrical torque; URdenotes the exciter input; and KEis an exciter gain.The exciter voltage dynamics can be shown as
where KA is the amplifier gain;RFis the rate feedback; Ta denotes the amplifier time constant; Ure~is the reference voltage; KFis the feedback gain; TF is the feedback time constant. The following equations describe the turbine dynamical behavior as
where Psvis the steam value position; TRHis the outputtorque ofthe steam;KHPdenotes the high pressure turbine gain; TcHis the steam chest outputtorque;PcNis the steam chest pressure.
where Tsvdenotes the steam value torque;Pcdenotesthe output ofa load reference motor;R is the speed regulation.
[0029] A generator classical model has five parameters which are b;cv, Tnr,PcH,and Psv.The lastthree parametersareturbine parameters,which aresimilarcomparingtotwo-axis generator model. Generator angle b also has the same function as shown in equation (2). However,the classical generator model assumes a constant internal voltage due to the lack oftransient status. This leads to a different function for cu,
where Egdenotesthe internal voltage. [0030) 1.3 Algebraic Equations
[0031] There are two sets ofalgebraic equations,stator equation and network power balance equations. The stator power balance equations can be derived by the following algebraic equations as,
where PLiand QLidenotethe active power and reactive power ofthe load on bus i; and B;, represents the susceptance between bus iand j. The non-generator bus power-balance algebraic equations are
[0032] The stator variables relationship can be derived from the circuit mode1200 ofFIG,2.
[0033) The network power balance diagram ofBus iis depicted in FIG.3.
[0034] In FIG.3,Pg;and Qg;denote the real power generation and reactive power generation. P,;S~h, Q;S~edenote the scheduled power entering the network. PLiand QLidenote the demand power ofthe load on Bus i. P;and Q;are the calculated value that flow to the network. By calculating the power difference ΔPand ΔQas(17)and (18),then adjusting them to as close possible as to zero,power balance equation are obtained.
g
[0035] The differential and algebraic equations need to be solved together to obtain the power system states. However,this is not an easy task due to the power system nonlinear model. Previous work used linearization to solve for power system states.
[0036) Based on(1)both differential equations and algebraic equations can be linearized as:
is obtained.
[0037] Substitution of(21)into(19)yields a new differential equation that contains algebraic properties as
Section 2: Conventional Power System Transient Simulation Algorithms
[0038] This section introduces dynamic power system simulation. While conventional tools for power system dynamical analysis may use trapezoidal integration algorithms to solve differential equations, the detailed algorithms disclosed herein may consider dynamic characteristics of generator stators and transmission lines, and may include use of the Ronge- Kutta algorithm.
[0039] 2.1 Trapezoidal Integration Algorithm
[0040] The trapezoidal integration method converts the differential equation into an algebraic equation and attempts to solve it using numerical methods. For example, for a general differential equation
[0041] As shown in FIG. 4, in a trapezoidal integration algorithm 400 the integral area is approximately equal to trapezoidal area 404. That is, the integral for a function with values 406 over Δt 402 can be approximated with a trapezoid 404, the trapezoid having values of the function 408, 410 as points of the trapezoid.
[0042] Using the points of the trapezoid illustrated in FIG. 4 with equation (22),
[0043] 2.2 Model Development
[0044] A synchronous generator can be simulated using various models including, but not limited to, a two-axis generator model and a classical generator model. Although these two models have distinct differential expressions, the process of simulating them via the classic
simulation process is the same. This classic simulation process is based on Newton-Raphson method. By building a Jacobian matrix (a matrix that is formed by first order partial derivatives in a particular pattern), the trapezoidal integration algorithm can yield the preferred precision.
[0045] System operation falls into three phases in such simulations, which are: pre-fault, during the fault, and after the fault condition. The simulation steps are:
1) Input the Bus, line data, generator data, faulted time, fault cleared time and simulation time.
2) Initialize all the parameters, including variables and invariables.
3) Calculate differential equations which is explained below.
4) Calculate the algebraic equations differences (AFi) for all power balance equations.
5) Form a Jacobian matrix, using the derivatives of all equations pertaining to step 4 and calculate the variable changes.
6) Update the variables by using the calculated variable changes and define the error.
7) If the error is smaller than 10"5(or other value), then go to step 3. Otherwise, go to step 9.
8) Save simulation results and renew all the variables initial value and time intervals.
9) If current simulation time is smaller than the maximum simulation time, go to step 3. Otherwise output the results.
[0046] 2.2.1 Newton-Raphson Algorithm
[0047] Newton-Raphson is a widely adopted iterative algorithm for numerically solving nonlinear equation sets, and can be used as a computerized algorithm for solving power system load flow equations. The differential equations can be solved separately, or can be converted into algebraic equations and solved along with the algebraic equations, as shown in (26). Assuming there are no dynamic variables y, the nonlinear equation set is:
[0048] Therefore, the approximate solutions
Assuming that the difference between approximate solutions and exact solutions are
then
(27) is a function for the product of high-order partial derivative of
When the approximate solution is close to the exact solution, the high order of can
be ignored and subsequently φ1 can be ignored also. Therefore (28) can be written as,
[0050] The equation set in (28) is similar to the linear representation of linear system equations. Hence, they can be modified to matrix formation:
where Ji is the Jacobian matrix of function
is column vector
is the difference column vector representing the difference of all differential-algebraic equations. ΔFis the solution error which is zero for an ideal absolute solution.
[0051] In a power system, /; represents calculated power for all buses as shown in (17) and (18); Zi denotes the scheduled power; and ^represents both the bus voltages Vand bus angles θ. The Newton-Raphson method can be used to calculate both the system's steady state and the system's instantaneous solution which are used to perform a stability analysis in which generator parameters and dynamics also may be considered. A two-axis generator model contains ten different dynamic parameters:
All these variables are denoted as yi. Considering the generator dynamics, the Jacobian matrix .
and the matrix formed:
calculated using the current P, Q in each iteration, and are compared with previous power tolerances. However for generator parameters, trapezoidal integration is used to calculate the difference.
[0053] Substituting into the function, each element of AF and / can be estimated.
can be calculated by any method to solve the linear matrix equations. After the first iteration, the new value of can be calculated as
By substituting into the
y; is calculated in the same way along with xt.
[0054] The final solution of (37) is generated through iterations. Therefore, the steps for using the Newton-Raphson method can be shown as:
1) Set the initial value for each bus voltage and generator parameters.
algorithm to estimate
3) Estimate each entree of Jacobian matrix.
4) Solve the equation (36) for ΔΧ
where isthe absolute value of
maximum elementofvector
This is an index describing the power tolerances for final results. In this case epsilon is considered as
ε = 10-5
otherwise repeatfi•om step 3 and iterate until satisfying the condition ofconvergence. [0055] The Newton-Raphson method described can be used as part of an iterative error detection loop 500,as illustrated in FIG.5. Specifically,the method allowsfor calculating all differential equations ofgenerator variables(502),and the difference between the current and previous differential equation results(504). The system then calculatesthe power flow errors ofall algebraic equations(506),calculatesthe Jacobian matrix,0F,then updatesthe variables (see steps 3-6 above)(508), Ifthe maximum ofOF <s(510),then the loop ends,but ifnot then the loop begins to repeat until such a convergence occurs. As the size of a system increases,this process continuesto require more and moretime. [0056] 2.3Runge-Kutta Method and Procedure
[0057] A power• system is a nonlinear system, models of power systems contain both differential and algebraic equations(as discussed earlier).However,it has been challenging to solve a set ofdifferential-algebraic equations(DAE)simultaneously. Asdisclosed herein,the original DAE modeling the power system is converted into purely differential equations,then simulated by using the Runge-Kutta method(or any other appropriate solver)for differential equations. TheRunge-Kutta method isexplained hereasan exampletoshow howthedisclosed purely differential model ofpower system can be used and solved in time domain simulations. Other similar differential equation solvers can be used with the disclosed purely differential model ofa power system.The Runge- Kutta method performs calculations using the lmown derivatives ofequations and setting initial values for va~~iables. A basic introduction on this algorithm is now presented,
[0058) The Runge-Kutta method is very similar to a Taylor series solution. Different orders (a fi1•st order,second order,third order,etc.)in performing the Runge-Kutta method are used depending on elements which are keptfrom a Taylor series expansion. For example,a higher
order of Runge-Kutta requires more significant items in a higher order expansions of Tylor series expansion, which results in more accurate calculations and output.
[0059] In this example, a fourth order of Runge-Kutta method is used. For step (n+1), the general function for x is:
The physical interpretations for equations (41) to (44) can be described as:
k = (slope of beginning time step)Δt
k2= (first approximation of slope of middle time step) Δt
k3= (second approximation of slope of middle time step) Δt
[0060] Therefore, Ax is the incremental value of x depending on the weighted average of slope of beginning, middle and last point of the time step.
[0061] Using this algorithm, dynamic stability for the power system is simulated and analyzed. Dynamic stability analysis evaluates the impact of various system parameters due to a disturbance. In this case, the system is tested for relatively long time after a fault condition has affected the network. The flowchart of this algorithm is illustrated in FIG. 6.
[0062] First, the bus, line, and generator data are input into the system, the fault injection time is set, and the simulation time is cleared and reset (602). Then the various variables are initialized (604), at which point the Runge-Kutta algorithm can be run for a pre-fault situation (606). The initial value of the fault situation is calculated (608), and then the Runge-Kutta algorithm is run for a during-fault situation (610). The initial value(s) are then calculated for after-the-fault situation (612), and the Runge-Kutta algorithm runs for the after fault situation, and the algorithm ends.
Section 3: Power System Dynamical Model Development
[0063] This section explains the development of a power system dynamic model. First, dynamical equations are developed for bus voltage magnitudes and angles. All basic settings are also provided and explained in this section. Next, simulation results and analysis are presented including comparison between the disclosed method and the Newton-Raphson method. The benefits of using Runge-Kutta method are also illustrated.
[0064] 3.1 Center of Inertia Coordinate Frame
[0065] The Center of Inertia coordinate uses a synchronous rotational coordinate, which is a time varying coordinate.
[0066] The center of inertia in power systems can be described using the following equations
inertia constant.
[0067] Under the center of inertia coordinate, generator angles, generator speeds, and bus angles can be represented as:
with respect to stationary references.
[0068] 3.2 Differentiation of the algebraic equations
[0069] One of the major challenges in simulating power systems is solving the differential- algebraic equations. In the method disclosed herein, all algebraic equations are converted to differential equations in order to have pure differential characteristics. Take the two-axis generator model as an example and start from equations (13) through (16):
[0070] By solving (52) and (53) for V and φ, the algebraic equations can be converted to a set of dynamic equations as follows :
[0071] 3.3 Variable change in fault and after fault conditions
[0072] In the classical generator model, when an unexpected fault occurs or is cleared, the generator's internal voltages stay unchanged. However, upon introducing transient parameters to the generators in the two-axis model, the internal voltage is no longer a constant, despite the fact that remain constant initially. As illustrated in FIG. 2, the internal voltage has
one element (/9) that relates to the altering variables; i.e., bus voltage P and bus angle Θ. Bus voltage V and bus angle Θ are immediately affected when a fault occurs or is cleared. Accordingly, the variable Iq changes follow the equation (69).
[0073] In the disclosed method utilizing the purely differential model in the specific way described, the previous status Iq can be used for the faulted or after-fault condition. Unlike trapezoidal integration algorithms, here the simulation can be separated into three incidents: i.e., before fault, during fault, and after fault. The initial value can be calculated for every incident. For example, if for a fault scenario, the line impedance of the system changes, based on the new impedance and the pre-fault internal voltage and generator angle, bus voltages and bus angles for faulted condition are calculated. A similar procedure can be used for the after- fault condition.
Section 4: Specific Considerations for Simulation and Analysis
[0074] 4.1 Simulation considerations and distinctions
[0075] Various parameters may be compared to draw conclusions about the effectiveness of performing dynamic simulations on power systems using the disclosed method versus classic methods. Here, bus voltages, bus angles, generator angles, and generator speeds are selected
for comparison of accuracy. In addition, the efficiency (i.e., time required) of these two methods are compared.
[0076] For simplicity, all the load are converted to the conductance G and susceptance B using bus voltages and angles using (70) and (71) as
However, the disclosed method may use models of nonlinear loads where they can be converted to differential representation using differentiation method disclosed in (54).
[0077] 4.1.2 Generator Replacement
[0078] In order to reduce the complexity of the system and to simplify the computational process, all the generators can be moved to the top network buses. An example of this procedure is presented in FIG. 7.
[0079] 4.2 Simulation Results and Analysis
[0080] In this section, simulation results are discussed and both algorithms are compared. First, the results of simulating an IEEE 14-bus 5-generator system using the classical generator model are compared via the classic simulation method and the new method disclosed herein. In the classic method, all differential equations are converted into algebraic equations using trapezoidal integration. Next,the two-axis generator model is similarly compared.
[0081] 4.2.1 Classical generator model
[0082] In this simulation, from the start to t=2, all parameters are kept constant due to the steady-state operation when there is no fault. From 2 to 3 seconds a fault is occurring in the system, and the system is in transient. After 3 seconds, the fault is cleared. Due to the change in generator parameters, such as generator angle and speed, oscillation occurs in the rest of the simulation time.
[0083] While the two methods have similar precision for a IEEE-14 bus classical generator model power system on the network side, the trapezoidal method requires 97 seconds to complete. The Runge-Kutta method takes 5.4 seconds to complete, which is 18 times faster than the trapezoidal method. Therefore, the code to perform the power simulation is more efficient running the disclosed methods, without losing accuracy.
[0084] 4.2.2 Two-axis generator model
[0085] In this simulation, the two-axis generator model is simulated. The disturbance occurs at t=2 second, and lasts for 0.5 second. The entire simulation time is 10 seconds. The disturbance is applied to two different systems, the IEEE 14-bus 5-generator system and the IEEE 1 18-bus 10-generator system, both small fault and larger fault is simulated. First in this section, the 14-bus system is tested.
[0086] From this test, and in this particular scenario, the Runge-Kutta method has a slightly larger oscillation compared to the trapezoidal method. However, the accuracy of the results between the two methods continue to align. However, there is a difference of 10"4 for the voltage change of these two method when approaching the fault.
[0087] The reason for the discrepancy in accuracy concerns the stator algebraic equations. When substituting the stator equations to power balance algebraic equations, previous voltages and bus angles are used. However, when dealing with a faulted situation, the pre-fault stator variables cannot be used because of the immediate change in variables. The simulation discussed above uses previous stator variables which have different values after fault for all variables.
[0088] On the larger, 1 18 bus system, a more sever disturbance may be applied to have a bigger effect as needed. Testing with this scenario one can again see similar results/accuracy between the two systems (the Newton-Raphson v. the Runge-Kutta). For example, in this larger system simulation, comparing the results for two methods shows a very similar match between both frequency and magnitude of change in parameters. However, the speed of the method disclosed herein, using the Runge-Kutta method, in this scenario takes 400 seconds. The classic method using trapezoidal approximation of the differential equations takes 14300 seconds to solve the system, which is 35.8 times slower.
Section 5: Overall Conclusion
[0089] Disclosed herein is a new methodology used to solve differential-algebraic equations for power systems. To reduce the complexity, all algebraic equations are converted to differential equations. These pure differential equations are solved by an ordinary differential equation solver such as the Runge-Kutta method, resulting in acceptable accuracy but many times faster.
[0090] Having disclosed some basic system components and concepts, the disclosure now turns to the exemplary method embodiment shown in FIG. 8. For the sake of clarity, the method is described in terms of an exemplary system 900 as shown in FIG. 9 configured to practice the method. The steps outlined herein are exemplary and can be implemented in any combination thereof, including combinations that exclude, add, or modify certain steps.
[0091] A system 900 can receive a model of a power network, wherein the power network comprises dynamic models of generators and other dynamic components modeled as differential equations and models of transmission lines and loads modeled as algebraic equations (802). The system 900 converts, via a processor, the algebraic equations of the models of transmission lines and the loads to additional differential equations (804). The system 900 combines, via the processor, the differential equations and the additional equations, to yield combined differential equations (806). The system 900 then iteratively solves linear equations, via the processor, associated with the combined equations, to yield solutions (808) at each step time, and outputs the solutions as part of a power simulation system (810).
[0092] In some configurations, the system 900 can iteratively solve the linear equations utilizing a Runge-Kutta algorithm. In some configurations, a number of iterations needed to solve the linear equations is based on a size of the power network. Moreover, iteratively solving the linear equations can further include forming Jacobian matrices based on the combined equations.
[0093] In some configurations, the power simulation system 900 can operate with time steps having a duration of 0.5ms or less (for example, any time step between .01ms to .5ms). The power simulation system can also provide data to a power control system used to manage the power network. In some configurations, other dynamic elements of the power network are received as further differential equations and used as part of the combined differential equations.
[0094] With reference to FIG. 9, an exemplary system includes a general-purpose computing device 900, including a processing unit (CPU or processor) 920 and a system bus 910 that couples various system components including the system memory 930 such as read only memory (ROM) 940 and random access memory (RAM) 950 to the processor 920. The system 900 can include a cache of high speed memory connected directly with, in close proximity to, or integrated as part of the processor 920. The system 900 copies data from the memory 930 and/or the storage device 960 to the cache for quick access by the processor 920. In this way, the cache provides a performance boost that avoids processor 920 delays while waiting for
data. These and other modules can control or be configured to control the processor 920 to perform various actions. Other system memory 930 may be available for use as well. The memory 930 can include multiple different types of memory with different performance characteristics. It can be appreciated that the disclosure may operate on a computing device 900 with more than one processor 920 or on a group or cluster of computing devices networked together to provide greater processing capability. The processor 920 can include any general purpose processor and a hardware module or software module, such as module 1 962, module 2 964, and module 3 966 stored in storage device 960, configured to control the processor 920 as well as a special-purpose processor where software instructions are incorporated into the actual processor design. The processor 920 may essentially be a completely self-contained computing system, containing multiple cores or processors, a bus, memory controller, cache, etc. A multi-core processor may be symmetric or asymmetric.
[0095] The system bus 910 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. A basic input/output (BIOS) stored in ROM 940 or the like, may provide the basic routine that helps to transfer information between elements within the computing device 900, such as during start-up. The computing device 900 further includes storage devices 960 such as a hard disk drive, a magnetic disk drive, an optical disk drive, tape drive or the like. The storage device 960 can include software modules 962, 964, 966 for controlling the processor 920. Other hardware or software modules are contemplated. The storage device 960 is connected to the system bus 910 by a drive interface. The drives and the associated computer-readable storage media provide nonvolatile storage of computer-readable instructions, data structures, program modules and other data for the computing device 900. In one aspect, a hardware module that performs a particular function includes the software component stored in a tangible computer-readable storage medium in connection with the necessary hardware components, such as the processor 920, bus 910, display 970, and so forth, to carry out the function. In another aspect, the system can use a processor and computer- readable storage medium to store instructions which, when executed by the processor, cause the processor to perform a method or other specific actions. The basic components and appropriate variations are contemplated depending on the type of device, such as whether the device 900 is a small, handheld computing device, a desktop computer, or a computer server.
[0096] Although the exemplary embodiment described herein employs the hard disk 960, other types of computer-readable media which can store data that are accessible by a computer,
such as magnetic cassettes, flash memory cards, digital versatile disks, cartridges, random access memories (RAMs) 950, and read only memory (ROM) 940, may also be used in the exemplary operating environment. Tangible computer-readable storage media, computer- readable storage devices, or computer-readable memory devices, expressly exclude media such as transitory waves, energy, carrier signals, electromagnetic waves, and signals per se.
[0097] To enable user interaction with the computing device 900, an input device 990 represents any number of input mechanisms, such as a microphone for speech, a touch-sensitive screen for gesture or graphical input, keyboard, mouse, motion input, speech and so forth. An output device 970 can also be one or more of a number of output mechanisms known to those of skill in the art. In some instances, multimodal systems enable a user to provide multiple types of input to communicate with the computing device 900. The communications interface 980 generally governs and manages the user input and system output. There is no restriction on operating on any particular hardware arrangement and therefore the basic features here may easily be substituted for improved hardware or firmware arrangements as they are developed.
[0098] Use of language such as "at least one of X, Y, and Z" or "at least one or more of X, Y, or Z" are intended to convey a single item (just X, or just Y, or just Z) or multiple items (i.e., {X and Y}, {Y and Z}, or {X, Y, and Z}). "At least one of is not intended to convey a requirement that each possible item must be present.
[0099] The various embodiments described above are provided by way of illustration only and should not be construed to limit the scope of the disclosure. Various modifications and changes may be made to the principles described herein without following the example embodiments and applications illustrated and described herein, and without departing from the spirit and scope of the disclosure.
Claims
1. A method comprising:
identifying a power network, the power network comprising generators, transmission lines, and loads;
receiving a model of the power network, the model of the power network comprising: models of the generators modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting, via a processor, the algebraic equations of the models of the transmission lines and the loads to additional differential equations;
combining, via the processor, the differential equations and the additional differential equations, to yield combined differential equations;
iteratively solving linear equations, via the processor, associated with the combined differential equations, to yield solutions; and
outputting the solutions as part of a power simulation of the power network.
2. The method of claim 1 , wherein the processor uses a time-domain nonlinear differential equation solver algorithm to iteratively solve the linear equations.
3. The method of claim 2, wherein the time-domain differential equation solver algorithm is the unge-Kutta algorithm.
4. The method of claim 1 , wherein iteratively solving the linear equations further comprises forming Jacobian matrices based on the algebraic equations.
5. The method of claim 1, wherein the power simulation operates with time steps having a duration in the range of 5ms or greater.
6. The method of claim 1, wherein the power simulation provides data to a power control system used to manage the power network.
7. The method of claim 1, wherein other dynamic elements of the power network are received as further differential equations and used as part of the combined differential equations.
8. A system comprising:
a processor; and
a non-transitory computer-readable storage device having instructions stored which, when executed by the processor, cause the processor to perform operations comprising: identifying a power network, the power network comprising generators, transmission lines, and loads;
receiving a model of the power network, the model of the power network comprising: models of the generators modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting the algebraic equations of the models of the transmission lines and the loads to additional differential equations;
combining the differential equations and the additional differential equations, to yield combined differential equations;
iteratively solving linear equations associated with the combined differential equations, to yield solutions; and
outputting the solutions as part of a power simulation of the power network.
9. The system of claim 8, wherein the processor uses a time-domain differential equation solver algorithm to iteratively solve the linear equations.
10. The system of claim 9, wherein the time-domain differential equation solver algorithm is the Runge-Kutta algorithm.
1 1. The system of claim 8, wherein iteratively solving the linear equations further comprises forming Jacobian matrices based on the algebraic equations.
12. The system of claim 8, wherein the power simulation operates with time steps having a duration in the range of 5ms or greater.
13. The system of claim 8, wherein the power simulation provides data to a power control system used to manage the power network.
14. The system of claim 8, wherein other dynamic elements of the power network are received as further differential equations and used as part of the combined differential equations.
15. A non-transitory computer-readable storage device having instructions stored which, when executed by a computing device, cause the computing device to perform operations comprising:
identifying a power network, the power network comprising generators, transmission lines, and loads;
receiving a model of the power network, the model of the power network comprising: models of the generators modeled as differential equations; and models of the transmission lines and the loads modeled as algebraic equations; converting the algebraic equations of the models of the transmission lines and the loads to additional differential equations;
combining the differential equations and the additional differential equations, to yield combined differential equations;
iteratively solving linear equations associated with the combined differential equations, to yield solutions; and
outputting the solutions as part of a power simulation of the power network.
16. The non-transitory computer-readable storage device of claim 15, wherein the processor uses a time-domain differential equation solver algorithm to iteratively solve the linear equations.
17. The non-transitory computer-readable storage device of claim 16, wherein the time- domain differential equation solver algorithm is the Runge-Kutta algorithm.
18. The non-transitory computer-readable storage device of claim 15, wherein iteratively solving the linear equations further comprises forming Jacobian matrices based on the algebraic equations.
19. The non-transitory computer-readable storage device of claim 15, wherein the power simulation operates with time steps having a duration in the range of 5ms or greater.
20. The non-transitory computer-readable storage device of claim 15, wherein the power simulation provides data to a power control system used to manage the power network.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/465,891 US11569682B2 (en) | 2016-12-01 | 2017-12-01 | System and method for a fast power network simulator |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201662428812P | 2016-12-01 | 2016-12-01 | |
| US62/428,812 | 2016-12-01 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018102720A1 true WO2018102720A1 (en) | 2018-06-07 |
Family
ID=62242757
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2017/064273 Ceased WO2018102720A1 (en) | 2016-12-01 | 2017-12-01 | System and method for a fast power network simulator |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US11569682B2 (en) |
| WO (1) | WO2018102720A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111210145A (en) * | 2020-01-05 | 2020-05-29 | 浙江大学 | A Transient Stability Analysis Method of Power System Based on Coupling Evaluation Index |
| CN113987781A (en) * | 2021-10-17 | 2022-01-28 | 浙大宁波理工学院 | Equipment Symbolic Modeling for Power System Transient Simulation and Its Application Method |
| CN119324633A (en) * | 2024-10-10 | 2025-01-17 | 杭州电子科技大学 | DAB converter reflux power inhibition method based on Dragon lattice tower method |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113158447B (en) * | 2021-04-07 | 2024-05-28 | 清华大学 | A large-step frequency-shift electromagnetic transient simulation method and system |
| CN113505525B (en) * | 2021-06-22 | 2024-10-15 | 清华大学 | Modeling method and device of dynamic components of power system based on differential neural network |
| CN113505526B (en) * | 2021-06-22 | 2024-06-11 | 清华大学 | Power system transient stability simulation method, device, electronic equipment and storage medium |
| CN115758784B (en) * | 2022-11-30 | 2023-12-12 | 南方电网数字电网研究院有限公司 | Large jacobian matrix low-time-consumption iteration method for supporting power system time domain simulation |
| CN118551577B (en) * | 2024-07-22 | 2024-09-24 | 华北电力大学(保定) | Dynamic simulation method of power system based on Coiflet wavelet multi-step method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150149132A1 (en) * | 2013-11-27 | 2015-05-28 | Battelle Memorial Institute | Time-stacking method for dynamic simulations |
| US20150286759A1 (en) * | 2012-10-12 | 2015-10-08 | Technische Universitaet Dortmund | Computer implemented method for hybrid simulation of power distribution network and associated communication network for real time applications |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CA2037371C (en) * | 1990-03-06 | 1995-06-27 | Hisao Taoka | Electric power system simulator |
| US20050010381A1 (en) * | 2003-07-03 | 2005-01-13 | Inge Maudal | Fast computer algorithms for solving differential equations |
| US7953581B2 (en) * | 2008-06-19 | 2011-05-31 | Oracle America, Inc. | System, method and apparatus for sensitivity based fast power grid simulation with variable time step |
-
2017
- 2017-12-01 WO PCT/US2017/064273 patent/WO2018102720A1/en not_active Ceased
- 2017-12-01 US US16/465,891 patent/US11569682B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150286759A1 (en) * | 2012-10-12 | 2015-10-08 | Technische Universitaet Dortmund | Computer implemented method for hybrid simulation of power distribution network and associated communication network for real time applications |
| US20150149132A1 (en) * | 2013-11-27 | 2015-05-28 | Battelle Memorial Institute | Time-stacking method for dynamic simulations |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111210145A (en) * | 2020-01-05 | 2020-05-29 | 浙江大学 | A Transient Stability Analysis Method of Power System Based on Coupling Evaluation Index |
| CN111210145B (en) * | 2020-01-05 | 2022-03-29 | 浙江大学 | Electric power system transient stability analysis method based on coupling evaluation index |
| CN113987781A (en) * | 2021-10-17 | 2022-01-28 | 浙大宁波理工学院 | Equipment Symbolic Modeling for Power System Transient Simulation and Its Application Method |
| CN113987781B (en) * | 2021-10-17 | 2024-12-03 | 浙大宁波理工学院 | Symbolic modeling of equipment for power system transient simulation and its application method |
| CN119324633A (en) * | 2024-10-10 | 2025-01-17 | 杭州电子科技大学 | DAB converter reflux power inhibition method based on Dragon lattice tower method |
Also Published As
| Publication number | Publication date |
|---|---|
| US11569682B2 (en) | 2023-01-31 |
| US20200091764A1 (en) | 2020-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11569682B2 (en) | System and method for a fast power network simulator | |
| Yu et al. | An unscented particle filtering approach to decentralized dynamic state estimation for DFIG wind turbines in multi-area power systems | |
| Dufour et al. | On the use of real-time simulation technology in smart grid research and development | |
| Tebianian et al. | Dynamic state estimation in power systems: Modeling, and challenges | |
| Sattouf | Simulation model of hydro power plant using Matlab/Simulink | |
| CN103700036B (en) | A kind of transient stability projecting integral method being suitable to power system Multiple Time Scales | |
| CN102664397B (en) | Electric power system transient stability simulation method based on implicit fine numerical integral | |
| Ajala et al. | A library of second-order models for synchronous machines | |
| Kontis et al. | Dynamic equivalencing of active distribution grids | |
| Doumi et al. | Nonlinear integral backstepping control of wind energy conversion system based on a double-fed induction generator | |
| Plumier | Co-simulation of electromagnetic transients and phasor models of electric power systems | |
| Bila | Power system dynamic state estimation and load modeling | |
| Huang et al. | A heterogeneous multiscale method for efficient simulation of power systems with inverter-based resources | |
| Kyesswa et al. | A Matlab-based dynamic simulation module for power system transients analysis in the eASiMOV framework | |
| Liu et al. | Fast power system dynamic simulation using continued fractions | |
| Xiong et al. | A semi-analytical approach for state-space electromagnetic transient simulation | |
| El-Guindy et al. | Formal LPV control for transient stability of power systems | |
| Bélanger et al. | A modern and open real-time digital simulator of contemporary power systems | |
| Zhang et al. | Time scale analysis and synthesis for model predictive control | |
| Osipov et al. | Distributed parareal in time with adaptive coarse solver for large scale power system simulations | |
| Saha et al. | Dynamic modeling of power systems experiencing faults in transmission/distribution networks | |
| CN117371651A (en) | A method for transient stability analysis of power systems | |
| Valles et al. | Modelica Implementation and Validation of Virtual Synchronous Machine Control for a VSC in ePHASORSIM | |
| Yadav et al. | Macromodeling of electric machines from ab initio models | |
| Wang et al. | Nonlinear Dynamic Order Reduction Method for Wind Turbine Based on Disturbed Trajectory Dominance Degree Analysis |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17875214 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17875214 Country of ref document: EP Kind code of ref document: A1 |






























