You are on page 1of 28

Workshop of DIgSILENT

PowerFactory
Prof. Francisco Gonzalez-Longatt PhD
fglongatt.org

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Prof. Francisco M. Gonzalez-Longatt, PhD
Loughborough University, UK
Prof. Jose Luis Rueda, PhD
TU Delft, The Netherlands
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

26 October 2015
http://www.springer.com/gb/book/9783319129570
Portoviejo, Ecuador
Prof. Francisco M. Gonzalez-Longatt, PhD
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 1//28
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

Workshop:

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
PowerFactory
Applications for
Power System Analysis
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

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.
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 2//28
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia





Agenda

Forewords
Book Structure

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015
Trends and Challenges
Experience and Wisdom

What is going on Simulations?

3//28

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Experience and Wisdom
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

This Section shows how the experience and wisdom of


several people is contained in The Book”

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 4//28
Experience and Wisdom
• This book combines years of technical/practical
experience of more than 50 experts
users/developers of DigSILENT PowerFactory (>50

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
countries) and deep understanding of academic on
power system analysis.
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Dr. Jose Luis Rueda Dr. F. Gonzalez-Longatt


Editor Editor

http://www.springer.com/gb/book/9783319129570
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 5//28
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Foreword
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

This Section presents the key


aspects of the foreword.
Dr.-Ing. Martin Schmieg
It is written by Dr. M. Schmieg
Managing Director bei
DIgSILENT GmbH Stuttgart Und
Umgebung Deutschland

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 6//28
Foreword (1/3)
• In 1987, the Kraftwerke Mainz-Wiesbaden,
Germany (KMW AG), became the first official and
registered user of the DIgSILENT software.

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
• The fact that after some 27 years, KMW AG’s
PowerFactory installations are still maintained is a
definite indicator that any possible initial doubt was
unwarranted.
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

• In fact, over the past several years, the user base


has grown considerably, establishing a large user
community of highly qualified, experienced and
creative users.
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 7//28
Foreword (2/3)
• PowerFactory extends this flexibility even further via the
provision of powerful scripting tools allowing the user
to develop specific applications according to individual

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
needs.

• This first issue of the PowerFactory Applications for


Power System Analysis serves as an impressive
demonstration of the wide range of power system
analysis applications that can be handled by the
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

PowerFactory software.

• In addition, the solutions described for a certain analysis


task will motivate and help other users to make use of
the software’s flexibility and give guidance regarding
possible solution options.
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 8//28
Foreword (3/3)
• “We thank all authors who have contributed to this
book, initiated by Francisco Gonzalez-Longatt and
José Luis Rueda, for sharing their valuable

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
PowerFactory experiences and solutions”.
• The topics presented are also of great interest to the
PowerFactory development team in their endeavours
to optimize further releases and develop even more
flexible functions.
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

August 2014

Dr.-Ing. Martin Schmieg


Managing Director bei
DIgSILENT GmbH Stuttgart Und
Umgebung Deutschland
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 9//28
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015
Book Structure

10//28
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Book Structure (1/2)
Chapter 6 Chapter 1
Assessing the Quasi-Dynamic
Renewable Energy
Sources Simulation
Integration

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Chapter 2
Simulation Unsymmetrical
Chapter 7 Conditions and Contingency
Analysis
Modelling of
AGC
Chapter 3
Chapter 8 Probabilistic
load flow
CCGT
Modelling
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Chapter 4
Chapter 9
Unbalanced
DFIG Modelling Power Flow

Chapter 10 Chapter 5
Parameterized Optimal Power
Modal Analysis Flow

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 11//28
Book Structure (2/2)
Chapter 16 Chapter 11

Risk
Hardware in
Assessment
Hardware-In-Loop

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Chapter 17
Chapter 12
P & Q in Wind Mean–Variance
Farm Mapping Optimization

Chapter 18 Chapter 13

FACTS Modelling MATLAB/Simulink


Interface
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Chapter 19
Chapter 14
Multi-terminal Simulation Automation
HVDC and Management

Chapter 20 Chapter 15
Cluster of Induction Hardware-in-the-
Generator Loop Applications

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 12//28
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

What is going on

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Simulations?
Trends and Challenges
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 13//28
Trends and Challenges
• Simulation and analysis of super large networks
with wideband models
– Electromagnetic and electromechanical transients

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
• Simulation of super distribution grids (Smart
network)
• Challenges
– Data and data portability between power system
applications
– Visualization and analysis of huge systems
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

– Parallel computations
– Real-time computations
– Online analysis
– Unification of simulation methods and environments
– Multi-domain simulations
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 14//28
HIL Structure
• Hardware in the loop = HIL

Actual System
Plant

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Power System
model
Input
Output
Signals

Processor
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Prototype
I/O
PC

Host PC Hardware-in-the-loop
Real-Time Simulator + Power Amplifier Actual System
Controllers
Protective relays
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 15//28
Real-Time simulator
• Hydro-Québec develops HYPERSIM: a real-time
simulator
– Develop, improve and assess new protection and control

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
concepts
– Optimize the operation and the maintenance power
systems
– Decrease the time required to commission protection
relays and control systems (FACTS, HVDC, SVC, etc..)
– Reproduce events that occurred in the power system by
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

using the actual protection and control systems

http://www.opal-rt.com/new-product/hypersim-power-system-real-time-digital-simulator
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 16//28
Real Time Simulator

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Workstation Real-Time Simulator Power Amplifier

Sensors
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Actual System
Controllers
Actual System
Protective relays
PV, Windfarm,
HYPERSIM: a real-time simulator Motor, Loads,
Controllers,
Protective Relays

http://www.opal-rt.com/new-product/hypersim-power-system-real-time-digital-simulator
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 17//28
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

Interfacing PowerFactory:

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Co-simulation,
Real-Time Simulation and Controller
Hardware-in-the-Loop Applications
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

M. Stifter, S. Kadam and B. Bletterie.


Energy Department, AIT Austrian Institute of Technology,
Giefinggasse 2, 1210 Vienna, Austria
e-mail: matthias.stifter@ait.ac.at
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 18//28
Introduction: Interfacing
• Various possibilities exist to interface the power
system model and simulation engine of
PowerFactory.

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
• These interfaces open applications for co-
simulation, real-time simulation for controller
hardware-in-the-loop (HIL) set-ups or automation
and control of simulation.
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 19//28
Overview of Interafces
Dynamic DSL function
call Matlab
Model
Dynamic
transient/
Steady-state

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
steady state OPC
OPC Server Application
Client
Network model OPC OPC

Dynamic DSL function


call
C++ DLL Application
(external)
TCP/IP

STeady-state DPL function


call
C++ DLL Application
(external)
TCP/IP
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

full access C++ /


and control
API Application
Python
API TCP/IP

parameter access commands Batch File


simulation control RCOM results (Java)

offline Import / file


DGS file
read/write read/write
Application
Export (XML)
Source: Chapter 14. PowerFactory Applications for Power Systems Analysis. Springer 2015
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 20//28
Summary Interfaces for Co-simulation
Analysis API,
MATLAB DLL OPC RCOM API+DLL DGS
function Python
Steady (X)e X X X X

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
state
Dynamic X X (X)a,b X (X)c (X)d
RMS
Transient X X - - (X)c (X)d
control
Simulation X X X
control
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

a Timing constraints apply, when it comes to real-time simulation.


b Synchronisation mechanism (simulation master) necessary when running parallel applications.
c Changing variables is not possible during RMS simulation.
d Multi-threading and queued synchronisation of signals are required to have full read/write access.
e Using external defined DPL function in blocking mode for synchronising with other applications.
Source: Chapter 14. PowerFactory Applications for Power Systems Analysis. Springer 2015

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 21//28
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015
Simulation Improvements

22//28
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Improvements
• State-of-the-art linear system solvers:
– LU solver (direct method)
– GMRES solver (iterative method)

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
• One-shoot DSL Functions

OLD

NEW
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

• C Interface for Dynamic Models


• Compiled Improved Standard Libraries
• …
Source: DIgSILENT. PowerFactory 15.2. What´s New
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 23//28
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Speeding up simulations:
Practical examples
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Partially based on DIgSILENT PowerFactory


Technical Documentation
RMS Simulation - Performance Benchmark, PowerFactory
15.2
Source: DIgSILENT. Technical Documentation, RMS Simulation Performance Benchmark, PowerFactroy 15.2. Oct 2015
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 24//28
Results on Test System 1
• 1200 synchronous generators
• 2600 customised DSL models

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Generator tripping at 0 s, run up to 20 s, stable
• 24000 terminals (0.4-700 kV)
• 30000 differential equations
• The step size is fixed and equal to 20 ms
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Source: DIgSILENT. Technical Documentation, RMS Simulation Performance Benchmark, PowerFactroy 15.2. Oct 2015
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 25//28
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Closing

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015
26//28
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

Conclusions

Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015
your simulations

The rest is up to YOU…


DIgSILENY PowerFactory can make

27//28

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Workshop of DIgSILENT
PowerFactory
Prof. Francisco Gonzalez-Longatt PhD

All rights reserved. No part of this publication may be reproduced or distributed in any form without permission of the author. Copyright © 208-2015. http:www.fglongatt.org
Questions
Entrenamiento DIgSILENT PowerFactory: Modelado y Simulacion de Sistemas de Potencia

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.
Prof Francisco M. Gonzalez-Longatt PhD | fglongatt@fglongatt.org | Copyright © 2008-2015, Portoviejo, Ecuador ,26th Octubre de 2015 28//28

You might also like