digsilent_iberica smartgrid applications
DESCRIPTION
DigSilent applicationsTRANSCRIPT
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
1/14
1
PowerFactory API
and
Smart Grid Applications
Interfacing with Google Earth and other systems
DIgSILENT Ibrica S.L.
Xavier Robe ([email protected])
3rd Southern African DIgSILENT User Conference
13/14 March 2013
DIgSILENT Ibrica SL. 2
INDEX
1. INTRODUCTION
2. OPC VIRTUAL COMMISSIONING
3. MODBUS TCP
4. GOOGLE EARTH
5. NETWORK PLANNING
6. CONCLUSIONS
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
2/14
2
DIgSILENT Ibrica SL. 3
INDEX
1. INTRODUCTION
2. OPC VIRTUAL COMMISSIONING
3. MODBUS TCP
4. GOOGLE EARTH
5. NETWORK PLANNING
6. CONCLUSIONS
DIgSILENT Ibrica SL. 4
INTRODUCTION
PowerFactory offers many standard functions for smart grids
planning and operation, electric vehicles, renewable energies
and distributed generation integration studies:
Load flow with many optimization functions
OPF
Distribution network optimization
Open tie point placement
Time sweep
State estimation
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
3/14
3
DIgSILENT Ibrica SL. 5
INTRODUCTION
But it also offers:
OPC communication
Expandable DPL instruction set
Expandable DSL instruction set
API
This presentation will show how these nice features can be used in
smart grid applications.
DIgSILENT Ibrica SL. 6
INTRODUCTION
Cases:
1. Virtual Control Commissioning: Connection to SCADA
system via OPC protocol
2. Direct Connection to MODBUS TCP Devices
3. Exporting/Importing grids to/from Google Earth using
the API
4. Integrating Smart Meters Data in Network Planning
thanks to the API
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
4/14
4
DIgSILENT Ibrica SL. 7
INDEX
1. INTRODUCTION
2. OPC VIRTUAL COMMISSIONING
3. MODBUS TCP
4. GOOGLE EARTH
5. NETWORK PLANNING
6. CONCLUSIONS
DIgSILENT Ibrica SL. 8
OPC VIRTUAL COMMISSIONING
OPC
CLIENT
OPCCLIENT
OPCCLIENT
OPC
SERVER
POWERFACTORY(OPC CLIENT)
Virtual commissioning = real application or final implementationtested in real-time and full scale with simulated signals
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
5/14
5
DIgSILENT Ibrica SL. 9
OPC VIRTUAL COMMISSIONING
OPC
CLIENT
OPCCLIENT
OPC
CLIENT
OPC
SERVER
POWERFACTORY
(OPC CLIENT)
Virtual commissioning = real application or final implementationtested in real-time and full scale but with simulated signals
Communication PF OPC servervia external measurementblocks
DIgSILENT Ibrica SL. 10
OPC VIRTUAL COMMISSIONING
OPC CLIENT
WIND FARM
CENTRALVOLTAGE
CONTROL
OPC
SERVER
U, Q(PCC), Q(WT),
WT status, etc.
POWERFACTORY
(OPC CLIENT)
SIMULATED WIND FARM
U, Q(PCC), Q(WT), WTstatus, etc.
Example: Wind farm central voltage controller
Real/Implemented solution tobe tested
Simulation
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
6/14
6
DIgSILENT Ibrica SL. 11
OPC VIRTUAL COMMISSIONING
Example: Wind farm central voltage controller - implementation
DIgSILENT Ibrica SL. 12
INDEX
1. INTRODUCTION
2. OPC VIRTUAL COMMISSIONING
3. MODBUS TCP
4. GOOGLE EARTH
5. NETWORK PLANNING
6. CONCLUSIONS
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
7/14
7
DIgSILENT Ibrica SL. 13
MODBUS TCP
POWERFACTORY
MODBUS TCP DSL
DPL
Digexdyn.dll
Digexfun.dll
Digfundpl.dllMODBUS TCP
MASTER/SLAVE
MODBUS = Communication protocol
Read/write registers/coils
Implementation: C++ dll - digexdyn,digexfun, digfundpl
DIgSILENT Ibrica SL. 14
MODBUS TCP
POWERFACTORY
DSL
DPL
MASTER
SLAVE
Response P, Q, V
Request: read register
Application: read measurements P, Q, V and inject intosimulation (load-flow and RMS)
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
8/14
8
DIgSILENT Ibrica SL. 15
MODBUS TCP
POWERFACTORY
DSL
DPL
MASTERSLAVE
Request: write to device binary output
Simulation output: shut down monitored device if necessaryvia Slave binary outputs
DIgSILENT Ibrica SL. 16
INDEX
1. INTRODUCTION
2. OPC VIRTUAL COMMISSIONING
3. MODBUS TCP
4. GOOGLE EARTH
5. NETWORK PLANNING
6. CONCLUSIONS
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
9/14
9
DIgSILENT Ibrica SL. 17
GOOGLE EARTH
Export to Google EarthImport from Google Earth
POWERFACTORY
API
APIKML FILES KML FILES
EXTERNAL APPLICATION
EMBEDDING GOOGLEEARTH
DIgSILENT Ibrica SL. 18
GOOGLE EARTH
PowerFactory API
Available with version 15.0 Necessary .lib in installation folder C++ programming Possibility .NET programming via
wrapper !Compilation: 64bits or 32bits
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
10/14
10
DIgSILENT Ibrica SL. 19
GOOGLE EARTH
Export to Google Earth
POWERFACTORY
API
KML FILES
KML format not meant for electricaldata Use additional property fields Define a format/properties to be
exported
From Version 15.0, Fields for GPS dataof bus and lines are available
DIgSILENT Ibrica SL. 20
GOOGLE EARTH
Import from Google Earth
POWERFACTORY
API
KML FILES
KML format not meant for electrical data Use additional property fields Define a format/properties to be exported/imported
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
11/14
11
DIgSILENT Ibrica SL. 21
INDEX
1. INTRODUCTION
2. OPC VIRTUAL COMMISSIONING
3. MODBUS TCP
4. GOOGLE EARTH
5. NETWORK PLANNING
6. CONCLUSIONS
DIgSILENT Ibrica SL. 22
NETWORK PLANNING
GIS SCADA History SCADA Real time operation Temperatures Load/generation models Smart meters
Large quantity of data available How to give them an additional value?
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
12/14
12
DIgSILENT Ibrica SL. 23
NETWORK PLANNING
GIS SCADA History SCADA Real time operation Temperatures Load/generation models Smart meters
Large quantity of data available How to give them an additional value?
Identification of weak spots Badly supplied customers
Post-event analysis (replay) Control design Studies ( future): integration of electric vehicle, distributed generation, etc. Investments: techno-economical studies
DIgSILENT Ibrica SL. 24
NETWORK PLANNING
PowerFactory can interact with many systems and adds real value tosmart grid data, not only in operation but also in network planning
INPUT
DATABASE
POWERFACTORY
RESULT
DATABASE
NETWORK OPERATION
CHARACTERISTICSSMARTMETERS
API API
EXTERNAL
APPLICATIONS
GIS
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
13/14
13
DIgSILENT Ibrica SL. 25
NETWORK PLANNING
API + digdplfun.dll new DPL instructions to read/write PowerFactoryobjects from/to external applications
POWERFACTORYExternal
application
API
Digdplfun.dll
DPL scripts
DIgSILENT Ibrica SL. 26
NETWORK PLANNING
New DPL instructions to import measured load characteristics, generationpattern, maneuvers, etc. from external data source
Having all this information in PowerFactory, it is possible to: Generate operation scenarios Write DPL scripts to spot problems
Write DPL scripts to study investments
as far as your imagination drives you!
-
5/28/2018 DIgSILENT_Iberica SmartGrid Applications
14/14
14
DIgSILENT Ibrica SL. 27
INDEX
1. INTRODUCTION
2. OPC VIRTUAL COMMISSIONING
3. MODBUS TCP
4. GOOGLE EARTH
5. NETWORK PLANNING
6. CONCLUSIONS
DIgSILENT Ibrica SL. 28
CONCLUSIONS
PowerFactory capabilities can be extended way beyond the normal use of the
software:
OPC allows connecting to your SCADA systems and using PowerFactory to
generate signals for the full scale system and/or import measurements into your
simulations.
DLL (digexdyn, digexfun, digdplfun) allows building DSL and DPL functions to
directly communicate with devices using different protocols (Modbus, DNP3,
Ethercat, etc.).
API allows modifying PowerFactory objects from your external applications and
sending data to external data repositories.
Smart Grids planning and event analysis are typical applications where you
can exploit the full potential of PowerFactory connectivity.