SVC modelling
SVC modelling
Abstract—PSS/E is the power system simulation software transient simulation which is high efficiency and more
that widely used on North American, and possesses powerful suitable for some situations. Although all of the 5 SVCs
user-defined function. The static var compensator (SVC) is an models in PSS/E are belong to constant voltage control, its
important device for reactive power compensation. The CSVGN5 powerful user-defined function makes implement any kind of
SVC, which is ready-made in PSS/E and widely used in western SVC simulation modeling possible.
United States, and a modified SVC which is referenced the model But the introductions of PSS/E’s user-defined modeling
in BPA, are built by means of user-defined function in PSS/E. in existing literatures [6-8] are mostly for excitation system,
Through the comparison of dynamic simulation results, the and the study of the user-defined function in PSS/E is in the
correctness and practicability of the proposed user-defined SVC stage of basic research, as for other models, scarcely
model is validated. mentioned. User-defined modeling function is particularly
Index Terms—PSS/E, reactive compensation, SVC, transient important in the power system simulation since any power
simulation, user-defined modeling system simulation software can't catch up with the complexity
I. INTRODUCTION and diversity of practical models such as SVC. Therefore, this
article will introduce the user-defined function in PSS/E, the
Compared with traditional capacitor, SVC is a widely
characteristics of SVCs that ready-made in this software, and
used dynamic reactive power compensation device, which
take one of them for example, introduce the user-defined
changes the impedance characteristics by controlling thyristor
modeling function in PSS/E detailedly. Then compare the
switch, so as to provide requisite amount of reactive power
simulation output of the user-defined SVC and SVC that
[1−5]. However, the control mode of SVC covers high side
ready-made in the software to verify the exactness of
constant voltage control, low side constant voltage control,
user-defined model. At the same time, accomplish a modified
constant reactive power control and constant power factor
SVC whose input involves an auxiliary signal that partly
control. Even different manufacturer implements the same
based on the control block in BPA, then load the model to a
control mode through different methods. Plus, Many SVC
power system and compare the simulation output by the SVCs
models also contain an auxiliary signal in the input, and the
that mentioned above to verify the practicability and
sources of the auxiliary signal are not identical. Therefore, the
effectiveness of the user-defined functions in PSS/E. The
ready-made SVCs in commonly used software of power
user-defined method introduced in this paper can be taken as a
system such as BPA or PSCAD has its own shortcomings and
reference for modeling of other models, e.g. HVDC
cannot meet the above requirements: there is no user-defined
transmission system, flexible ac transmission system (FACTS)
function and only one kind of SVC model which is constant
and dynamic load model in PSS/E in the later research.
voltage control in BPA, and PSCAD is the electromagnetic
transient simulation software which uses short time constant, II. THE INTRODUCTION OF MODEL AND CONTROL MODE
is time consuming. OF THE SVC
1
PSS/E is the analysis software developed by PTI which Take the 5 SVCs in PSS/E for example: they all represent
is designed for transmission system. Compared with BPA an SCR-controlled shunt reactor and a parallel connected
which in the lack of a user-defined function and PSCAD capacitor. CSVGN1,CSVGN3 and CSVGN4 maintain the
which has the problem of low efficiency, PSS/E possesses voltage level and reduce the voltage error by comparing the
powerful user-defined function, and uses electromechanical voltage measured at bus and the referenced voltage, then
output an admittance signal after a series of control, so as to
This work was supported by the National High Technology Research and
Development Program (“863” Program) of China (2012AA050209) and
control the output or absorption of the reactive power. The
National Natural Science Foundation of China (51407079). features of CSVGN5 and CSVGN6 models include a fast
CCC: 978-1-4799-7537-2/14/$31.00 ©2014 IEEE
override and remote bus voltage control functions. The fast the SVC or switching [9]. CSVGN5 control block diagram is
override is activated when the voltage error exceeds a shown in Fig.1.
threshold values during major disturbances such as faults near
∑ ∑
Above is the introduction of 5 kinds of SVC model that A. The role of MODE in the user-defined model
ready-made in PSS/E. Because SVCs are belong to generator
When PSS/E performs the simulations, Mode is an
model in PSS/E, so the source of the auxiliary signal Vothsg
"internal flag" in it. The MODE does not need to manually
can only come from the generator devices, such as stabilizer.
assign, the program automatically assign the value 1 to 8 to it
However, in real situation, the source of the auxiliary signals
during the simulation:
are diversified, for example, Fig.2 is the auxiliary signal
control block in BPA, and there are 6 types of source signals TABLE I. FUNCTION OF EACH MODE FLAG IN PSS/
can be inputted according to actual situation. These complex
Flag Value Significance
situations above can only be done through the user-defined
MODE 1 Initialization: calculate initial condition values of all state
function.
variables
III. THE USER-DEFINED MODELING FUNCTION OF PSSE
2 All computations needed to place time derivatives into the
In PSS/E, user-defined program contain two subroutines: DSTATE array.
CONEC and CONET, and 8 internal arrays, include CON 3 Each model must compute the present value of its output
array (store constants), the STATE array (store state and place it in the specialized array.
variables), DSTATE array (store derivative of state 4 set maximum number of integrators
variables), VAR array (store algebraic variables) and etc. 5 Write model documentation when activity DOCU is run.
When the user-defined program executes a dynamic 6 Write model input data when activity DYDA is run.
simulation, the subroutine CONEC is responsible for getting 7 Write model documentation when activity DOCU is run .
constant parameters from constant array, getting the system 8 Write the names of the constants in the user-defined
current operating conditions from the conditions array, getting module
the current value of state variables from the state array and
B. The execution flow of MODE
delivering it to the subroutine model. Then the model
subroutine calculates the differential value of each state MODE’S changing order in PSS/E is shown in the Fig.3,
variable; next, the program puts the differential value of each the main program in PSS/E implement different tasks under
state variable into differential array, returns to the main different MODE value. Taking no account of the case of
program to implement the integral calculation. MODE equal to 5, 6, 7, because they are dispensable at SVC
modeling, the execution sequence is 8, 4, 1, 3, 2 for one time,
and then the value of MODE is changing between 2 and 3
until the end of the simulation time. Set y2(t) as a state variable and store it in STATE array,
and its derivative stored in DSTATE array.
MODE = 8
MODE = 3 3) Compile the user-defined model: utilize dynamic file to
Write the names of the constants Set Pmech, Efd, VOTHSG, VUEL,
in the user-defined module VOEL,
create CONEC and CONET files, write source code in the
machine source currents (ISOURCE) CONEC file and compile it and create the objective file
Time = –2 time steps All STATE sequentially, then create the dynamic link library file: the
and DSTATE = 0 Network solution; calls CONET to dusur.DLL. Start the PSS/E under the directory where the file
calculate resides in. In the process of simulation, PSS/E will load the
MODE = 4 current injections dsusr.DLL file automatically for dynamic simulation [7]. The
Call CONEC for induction motor and
dc lines;
MODE = 2 flow chart shown in Fig.5
Call CONEC to calculate all state
set maximum number of integrators
variable time
derivatives and set VOTHSG, VUEL,
MODE = 1 and VOEL
Call SITER for initial network
solution;
calls CONET to calculate current Loop through all state variables and
injections check
for initial condition suspect.
Call CONEC to initialize models;
output
Loop between MODE=2 and
initial machine conditions
MODE =3 until the end of the Figure.5 Compilation process of user defined model
simulation time
Voltage(p.u.)
the output curve, so as to verify the user-defined method
above mentioned. After that, for the requirements of the
load the user-defined SVC with auxiliary signals
simulation, the paper accomplish a modified SVC whose input load the user-defined SVC(CSVGN5)
load ready-made SVC(CSVGN5) of PSS/E
involves an auxiliary signal that partly based on the control without SVC
Time(s)
Figure 7(b)Voltage curve of the faulty bus (bus152) whose voltage is
remote controlled by the SVC
same, and the reactive power output of the three kinds of SVC
and the fixed shunt in steady state all are 8.1 Mvar. And then
Time(s)
move on to the transient simulation of the four groups
Figure 7(d) Power flow (P) of one of the double circuit transmission
respectively. The total duration of each simulation is 10
lines between bus152 and bus151
seconds, and a metalline earthing fault is happened at one of
the double circuit transmission lines between bus152 and
ac transmission system(FACTS)and dynamic load
model.
Reactive Power(Mvar)