Energy Production CME 2020
Energy Production CME 2020
¡ Bienvenidos !
1
Agenda
10.00 Experiencias en el sector Energético y Energías Renovables (en inglés)
Shishir Shekhar - WW Utilities & Energy
12.30 Conclusiones
2
MathWorks Technology in the Utilities & Energy
Industry - An Overview
▪ Education:
▪ Masters in Business Management and Economics
– Harvard University, USA
▪ Research Associate
– Massachusetts Institute of Technology (MIT)
▪ Masters in Electrical Engineering-Power Systems
– Northeastern University, USA
▪ Bachelor of Engineering in Electronics and Communications
– SRM University, India
▪ Work Experience:
– Worldwide Industry Manager, Utilities & Energy - MathWorks Inc, USA (Current)
– Senior Manager - Grid Innovation and Research, National Grid UK
– Senior Research Engineer - National Grid USA
– Engineering Analyst- Cognizant Technology Solutions, India
– Trainee Engineer- Essar Power and Steel Ltd, India 2
Motivators
3
Core MathWorks Products
4
Core MathWorks Products
5
Headquarters
Natick, MA USA Europe Asia-Pacific
France Australia
Germany China
North America Ireland India
United States Italy Japan
Netherlands Korea
Spain
Sweden
Switzerland
UK
6
Transfer learnings from customers across 15+ industries
Aerospace and Defense Automotive Biological Sciences Biotech and Pharmaceutical Communications
Electronics Utilities & Energy Energy Trading Industrial Machinery Medical Devices
7 7
The Landscape
8
Power System Studies & Compliance
Perform Techno-Economic Feasibility and Compliance Studies
Asset Management
▪ Use Signal Processing and AI techniques to monitor asset health
▪ Develop Predictive Maintenance and RUL (Remaining Useful Life) Algorithms
Energy/Price Forecasting
▪ Use AI to forecast Load, Generation and Prices at multiple nodes
▪ Integrate forecast models with grid simulation to improve system reliability
10
Enable IoT/OT Convergence
Deploy simulation models and algorithms on the hardware or in the cloud
Real-Time Simulation
▪ Develop electrical system simulation models and deploy them to Speedgoat
hardware using Simulink Real-Time
▪ Perform hardware-in-the-loop (HIL) testing of control systems
11
One platform for End-End Digital Solution
Private, Public and Hybrid Cloud
Active Directory
Operationalized Packaged
Analytics Analytics
(Application Server) (CI/CD)
DevOps Algorithm
Developers
Gateway
Business Decisions
OPC
MQTT
AMQP
End Users
Blob, Data lake
12
Value companies obtain from partnering with us
13
We think differently about AI
Disclaimer: Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with
the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner’s research organization and should not be construed as statements of fact.
Gartner disclaims all warranties, express or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose. 14
Tools Enabling Power System Application Development
Simulink Test Simulink Coverage
V&V
Polyspace
MathWorks Confidential 16
Hydro-Québec Models Wind Power Plant
Performance
Challenge
Plan the integration of new wind farms into the power
Turbines on a wind farm.
system, predict power output, and ensure safe, reliable
operation
Solution “Accurate modeling is essential not
Use MathWorks products to simulate individual wind only for planning investments but
turbines and wind farms and to generate C code for also to detect situations that can
multiprocessor simulation of entire power systems
cause an outage. With MathWorks
Results tools, we can simulate power
▪ Simulation speed increased to real time electronics, mechanics, and control
▪ Equipment needs accurately predicted systems in one environment, and
▪ Dynamic simulations enabled
our models respond like the turbines
we have in the field.”
Richard Gagnon
Hydro-Québec
Link to user story
17
Horizon Wind Energy (EDP Renewables)
Develops Revenue Forecasting and Risk
Analysis Tools for Wind Farms
Challenge
Develop revenue forecasts and quantify risk for wind Horizon Wind Energy’s Wheat Field Wind Farm.
18
Built-in Renewable Energy Models with Simscape Electrical
Wind, Solar, Energy Storage, etc.
19
Grid Oscillation Characterization – Prony Analysis
• Grid Event – Typically faults (power lines, storms, etc.) that cause instant grid change
• Grid Oscillations – Generation systems/controls share loads and can oscillate with events
Goal: Fast identification of grid events to identify any unstable oscillations modes 20
Multi-Event Identification of Damping
21
Energy/Price Forecasting using AI
22
RWE Develops and Deploys an Automated
System for Natural Gas and Power Trading
and Risk Management
Challenge
Automate business processes for quoting gas contracts
and hedging against price fluctuations
RWE headquarters in Essen.
Solution
Engage MathWorks Consulting to develop and deploy
to a production environment an automated pricing and “MathWorks consultants were well-
risk management system that fits within the company’s qualified, professional, and fast. They
existing IT infrastructure understood not only the technical
Results issues but also the business goals,
▪ Models created in minutes, not weeks which is essential when working on a
▪ 100% accurate results delivered core business system. We got more
▪ Technical expertise applied to core business goals than we expected from MathWorks
Consulting.”
Dr. Norbert Tönder
RWE
Link to user story
23
Gas Natural Fenosa Predicts Energy Supply
and Demand Using MathWorks Tools
Challenge
Maximize margins in energy trading by predicting Portomouros hydroelectric dam.
available supply and peak demand
Solution
Use MathWorks tools to build and optimize models “Because we need to rapidly respond
that incorporate historical data, weather forecasts, to shifting production constraints and
and regulatory rules changing demands, we cannot depend
Results on closed or proprietary solutions.
▪ Response time reduced by months With MathWorks tools we get more
▪ Productivity doubled accurate results — and we have the
▪ Program maintenance simplified flexibility to develop, update, and
optimize our models in response to
changing needs.”
Angel Caballero
Gas Natural Fenosa
Link to user story
24
The Landscape – Power Transmission
25
Alstom Grid Develops High-Voltage Direct
Current Transmission Control System
Using Model-Based Design
Challenge
Accelerate control system development for high-voltage
direct current voltage source converters Alstom Grid’s HVDC demonstrator system
with power converter modules. The
Solution improved controllability of the VSC in this
system makes it well-suited for smart grid
Use Model-Based Design to model, simulate, verify, and applications.
generate code and documentation for the control and
protection systems “Using Model-Based Design we
Results developed a complex control system
▪ Quantifiable process improvements in significantly less time than our
▪ Rapid integration with power system simulation traditional process would have
software required. We eliminated months of
▪ Protection systems implemented in one week hand-coding by generating code from
our models, and we used simulations
to enable early design verification.”
Anthony Totterdell
Alstom Grid
Link to user story
26
Transpower Ensures Reliability of New
Zealand National Grid with Reserve
Management Tool
Challenge
Calculate the amount of reserve power needed to
ensure New Zealand’s national grid can continue to
operate if a generator fails Transmission lines near Transpower’s
Benmore substation.
Solution
Use Simulink to run simulations of the entire grid,
including generators, loads, and HVDC links, every 30 “We record frequencies on the
minutes
grid, inject them into our Simulink
Results model, and compare the simulation
▪ Critical updates rapidly implemented results to the actual system
▪ Simulations verified using real data response. With Simulink we can
▪ Updates made in-house continually calibrate and improve
our model, and ultimately improve
the accuracy of our reserve
estimates.”
Heidi Heath
Link to user story Transpower
27
28
The Landscape – Working with PMU Data
29
Checking Compliance with Measured PMU Data
Voltage Grid Codes IEEE 1547
VPOC
Cascading Trips
MathWorks Confidential 30
MathWorks Confidential 31
“Replay” Field Measurements to Compare Model to Data
Use Field Voltage/Frequency and Match Plant P/Q Response
33
Protection/ Hardware Grid Code
Control Implementation Compliance Checks
Implementation
S C
Controller Development
Environment Protection System
or RTAC Controller
Prototype/
Actual System
34
Protection/ Hardware Real-Time
Control Implementation Simulation
Implementation
S C
Controller Development Equipment Simulation
Environment Protection System
or RTAC Controller
35
The Landscape – Power Distribution
MathWorks Confidential 36
Sandia National Laboratories Simulates
Hawaii Microgrid and Photovoltaic Systems
Challenge
Evaluate the battery capacity and control systems
required for reliable operation of a new solar power
generation facility
An array of solar panels.
Solution
Use Simulink and SimPowerSystems to model and
simulate microgrid distribution systems with photovoltaic “MATLAB, Simulink, and
sources
SimPowerSystems enable
Results mechanical, power, and controls
▪ Model development time cut by 80% engineers to work together using
▪ Costs reduced through battery right-sizing
the same tools, which helps in a
▪ Simulation accuracy verified with real data
multidisciplinary environment
like ours.”
Ben Schenkman
Sandia
37
Shanghai Electric Builds and Deploys Cost-Saving
Enterprise Software for Planning and Designing
Distributed Energy Systems
Challenge
Shanghai Electric engineers wanted to model a broad range of
components, including different loads, the grid, batteries and other
energy storage units, and Develop web-accessible software for
planning and designing distributed energy systems
Solution
“My team’s expertise is in energy modeling or
Shanghai Electric used MATLAB, Simulink and MATLAB Production
algorithm development, not in deploying
Server to develop its distributed energy system planning and design
software into production. MATLAB saved us
platform.
months of development time on the models and
algorithms, and then made it easy to deploy
them as part of a stable, reliable web application
without recoding.”
Yunjiao Gu
Shanghai Electric
38
The Landscape – Electric Vehicles
MathWorks Confidential 39
MathWorks Confidential 40
Optimizing Energy Management System
Denso
Generated and consumed power
¥
Electricity prices
Battery
command
MathWorks Confidential 42
43
The Landscape –Substation Automation & Controls
MathWorks Confidential 44
46
Asset Health Monitoring & Predictive Maintenance
47
Approach to Predictive Maintenance
Model-driven Data-driven
• Supplement data that is difficult to • Use the data obtained from the
measure equipment
• Lead to a highly accurate predictive • Create predictive models using
model statistical methods
48
Albatroz Engineering Develops Automated,
Real-Time Power Line Inspection System
with MathWorks Tools
Challenge
Develop an automated, real-time system for
inspecting and maintaining overhead power lines
Helicopter view of a 60K overhead line
Solution crossing a densely forested area.
49
Predictive Maintenance of Underground Cables
Wind speed
Measurements
wind_speed
pitch_angle
turbine_speed
Speed, torque
turbine_torque
Pitch angle
shaft_speed
Electrical Power
shaft_torque
electromagnetic_torque
P_gen
Q_gen Categories
Electromagnetic torque
P_out
Q_out
X 20 Normal
Increased_Friction
V_DC Generator_Rotor_Fault
Qref Feedback_Error
51
Building Larger Models
52
Classification Learner
53
Vegetation Management using Deep Learning
Vegetation Management
C, C++
CUDA HDL PLC
• Microcontrollers
• NVIDIA GPUs
• DSP chips
• FPGAs
• ARM-based
• Low-cost:
o Arduino
o Raspberry Pi
o BeagleBone
Denotes product dependency. 55
Achieve results faster with MathWorks Consulting Services
Having deep product knowledge and broad technical experience, we guide your team to
apply best practices to your development projects.
Data Decisions
Predictive • What will happen?
2
Sub-Applications of Energy Forecasting
3
Users of Energy Forecasts
▪ ISO
▪ Utilities
▪ Transmission
▪ Distribution
▪ Retail
▪ Traders
4
Renewables and Distributed Power Generation Increase Complexity
Source: Osceola Energy, The Case for Distributed Power Generation, June 30, 2015:
osceolaenergy.com/distributed-power-generation/
5
Challenges with Existing Forecasting Approaches
Model is Outsourced
▪ Takes a long time to make updates
▪ Unable to keep pace with changing operational needs and changing
regulatory requirements
7
Short-Term Forecasting Techniques1
9
Case Study: Day-Ahead Energy Load Forecasting
Goal:
▪ Implement a tool for easy and accurate computation of day-ahead system load forecast
Requirements:
▪ Acquire and clean data from multiple
sources
▪ Accurate predictive model
▪ Easily deploy to production environment
10
The Data
NYISO Energy Load Data National Climatic Data Center Weather Data
mis.nyiso.com/public/ https://www.ncdc.noaa.gov/orders/qclcd/
11
Data Analytics Workflow
Access and Explore Develop Predictive Integrate Analytics with
Preprocess Data
Data Models Systems
13
Data Analytics Workflow
Access and Explore
Preprocess Data
Data
14
Data Analytics Workflow
Access and Explore
Preprocess Data
Data
▪ Data clean up
Databases – Poorly formatted files Data Reduction/
– Irregularly sampled data Transformation
– Redundant data, outliers, missing data etc.
15
Access data in many formats from many locations
▪ Type
Simulation
▪ Structure
Databases
▪ Location
Images
MDF Files
Custom
16
Live Editor tasks for preprocessing data and manipulating tables and timetables
17
tall Arrays
▪ New data type designed for data that doesn’t fit into memory
18
tall Arrays Single
tall array Single
Machine Machine
Memory Process Memory
19
tall Arrays Single
tall array Single
Machine Machine
Memory Process Memory
20
Data Analytics Workflow
Access and Explore MATLAB Analytics work 1 Preprocess Data
Data with business and
engineering data
Signals Images
Sensors ▪ Point and click tools to access ▪ Built-in algorithms for data Feature
Extraction
variety of data sources preprocessing including sensor,
21
Data Analytics Workflow
Access and Explore Develop Predictive Integrate Analytics with
Preprocess Data
Data Models Systems
22
Data Analytics Workflow
Develop Predictive
Preprocess Data
Models
23
Predictive Maintenance Toolbox
Diagnostic Feature Designer App
24
Machine Learning “I would have never attempted machine
learning if this app was not available.”
25
Deep Network Designer app to build, visualize, and edit Deep
Learning Networks
26
Data Analytics Workflow
MATLAB enables
2 Develop Predictive
Preprocess Data
domain experts to Models
do Data Science
28
Data Analytics Workflow
Access and Explore Develop Predictive Integrate Analytics with
Preprocess Data
Data Models Systems
29
Data Analytics Workflow
Develop Predictive Integrate Analytics with
Models Systems
30
Integrate analytics with systems 3
MATLAB Analytics
run anywhere
MATLAB
Runtime
32
MATLAB Production Server is an application server that publishes
MATLAB code as APIs that can be called by other applications
Analytics Development
MATLAB MATLAB
Compiler SDK Deploy
3rd party
Scale and secure
dashboard
33
Deployed Analytics
Request Broker
Predictive
Models
Weather
CTF
Data
Energy
Data
34
How about integration PI System
AF SDK
MATLAB Production
Server Interface for
OSIsoft PI System
Configuration Tool
MATLAB
MATLAB Interface
Production Server MATLAB
MATLAB for OSIsoft PI
Interface for
System
OSIsoft PI System
Production Server
Code Deployment
35
Enterprise-Scale Data Analytics
Databases Dashboards
MATLAB
Production Server
Cosmos DB
MATLAB
Runtime
Streaming AWS Custom Apps
Kinesis
Azure
PI System IoT Hub
Platform
36
is a Leader in the Gartner Magic
Quadrant for 2020 Data Science
and Machine Learning Platforms
*Gartner Magic Quadrant for Data Science and Machine Learning Platforms, Peter Krensky, Erick Brethenoux, Jim Hare, Carlie Idoine, Alexander Linden, Svetlana Sicular, 11 February 2020 .
This graphic was published by Gartner, Inc. as part of a larger research document and should be evaluated in the context of the entire document. The Gartner document is available upon request from MathWorks.
Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research
publications consist of the opinions of Gartner’s research organization and should not be construed as statements of fact. Gartner disclaims all warranties, express or implied, with respect to this research, including any
warranties of merchantability or fitness for a particular purpose.
37
EDP Renováveis Improves Wind Energy
Forecasting with Machine Learning
Daniel Cabezón, EDP Renováveis
“ We were able to significantly reduce
deviation costs between the wind
power forecast and the real production,
EDP Renováveis is a global leader in the renewable energy sector and the world’s resulting in millions of euros saved “
fourth-largest wind energy producer. As wind farms are installed in increasingly
per year.
complex locations, resource assessment and energy production becomes more and
more challenging.
To overcome these challenges, EDP Renováveis used MATLAB® to find patterns
between meteorological data and measurements recorded in the wind turbine. They
developed a suite of applications to apply machine learning to these patterns that
enabled them reduce the error in wind power forecast, estimate potential losses due
to ice in cold climates, and study the effect of weather on wind and production in
large regions of the planet.
2
MATLAB enables ▪ Apply advanced analytics techniques
domain experts to do
Data Science using Machine Learning and Deep
Learning
MATLAB Analytics
3
run anywhere ▪ Operationalize analytics to enterprise
systems and embedded devices
40
Estudios de Sistemas de Energía mediante Gemelo
Digital
María Fernández
Application Engineer
2
Agenda
3
Example Solar Inverter Simulation – For Equipment Design
Inverter Designers Leverage Proprietary Control
4
Model Using Fundamental Approaches
First Principles
Simulink
Physical Components
Simscape
Complete Components
Simscape Electrical
5
Poll no. 1
6
Simscape Electrical Simulation Modes
Different Fidelities for Different Tasks
System-Level Behavior Component Validation Component Design
Electrical Determine power requirements Stay within design envelope Losses during switching events
Evaluate system-level response Effect of switching dynamics Analyze & predict fault behavior
Measure efficiency
Power
9
10
What is Model Validation?
Renewables Field Equipment Standardized Models of Equipment
ALTERNATE
VOEL OEL INPUTS VOEL
ALTERNATE
UEL INPUTS
VUEL VUEL
VP
VRMAX
VS
VRMAX/KA
KA VR
_ LV 1
+_ HV EFD
+ KI sKD GATE + sTE
GATE 1+sTA
VC KP + + -
s 1+sTD VEMIN
+ VRMIN
_ +
VREF VRMIN/KA KE
VX VX=VESE(EFD)
VF
sKF
(1 + sTF)
12
Power Plant Model Validation Workflow
1 2 3 4 5
Develop Power Model Validation Leverage
Access Test Data Preprocess Data
System Model for Power Systems Calibrated Models
Files Format Data for Build Renewable Manual Tuning of Export Parameters
Easy Import Model Parameters for Other Tools
PMUs Import Current Setup and Run Parameters for Digital Twin of
Parameters Loadflow Automated Tuning Renewable System
13
Central Station Solar Plant One-line Diagram and Controls
For Grid-scale System-Studies and Validation
Pad-mounted
Transformer Interconnection
Transmission Line
PV System Station
Equivalent Transformer
Plant-level Reactive
Compensation
System-Level Study
14
Central Station Solar Plant One-line Diagram and Controls
IEEE Standardized Controls for System-Studies and Validation
15
Central Station Solar Plant in Simscape Electrical
IEEE Standardized Controls for System-Studies and Validation
Plant Mode
Grid PCC
17
Parameter Estimation for Multiple Grid Tests
18
Agenda
19
Renewable and Distributed Resource Grid Integration
20
What are Grid Codes?
Voltage Grid Codes
VPOC
21
Common Voltage/Frequency Grid Codes
22
Assessing Grid Code Compliance with PMU Data
23
Assessing Controls + Protection with PMU Data Replay
24
Assess Grid Codes in Parallel
25
Agenda
26
Protection/ Hardware Grid Code
Control Implementation Compliance Checks
Implementation
S C
Controller Development
Environment Protection System
or RTAC Controller
Prototype/
Actual System
27
Protection/ Hardware Grid Code
Control Implementation Compliance Checks
Implementation
S C
Controller Development Equipment Simulation
Environment Protection System
or RTAC Controller
28
Testing Grid Controls with Hardware-in-the-Loop
S C
29
Poll no. 3
30
Additional Material
▪ Videos:
– Simulation-Based Grid Code Compliance
– Energy Storage Optimization
– Renewable Grid Integration Studies with Simscape Electrical
– Renewable Energy Power Plant Model Validation
– Performing Power System Studies Video Series
– Modeling, Simulating, and Generating Code for a Solar Inverter
32
Training
33