Learning Phase at Head Ends 1 Edge Events Appliance Table Input Output by Naoki ref: M. Baranski and V. Jurgen (2004) by Josh Implemented in Java with.

Slides:



Advertisements
Similar presentations
College of Information Technology & Design
Advertisements

PERMUTATION CIRCUITS Presented by Wooyoung Kim, 1/28/2009 CSc 8530 Parallel Algorithms, Spring 2009 Dr. Sushil K. Prasad.
STATISTICS.
Perceptron Learning Rule
VIII - Working with Sequential Logic © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Finite state machine optimization State minimization  fewer.
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
CSE 311: Foundations of Computing Fall 2013 Lecture 23: Finite state machines and minimization.
Livelihoods analysis using SPSS. Why do we analyze livelihoods?  Food security analysis aims at informing geographical and socio-economic targeting 
Chapter 2 Matrices Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 16-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 16.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
HMM-BASED PATTERN DETECTION. Outline  Markov Process  Hidden Markov Models Elements Basic Problems Evaluation Optimization Training Implementation 2-D.
ECE C03 Lecture 111 Lecture 11 Finite State Machine Optimization Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
3/20/20091 More State Machines. Multiple processes.
ECE C03 Lecture 131 Lecture 13 Finite State Machine Optimization Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
Sequential Circuits and Finite State Machines Prof. Sin-Min Lee
Lecture 9 Hidden Markov Models BioE 480 Sept 21, 2004.
Efficient Estimation of Emission Probabilities in profile HMM By Virpi Ahola et al Reviewed By Alok Datar.
Contemporary Logic Design FSM Optimization © R.H. Katz Transparency No Chapter #9: Finite State Machine 9.4 Choosing Flip-Flops 9.5 Machine Partitioning.
Sequence labeling and beam search LING 572 Fei Xia 2/15/07.
Linear Programming Applications
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
Cardinality & Sorting Networks. Cardinality constraint Appears in many practical problems: scheduling, timetabling etc’. Also takes place in the Max-Sat.
Sequencing Problem.
The Fundamentals: Algorithms, the Integers & Matrices.
CSE 311: Foundations of Computing Fall 2014 Lecture 23: State Minimization, NFAs.
Motif Discovery in Protein Sequences using Messy De Bruijn Graph Mehmet Dalkilic and Rupali Patwardhan.
Space-Efficient Sequence Alignment Space-Efficient Sequence Alignment Bioinformatics 202 University of California, San Diego Lecture Notes No. 7 Dr. Pavel.
Patterns I CAN use algebraic expressions to solve numeric and geometric patterns.
Chapter 3: The Fundamentals: Algorithms, the Integers, and Matrices
Composition of Functions Suppose we have two money machines, both of which increase any money inserted into them. Machine A doubles our money while Machine.
Array Processing Simple Program Design Third Edition A Step-by-Step Approach 7.
Gapped BLAST and PSI- BLAST: a new generation of protein database search programs By Stephen F. Altschul, Thomas L. Madden, Alejandro A. Schäffer, Jinghui.
Eric C. Rouchka, University of Louisville SATCHMO: sequence alignment and tree construction using hidden Markov models Edgar, R.C. and Sjolander, K. Bioinformatics.
Array Processing.
Incorporating Dynamic Time Warping (DTW) in the SeqRec.m File Presented by: Clay McCreary, MSEE.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
Non-Intrusive Demand Response Verification
Introduction to State Machine
Chapter Algorithms 3.2 The Growth of Functions 3.3 Complexity of Algorithms 3.4 The Integers and Division 3.5 Primes and Greatest Common Divisors.
MS Sequence Clustering
Provinci summer training 2010 June 17: Recursion and recursive decent parser June 24: Greedy algorithms and stable marriage July 1: Holiday July 8: Math.
Timo O. Korhonen, HUT Communication Laboratory 1 Convolutional encoding u Convolutional codes are applied in applications that require good performance.
Comp. Genomics Recitation 10 4/7/09 Differential expression detection.
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
A Scalable Architecture For High-Throughput Regular-Expression Pattern Matching Yao Song 11/05/2015.
TM Design Macro Language D and SD MA/CSSE 474 Theory of Computation.
Chapter 10 Algorithmic Thinking. Learning Objectives Explain similarities and differences among algorithms, programs, and heuristic solutions List the.
Ferdowsi University of Mashhad 1 Automatic Semantic Web Service Composition based on owl-s Research Proposal presented by : Toktam ghafarian.
Revision Mid 1 Prof. Sin-Min Lee Department of Computer Science.
Suppose G = (V, E) is a directed network. Each edge (i,j) in E has an associated ‘length’ c ij (cost, time, distance, …). Determine a path of shortest.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Finite state machine optimization
Finite state machine optimization
CSE 311 Foundations of Computing I
KU College of Engineering Elec 204: Digital Systems Design
Algorithms Chapter 3 With Question/Answer Animations
CSE 311 Foundations of Computing I
Overview: Fault Diagnosis
Chapter 5 Markov Analysis
Objective of This Course
KU College of Engineering Elec 204: Digital Systems Design
Implement FSM with fewest possible states • Least number of flip flops
Floyd’s Algorithm (shortest-path problem)
All pairs shortest path problem
Lecture 20 State minimization via row matching.
2 Activity 1: 5 columns Write the multiples of 2 into the table below. What patterns do you notice? Colour the odd numbers yellow and the even numbers.
Activity 1: 5 columns Write the multiples of 3 into the table below. What patterns do you notice? Colour the odd numbers yellow and the even numbers blue.
Activity 1: 5 columns Write the multiples of 9 into the table below. What patterns do you notice? Colour the odd numbers yellow and the even numbers blue.
Presentation transcript:

Learning Phase at Head Ends 1 Edge Events Appliance Table Input Output by Naoki ref: M. Baranski and V. Jurgen (2004) by Josh Implemented in Java with Java Genetic Algorithm Package (JGAP)

Input – Edge events Output – Clusters of on/off events Clustering Algorithm 2 time by Josh time Procedures – Retrieve first event and search the rest for matching events by assigning the first event to a new cluster – Difference of power should be below threshold – Every time if finds a new matching event, update the power value of current cluster by averaging all values in the cluster – Assign on/off events with the same absolute power values to the same cluster – Calculate the mean and standard deviation of the cluster – Repeat the above procedures for the events that have not been assigned to any clusters yet

Clustering Algorithm Test Result 3 by Josh TODO?

Input – Edge detection result – Clustering result Output – Appliance state table Steps – Selection of promising combinations of clusters – Initialization of FSM – Optimization of FSM Appliance Table Building Algorithm 4 GA DP by Naoki

Inputs – Edge events – Clusters eg) +100W, +50W, -150W, +1500W, -1500W Intermediate Output: Matrix X (binary) – Column: each cluster – Row: promising combination of clusters Appliance Table Building Algorithm Step1: Selection of promising combinations of clusters 5 – Make combinations of clusters that compose state transitions – There are 2 Nc combinations (Nc: # of clusters) – Impossible to examine all combinations when Nc is large – Select promising combinations by Genetic Algorithm – Sum of power values should be close to 0W +100W, +50W, -150W by Naoki X = ( ) W, +50W, -150W +1500W, -1500W +100W, -1500W W, +50W, -150W, +1500W, -1500W eg)

Appliance Table Building Algorithm Step2: Initialization of FSM 6 – Select the best sequence pattern of clusters (Finite State Machines) – Assumption: each cluster (state transition) should appear exactly once – There are N 1 ! permutations (N 1 : # of 1s in a row of X) – Impossible to examine all permutations when N 1 is large – Put an upper limit on N 1 in Step1 – Examine validity of each permutation – Powers should not be less than 0W in the middle of state transitions – Powers should not be 0W (off state) in the middle of state transitions – Powers should be 0W (off state) in the last state transitions 0W 100W 150W +100W +50W-150W 0W 100W -50W +100W -150W+50W ValidInvalid by Naoki X = ( ) W, +50W, -150W +1500W, -1500W W, +50W, -150W, +1500W, -1500W +100W +50W -150W+100W -150W +50W

Appliance Table Building Algorithm Step2: Initialization of FSM (cont’d) 7 by Naoki +100W, +50W, -150W +100W +50W -150W – Select the best sequence pattern of clusters (Finite State Machines) – Make the best path by Dynamic Programming for each pattern – Properties used as the quality of each sequence – Time duration between state changes in a sequence – Deviation between the observed power value and the corresponding value of the cluster – Target value of each property is first set to the median of the all corresponding events – The closer to the target value, the better – Once the best path is created, update each target value with the median of the best path, and repeat the process until it fails to achieve better quality – Select the best sequence pattern – Frequent pattern is better – If the frequencies are the same, then select the pattern whose quality is the best +50W +100W -150W Combination: Valid sequences:

Appliance Table Building Algorithm Step3: Optimization of FSM 8 – Solve the overlaps of clusters –Assumption: each cluster (state transition) should appear for exactly one appliance –Select the best appliance based on the quality value among the appliances that share the same clusters (state transitions) –Recreate the finite state machines for non-best appliances without the overlapped clusters –If there are no valid sequences, then exclude the appliances by Naoki X = ( ) W +50W -150W +1500W -1500W +1500W +100W -1500W +50W -150W Solve overlaps X = ( ) W +50W -150W +1500W -1500W

Appliance Table Building Algorithm Test Result 1 9 – Was able to build a correct appliance table – Confirmed that it can create multiple state FSM by Naoki

Appliance Table Building Algorithm Test Result 2 10 – TODO? by Naoki

Re-learning Phase at Head Ends 11 –Head end starts to build appliance tables –Upon requests from the meter (reactive) –Periodically (proactive) –Assumption: Similar appliance profiles should be observed over multiple days –Residents use the same appliances every day –Procedures –Examines the appliance tables created from multiple sets of data –If it finds an appliance whose state transition profile is different from that of the previously detected appliances, then it judges that a new appliance has been added –Ends the learning period when it does not find new appliances for a set period of time by Naoki Power State # Day 1 Power State # Day 2 Power State # Day 3 Power State # Day 4 new appliance has been added