helics –co-simulation framework for the smart grid · use case requirements new platform design e...

18
HELICS – Co-simulation Framework for the Smart Grid PHILIP TOP 3/28/2018 1 iPC Grid 3/28/18 This work was performed under the auspices of U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE- AC52-07NA27344 LLNL-PRES-- Lawrence Livermore National Lab

Upload: others

Post on 13-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

HELICS – Co-simulation Framework for the Smart Grid

PHILIP TOP

3/28/2018 1

iPC Grid 3/28/18

This work was performed under the auspices of U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-

AC52-07NA27344 LLNL-PRES--

Lawrence Livermore National Lab

Page 2: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

3/28/2018 2

Need: Enable large‐scale TDC interdependency studies through a flexible and scalable, open‐source co‐simulation platform for the following industry drivers:

Current gap in simulation and modeling technology that inhibits integrated planning across multiple domains

Integrated studies needed for maximum flexibility and resilience in grid operation and planning 

Our Objectives: Provide foundational capabilities for 

grid planning, operation, and control  Engage and educate grid developers on 

the value of multi‐domain planning

Grid evolution leads to significant interdependency

Image from smartgrid.ieee.org

Page 3: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

Standing on the Shoulder of Giants► Lots of effort has gone into

(sub) domain-specific tools.◼ (So use them)◼ Trusted by stakeholders◼ Continue to improve

► Allows focus on the “glue-ware”◼ Faster◼ Many frameworks

► Encourages Modularity◼ Swap/add models

as needed

Leverage existing tools with co-simulation

http://le

gomyp

hoto.wordp

ress.com

/

FESTIV:ISO Markets, UC & AGC

PFLOWTransmission

Powerflow

FESTIV plug-in PFlow adapter

Bus AggregatorBus Aggregator

Bus Aggregator

bus.py bus.py ...

ZMQ

MPI

IGMS-Interconnect

bus.pybus.py

ZMQ ZMQ

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

Alte

rnat

e D

istri

butio

n M

odel

Tim

eser

ies,

etc

.

...

HTT

P

HTT

P

HTT

P

Scen

ario

Aut

omat

ion

ISO

Tran

smis

sion

Dis

tribu

tion

Bui

ldin

gA

pplia

nce

FESTIV:ISO Markets, UC & AGC

MATPOWERTransmission/Bulk:

AC Powerflow, Volt/VAr

FESTIV Runtime plug-in

Bus AggregatorBus Aggregator

Bus Aggregator

bus.py bus.py ...

ZMQ

MPI

IGMS-Interconnect

bus.pybus.py

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

Alte

rnat

e D

istri

butio

n M

odel

Tim

eser

ies,

etc

....

HTT

P

HTT

P

HTT

P

Scen

ario

Aut

omat

ion

ISO

Tran

smis

sion

Dis

tribu

tion

Bui

ldin

gA

pplia

nce

B. Palmintier, et al., “Experiences … with the Integrated Grid Modeling System (IGMS),” in Power Systems Computation Conference (PSCC’16), Genoa, Italy, 2016.

Page 4: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

HELICS™: Hierarchical Engine for Large-scale Infrastructure Simulation

Best of Existing Tools

Best of Existing Tools

FESTIV:ISO Markets, UC & AGC

MATPOWERTransmission/Bulk:

AC Powerflow, Volt/VAr

FESTIV Runtime plug-in

Bus AggregatorBus Aggregator

Bus Aggregator

bus.py bus.py ...

ZMQ

MPI

IGMS-Interconnect

bus.pybus.py

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

GR

IDLa

b-D

Dis

tribu

tion

Pow

erflo

w,

Hom

e &

Appl

ianc

e Ph

ysic

s

Alte

rnat

e D

istri

butio

n M

odel

Tim

eser

ies,

etc

.

...

HTT

P

HTT

P

HTT

P

Scen

ario

Aut

omat

ion

ISO

Tran

smis

sion

Dis

tribu

tion

Bui

ldin

gAp

plia

nce

FNCS/ GridLAB‐DFNCS/ 

GridLAB‐D

FSKit/ GridDynFSKit/ GridDyn

IGMS/FESTIVIGMS/FESTIV

Use CaseRequirements

Use CaseRequirements New Platform DesignNew Platform Design

End-Use Cont

rol

Markets

Communication

Distribution Transmission

“TDC Tool”

4

Page 5: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

1. Impacts of DER’s on Bulk Systems Reliability 2. Impacts of Distributed Energy Resources on Wholesale Prices 3. Regional Coordinated Electric Vehicles Charging 4. Real-time Coordination of Large-Scale Solar PV and Energy Storage 5. Evaluate modeling adequacy of composite load model under high

penetration of DERs 6. Mitigating Transmission-Distribution Interface Congestion Through Demand

Side Management 7. New Control Paradigm – Centralized vs Distributed to Prevent Voltage

Stability Collapse 8. Wide Area Monitoring, Protection, and Control (WAMPAC) 9. Real-time Co-simulation of Power Systems and Communication Networks

for Transient Assessment 10. Communications Architecture Evaluation for High-Pen Solar 11. Adaptive Voltage and Frequency Ride-Through Settings for Smart Inverters12. Wide Area Voltage Stability Support Using DERs

12 use cases that drove HELICS design

5

Page 6: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

4/21/17 6

Identified “must have” features

► Tool/platform released open source with (nearly) all use cases accessible via open-source

► Types of Simulation: Discrete Event, Time Series, Quasi-Static Time Series, Phasor (Dynamics)

► Reiteration (within timestep convergence)► Compute Systems: Laptop -> HPC Class► Problem Scale: 2 - ~100,000 federates► “Easily” incorporate existing tools/elements

◼ From other labs ◼ From industry/commercial ◼ Open-source & commercial

► Standardized interfaces (HLA, FMI)► Documentation and Examples► Support stand-alone control/optimization “agents”

Page 7: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

The need for a new platform

► Existing implementations have limitations that would prohibit meeting design goals◼ Types of simulation

● Co-iteration◼ Programming Language◼ Scaling

► Licensing issues► Platform Limitations► It isn’t totally new:

◼ Take Lessons learned from existing tools

7

Page 8: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

HELICS layered design

8

Page 9: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

Machine 3

Machine 2

Transport mechanisms

9

Machine 1

Process1

C1

Brk

C2

“test” 

Machine 1

Process1

Brk

“IPC” 

Process2

Process3

C1

C2

Machine 1

Process1

Brk

“ZMQ”, “TCP”, “UDP” 

Process1

Process1

C1

C2

Process2

C3

“MPI” for interconnected clusters

Page 10: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

Types of federates

Value FederateTransmission

AGC Controller

Data packets

Control signal packets

A combination Federate has both interfaces in a single federate

Message Federate

Page 11: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

Filters

11

TransmissionAGC 

Controller

Data

Control Signals

Communication Delay

Communication Delay

Filter

Page 12: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

It’s not just the simulation: remember the rest of the workflow

Often the simulation itself is the “easy” part, compared to set-up, output processing, and analysis

ScenariosOptimizationUncertainty

UsableInputData

OutputVisualize

SimulationToolsSimulation

ToolsSimulationTools

Questions

RawData Answers

Page 13: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

Many more use cases needs TDC integrated simulation

Support a variety of simulation types:• Discrete Event• Time Series• QSTS• Dynamics• Transients

Evaluate systems of unprecedented scale:• 2‐100,000+ Federates• HPC, including cloud• But also workstations 

and laptops

3/28/2018Design and Planning Tools 13

No Title Description

1 Impacts of DER’s on Bulk Systems Reliability

The test case will analyze a combined T&D test system with and without advanced distributed systems with high penetrations of distributed solar PV. Studying the impact on reliability metrics such as the NERC Control Performance Standards 1 and 2 as well as other main metrics can quantify the impacts of advanced distribution systems.

Page 14: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

Study at 50% solar and 150% base load

14

Comparison of different smart inverter control strategies – unity power factor, Volt‐VAR and adaptive Volt‐VAR

• Unity PF ‐ voltage at buses 5 and 9 are below 0.95 PU at peak load.

• Volt‐VAR ‐ voltage at bus 9 is below 0.95 PU at peak load.

• Adaptive Volt‐VAR ‐ no voltage violation.

Page 15: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

3/28/2018 15

Models

Design and Planning Tools

• A combined T&D test system– IEEE 39 bus system + simple 

radial distribution system model

Page 16: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

HELICS development plan –future

►Further engage users to refine and expand API capabilities

►Expand HELICS core capabilities to federate with domains beyond T, D, and C.

►Continue community engagement through workshops, tutorials, webinars, web forums, etc.

►Build open-source community support of HELICS development

Testers are welcome!

16

Page 17: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

Project Participants

3/28/2018GMLC 1.4.15 (TDC) 17

HELICSTM: Acknowledgement

Technical Review Committee (academia and industry experts) 

Name OrganizationJun Wen SCEBabak Enayati National GridJianzhong Tong PJMCraig Miller NRECASlaven Kincic Peak RCMike Zhou InterPSS SystemsErnie Page The MITRE CorporationBernie Zeigler U. ArizonaCalvin Zhang  NexantAnjan Bose WSUAidan Tuohy EPRIJens Boemer EPRICynthia Hsu NRECADavid Pinney NRECADevin Van Zandt GE

Page 18: HELICS –Co-simulation Framework for the Smart Grid · Use Case Requirements New Platform Design E n d-U s e C o n t r o l Markets ... Mitigating Transmission-Distribution Interface

Further readingwww.github.com/GMLC-TDC/HELICS-srcwww.helics.org

tdc-helics channel on YouTube

18