Development and implementation of hydro turbine and governor models in a free and open source software package

https://doi.org/10.1016/j.simpat.2012.02.005Get rights and content

Abstract

This article studies accurate and detailed hydro turbine and governor models, and implements these models in Power System Analysis Toolbox (PSAT)—a free and open source software. The implementation of these models in PSAT is approached using a general methodology, which is described in detail. To evaluate the performances of the developed hydro turbine and governor models, simulation studies are carried out on test systems of different scales, from a single-machine infinite-bus (SMIB) system to a larger system which includes 20 generators. Further more, transient stability analysis and small signal stability analysis are carried out to assess the performance of the implemented models.

Introduction

Hydro-power in Sweden accounts for one half net production of electrical power generation [1]. Furthermore, as one of the most important renewable energy sources, the exploitation of hydro-power naturally attracts more and more attention worldwide. In hydro power production systems, the functions of hydro turbine and governors cannot be neglected because they participate in primary frequency control of power systems. To highlight this fact, Fig. 1 shows the relationship of a generator’s turbine and governor (indicated by the dashed block) with the overall power system.

Different power sources determine the physical features and categories of hydro turbine and governors, thus each type requires its unique modeling. For example, time delays in hydro turbine and governor models are due to transient droop compensation, pilot valves and gate servomotors. Additionally, the effect of water inertia in hydro turbines significantly influences the governor’s requirements and must be compensated by a rate feedback, which must be reflected in the modeling of these devices [2]. In this case, it is important that hydro turbine and governors are adequately modeled so that the models can accurately represent the behaviors and capacities of hydro turbine and governors as close as possible. To examine model performance, the developed models are implemented in test power systems of different scales and their stabilities are evaluated: i.e. if the system remains in equilibrium after being subjected to a disturbance [3]. To this end transient (large signal) stability and small signal (small disturbance) stability analysis are frequently utilized as system stability analysis approaches [4]; in this study both approaches are used.

On the other hand, computer-based simulation tools are used by engineers for modeling and simulation to assess the stability dynamic and performance of the power system. With advances in computer software, there has been a large number of power system simulation software packages developed, which can be basically divided into three categories: proprietary software, open source software and free software [5]. Proprietary software are conceived by the general public to be well-tested and computationally efficient. However, license agreements restrict their use by imposing different conditions. Users are prohibited and generally have no possibility to modify the source code nor to distribute binaries (i.e. executables). Additionally, they seldom allow to import or export data in different formats [6].

Nevertheless, free and open source software are usually freely (at no cost) distributed on line and are less cumbersome for education and research purposes. More importantly, they allow users to change the source code, add new algorithms, or implement new components. In addition, free software stands on an ethical pillar which aims to warrant intrinsic freedom of computer uses that are jeopardized by proprietary software [7]. Despite theses advantages, there still exist some implementation challenges; particularly for new users. One of these challenges is that it is seldom documented in a detailed fashion the necessary approaches for implementing new components or algorithms in free and open source software. This severely restricts free and open source software to be accepted and popularized by engineers, and also decreases individuals’ cognition of the software’s flexibility characteristics.

The objective of this paper is to develop hydro turbine and governor models and implement them in Matlab-based Power System Analysis Toolbox (PSAT)—a free and open source software. To evaluate models’ performance, the relevant simulation will be performed on a single-machine infinite-bus (SMIB) system and another larger system, e.g. the KTH-NORDIC 32 system, for both transient and small signal stability analyses.

In view of the description above, the contributions of this paper can be summarized as follows:

  • To develop four detailed hydro turbine and governor models which can represent the behaviors of hydro turbine and governor precisely, e.g. water hammer effect.

  • To exhibit a systemic, clear and general approach for implementing new components in PSAT—a free and open source software.

  • To illustrate a detailed description for how to implement new hydro turbine and governor models in PSAT.

  • To perform different system stability analysis approaches and their application in PSAT, e.g. transient stability analysis and small signal stability analysis.

The remainder of this paper is organized as follows. Section 2 describes how to develop models for hydro turbine and hydro governor, respectively, and presents an example model with its structure and realization description. In Section 3, a general approach for implementing components in PSAT is described, as an example, this approach is illustrated with the implementation of a hydro turbine and governor model in PSAT. Next, Section 4 shows simulation results and discusses the performance of the implemented models in the SMIB system as reflected by transient stability analysis and small signal stability analysis. Implementation of turbine and governor models in a large power system is carried out in Section 5. Conclusions are drawn in Section 6 highlighting the contributions reported in this paper.

Section snippets

Hydro turbine and governor modeling

In this section the hydro turbine and hydro governor models which are implemented in PSAT are throughly described and their realization diagrams are derived.

Implementation in free and open source software

PSAT is an open source Matlab and GNU/Octave-based software package for analysis and design of electrical power systems [5], [15], [17], [18]. It is a very flexible and modular tool for power flow (PF), continuation power flow (CPF), optimal power flow (OPF), small signal stability analysis (SSSA) and time domain simulation (TDS). In addition, a variety of static and dynamic models are provided. Both graphic user interface (GUI) and command line execution can be utilized for calculations and

Simulation and performance for the implemented models in SMIB system

The single-machine infinite-bus (SMIB) systems, as the name suggests, includes only one generator. It is possible the simplest power system, consequently, is widely used for preliminary evaluation of the implemented models.

Fig. 9 shows a SMIB system consisting of one 991 MVA, 20 kV, 50 Hz generator, one transformer operating 20 kV on the primary and secondary, two lines with reactance of 0.1 p.u. and an infinite generator (or source) with 100,000 MVA (an infinite bus).

For comparison purposes only,

KTH-NORDIC32 system introduction and parameters in PSAT

The KTH-NORDIC32 system is depicted in Fig. 15. The overall topology is longitudinal; two large regions are connected through considerably weak transmission lines. The first region is formed by the north and the equivalent areas located in the upper part, while the second region is formed by the Central and the South areas located in the bottom part. The system has 20 generators, 12 of which are hydro generators located in the North and the Equivalent areas, whereas the rest are thermal

Conclusions

This paper presented four developed hydro turbine and governor models and implemented them in PSAT—a free and open source software. Moreover, detailed implementation steps are also provided. To evaluate models features, the performances of the implemented models in two power systems—a single-machine infinite-bus (SMIB) system, and the KTH-NORDIC 32 system were examined. The evaluation of a power system’s performance is concerned with the stability of that system by analyzing transient stability

Acknowledgment

The authors gratefully acknowledge the aid of Prof. Federico Milano of the University of Castilla-La Mancha for his valuable comments and suggestions for implementing the new models described in this paper.

This Project was supported in part by the EIT InnoEnergy Collocation Center Sweden within the “Smart Power” Thematic Area, Work Package 3.1: Smart Transmission Grids Real-Time Simulation Platform.

Luigi Vanfretti is supported by the STandUP for Energy collaboration initiative and the KTH

References (26)

  • International Energy Agency, Electricity/Heat in Sweden in 2008....
  • IEEE Committee Report, Dynamic models for steam and hydro turbines in power system studies, IEEE Transactions on Power...
  • J. Machowski et al.

    Power System Dynamics: Stability and Control

    (1997)
  • P. Kundur

    Power System Stability and Control

    (1993)
  • F. Milano

    An open source power system analysis toolbox

    IEEE Transactions on Power Systems

    (2004)
  • F. Milano, M. Zhou, G. Hou, Open model for exchanging power system data, Power & Energy Society General Meeting, 2009....
  • R.M. Stallman, Free Software, Free Society: Selected Essays of Richard M. Stallman, second ed., Free Software...
  • D. Ramey et al.

    Detailed hydrogovernor representation for system stability studies

    Power Apparatus and Systems, IEEE Transactions on PAS-89

    (1970)
  • W. Li, Hydro Turbine and Governor Modeling and Scripting for Small-signal and Transient Stability Analysis of Power...
  • I.C. Report

    Hydraulic turbine and turbine control models for system dynamic studies

    Power Systems, IEEE Transactions on

    (1992)
  • L.N. Hannett et al.

    Field tests to validate hydro turbine-governor model structure and parameters

    Power Systems, IEEE Transactions on

    (1994)
  • T.V. Cutsem, Description, Modeling and Simulation Results of a Test System for Voltage Stability Analysis, Version 2,...
  • I. The MathWorks, SimPowerSystems 5.4, 2011....
  • Cited by (34)

    • Damping characteristics analysis of hydropower units under full operating conditions and control parameters: Accurate quantitative evaluation based on refined models

      2021, Applied Energy
      Citation Excerpt :

      On this basis, according to the order and complexity of the model, the utilization of classical or modern control theory, such as time-domain simulation [10], Routh-Hurwitz criterion [11], root locus method [12], eigenvalue analysis [13,14] or Hopf bifurcation theory [15–17], has become the focus to analyze the stability and damping characteristics of hydropower units. In terms of research on modeling methods of hydropower units, the focus is generally on the modeling of hydro-turbines and water diversion systems [18]. For hydro-turbines, Taylor expansion can be used to establish a linear model at a certain operating condition, or a non-linear model under full operating conditions (FOC) can be established based on the model characteristic curve [19].

    • Gravity Energy Storage

      2019, Gravity Energy Storage
    View all citing articles on Scopus
    View full text