Power Transmission and Distribution
 
  Siemens PTI eNewsletter Issue 102
 

Comparison of Conventional and "Elementary Block" Method of Handling Transfer Function Blocks in PSS®E Dynamic Models

Jay Senthil
Senior Staff Software Engineer
Siemens PTI
jayapalan.senthil@siemens.com

Leonardo G. Lima
Senior Staff Consultant
Siemens PTI
leonardo.lima@siemens.com

Sallehhudin Yusof
President
Advanced Power Solutions
salleh@aps-my.com

Abstract

At PSS®E-31, a new feature called "Elementary Blocks" was introduced for handling of various transfer functions in PSS®E dynamic models. This article shows the comparison of the conventional and the elementary block method of creating PSS®E dynamic models.

General

Transfer functions are commonly used in dynamic models and are usually presented in the block diagrams of the various PSS®E dynamic simulation models. In general, these block diagrams describe complex models in terms of simpler (first or second order) transfer functions. The following transfer functions are commonly encountered:

One common approach in handling the transfer function blocks is to write the state equations. In PSS®E implementation, the dynamic models calculate the derivative of the states (called DSTATE), which are then used to calculate the state variables (called STATE in PSS®E) using the Modified Euler integration method.

The computation of DSTATEs involves writing the appropriate equations. Since there could be several ways of formulating the STATE equations, the expressions for initializing the STATE variables and the equations involved in obtaining the DSTATE could also vary. In addition, implementation of non-windup limits could also prove to be tricky.

In order to provide for an easy and a consistent method of handling of transfer function STATE and DSTATE equations along with the associated non-windup limits, the concept of ‘Elementary Blocks’ was introduced in PSS®E-31. Simply stated, the elementary blocks are simply a library of functions (provided with PSS®E) that can be invoked in dynamic models to initialize the model STATE, for the calculation of DSTATE, to impose non-windup limits (if any), and to calculate the transfer block output.

The description given below shows an AVR model implementation as it is done conventionally compared with the ‘Elementary Block’ method of achieving the same end. Since the ‘Elementary Block’ method applies only to the PSS®E simulation MODEs (i.e., MODE 1, 2 & 3), the relevant code for these three MODEs only are presented below.

Comparison of Conventional and Elementary Blocks

The AVR model used for illustrating the use of ‘Elementary Block’ is shown in Figure 1.

Figure 1 - Simplified AVR (DEMOEX)

The various steps involved in writing a PSS®E model DEMOEX are as follows:

  1. Identify the CONs,



  2. Identify the states,



  3. At initialization (MODE = 1), we need to calculate input of each block from the known outputs and inputs. In case of DEMOEX, the known output is EFD and the known input is EC (in PSS®E this is ECOMP),



    In the above, IERR is the error code (for various values of IERR, see PSS®E -31 Program Application Guide, volume II, chapter on “Elementary Blocks for Handling Transfer Functions in PSS Dynamic Models”).

  4. For calculating the derivatives (in MODE=2), one needs to establish the first differential equation for each state,


    Using the elementary blocks, in MODE=2, using the appropriate function, we will provide input to get the block output as follows:



  5. In MODE=3, we will calculate the outputs or states,


Comparison Table

The comparison table below illustrates the differences between the conventional method versus the ’Elementary Blocks’ approach

Conclusion

Siemens PTI has implemented functions to handle the PSS®E calculations associated with some elementary transfer functions often used as building blocks of complex dynamic models in PSS®E. These functions provide a simplification in the process of writing new models for PSS®E and also ensure a consistent definition of these transfer functions and, more important, the application of non-windup limits.

Several new models in PSS®E have already been implemented using these elementary block functions, including the new models associated with the IEEE Std. 421.5 (2005) – IEEE Recommended Practice for Excitation System Models for Power System Stability Studies.

Siemens PTI considers that these functions are very useful and has made them accessible (via the INCLUDE of COMON4.INS) for users writing new PSS®E dynamic models. Please refer to the PSS®E -31 Program Application Guide – Vol. II – Chapter 22 for detailed documentation about these functions.

The use of the elementary blocks would greatly simplify the process of writing PSS®E dynamic models, and in addition, the application of non-windup limits would be consistent with the IEEE recommendations.

Download document as .pdf


Siemens Power Transmission & Distribution, Inc., Power Technologies International
400 State Street | P.O. Box 1058 | Schenectady, NY 12301-1058

Privacy & Legal