Cross-Platform Simulation Architecture with application to ...
CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event...
Transcript of CyDER Overview A Cyber Physical Co-simulation Platform for ... · • An advanced discrete-event...
![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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/1.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/3.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/7.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/9.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/12.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/13.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/15.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/18.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/19.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/20.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/21.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/22.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/23.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/24.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/25.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/26.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/27.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/28.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/29.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/30.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/31.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/32.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/33.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022050106/5f44b769988de613fb097477/html5/thumbnails/34.jpg)
• Additional documentation (CYMDISTToFMU,
Master Algorithm, Forecast module) are
available at
https://github.com/LBNL-ETA/CyDER
CyDER System Architecture