Docsity

Power system analysis using matlab toolboxes, Notas de estudo de Engenharia Elétrica

Toggle sidebar
bg1
 
October 4-6, 2007 - Chiinu, Rep.Moldova
305
POWER SYSTEM ANALYSIS USING MATLAB TOOLBOXES
*Gheorghe CÂR0IN1,*Gheorghe GRIGORA2,**Elena-Crengu3aBOBRIC
*Technical University “Gh. Asachi” of Iasi, Romania; e-mail: [email protected].ro
** University “Stefan cel Mare” of Suceava, Romania
Abstract
This paper presents the features of several
Matlab toolboxes used in power system analysis, such as
MatPower Toolbox (MPT), Power System Analysis
Toolbox (PSAT) and Voltage Stability Toolbox (VST).
For to illustrate the capabilities of MPT for educational
and research purposes, a study case based on a test
system, is presented.
Keywords:power system analysis, Matlab toolboxes,
optimal power flow.
1. INTRODUCTION
Power system simula tion involves a wide range of
timeframes, starting at microseconds when simulating
fast electromagnetic transients and extending to
several years in system planning studies. The same
system may have to be modeled and solved in many
different ways, depending upon the studies event o f
interest. It has been desirable to have a single software
platform from which several power system analysis
functions can be easily activated from the same power
system [1].
In the last decade, several high-level programming
languages, such as Matlab, Mathcad, Mathematica and
so on, have become more popular for both research
and educational purposes. Any of these languages can
lead to good results in the field of power system
analysis. From these languages Matlab proved to be
the best user choice. The important features of Matlab
are the matrix-oriented programming, plotting
capabilities and a graphical environment (Simulink),
which highly simplified control scheme design.
This paper presents, in the first part, the features of
several Matlab toolboxes used in power system
analysis, such as MatPower Toolbox (MPT), Power
System Analysis Toolbox (PSAT) and Voltage
Stability Toolbox (VST). The second part presents a
study case based on a test system, using the MPT for
to illustrate the capabilities of this tool for educational
and research purposes.
2. FEATURES OF MATLAB TOOLBOXES USED
IN POWER SYSTEM ANALYSIS
One of the features of the Matlab toolboxes used in the
power system analysis (MatPower Toolbox (MPT),
Power System Analysis Toolbox (PSAT), Voltage
Stability Toolbox (VST) and so on) is the modularity
of design, facilitating future revision and expansion of
softwares. This is very important for researches who
are interested in developing and testing new for
various power system applications.
Another feature is to provide an avenue to easily
prepare input data files in commonly accepted formats
for networks that are created.
The results produced by one application can be easily
used either fully or partially by any other application
supported by the package. For example, having this
feature would facilitate initialization of transient
simulations by using the corresponding power flow
results [1], [2], [3].
The group of the Matlab toolboxes used in the power
system analysis includes a set of application functions,
which collect their inputs and provide their outputs in
aform to be processed for proper presentation to user.
The general configuration of the all toolboxes is
presented in the Fi gure 1.
Matlab toolbox for
Power System Simulation
On-line
Network Editor Data Files
Applications
Power Flow
Analysis
Optimal Power Flow
Analysis
Small-Signal Stability
Analysis
Transient Stability
Analysis
Figure1: General configuration of the Matlab
toolboxes for power system analysis.
In the Matlab toolboxes for the power system analysis
not all applications are presented. Thus, in the Table 1
is depicts a comparison of the Matlab tooboxes from
the view point of the application functions. The
applications illustrated in the table are: Power Flow
(PF), Continuation Power Flow (CPF), Optimal Power
pf3
pf4

Pré-visualização parcial do texto

Baixe Power system analysis using matlab toolboxes e outras Notas de estudo em PDF para Engenharia Elétrica, somente na Docsity!

^                October 4-6, 2007 - Chiinu, Rep.Moldova

POWER SYSTEM ANALYSIS USING MATLAB TOOLBOXES

***Gheorghe CÂR 0 IN 1 , *Gheorghe GRIGORA 2 , **** (^) Elena-Crengu 3 a BOBRIC

*Technical University “Gh. Asachi” of Iasi, Romania; e-mail: [email protected] ** (^) University “Stefan cel Mare” of Suceava, Romania

Abstract  This paper presents the features of several Matlab toolboxes used in power system analysis, such as MatPower Toolbox (MPT), Power System Analysis Toolbox (PSAT) and Voltage Stability Toolbox (VST). For to illustrate the capabilities of MPT for educational and research purposes, a study case based on a test system, is presented.

Keywords : power system analysis, Matlab toolboxes, optimal power flow.

1. INTRODUCTION

Power system simulation involves a wide range of timeframes, starting at microseconds when simulating fast electromagnetic transients and extending to several years in system planning studies. The same system may have to be modeled and solved in many different ways, depending upon the studies event of interest. It has been desirable to have a single software platform from which several power system analysis functions can be easily activated from the same power system [1]. In the last decade, several high-level programming languages, such as Matlab, Mathcad, Mathematica and so on, have become more popular for both research and educational purposes. Any of these languages can lead to good results in the field of power system analysis. From these languages Matlab proved to be the best user choice. The important features of Matlab are the matrix-oriented programming, plotting capabilities and a graphical environment (Simulink), which highly simplified control scheme design. This paper presents, in the first part, the features of several Matlab toolboxes used in power system analysis, such as MatPower Toolbox (MPT), Power System Analysis Toolbox (PSAT) and Voltage Stability Toolbox (VST). The second part presents a study case based on a test system, using the MPT for to illustrate the capabilities of this tool for educational and research purposes.

2. FEATURES OF MATLAB TOOLBOXES USED

IN POWER SYSTEM ANALYSIS

One of the features of the Matlab toolboxes used in the power system analysis (MatPower Toolbox (MPT), Power System Analysis Toolbox (PSAT), Voltage Stability Toolbox (VST) and so on) is the modularity

of design, facilitating future revision and expansion of softwares. This is very important for researches who are interested in developing and testing new for various power system applications. Another feature is to provide an avenue to easily prepare input data files in commonly accepted formats for networks that are created. The results produced by one application can be easily used either fully or partially by any other application supported by the package. For example, having this feature would facilitate initialization of transient simulations by using the corresponding power flow results [1], [2], [3]. The group of the Matlab toolboxes used in the power system analysis includes a set of application functions, which collect their inputs and provide their outputs in a form to be processed for proper presentation to user. The general configuration of the all toolboxes is presented in the Figure 1.

Matlab toolbox for Power System Simulation

On-line Network Editor Data Files

Applications

Power Flow Analysis

Optimal Power Flow Analysis

Small-Signal Stability Analysis

Transient Stability Analysis

Figure1: General configuration of the Matlab toolboxes for power system analysis.

In the Matlab toolboxes for the power system analysis not all applications are presented. Thus, in the Table 1 is depicts a comparison of the Matlab tooboxes from the view point of the application functions. The applications illustrated in the table are: Power Flow (PF), Continuation Power Flow (CPF), Optimal Power

Flow (OPF), Small-Signal Stability Analysis (SSA) and Time-Domain Simulation (TDS), [2].

Toolbox PF CPF OPF SSA TDA MPT * * PSAT * * * * * VST * * * *

Table 1: Matlab toolboxes for power system analysis.

MatPower Toobox (MPT) is a package for solving power flow and optimal power flow problems. It is intended as a simulation tool that is easy to use and modify. This Matlab package is designed to give the best performance possible while keeping the code simple to understand and modify. Power System Analysis Toolbox (PSAT) is a Matlab toolbox for electric power system analysis and control. PSAT includes power flow, continuation power flow, optimal power flow, small signal stability analysis and time domain simulation. All operations can be assessed by means of graphical user interfaces (GUIs) and a Simulink-based library provides a user friendly tool for network design. PSAT core is the power flow routine, which also takes care of state variable initialization. Once the power flow has been solved, further static and/or dynamic analysis can be performed. Voltage Stability Toolbox (VST) combines proven computational and analytical capabilities of bifurcation theory and symbolic implementation and graphical representation capabilities of MATLAB and its Toolboxes. It can be used to analyze voltage stability problem and provide intuitive information for power system planning, operation, and control. Among the Matlab toolboxes presented above, it can observe that the PSAT has the most applications for power system analysis but the MPT is a simulation tool for researches and educators that is easy to use and modify.

3. OPTIMAL POWER FLOW APPLICATION

Generally, the Optimal Power Flow (OPF) is a steady state operation of the power system that minimizes the costs of meeting the load demand for a power system, while maintaining the security of the system. Another goal of an OPF is the determination of system marginal cost data. This marginal cost data can aid in the pricing of MW transactions, as well as the pricing ancillary services such as voltage support through MVAr support. In solving the OPF using Newton method, the marginal cost data are determined as a by- product of the solution technique [6], [7]. Depending on the specific objectives and constraints, there are different OPF formulations. The typical objectives are:

  • minimization of total generation cost;
    • minimization of the active power losses;
    • maximization of the degree of security of the system;
    • optimization of the voltage-reactive power.

The objective function for the OPF reflects the costs associated with generating power in the system ant it is assumed to be approximated by a quadratic function of generator active power output as: 2

Ci = ai + biPGi + ciPG i (1)

where: PG i [MW] - is the active output of generator

“i” and a (^) i, b (^) i, and c (^) i - are the coefficients of the consumption characteristics. Therefore, this objective function will minimize the total system costs.

i

F X ai biPGi ciPGi

2

The constraints from an OPF problem can be equality and inequality constraints. The equality constraints of the OPF, generally, reflect the power balance at the buses of the system. It is common for OPF problems to be formulated in polar form, since voltage magnitude limits are treated easily as simple variable limits. Despite this merit, OPF in rectangular form has advantages in that the second derivatives of power flow equations are constants and trigonometric functions are not including. The inequality constraints of the OPF reflect the devices limits in the power system, as well as the limits created to ensure system security. Thus generators have maximum and minimum output active and reactive powers:

min max

min max

i i i

i i i

G G G

G G G

Q Q Q

P P P

Also, the transformer tap changing have a maximum and a minimum tap changing, which can be achieved,

tc ik min  tcik  tcik max (4)

For the maintenance of system security, power systems have transmission line, as wells transformer MVA ratings. These ratings may come from thermal ratings of conductors, or they may be set to a level due to system stability concerns:

2 max

2

Sik  Sik  (5)

To maintain the quality of electrical service and system security, buses voltages, usually, have a desired voltage profile,

U i min  Ui  Ui max (6)

5. CONCLUSIONS

The paper presents several Matlab toolboxes can be used in power system analysis. These toolboxes come with a variety of procedures for static and dynamic analysis that can be used with easiness in educational and research activities. One of the features of these Matlab toolboxes is the modularity of design, facilitating future revision and expansion of softwares. This is very important for researches who are interested in developing and testing new for various power system applications.

References

[1] A. Abur, F. Magnago, Y. Lu, Educational Toolboxes for Power System Analysis, IEEE Computer Applications in Power, vol. 13, no. 4, 2000, pp. 31 – 35. [2] F. Milano, An Open Source Power System Analysis Toolbox , IEEE Trans. on Power Systems, vol. 20, no. 3, 2005, pp. 1199 -1206.

[3] R.D. Zimmerman, C.E. Murrillo-Sánches, D. Gan, MatPower, A Matlab Power System Simulation Package. Version 3.1b2.User’s Manual , Power Systems Enginnering Research Center, Cornell University, Ithaca, NY, [Online] Available:http://www.pserc.cornell.edu/matpower [4] Power System Analysis Toolbox, Documentation for PSAT version 2.0.0 8 2, February 7, 2007 , [Online] Available: http://www.power.uwaterloo. ca/~fmilano/psat.htm. [5] Voltage Stability Toolbox (VST) - PC/Unix Version , [Online] Available: http://www.pages. drexel.edu/~hgk22/VST/ voltage_stability_toolbox.htm. [6] J. D. Weber, Implementation of a Newton-Based Optimal Power Flow into a Power System Simulation Environment , MS Thesis, University of Illinois, Urbana, 1997. [7] Gh. CârQinR, Y-H. Song, Gh. GrigoraT, Optimal Operation and Planning of Power Systems , Casa de EditurR VENUS, IaTi, 2003.