Application of Machine Learning to Power Grid Analysis

Similar documents
Top US Tech Talent for the Top China Tech Company

Circuit Simulators: A Revolutionary E-Learning Platform

Laboratorio di Intelligenza Artificiale e Robotica

CS Machine Learning

FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

Laboratorio di Intelligenza Artificiale e Robotica

Reinforcement Learning by Comparing Immediate Reward

Research Article Hybrid Multistarting GA-Tabu Search Method for the Placement of BtB Converters for Korean Metropolitan Ring Grid

Python Machine Learning

Testing A Moving Target: How Do We Test Machine Learning Systems? Peter Varhol Technology Strategy Research, USA

MASTER OF SCIENCE (M.S.) MAJOR IN COMPUTER SCIENCE

EECS 571 PRINCIPLES OF REAL-TIME COMPUTING Fall 10. Instructor: Kang G. Shin, 4605 CSE, ;

Xinyu Tang. Education. Research Interests. Honors and Awards. Professional Experience

Electric Power Systems Education for Multidisciplinary Engineering Students

System Implementation for SemEval-2017 Task 4 Subtask A Based on Interpolated Deep Neural Networks

ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY DOWNLOAD EBOOK : ADVANCED MACHINE LEARNING WITH PYTHON BY JOHN HEARTY PDF

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Computer Organization I (Tietokoneen toiminta)

DIGITAL GAMING & INTERACTIVE MEDIA BACHELOR S DEGREE. Junior Year. Summer (Bridge Quarter) Fall Winter Spring GAME Credits.

IAT 888: Metacreation Machines endowed with creative behavior. Philippe Pasquier Office 565 (floor 14)

Fragment Analysis and Test Case Generation using F- Measure for Adaptive Random Testing and Partitioned Block based Adaptive Random Testing

A Power Systems Protection Teaching Laboratory for Undergraduate and Graduate Power Engineering Education

LABORATORY : A PROJECT-BASED LEARNING EXAMPLE ON POWER ELECTRONICS

ReinForest: Multi-Domain Dialogue Management Using Hierarchical Policies and Knowledge Ontology

Machine Learning from Garden Path Sentences: The Application of Computational Linguistics

Seminar - Organic Computing

Master s Programme in Computer, Communication and Information Sciences, Study guide , ELEC Majors

Human Emotion Recognition From Speech

ISFA2008U_120 A SCHEDULING REINFORCEMENT LEARNING ALGORITHM

SARDNET: A Self-Organizing Feature Map for Sequences

A Simple VQA Model with a Few Tricks and Image Features from Bottom-up Attention

Development of an IT Curriculum. Dr. Jochen Koubek Humboldt-Universität zu Berlin Technische Universität Berlin 2008

Massachusetts Institute of Technology Tel: Massachusetts Avenue Room 32-D558 MA 02139

Deep search. Enhancing a search bar using machine learning. Ilgün Ilgün & Cedric Reichenbach

A Neural Network GUI Tested on Text-To-Phoneme Mapping

Semi-Supervised GMM and DNN Acoustic Model Training with Multi-system Combination and Confidence Re-calibration

Cooperative Training of Power Systems' Restoration Techniques

Moderator: Gary Weckman Ohio University USA

MinE 382 Mine Power Systems Fall Semester, 2014

Citrine Informatics. The Latest from Citrine. Citrine Informatics. The data analytics platform for the physical world

An Introduction to Simio for Beginners

CSL465/603 - Machine Learning

Learning Methods for Fuzzy Systems

Computer Science. Embedded systems today. Microcontroller MCR

Multisensor Data Fusion: From Algorithms And Architectural Design To Applications (Devices, Circuits, And Systems)

Automating the E-learning Personalization

2017 Florence, Italty Conference Abstract

ENEE 302h: Digital Electronics, Fall 2005 Prof. Bruce Jacob

Education for an Information Age

Evolutive Neural Net Fuzzy Filtering: Basic Description

A Coding System for Dynamic Topic Analysis: A Computer-Mediated Discourse Analysis Technique

Using Deep Convolutional Neural Networks in Monte Carlo Tree Search

Rule Learning With Negation: Issues Regarding Effectiveness

Autoregressive product of multi-frame predictions can improve the accuracy of hybrid models

Ecole Polytechnique Fédérale de Lausanne EPFL School of Computer and Communication Sciences IC. School of Computer and Communication Sciences

Information Event Master Thesis

Designing a Computer to Play Nim: A Mini-Capstone Project in Digital Design I

Multimedia Courseware of Road Safety Education for Secondary School Students

Aclara is committed to improving your TWACS technical training experience as well as allowing you to be safe, efficient, and successful.

Axiom 2013 Team Description Paper

EOSC Governance Development Forum 4 May 2017 Per Öster

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Rover Races Grades: 3-5 Prep Time: ~45 Minutes Lesson Time: ~105 minutes

Modeling user preferences and norms in context-aware systems

SAM - Sensors, Actuators and Microcontrollers in Mobile Robots

NATIONAL TAIWAN UNIVERSITY OF SCIENCE AND TECHNOLOGY

Artificial Neural Networks written examination

Radius STEM Readiness TM

Emergency Management Games and Test Case Utility:

CNS 18 21th Communications and Networking Simulation Symposium

Computerized Adaptive Psychological Testing A Personalisation Perspective

SSE - Supervision of Electrical Systems

Execution Plan for Software Engineering Education in Taiwan

On the Formation of Phoneme Categories in DNN Acoustic Models

Transfer Learning Action Models by Measuring the Similarity of Different Domains

On Human Computer Interaction, HCI. Dr. Saif al Zahir Electrical and Computer Engineering Department UBC

An OO Framework for building Intelligence and Learning properties in Software Agents

(Sub)Gradient Descent

Learning to Schedule Straight-Line Code

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Quantitative Evaluation of an Intuitive Teaching Method for Industrial Robot Using a Force / Moment Direction Sensor

Artificial Neural Networks

Knowledge Transfer in Deep Convolutional Neural Nets

Predicting Students Performance with SimStudent: Learning Cognitive Skills from Observation

AC : DESIGNING AN UNDERGRADUATE ROBOTICS ENGINEERING CURRICULUM: UNIFIED ROBOTICS I AND II

Rule Learning with Negation: Issues Regarding Effectiveness

The Evolution of Random Phenomena

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

A Variation-Tolerant Multi-Level Memory Architecture Encoded in Two-state Memristors

Model Ensemble for Click Prediction in Bing Search Ads

November 17, 2017 ARIZONA STATE UNIVERSITY. ADDENDUM 3 RFP Digital Integrated Enrollment Support for Students

Towards a Collaboration Framework for Selection of ICT Tools

Five Challenges for the Collaborative Classroom and How to Solve Them

Software Development Plan

AGENDA LEARNING THEORIES LEARNING THEORIES. Advanced Learning Theories 2/22/2016

College Pricing. Ben Johnson. April 30, Abstract. Colleges in the United States price discriminate based on student characteristics

Computer Science PhD Program Evaluation Proposal Based on Domain and Non-Domain Characteristics

Teachable Robots: Understanding Human Teaching Behavior to Build More Effective Robot Learners

Lecture 1: Machine Learning Basics

Modeling function word errors in DNN-HMM based LVCSR systems

Transcription:

1 IEEE PES Technical Webinar Sponsored by IEEE PES Big Data Subcommittee Application of Machine Learning to Power Grid Analysis Mike Zhou (State Grid EPRI, China) JianFeng Yan, DongYu Shi (China EPRI, China) Donghao Feng (KeDong Electric Power Control Sys Com., China) Contact Info : mike.zhou@interpss.org

2 Agenda F Introduction Open Platform for Applying Machine Learning (ML) Power Grid Model Service Research on Applying ML to Online DSA ML Research Roadmap of CEPRI

3 Why ML Research Again? 1996 AlphaGo Showcase impossible for at least 10 more years "Artificial Intelligence is the New Electricity Andrew Ng Open-source ML tools (Google TensorFlow [1] ) [1] TensorFlow: An open-source software library for Machine Intelligence, https://www.tensorflow.org/

4 Basic Idea [x] [y] = [W][x] + [b] [y] Neural Network Layer(1) Layer(n)

5 ML Application Areas Image Recognition Self Driving Car Automation Robotics Predictive Analytics Power grid analysis has been guiding the operation successfully Power grid analysis so far is model-driven Data-driven ML approach will be supplemental

6 Agenda F Introduction Open Platform for Applying Machine Learning Power Grid Model Service Research on Applying ML to Online DSA ML Research Roadmap of CEPRI

7 NN Model Training Data ML Main Steps: 1) Training; 2) Prediction Training data is the foundation for ML Training data set collection Large user data set collected by Google, Facebook Training data set generation Power grid operation depends on the simulation Guide the grid operation with proven record Contingency analysis could be done only through simulation Need grid analysis training data generation tools/platforms Open Platform for Application of ML to Power Grid Analysis has been created

8 Platform Architecture Google ML Engine (TensorFlow) PS Model Service (InterPSS) Training Case Generator (Pluggable) 1. Training 2. Prediction

9 Sample Study Case NN-Model Prediction Gen Area Interface IEEE-14 Bus case as the basecase. Power is flowing from the Gen Area to the Load Area. When the operation condition changes, predict Bus voltage, P, Q Interface flow N-1 CA max branch power flow Load Area Training Case Load bus P,Q adjusted by a random factor [0~200%], load Q is further adjusted by random factor [+/-20%] The load changes are randomly distributed to the generator buses

10 Bus Voltage Prediction (AC Loadflow) AC Power Flow Given bus PQ, compute bus voltage (mag, ang), such that max bus power mismatch (dpmax, dqmax) < 0.0001 pu 1000 training data sets are generated and used to train the NN-model Input: bus P, Q, P Output: bus voltage, Prediction Using NN-Model 2 100 testing cases are generated using the same process as the training data set. The trained NN-Model is used to predict the bus voltage dv(mag) dv(ang) dpmax dqmax Maximum 0.00118 pu 0.00229 rad 0.00937 pu 0.00619 pu Average 0.00028 pu 0.00055 rad 0.00225 pu 0.00171 pu dv(msg,ang): Bus voltage predicted is compared with the accurate AC Power Flow results dp/qmax: Bus voltage predicted is used to compute the network max bus power mismatch

11 Bus/Interface PQ Prediction (AC Loadflow) Bus P, Q Swing Bus P, Q prediction (100 testing cases) Average difference : 0.00349 pu 0.35 MW/Var Max difference: 0.01476 pu 1.48 MW/Var PV Bus Q prediction (100 testing cases) Average difference : 0.00353 pu 0.35 MVar Max difference: 0.02067 pu 2.07 Mvar Interface Flow Interface branch set [5->6, 4->7, 4->9] Interface Flow P,Q prediction (100 testing cases) Average difference : 0.00084 pu 0.08 MW/Var Max difference: 0.00318 pu 0.32 MW/Var

12 Max Branch Power Flow Prediction (N-1 CA) N-1 Contingency Analysis (CA) In N-1 CA, the branch power flow is calculated when there is a branch outage. Furthermore, the max branch flow of each branch considering all contingencies to check limit violation or for screening. 1000 training data sets are generated and used to train the NN-model Input: bus P, Q, P Output: max branch power flow Prediction Using NN-Model 2 100 testing cases are generated using the same process as the training data set. Max branch power flow prediction is compared with the accurate simulation results Average difference : 0.0134 pu 1.34 MW Max difference: 0.0509 pu 5.09 MW

13 Open Platform for Application of ML to Power Grid Analysis (Summary) Integration of Google TensorFlow and InterPSS TensorFlow as ML engine InterPSS Provides power grid simulation model service Pluggable training data generator The Platform has been open-sourced Apache-2.0 License Open-source Project Location GitHub: https://github.com/interpss/deepmachinelearning [2] [2] The InterPSS Community Site, www.interpss.org

14 Agenda F Introduction Open Platform for Applying Machine Learning Power Grid Model Service Research on Applying ML to Online DSA ML Research Roadmap of CEPRI

15 Power Grid Model Service The Need For Creating the Training Data Power grid measurement data is not enough Training data for security analysis need to be created N-1 CA, transient/voltage stability limit Valid NN Model Prediction Accuracy Common ML Approach Collected Data set => Training set + Testing set Model service creates data on-demand randomly or according certain rules Based on InterPSS Simulation Engine Accurate power grid simulation model behind

16 About InterPSS Solving power grid simulation problem using [3] the modern software approach InterPSS: Internet Technology-based Power System Simulator InterPSS project started in 2005 Object-oriented, Java programming language PSS/E, BPA, PSASP(China EPRI) similar functions Free software [3] M. Zhou, Solving Power System Analysis Problems Using Modern Software Approach, US Gov FERC Increasing Market and Planning Efficiency through Improved Software Meeting, DC June 2010.

17 InterPSS Software Architecture [4] Extensions Application Suite Desktop Edition Traditional Approach Little could be extended and customized InterPSS Core Engine InterPSS Approach Application created by extension, integration and customization Cloud Edition ü Integration with other systems [4] M. Zhou, Q.H. Huang, InterPSS: A New Generation Power System Simulation Engine," submitted to PSCC 2018

18 Power Network Object Model [5] Input A[ ] X[ ] Input Algo B[ ] C[ ] Algo Y[ ] Z[ ] Output Object Model Output Algorithm-Focused Pattern Process I/O In-Memory Data Exchange Model-Focused Pattern Data Processing Patterns Algorithm-focused pattern Procedure programming approach PSS/E, BPA, PSASP (China EPRI) based on this pattern Model-focused pattern Object-oriented approach InterPSS uses the Model-Focused Pattern [5] E. Zhou, "Object-oriented Programming C++ and Power System Simulation," IEEE Trans. on Power Systems, Vol. 11, No. 1 Feb. 1996.

19 Training Case Generation Google ML Engine (TensorFlow) Python Simulation Service Java Training Case Algo Generator InterPSS Object Model Py4J Process I/O In-Memory Data Exchange Object and Algorithm Decoupled Relationship Common Algorithm Implemented Topology Analysis, Loadflow, N-1 CA, State Estimation Short Circuit Analysis, Transient Stability Simulation Training Data Generator Training data generation implemented as a special algorithm [6] Use Py4J as the runtime to host the object model and interface with TensorFlow (Python) [6] Py4J - A Bridge between Python and Java, https://www.py4j.org/

20 Power Grid Model Service (Summary) Based on InterPSS Simulation Engine Provide Flexible Power Grid Model Service InterPSS power network model hosted in a Java runtime environment Pluggable training data generator Create custom training data generator using InterPSS power network object model API

21 Agenda Introduction Open Platform for Applying Machine Learning Power Grid Model Service Research on Applying ML to Online DSA F ML Research Roadmap of CEPRI

22 DSA Challenges [7] Current Dynamic Security Assessment (DSA) Repackage of off-line simulation programs (TS, Small-signal) Running in the batch mode periodically (15 min) In China State Grid dispatching center, a round trip takes 6-10 min to complete The online analysis model size is large-scale (40K buses) Challenges The time-domain simulation has limited speed-up room The simulation results are not intuitive for the operators Remedy actions cannot be directly derived from the results [7] M. Zhou, et al, Development of Fast Real-time Online Dynamic Security Assessment System, IEEE SmartGrid NewsLetter, June 2016.

23 CCT Prediction Critical Clearing Time (CCT) Maximum time during which a disturbance can be applied without the system losing its stability. Determine the characteristics of protections Measure quantitatively system dynamic security margin CCT Computation ~100 sec using the simulation approach (40K Bus) ML-based approach: using Neural Network(NN) model to predict CCT

24 NN-Model Based CCT Prediction CCT Prediction Result First Layer Feature Last Layer Feature NN-Model (per contingency) is constructed (trained) for the CCT prediction; NN-Model input (First Layer Features) : power grid measurement info, such as Gen(P, V); Substation (P,Q), and z(i,j) between substations; A set of Last Layer Features are derived and used for CCT Prediction.

25 Preliminary Results CCT Last Layer 高级特征 Feature Network Size 40K+ Buses, 3370 Substations NN-Model Output CCT for a Fault 省内 500kV 子网... AutoEncoder AutoEncoder AutoEncoder First Layer Features Gen (P V);Substation(P, Q); Z i,j between substations; (Dimension : 8772) 500kV 厂站 220kV 厂站 220kV 子网 AutoEncoder... Last Layer Features Feature Reduction About 20 Basic NN unit: AutoEncoder CCT Calculation First Layer Feature Average error Max error Training case Testing case Time NN-Model Time Simulation Acc Ratio A Fault 2.65% 28.69% 24594 4660 2ms ~100s 1:50000

26 Basic NN unit: AutoEncoder The aim of an AutoEncoder is to learn a representation (encoding) for a set of data, typically for the purpose of dimensionality reduction. About 30 min training time (one GPU, 40K-bus network) NN Model Input (First Layer Features) Gen P, V; Substation P, Q; Z i,j between substations ( total 8K+ variables) The goal is let AI to select through training a set of last layer features (artificial) for predicting CCT The Current Practice A set of key features (physical, such as interface flow) are selected by human expert to monitor the stability Use physical features or artificial last layer features to determine the security margin?

27 Potential Benefit Speed-up DSA System Response Speed For CCT prediction: 50K times faster (40K-Bus, 2ms vs 100s) Produce More Intuitive Results NN model to digest large-scale simulation outcome to create more intuitive results The lookup approach is very close to human operator experience Enhanced Decision Support NN model turns/reduces First Layer Features (P, Q, V) to Last Layer Features Use the Last Layer Features to compare the current case with history simulation cases to identify similar cases If remedy actions are needed for the current case, they could be found in the similar history simulation cases.

28 Agenda F Introduction Open Platform for Applying Machine Learning Power Grid Model Service Research on Applying ML to Online DSA ML Research Roadmap of CEPRI

29 CEPRI Power System Simulation Group ML Research Roadmap(1) New super simulation center (China State Grid) Massive processing power (750 Blades, 20K cores) Massive storage room (2.4 PB, ~2M cases) Production support for State Grid dispatching centers in China Training data set Collect real-world simulation cases and results Based on the human experience to generate more scenarios based on the recorded history operation cases Use to train NN-models for the predictive analysis

30 CEPRI Power System Simulation Group ML Research Roadmap(2) Simulation result processing The new simulation center will generate massive simulation result The human experts are not capable to process the result Digest massive simulation results using NN-model Discover knowledge to guide China s UHV power grid operation

31 Summary AI, especially ML, landscape has been fundamentally changed over the last 5~10 years The development speed is unprecedented Many breaking-through successful stories The enabling technologies are accessible to everyone Powerful computing hardware (CPU+GPU) New open source software tools The right time to renew/restart research on application of ML to power grid Open collaboration approach is recommended

32 Thank You Q&A