“…Let S and D be arrays containing the positions of peaks corresponding to kWh real and kWh reported , respectively. [3,5,8,14,19,21,25,31,36,39,41,44,46] D = [5,7,10,14,19,21,23,25,28,31,33,36,39,41,44,46] In this example, the edit distance is 4, the number of matches is 11 ([5, 14, 19, 21, 25, 31, 36, 39, 41, 44, 46]) whereas the LCS is 5 (the string composed of [36,39,41,44,46] peaks). Finally, we have certified that kWh real = kWh reported holds for all the networks at the end of the specified billing window, being equal to 0.154 kWh.…”