Research Article
Smart Grid Nontechnical Loss Detection Based on Power Gateway Consortium Blockchain
| Input: TIME INTERVAL | | Output: Analysis Result | (1) | functionNTL FOR HAN | (2) | if Current Time-Last Time = TIME INTERVAL then | (3) | fordo | (4) | get HANsm = {SMID, UserID, SOC} sent from ’s Smart Meter | (5) | get HANgw = {SMID, UserID, Current Time, Tlast,Elast} from HAN | (6) | E_Theoretical_Consumption = Elast-SOC | (7) | get E_Output from HAN | (8) | if E_Output > E_Theoretical_Consumption then | (9) | Send warning to Auditors | (10) | end if | (11) | end for | (12) | return over | (13) | end if | (14) | return waiting | (15) | end function |
|