Más contenido relacionado La actualidad más candente (20) Similar a Tutorial: Modelling and Simulations: Renewable Resources and Storage (20) Más de Francisco Gonzalez-Longatt (20) Tutorial: Modelling and Simulations: Renewable Resources and Storage2. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 2/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Copyright Notice
The documents are created by Francisco M. Gonzalez-Longatt and contain copyrighted material, trademarks, and other proprietary information. All rights reserved. No part of the documents may be reproduced or
copied in any form or by any means - such as graphic, electronic, or mechanical, including photocopying, taping, or information storage and retrieval systems without the prior written permission of Francisco M.
Gonzalez-Longatt . The use of these documents by you, or anyone else authorized by you, is prohibited unless specifically permitted by Francisco M. Gonzalez-Longatt. You may not alter or remove any
trademark, copyright or other notice from the documents. The documents are provided “as is” and Francisco M. Gonzalez-Longatt shall not have any responsibility or liability whatsoever for the results of use of the
documents by you.
@fglongatt
fglongatt.org
4. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 4/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• This seminar is designed to present a general
overview of:
– Main features of Modelling and Simulation of
PowerFactory.
– Models included in PowerFactory for Renewables
and Storage.
– DigSILENT Simulation Language (DSL).
– Main features of the Book.
6. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 6/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Basic PowerFactory Concepts
• Overview of System Analysis Functions
• Dynamic Modelling with PowerFactory
• Types of Wind Turbines Technologies
• WTG Models for Load Flow and Short Circuit
Calculation
• Global “Templates” library
• WTG Models for Dynamic Simulation
• Fully Rated WTG Template
• PV and Battery Energy Storing System (BESS)
• The Book…
8. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 8/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The calculation program PowerFactory, as written by
DIgSILENT.
• It is a computer aided engineering tool for the analysis
of industrial, utility, and commercial electrical power
systems.
• It has been designed as an advanced integrated and
interactive software package dedicated to electrical
power system and control analysis in order to achieve
the main objectives of planning and operation
optimization.
http://www.digsilent.de/
Dr. Martin Schmieg
9. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 9/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The name DIgSILENT stands for "DIgital SImuLation
and Electrical NeTwork calculation program''.
• DIgSILENT Version 7 was the world's first power
system analysis software with an integrated
graphical one-line interface.
• That interactive one-line diagram included drawing
functions, editing capabilities and all relevant static and
dynamic calculation features.
10. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 10/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• DIgSILENT power system calculation package was
designed as an integrated engineering tool.
• It provides a complete 'walk-around' technique
through all available functions, rather than a
collection of different software modules.
• PowerFactory Version 14, DIgSILENT represents a
further step towards seamless integration of
functionality and data management within a
multi-user environment.
11. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 11/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• There are three basic integration characteristics
that contribute to make PowerFactory a unique
power system analysis tool:
a) Functional integration
c) Vertical integration
b) Database integration
12. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 12/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• DIgSILENT PowerFactory software is implemented
as a single executable program, and is fully
compatible with Windows 95/98/NT/2000/XP/Vista.
13. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 13/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Vertically integrated power equipment model
concept allowing models to be shared by all
analysis functions
DATA
14. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 14/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• DIgSILENT PowerFactory provides optimal
organization of data and definitions required to
perform any type of calculation, memorization of
settings or software operation options.
15. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 15/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The PowerFactory database environment fully
integrates all data required for defining cases,
operation scenarios, single-line graphics, outputs,
run conditions, calculation options, graphics, user-
defined models, etc.
Project Manager
Visioning and
Publishing
Master and Device
Compare and Merge
Single Database Concepts: all data for
standard and advanced functions are
organized in a single, integrated database.
16. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 16/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Project Management: All the data that defines a power
system model and allows its calculation is stored in so
called 'Project' folders within the database.
• Inside a 'Project', folders called 'Study Cases' are used
to define different studies of the system considering the
complete network, only parts of it or variations on its
current state.
17. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 17/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• This 'project and study case' approach to define and
manage power system studies is a unique application of
the object-oriented software principle.
• Standard software packages often require the user to
create a large number of similar saved cases, with
multiple nested directories for large complex networks
and studies.
• This approach of the structure is both easy to use while
avoiding redundancy.
19. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 19/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
OHL parameter
calculation
Cable parameter
calculation
Asynchronous
Machine
parameter
estimation
Reliability
analysis Optimal Power
flow Economic
Dispatch
Power Flow
AC/DC
Powerflow
Balanced/un-
balanced
Active power and
reactive power
controls
Fault Analysis
IEC 60909
IEC 61363
ANSI C37.4
G74
Complete
method
General
faults/Multiple
faults
State Estimation
Protection
Functions
Protection
Simulation
Network reduction
Contingency Analysis
Voltage Stability Analysis
Power Flow Sensitivities
Distribution Network
Analysis
Harmonic Analysis Ripple
Control
Distribution Network
Optimization
Flexible DSL – Modelling
DIgSILENT Simulation Language
RMS Simulation with abc Phase
Representation
Long-Term Stability
Transient Motor Starting
Real-Time Simulation
Electromagnetic transient
(EMT)
System Parameter identification
Radial and Meshed 1-4 Phase AC grids and DC Grids
Transmission and Distribution Industry Wind Power PV System Railway Smart Grid
ApplicationsGridPowerSystemAnalysisFunctions
Source: DigSILENT PowerFactory
http://www.digsilent.de/images/Software/DIgSILENT_PowerFactory/overview150.png
@fglongatt
20. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 20/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• PowerFactory offers a wide variety of calculation
commands, of which the:
– Load Flow Analysis
– Short-Circuit Analysis
– Harmonics Analysis
– Stability and EMT Simulations
– Modal Analysis / Eigenvalue Calculation
– Model Parameter Identification
– Contingency Analysis
– Reliability Assessment
– Optimal Power Flow
– Optimization Tools for Distribution Networks
– Protection
– Network Reduction
– State Estimation
21. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 21/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• DigSILENT PowerFactory, NetomacTM and
SimpowTM, offer both dynamic and instantaneous
value modes of simulation.
@fglongatt
23. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 23/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Stability analysis calculations are typically based on
predefined system models.
• When no IEEE models exist a powerful tools for
user defined modelling are required.
• For systems and configurations for which no IEEE
models exist, Dynamic Simulation Language
(DSL) could be used
• High specialised and exact models can be created in
PowerFactory.
24. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 24/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The Dynamic Simulation Language (DSL) is a powerful
feature of DIgSILENT.
• DSL itself can be looked upon as an add-on to the
transient analysis functionality of PowerFactory.
• During the simulation, the model equations of the DSL
models are combined with those describing the
dynamic behaviour of the power system
components.
• DSL and System equations are then evaluated together,
leading to an integrated transient simulation of the
combination of the power system and its controllers.
25. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 25/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Two types of models in DIgSILENT are presented :
1. Built-in models, which are standard electrical component
models, already existing in the DIgSILENT library.
2. DSL models, which are created by the user in the
dynamic simulation language DSL.
DSL Models Built-in Models
26. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 26/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The "DIgSILENT Simulation Language" is used to
define new dynamic controllers which receive
input signals from the simulated power system and
which react by changing some other signals.
Approx. 3000
predefined signals
(voltages, currents,
impedances, parameters,
switches, log variables,…)
Interrupt handling
Numerical integration
Output processing
Automatic generation of
Jacobian elements and
system sub-matrices
DSL
Model 1
DSL
Model 2
DSL
Model n
DSL
Model n
DSL
Model n
Interrupt signals;
FAULT (expression, command)
Program internal signals and parameters
Output signals
Interrupt signals
Output signals
Interrupt signals
Interrupt signals;
FAULT (expression, command)
Variable addresses
element: variable
Domain
Domain
27. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 27/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• PowerFactory modelling philosophy is targeted
towards a strictly hierarchical system modelling
approach.
Hierarchical
system
modelling
Block
Block Frame
Model
Model Frame
User
@fglongatt
Block
Block Frame
Model
Model Frame
28. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 28/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• This approach combines both graphical and script-
based modelling methods.
Hierarchical
system
modelling
Graphical
Script based
Graphical
Block Diagrams
Script Based
Programming
@fglongatt
29. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 29/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Composite model 1
Composite model 2
Model Definition
Common model 1dsl
Common model 2dsl
Composite Frame
+ Library
Slot A
Slot B
B
A
B
A
Network Element 1
Network Element 2
+ Library+ Network Data
@fglongatt
31. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 31/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Wind Generation Modeling Group (WGMG) of the
Western Electricity Coordinating Council (WECC)
• Working Group on Dynamic Performance of Wind
Power Generation of IEEE Power System
Dynamic Performance Committee
• They have developed and provided specification of
generic wind turbine generator (WTG) models.
• PowerFactory uses IEC 61400-27-1 and WECC
http://ewh.ieee.org/soc/pes/psdpc/documents/IEEE_PES_WG_DPWG_072412_Meeting_and_Panel.pdf
32. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 32/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• This modular structure has many similarities with the
first generation of WECC generic WTG model, but
also some major differences:
– The IEC structure separates the wind turbine
model from the wind plant model
– All the IEC models refer to a common modular
structure which applies for all wind turbine type
models.
– The common structure explicitly separates the
aerodynamic, mechanical, generator-system,
electrical and control modules and adds a grid
protection module.
33. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 33/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The horizontal sequence of blocks in the middle
reflects the physical power flow, while protection and
control is shown above and below respectively.
Depending on the type of wind turbine, some of the
modules can be omitted.
@fglongatt
34. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 34/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Despite the seemingly large variety of utility-scale
WTGs in the market, each can be classified in one
of four basic types:
Type-1 – Fixed-speed,
induction generator
Type-2 – Variable slip,
induction generators
with variable rotor
resistance
Type-3 – Variable
speed, doubly-fed
asynchronous
generators with rotor-
side converter
Type-4 – Variable speed
generators with full
converter interface
35. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 35/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Four basic types, based on
the WTG technology:
Type 1 – Fixed-speed, conventional
induction generators
Variable Slip WTG
Type 2 – Induction generators with
variable rotor resistance
Variable Speed WTGs
Type 3 – Doubly-fed asynchronous
generators with rotor-side converter
Type 4 – Asynchronous generators
with full converter interface
Var
Compensation
Single
cage
induction
generator
Gearbox
mecP
genP
Grid
Is
Us
Double-fed
induction
generator
Gearbox
ac/dc dc/acDC
link
Ir
Ur
genP
Filter
gensP
Grid
gensP
mecP
Is
Us
Synchronous or
Asynchronous
Generator
Optional
Gearbox ac/dc dc/acDC
link
genP
Grid
mecP
Filter
Is
Us
Wound Rotor
induction
generator
Gearbox
ac/dc
Ur
genP
mecP
Var
Compensation
Grid
Type 1 Type 2
Type 3 Type 4
@fglongatt
37. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 37/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The oldest technologies used in wind turbine
generators.
Var
Compensation
Single
cage
induction
generator
Gearbox
mecP
genP
Grid
This type of turbine is very rugged and very simple in its construction.
The induction generator used in most of the turbines is usually type A or type B,
operating in a low slip range between 0 ‐ 1%.
38. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 39/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Wind
Turbine
Model
Generator
Model
Pseudo
Governor
Model
Shaft Speed
Real Power
Terminal voltage
genP
genQ
Var
Compensation
Single
cage
induction
generator
Gearbox
mecP
genP
Grid
Source: A. Ellis et al.
“Description and Technical
Specifications for Generic WTG
Models – A Status Report”
2011 IEEE/PES Power
Systems Conference and
Exposition (PSCE).
39. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 40/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Wind turbine type 2 is a wound rotor induction
generator with adjustable external resistors.
The adjustable external resistor is implemented by a combination of external (three phase)
resistors connected in parallel with power electronics circuit (diode‐bridge and DC
chopper).
Is
Us
Wound Rotor
induction
generator
Gearbox
ac/dc
Ur
genP
mecP
Var
Compensation
Grid
40. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 41/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Wind
Turbine
Model
Generator
Model
Pseudo
Governor
Model
Shaft Speed Real
Power
Terminal voltage
genP
genQRotor Resistance
Real Power
Rotor
Resistance
Control
Model
“Aero” Torque
Is
Us
Wound Rotor
induction
generator
Gearbox
ac/dc
Ur
genP
mecP
Var
Compensation
Grid
Source: A. Ellis et al. “Description
and Technical Specifications for
Generic WTG Models – A Status
Report” 2011 IEEE/PES Power
Systems Conference and
Exposition (PSCE).
41. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 42/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• This is a variable speed wind turbine generator
employing a wound rotor induction generator.
Source: www.nordex-online.com
Is
Us
Double-fed
induction
generator
Gearbox
ac/dc dc/acDC
link
Ir
Ur
genP
Filter
gensP
Grid
gensP
mecP
It is usually design to operate at + 30%
slip.
A variable frequency power converter is
connected to the rotor winding.
The power converter is ac‐dc‐ac system.
The power converter is usually the
current‐regulated pulse‐width
modulation (CRPWM) type.
42. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 44/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Wind
Turbine
Model
Generator/
Converter
Model
Pitch Control
Model
Shaft Speed Real
Power
Terminal voltage
genP
genQCommand Ip
Converter
Control
Model
Blade Picth
Power
order
Regulated Bus
Voltage
Speed
Orde
Command Eq
Real & Reactive
Power
Is
Us
Double-fed
induction
generator
Gearbox
ac/dc dc/acDC
link
Ir
Ur
genP
Filter
gensP
Grid
gensP
mecP
Source: A. Ellis et al. “Description and
Technical Specifications for Generic WTG
Models – A Status Report” 2011 IEEE/PES
Power Systems Conference and Exposition
(PSCE).
43. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 45/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Wind turbine type 4 is a variable‐speed wind
turbine generator.
• The output of the generator is passed through the
power converter to the grid.
Source: www.multibrid.de
Is
Us
Synchronous or
Asynchronous
Generator
Optional
Gearbox ac/dc dc/acDC
link
genP
Grid
mecP
Filter
Full
Converter
Interface
44. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 47/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Wind
Turbine
Model
Generator/
Converter
Model
Real
Power
Terminal voltage
genP
genQCommand Ip
Converter
Control
Model
Power order
Regulated Bus
Voltage
Command Eq
Real & Reactive
Power
Is
Us
Synchronous or
Asynchronous
Generator
Optional
Gearbox ac/dc dc/acDC
link
genP
Grid
mecP
Filter
Source: A. Ellis et al. “Description and
Technical Specifications for Generic WTG
Models – A Status Report” 2011 IEEE/PES
Power Systems Conference and Exposition
(PSCE).
45. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 48/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Permanent Magnet Synchronous Generator
Is
Us
Permanent
Magnet
Synchronous
Generator
Gearbox ac/dc dc/acDC
link
genP
Grid
mecP
PMSG
CH
GSCRSC
On the market, this system have been used in Spanish manufacturer Made, GE
multi-megawatt series.
The 2.5 MW Clipper Liberty turbine type, which features four 660 kW PMSGs, has
also used this concept.
Zephyros (currently Harakosan) and
Mitsubishi are using this concept in 2 MW
wind turbines on the market
46. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 49/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Is
Us
Induction
Machine
Gearbox ac/dc dc/acDC
link
genP
Grid
mecP
IM
CH
GSCMSC
Siemens is using this concept in the model of SWT-3.6-107on the market
Siemens Wind
Turbine SWT-3.6-107
Source:www.siemens.com/wind
47. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 50/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Is
Us
Synchronous
Generator
dc/dc dc/acDC
link
genP
Grid
mecP
CH
GSCMSC
ac/dc
Step up
SG
Direct-drive EESG typically has a large rotor diameter
(nearly 12 m for the Enercon E-112 direct drive 4.5
MW turbine).
Enercon E-112, 4.5 NW
Source: http://www.enercon.de/de-de/
49. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 52/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Representation in PowerFactory:
• Asynchronous Machine (*.ElmAsm) and Step Up
Transformer
• Needs a Type (*.TypAsmo).
50. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 53/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Is
Us
Wound Rotor
induction
generator
Gearbox
ac/dc
Ur
genP
mecP
Var
Compensation
Grid
51. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 54/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Representation in PowerFactory:
• Asynchronous Machine (*.ElmAsm).
• Needs a Type (*.TypAsmo)
52. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 55/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Is
Us
Double-fed
induction
generator
Gearbox
ac/dc dc/acDC
link
Ir
Ur
genP
Filter
gensP
Grid
gensP
mecP
Converter
is
Neglected
53. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 56/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Simple Representation in PowerFactory:
• Asynchronous Machine Configured as DFIG
(*.ElmAsm).
• Needs a Type (*.TypAsmo).
Converter
is
Neglected
55. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 58/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Detailed Representation in PowerFactory
• DFIG (*.ElmAsmsc).
• Needs a Type (*.TypAsmo).
Converter
is Included
57. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 60/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Detailed Representation in PowerFactory:
• DFIG (*.ElmAsmsc).
• Needs a Type (*.TypAsmo).
Converter
is Included
FULL
Model
59. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 62/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Representation in PowerFactory:
• Static Generator (*.ElmGenstat).
• Needs no Type
61. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 64/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Representation in PowerFactory:
• Static Generator (*.ElmGenstat).
• Needs no Type
64. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 67/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Version 14.1 made available a new global
“Templates” library (LibraryTemplates) that contains
“ready for use” models.
• This global templates library contains the following
“ready for use” models:
– Double Fed Induction Wind Turbine Generator,
– Fully Rated Converter Wind Turbine Generator,
– Photovoltaic Systems and
– Battery Energy Storing System.
66. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 69/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Dynamic of electrical components
• Control
• Protection
• Dynamic of mechanical parts
• Feedback (measurement)
All connected in a composite model:
67. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 70/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Generator, Shunt, Transformer, Inverter..
• Defined with grid elements:
• And type data:
71. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 74/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Available measurement devices:
• Voltage (*.StaVmea)
• Current (*.StaImea)
• Power (*.StaPqmea)
• Phase (*.ElmPhi_pll)
75. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 78/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The fully rated WTG model could be used for:
– Load Flow Studies
– Stability Studies (RMS)
– Transient Studies (EMT)
– Balanced and unbalanced simulations (however control is
implemented for the positive sequence only)
• For dynamic simulation is a variable step size
possible.
• The minimum step size or the fix step size should
be lower than 5ms.
76. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 79/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The following fully rated WTG models are available
in the global template library:
- FullyRatedConverterWTG_0.4kV_1.0MW
- FullyRatedConverterWTG_0.4kV_1.5MW
- FullyRatedConverterWTG_0.4kV_2.0MW
- FullyRatedConverterWTG_0.4kV_2.3MW
- FullyRatedConverterWTG_0.4kV_2.5MW
- FullyRatedConverterWTG_0.4kV_2.7MW
- FullyRatedConverterWTG_0.4kV_3.6MW
- FullyRatedConverterWTG_0.4kV_5.0MW
- FullyRatedConverterWTG_0.4kV_6.0MW
77. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 80/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Each template contains also three transformer
types for 10, 20 and 30kV.
• The model from the template is at the beginning
equipped with the 20kV transformer.
78. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 81/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The fully rated WTG is in the single line diagram
represented by a static generator.
• The models of the controllers are collected in the
composite model “FullyRatedConv Control”.
• This composite model could be found either through
the link “Plant Model” on the Basic Data page of the
WTG or with the Data Manager in the used grid.
Static Generator (ElmGenstat)
79. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 82/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The models of the controllers are collected in the
composite model “FullyRatedConv Control”.
• This composite model could be found either through
the link “Plant Model” on the Basic Data page of the
WTG or with the Data Manager in the used grid.
WTG FRC Frame incl Current Ctrl:
PLL
ElmPhi*
Fmeas
0
1
2
Vac
StaVmea*
0
1
2
PQ
StaPqmea*
0
1
PQ Control
ElmDsl*
0
1
2
0
1
3
Slow PLL
ElmPhi*
ActivePowerReduction
ElmDsl
Generator
ElmGen*,ElmVsc*
0
1
Iac
StaImea*
0
1
Current Controller
ElmDsl*
0
1
2
3
4
5
0
1
6
7
WTG FRC Frame incl Current Ctrl:
u
Qin
Pin
u1i_i..
Fmeas
u1r_i..
sinref
iq_ref
pred
cosref
id_ref
ii
ir
DIgSILENT
80. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 83/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The composite model “FullyRatedConv Control” is
created from the frame definition “WTG FRC Frame
incl Current Ctrl”
WTG FRC Frame incl Current Ctrl:
PLL
ElmPhi*
Fmeas
0
1
2
Vac
StaVmea*
0
1
2
PQ
StaPqmea*
0
1
PQ Control
ElmDsl*
0
1
2
0
1
3
Slow PLL
ElmPhi*
ActivePowerReduction
ElmDsl
Generator
ElmGen*,ElmVsc*
0
1
Iac
StaImea*
0
1
Current Controller
ElmDsl*
0
1
2
3
4
5
0
1
6
7
WTG FRC Frame incl Current Ctrl:
u
Qin
Pin
u1i_i..
Fmeas
u1r_i..
sinref
iq_ref
pred
cosref
id_ref
ii
ir
DIgSILENT
81. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 84/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• All measurement devices are connected either to
the terminal or to the cubicle, which connects the
generator with the terminal.
• This approach ensures that all measurement devices
are correctly connected after entering the model
using the template.
82. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 85/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Slot Name Description Needed Type
ActivePowerReduction Reduces the power in case of electrical
over frequency.
DSL-Model
Current Controller Calculates from current reference a
voltage signal for the static generator.
DSL-Model
Generator Static Generator as grid element. *.ElmGenstat
Iac AC-Current measurement device *.StaImea
PLL Fast voltage angle measurement
device
*.ElmPhi
PQ Active and reactive power
measurement device
*.StaPqmea
PQ Control Controls active and reactive power
through the rotor current.
DSL-Model
Slow FrequMeas Frequency measurement for over
frequency power reduction.
*.ElmPhi
Vac AC-voltage measurement device *.StaVmea
Table 1: Frame Description.
83. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 86/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Figure 1. Frame Definition “WTG FRC Frame incl Current Ctrl” (*.BlkDef)
WTG FRC Frame incl Current Ctrl:
PLL
ElmPhi*
Fmeas
0
1
2
Vac
StaVmea*
0
1
2
PQ
StaPqmea*
0
1
PQ Control
ElmDsl*
0
1
2
0
1
3
Slow PLL
ElmPhi*
ActivePowerReduction
ElmDsl
Generator
ElmGen*,ElmVsc*
0
1
Iac
StaImea*
0
1
Current Controller
ElmDsl*
0
1
2
3
4
5
0
1
6
7
WTG FRC Frame incl Current Ctrl:
u
Qin
Pin
u1i_i..
Fmeas
u1r_i..
sinref
iq_ref
pred
cosref
id_ref
ii
ir
DIgSILENT
85. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 88/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Radiant
Energy
Electrical Energy
DC
Electrical Energy
50-60Hz
Solar Cell
Inverter
87. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 90/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Grid side behaviour depends on:
• Control of the rectifier.
• Used step up transformer.
During fault:
• Low AC voltage on PCC no power feed in
possible.
• DC voltage is increased up to open-circuit DC
voltage.
• No special protection for solar cell needed.
88. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 91/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Load flow model in PowerFactory:
• The static generator is used for power flows for grid
side studies.
Interest
It is simple!!!
89. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 92/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Load flow model in PowerFactory:
• DC current source consodering PWM converter is
used for detailed studies.
It is NOT simple!!!
90. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 93/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Dynamic model in PowerFactory:
• Static generator (for grid side studies)
• DC current source + PWM converter (for PV-park
studies).
• DSL model for PV cell and rectifier controller.
93. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 96/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The template is a generic model for a battery
energy storing system (BESS).
• It represents the grid side converter and the
battery (modelled in DSL).
• The model represents one BESS with a rated
apparent power of 30 MVA it is connected on 10 kV
voltage level.
94. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 97/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The BESS is in the single line diagram represented
by a static generator.
• The models of the controllers as well as the battery
are collected in the composite models.
Static Generator (ElmGenstat)
95. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 98/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The controller is located in the composite model
“BESS-Control” and the battery model is located in
the composite model “Battery”.
• This composite model for the control could be found
either through the link “Plant Model” on the Basic
Data page of the static generator or with the Data
Manger in the used grid.
98. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 101/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• The composite model “BESS-Control” is created
from the frame definition “Frame_BatteryCntrl”
99. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 102/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Slot Name Description Needed Type
Converter Link to the static generator, representing the inverter. *.ElmGenstat
PQ-Control Control of the active and reactive power of the
inverter.
DSL-Model
Frequency
Control
Calculates a reference for the active power depending
on the frequency.
DSL-Model
PQ-
Measurement
PQ-Measurement device (for feedback). *.StaPqmea
Frequency
Measurement
Frequency measurement for frequency control. *.ElmPhi
AC-Voltage AC voltage measurement device for detecting faults
and for voltage support.
*.StaVmea
Charge
Control
Calculates if the battery has to be charged or not. DSL-Model
Battery Model Link to the composite model “Battery” *.ElmComp
100. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 103/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Slot Name Description
Needed
Type
Battery_Model Model of the battery DSL-Model
DC Side
Calculation
Model of the DC-side (the static generator
has no DC side.
DSL-Model
PQ
Measurement
(absolute
values)
PQ Measurement device which measures
the active power on the AC side in absolute
values
*.StaPqmea
102. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 105/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• This book combines years of technical/practical
experience of more than 20 experts
users/developers of DigSILENT PowerFactory (>20
countries) and deep understanding of academic on
power system analysis.
Dr. Jose Luis Rueda
Editor
Dr. F. Gonzalez-Longatt
Editor
103. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 106/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Quasi-Dynamic
Simulation
Simulation Unsymmetrical
Conditions and Contingency
Analysis
Chapter 1
Chapter 2
Chapter 3
Probabilistic
load flow
Chapter 4
Unbalanced
Power Flow
Chapter 5
Optimal Power
Flow
Chapter 6
Assessing the Renewable
Energy Sources
Integration
Modelling of
AGC
Chapter 7
CCGT
Modelling
Chapter 8
DFIG Modelling
Chapter 9
Parameterized
Modal Analysis
Chapter 10
104. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 107/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Risk
Assessment
Mean–Variance
Mapping Optimization
Chapter 11
Chapter 12
Chapter 13
MATLAB/Simulink
Interface
Chapter 14
Simulation Automation
and Management
Chapter 15
Hardware-in-the-
Loop Applications
Chapter 16
Hardware in
Hardware-In-Loop
P & Q in Wind
Farm
Chapter 17
FACTS Modelling
Chapter 18
Multi-terminal
HVDC
Chapter 19
Cluster of Induction
Generator
Chapter 20
105. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 108/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
M. Stifter, F. Andrén, R. Schwalbe and W. Tremmel.
Energy Department, AIT Austrian Institute of Technology, Giefinggasse
2, 1210 Vienna,
Austria
e-mail: matthias.stifter@ait.ac.at
106. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 109/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• MATLAB: PowerFactory build-in interface (DSL) for co-
simulation
• DLL: Using external DLL in DSL components (e.g.:
TCP/IP sockets) and DPL scripts
• OPC: Industrial standard interface—OPC client—in use
with multi-agent systems and controller hardware in the
loop
• RCOM: Remote communication—remote procedure call
interface for using
• PowerFactory in engine mode (e.g. automated
simulation)
• API: Direct control of PowerFactory internal data model
and advanced functionality (e.g. co-simulation)
• DGS: file format for exchanging data models and
geographical information
110. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 113/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Similar to the external implemented DSL functions for
dynamic/transient analysis, the DPL interpreter can
be extended by user-defined functions to be used for
steady state analysis
111. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 114/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• OPC server connects client processes which run
normally in real time such as automation and control
components.
• External data link (ComLink) is a built-in OPC client.
112. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 115/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Until version 14.x, the so-called ENGINE folder was
part of the installation.
• RCOM is well suited for simulation automation since
it is possible to change for instance DPL script
parameters or other model attributes.
Java code snippet for connecting via RCOM
113. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 116/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Basically, everything you can do in PowerFactory
can be done via the API!!!
• It exposes internal model and objects of the network
data as well as analysis functions and results to be
dynamically linked into any C++ application
environment.
Use of the API in a stand-alone C++ application
114. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 117/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
• Since version 15.1, a Python wrapper for the API
has been provided.
• Since Python is an interpreter based programming
language no compiler is necessary to use the C++
API.
• Python scripts can be directly used within
PowerFactory or used for running the application in
engine mode and controlling it from an external
application
Python code for activating and
accessing PowerFactory
118. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 121/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
fglongatt.org
@fglongatt
Questions and Answers
Copyright Notice
The documents are created by Francisco M. Gonzalez-Longatt and contain copyrighted material, trademarks, and other proprietary information. All rights reserved. No part of the documents may be reproduced or
copied in any form or by any means - such as graphic, electronic, or mechanical, including photocopying, taping, or information storage and retrieval systems without the prior written permission of Francisco M.
Gonzalez-Longatt . The use of these documents by you, or anyone else authorized by you, is prohibited unless specifically permitted by Francisco M. Gonzalez-Longatt. You may not alter or remove any
trademark, copyright or other notice from the documents. The documents are provided “as is” and Francisco M. Gonzalez-Longatt shall not have any responsibility or liability whatsoever for the results of use of the
documents by you.
119. Seminar:ModellingRenewablesResourcesandStorageinPowerFactoryV15.2
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2015, Madrid, Spain, 8 June 2015 122/120
Allrightsreserved.Nopartofthispublicationmaybereproducedordistributedinanyformwithoutpermissionoftheauthor.Copyright©2015.http:www.fglongatt.org
Any questions or suggestions are welcome
fglongatt@fglongatt.org
@fglongatt
Copyright Notice
The documents are created by Francisco M. Gonzalez-Longatt and contain copyrighted material, trademarks, and other proprietary information. All rights reserved. No part of the
documents may be reproduced or copied in any form or by any means - such as graphic, electronic, or mechanical, including photocopying, taping, or information storage and
retrieval systems without the prior written permission of Francisco M. Gonzalez-Longatt . The use of these documents by you, or anyone else authorized by you, is prohibited unless
specifically permitted by Francisco M. Gonzalez-Longatt. You may not alter or remove any trademark, copyright or other notice from the documents. The documents are provided “as
is” and Francisco M. Gonzalez-Longatt shall not have any responsibility or liability whatsoever for the results of use of the documents by you.