Research Article
Smart Grid Nontechnical Loss Detection Based on Power Gateway Consortium Blockchain
| | Input: TIME INTERVAL | | | Output: Analysis Result | | (1) | functionNTL FOR LAN | | (2) | get the state of LAN | | (3) | if State = offline then | | (4) | return Send warning to Auditors | | (5) | else | | (6) | if Current Time-Last Time = TIME INTERVAL then | | (7) | fordo | | (8) | get LAN1 = {LANID, SOC} sent from | | (9) | get LAN2 = {LANID, Elast} from WAN | | (10) | E_Theoretical_Consumption = Elast-ATE | | (11) | get E_Output from WAN | | (12) | if E_Output > E_Theoretical_Consumption then | | (13) | Send warning to Auditors | | (14) | end if | | (15) | end for | | (16) | return over | | (17) | end if | | (18) | return waiting | | (19) | end if | | (20) | end function |
|