Top Banner
Lawrence Berkeley National Laboratory July 21, 2017 SuNLaMP Workshop Principal Investigator: Jhi-Young Joo Team: LBNL, LLNL, PG&E, SolarCity, ChargePoint CyDER Overview A Cyber Physical Co-simulation Platform for Distributed Energy Resources (CyDER) in Smart Grids 1
34

CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Jul 14, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Lawrence Berkeley National Laboratory

July 21, 2017

SuNLaMP Workshop

Principal Investigator: Jhi-Young Joo

Team: LBNL, LLNL, PG&E, SolarCity, ChargePoint

CyDER OverviewA Cyber Physical Co-simulation Platform for Distributed Energy

Resources (CyDER) in Smart Grids

1

Page 2: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Problem Statement and Targets

• Problems – Variability in penetration of PV and EVs at distribution, customers, and

transmission levels

– Limited accuracy, lack of measured data to calibrate and validate models

– Lack of interconnection between transmission and distribution systems (T&D)

• Targets: to develop a planning tool that– are modular and scalable

– enable the co-simulation of T&D systems

– incorporate novel control strategies such as EV charging control and demand response

– consider the stochastic nature of PV and DER

– streamline and substantially decrease the interconnection PV approval time and costs for new PV installations

2

Page 3: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Project Objectives

Prototype a cyber-physical co-simulation platform for integration and analysis of high PV penetration that is– Highly modular

– Scalable

– Interoperable with commercial utility distribution planning tools

– Integrates transmission and distribution (T&D) systems and their components

Project will– Enable any level of high PV penetration

– Handle large data sets

– Decrease interconnection time and streamline processes

3

Page 4: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Innovation

• An advanced discrete-event co-simulation platform

– Integrating the Functional Mock-up Interface (FMI) standard

– For T&D co-simulation tool

• QSTS (Quasi-Static Time Series) Co-simulation

– Enables system analysis over a time horizon rather than individual snapshots of time especially useful for time-varying components such as EVs and PV

• Real-time Data Acquisition for Predictive Analytics

– PV forecasts from weather and inverter data, EV charging forecasts from mobility data, feeder model validation with microPMU data

• PV applications manager

– Expedite PV integration analysis and streamline utility/operator processes

4

Page 5: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

CyDER Concept

5

Page 6: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

6

Automotive

Electrical

Grid

Functional Mock-Up Interface

FMI Standard

Page 7: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

From Model to an FMU

7

.fmu

u

t, dt

x(t+dt)C-APIXML

CYMDISTFMU

GridDynFMU

CyDER

Page 8: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Input layer

Simulation layer

Output layer

App layer

CYMDISTFMU

OPAL-RTFMU

Smart Inverter FMU

PV Forecasting EV ForecastingReal-time Data

PV Application Manager

Planning Application

Operations Application

HIL Testing

D Model

Scenario Data

GridDynFMU

T Model

PyFMI

CyDER System Architecture

Page 9: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

CyDER for short-term planning for Operations

9

Real-time Data

from SCADA and

uPMU

Data from EV

Charging

Stations

Real Network

Data

Predictive

analyticsQSTS and

stochastic QSTS

Outcome for Utilities:

4-12 hours-ahead contingency analysis and appropriate planning of

inverter setpointsand demand

response

Page 10: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

CyDER for Long-Term Planning

10

Forecasts of EV charging based on historic data

Real Network Data

OPAL-RT

TestingSmart Inverter

Control Strategies

Multiple scenarios for load demand and PV Penetration

LLNL’s GridDyn for Transmission and CYMDIST for Distribution

Hardware-in-the-Loop

Outcome for Utilities,

Regulators, Consultants:Planning on

Infrastructure Investments and novel DR control

strategies to accommodate

higher PV penetration

Page 11: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

CyDER PV Applications Manager

11

Applicant enters data for PV Interconnection

Automated Simulation Runs

Distribution & transmission,

DR, EV

Utility “single-click-accept/reject”

Checklist based on

utility requirements

Automatic

creation of all

forms

Streamlining

Location, PV Data

• Reduce PV interconnection approval time and cost:– <1 hour for residential, <5 days for commercial and utility

– <$100 for residential, <$1,000 for commercial and utility

Page 12: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Achievements & Challenges

• Achievements

– Development and integration of individual

modules for CyDER in FMI standard

– Demonstration of use cases

– Predictive analytics module for PV generation and

EV charging

• Challenges (improvements to make)

– Automated generation of FMUs

12

Page 13: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Demonstrations

13

Page 14: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Use case 1: planning – housing development project with PV (> 500 kW) and EVs– Request by distributed PV aggregator

– Location determined (not optional)

– Possible market participation (CAISO) – for BP2• Can participate in both energy and ancillary markets as a DERP (DER

Provider)

Use case 2: operation – power quality issue with PV inverter– Frequent inverter connection issues with high voltage (>1.05)

– Switched cap bank and LTC present

– More PV installation anticipated (> 500 kW)

– Diagnose high voltage issues, develop resolution plan with existing control and/or new mitigation strategies

– Stochastic QSTS planned for BP2

Use cases of CyDER

14

Page 15: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Goal– To test successful interconnection of GridDyn and CYMDIST

FMUs for QSTS simulations for multiple feeders and buses

Distribution system input (load) drives the co-simulation at each time step– Load value changes by time step at the feeder

– PV and EV scenarios create different load profiles

Demonstrations

15

Snapshot @ T0Data

Initial Conditions

Snapshot @ T1Data

Snapshot @ TnData

Page 16: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Transmission (GridDyn): IEEE 14-bus test system– Feeders modeled at Bus 11 (3.5 MW, 1.8 Mvar load, 13.8 kV)

and Bus 10

Distribution (CYMDIST)– Feeder A at Bus 11

• 4.2 kV, ~1.6 MW, 0.6 Mvar load

• 161 nodes, ~2.2 miles, overhead+underground lines

• 73 spot loads from which 40 are residential loads

• 16 sections already installed with PV

• 2 capacitor banks, one LTC for voltage regulation

– Feeder B at Bus 10• 12.47 kV, ~3.2 MW, 1.8 Mvar load

• 1097 nodes, 588 spot loads, ~10.7 miles, overhead+underground lines

• 51 sections with PV installed

• 5 capacitor banks, one voltage regulator

Demonstration: Grid Model

16

Page 17: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Transmission system: IEEE 14-Bus Test System

Demonstration: Grid Model

17

http://icseg.iti.illinois.edu/ieee-14-bus-system/

Page 18: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Scenarios

1. Base case scenario

: simple CYMDIST – GridDyn coupling over 2.5 minutes

in 5-second interval

2. Base case + 100 EVs on Feeder A, 200 EVs on Feeder B

: over a day in 5-minute interval

3. Base case + 100 houses on Feeder A,

200 houses on Feeder B

: each house with 3 kW load and 4 kW PV

Demonstration: Scenarios

18

Page 19: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Base case (2.5 minutes, 5 seconds interval)

Demonstration: Scenario 1

19

Load and PV output change at every time step based on the profile

Feeder A

Feeder B

Page 20: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Electric vehicles penetration on the feeder

Demonstration: Scenario 2

20

× total EVs

= number of EV charging at t

V2G-Sim simulation

6.6kW power demand per vehicle

Feeder A

Feeder B

Page 21: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Base case + housing development scenario

Demonstration: Scenario 3

21

+

Load and PV output changes at every time step based on the profile

Housing development projects: 100 houses and 200 houses with each a 3kW power demand and a 4kW PV.

Feeder A

Feeder B

Page 22: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Demonstration: Case 1 Results

22

Base case (2.5 minutes, 5 seconds interval)

Page 23: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Demonstration: Case 2 Results

23

Electric vehicles

Page 24: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Demonstration: Case 3 Results

24

Housing development

Page 25: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Thank you

25

Page 26: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

CyDER system architecture

26

Page 27: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Front end – Web interface– Enables users to create projects

– A project contains a trans. grid +

multiple dist. grids with individual

scenarios (PV, EVs, …)

Back end – Execution engine– Projects translated into configuration

files for PyFMI

– Results of simulation reported back to

web interface

CyDER System Architecture

27

Front end

Back end

Page 28: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

28

CyDER System Architecture

Page 29: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Developed to encapsulate and link models and simulators

Initially a 28 million € ITEA2 project with 29 partners.

Standardizes API and encapsulation of models and simulators.

First version published in 2010. Second version published in 2014.

Initially supported by 35 tools, now supported by 90 tools.

29

FMI Standard

Page 30: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

30

Automotive

Electrical

Grid

Functional Mock-Up Interface

FMI Standard

Page 31: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

From Model to an FMU

31

.fmu

u

t, dt

x(t+dt)C-APIXML

CYMDISTFMU

GridDynFMU

CyDER

Page 32: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

PyFMI as Master Algorithm

– Python based and open source

– All T & D models in same API

– PyFMI can easily integrate new models

32

CYMDIST and GridDyn Coupling

CYMDIST(FMU)

GridDyn(FMU)

PyFMI(Master Algorithm)

voltages

currents

Page 33: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

Input layer

Simulation layer

Output layer

App layer

CYMDISTFMU

OPAL-RTFMU

Smart Inverter FMU

PV Forecasting EV ForecastingReal-time Data

PV Application Manager

Planning Application

Operations Application

HIL Testing

D Model

Scenario Data

GridDynFMU

T Model

PyFMI

CyDER System Architecture

Page 34: CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event co-simulation platform –Integrating the Functional Mock-up Interface (FMI) standard

• Additional documentation (CYMDISTToFMU,

Master Algorithm, Forecast module) are

available at

https://github.com/LBNL-ETA/CyDER

CyDER System Architecture