I nte rna t io na l J o urna l o f   P o wer   E lect ro nics   a nd   Driv e  S y s t em   ( I J P E DS)   Vo l.  1 7 ,   No .   4 ,  Dec em b er   20 2 6 ,   p p .   3 0 7 5 ~ 3 09 0   I SS N:  2 0 8 8 - 8 6 9 4 ,   DOI :  1 0 . 1 1 5 9 1 /ijp ed s . v 1 7 . i 4 . p p 30 7 5 - 3 09 0           3075     J o ur na l ho m ep a g e :  h ttp : //ij p e d s . ia esco r e. co m   Vo ltag e f o recas ti ng  in  Io T sy stems :  c la ss ica l and AI   mo dels       Sa nd ro   Ca rneiro   Ribeiro 1 ,   L eo na rdo   de  Ca rv a lho   Vida l 1, 2   1 G r a d u a t e   P r o g r a m i n   I n d u s t r i a l   A ss e mb l y ,   F l u mi n e n se   F e d e r a l   U n i v e r s i t y   ( U F F ) ,   N i t e r ó i ,   B r a z i l   2 G r a d u a t e   P r o g r a m i n   I n d u s t r i a l   A u t o mat i o n   a n d   R o b o t i c s,   F e d e r a l   I n st i t u t e   o f   R i o   d e   Ja n e i r o   ( I F R J) ,   V o l t a   R e d o n d a ,   B r a z i l       Art icle  I nfo     AB S T RAC T   A r ticle  his to r y:   R ec eiv ed   J u l 2 2 ,   2 0 2 6   R ev is ed   Sep   2 2 ,   2 0 2 6   Acc ep ted   Oct  4 ,   2 0 2 6       T h i s   p a p e r   p r e s e n t s   a   l o w - c o s t  i n t e rn e t   o f   t h i n g s   ( Io T) - b a s e d   e l e c t r i c a l  m o n it o r in g   sy s t e m   w it h   sh o r t - te r m   v o l t a g e   f o r e c a s ti n g   u s in g   a n   E S P 3 2   m i c r o c o n tr o l l e r .   T h e   p ro p o s e d   s y s t e m   in t e g r a t e s   e l e c t r i c a l   m e a s u r e m e n t,   w i r e l e s s   c o m m u n i c a ti o n ,   c lo u d   st o r a g e ,   s t a ti s t i c a l  a n a ly s i s ,   a n d   fo r e c a s t in g   i n   a   r e a l  r e s id e n ti a l  in s t a ll a t io n .   V o l t a g e ,   c u r r e n t ,   a c t iv e   p o w e r,   fr e q u e n c y ,   a n d   p o w e r   f a c t o r   w e r e   c o n t in u o u s l y   a c q u i r e d ,   a n d   th e   m e a s u r e m e n t   sy s t e m   w a s   e x p e r i m e n t a l ly   v a li d a t e d   a g a in s t   a   c a l ib r a t e d   r e f e r e n c e   i n s t r u m e n t .    T h e   v o l t a g e   ti m e   s e r i e s  w a s   s t a ti s t i c a l ly   c h a r a c t e r i z e d   u s in g   th e   Au g m e n t e d   D i c k e y - F u l l e r  t e s t ,   a u to c o rr e l a ti o n   f u n c ti o n ,   a n d   p a r ti a l  a u t o c o r r e l a ti o n   f u n c t io n ,   f o l lo w e d   b y   th e   e v a lu a ti o n   o f  s ix   f o r e c a s ti n g   a p p ro a c h e s:   A R IM A ,   m o v in g   a v e r a g e ,   l a g g e d   r e g r e ss i o n ,   X GB o o st ,   r a n d o m   fo r e s t ,   a n d   lo n g   s h o rt - t e r m   m e m o ry   ( LS TM ) .   A  c o m m o n   c h ro n o lo g i c a l   t e s t in g   p ro c e d u r e   w a s   a d o p t e d   to   e n su r e   a   c o n s i s te n t  o u t - of - s a m p l e   c o m p a r i so n .   A m o n g   th e   e v a l u a t e d   m o d e l s ,   X GB o o s t  a c h i e v e d   t h e   b e s t  fo r e c a s t in g   p e rf o r m a n c e ,   w i t h   a   ro o t   m e a n   sq u a r e   e r ro r   ( RM S E )   o f   0 . 7 3 5   V,   wh i l e   r a n d o m   f o r e s t  a n d   l a g g e d   r e g r e s si o n   p ro d u c e d   c lo s e ly   c o m p a r a b l e   r e su l t s.   T h e   f in d i n g s  i n d i c a t e   th a t,   fo r   th e   m o n it o r e d   re s i d e n t i a l   v o l t a g e   s e r i e s ,   r e l a t iv e l y   s i m p l e   l a g - b a s e d   a n d   m a c h in e - l e a rn in g   m o d e l s   c a n   p r o v id e   c o m p e t it iv e   s h o rt - t e r m   f o r e c a s t in g   p e r fo r m a n c e   wi th o u t  th e   n e e d   f o r   m o r e   c o m p u t a t io n a ll y   d e m a n d in g   a r c h i t e c tu r e s .   T h e s e   r e s u l t s  h i g h li g h t  th e   r e l e v a n c e   o f  t e m p o r a l  p e r s i s t e n c e   a n d   m o d e l  c o m p l e x i ty   w h e n   d e s i g n in g   I o T - b a s e d   v o l t a g e   f o r e c a s t in g   sy s t e m s .   K ey w o r d s :   E lectr ical  v o ltag e  m o n ito r in g   E SP 3 2   I n ter n et  o f   th in g s   L ag g ed   r eg r ess io n   Ma ch in e  lear n in g   T im e  s er ies an aly s is   Vo ltag e  f o r ec asti n g   T h is i s  a n   o p e n   a c c e ss   a rticle   u n d e r th e   CC B Y - SA   li c e n se .     C o r r e s p o nd ing   A uth o r :   San d r o   C ar n eir o   R ib eir o   Gr ad u ate  Pro g r am   in   I n d u s tr ia l A s s em b ly ,   Flu m in en s e  Fed er al  Un iv er s ity   ( UFF)   Niter ó i,  B r az il   E m ail:  s an d r o . r ib eir o @ in p e. b r       1.   I NT RO D UCT I O N   T h e   co n t in u o u s   g r o w th   i n   g l o b a l   e l ec t r i c i ty   d em a n d ,   ac c e l e r a t ed   e l e c tr i f i c at i o n ,   a n d   t h e   r ap i d   e x p an s i o n   o f   ar t i f i c ia l   i n te l l ig e n ce   ( AI )   a p p l i c a t i o n s   h a v e  i n c r e a s e d   t h e  n e ed   f o r   r e l i ab l e ,   r e s i l i e n t,   an d   e n e r g y - e f f i c i en t   e l ec t r i c a l  i n f r a s t r u c tu r e s   [ 1 ] .   T h i s   d em a n d   h a s   b e en   f u r th e r   i n te n s i f i ed   b y   th e  p r o l i f e r a t io n   o f   A I - d r i v en   d a t a   c en t er s   a n d   c l o u d   c o m p u t in g   s e r v ic e s ,   w h o s e   s u b s t a n t i a l  e n er g y   co n s u m p t io n   p l a c e s   i n c r e a s in g   p r e s s u r e  o n   m o d er n   p o w er   s y s t em s   [ 2 ] .   A t  t h e   s am e   t i m e ,   t h e  l a r g e - s c a l e   in t eg r a t i o n   o f   r en e w ab l e   e n e r g y   s o u r c e s ,   p ar t i cu l a r ly   p h o to v o l t a i c   a n d   w in d   g en e r a t i o n ,   h a s   i n t r o d u c ed   g r ea t e r   v a r i ab i l i t y   an d   o p er a t i o n a l   co m p le x i ty   i n to   el e c t r i c a l   n e t w o r k s .   T h e s e   ch al l e n g e s   h a v e   r e i n f o r c ed   t h e   n e e d   f o r   co n t in u o u s   m o n i to r in g ,   a c c u r a t e   m e a s u r em e n t s ,   an d   d a t a - d r iv e n   d e c i s io n - m a k in g   to   e n s u r e   r e l i a b l e   a n d   ef f i c i en t   s y s t e m   o p er a t i o n   [ 3 ] .   E l e c t r i c a l  m o n i to r in g   h a s   b e co m e   a n   e s s e n t i a l   c o m p o n en t   o f   m o d e r n   in d u s t r i a l ,   c o m m er c i a l ,   a n d   r e s i d en t i a l   in f r a s t r u c t u r e s .   I t  c o n t r ib u t e s   t o   i m p r o v in g   o p e r a t io n a l  ef f i c i en cy ,   r ed u c in g   e n er g y   wa s t e ,   m a i n t a in i n g   p o we r   q u a l i ty ,   f a c i l i t a t in g   t h e  in t e g r a t io n   o f   r e n e wa b l e  en e r g y   r e s o u r c es ,   an d   s u p p o r t i n g   i n t e l l i g en t   e n er g y   m a n ag e m en t   s t r a te g i e s   [ 4 ] .   I n   th i s   co n t ex t ,   c o n t i n u o u s   m o n i to r in g   o f   e l e c t r i c a l q u an t i t i e s ,   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 6 9 4   I n t J Po w  E lec  &   Dr i Sy s t ,  Vo l.  1 7 ,   No .   4 ,  Dec em b er   20 2 6 :   3075 - 3 09 0   3076   p a r t i cu l a r ly   v o l t a g e,   p r o v id e s   a n   i m p o r t a n t  b a s i s   f o r   ch a r ac t e r i z i n g   t h e  b e h av i o r   o f   e l e ct r i c a l   s y s t e m s   a n d   s u p p o r t in g   f o r e c a s t in g   a n d   o p e r a t i o n a l   a s s e s s m en t .   R e c e n t   ad v a n c e s   i n   e m b ed d ed   s y s t em s ,   c l o u d   c o m p u t i n g ,   a n d   i n te r n e t   o f   t h in g s   ( I o T )   tec h n o l o g i e s   h a v e   e n ab l e d   th e   d e v e lo p m e n t   o f   l o w - c o s t   m o n i to r in g   p l a t f o r m s   c ap ab l e   o f   c o n t in u o u s l y   ac q u i r i n g ,   t r a n s m i t t in g ,   an d   a n a ly z in g   el e c t r i c a l  p ar a m e te r s   in   r e a l   t im e   [ 5 ] .   T h e   in t eg r a t io n   o f   I o T   t e ch n o l o g i e s   i n to   e l e c t r i c a l  m o n i to r in g   s y s t em s   h a s   s ig n if i c a n t ly   e x p a n d e d   t h e  c ap a b i l i t i e s   o f   co n v en t i o n a l   en er g y   m a n ag e m en t   i n f r a s tr u c tu r e s   [ 4 ] .   I n   p a r t ic u l ar ,   lo w - co s t   m ic r o co n tr o l l er s   s u c h   a s   t h e   E S P 3 2   h a v e   b e co m e  a t t r a c t i v e   s o lu t i o n s   f o r   r e a l - ti m e   a p p l i c a t io n s   b e c au s e   o f   t h e i r   i n t eg r a te d   w ir e l e s s   co m m u n i c a t io n ,   h ig h   p r o c e s s i n g   c a p a b i l i ty ,   an d   r ed u c e d   i m p le m en t a t i o n   co s t   [ 6 ] .   C o n s e q u e n t ly ,   n u m e r o u s   s tu d i e s   h av e   p r o p o s e d   I o T - b a s ed   m o n i t o r in g   s y s t e m s   f o r   s m ar t   g r id s ,   r e s i d en t i a l   e n e r g y   m an a g e m en t ,   a n d   in d u s t r i a l   a u to m a t io n   a p p l i ca t i o n s   [ 4 ] .   T h e s e   d i s t r ib u t ed   a r c h i t e c tu r e s   a l s o   p r o v id e   an   a p p r o p r i a t e   f o u n d a t i o n   f o r   m o v i n g   p a r t   o f   d a t a   p r o ce s s i n g   an d   i n te l l i g en t   a n a ly s i s   c l o s e r   to   t h e   m e a s u r e m e n t   d e v i ce ,   a n   a p p r o a c h   t h a t   i s   p a r t ic u l ar ly   r e l e v an t   wh e n   r ea l - t i m e  e l e c tr i c a l   m o n i to r i n g   an d   l o w  c o m p u t a t io n a l  o v e r h e ad   ar e   r e q u ir e d .   T h e   in c r e a s i n g   av a i l a b i l i ty   o f   l a r g e - s c a l e  e l e c tr i c a l   d a t a s e ts   h a s   a l s o   s t i m u la t e d   t h e  a p p li c a t i o n   o f   s t a t i s t i c a l   m e t h o d s ,   m a c h in e   le a r n in g ,   a n d   d ee p   l e ar n in g   t ec h n iq u e s   f o r   f o r e c a s t i n g   e l e c tr i c a l   v ar i ab l e s   [ 7 ] .   C l a s s i c a l   s t a t i s t i c a l   a p p r o a c h e s ,   i n c lu d in g   a u to r e g r e s s i v e   an d   m o v i n g   av e r a g e  m o d e l s ,   r e m a i n   w i d e ly   u s ed   b e c au s e   o f   th e i r   in t e r p r e ta b i l it y ,   r o b u s t n e s s ,   a n d   l o w   co m p u t a t i o n a l   c o m p l ex i ty   [ 8 ] .   Mo r e   r e c en t l y ,   m a c h i n e  l e a r n in g   a l g o r i th m s   s u c h   a s   XG B o o s t   a n d   r an d o m   f o r e s t ,   t o g e t h er   w i th   d e ep   l ea r n in g   ar ch i t e c t u r e s   in c l u d i n g   l o n g   s h o r t - t er m   m e m o r y   ( L ST M )   n e u r a l   n e t wo r k s ,   h a v e   s h o w n   p r o m i s in g   r e s u l t s   i n   f o r e c a s t i n g   n o n l in e ar   t e m p o r a l   p r o c e s s e s   a n d   s m a r t   e n e r g y   s y s t e m s   [ 7 ] .   A l th o u g h   a   s u b s t a n t ia l   p ar t   o f   t h e   r e c e n t   f o r e c a s t in g   l i t e r a t u r e   f o cu s e s   o n   e n er g y   a n d   lo ad   f o r e ca s t i n g ,   t h e  s am e   d a ta - d r i v e n   p e r s p e c t i v e   is   r e l e v an t   to   v o l t a g e   t i m e   s e r i e s ,   w h o s e   s h o r t - te r m   b eh a v io r   c an   co n t a in   t em p o r a l   in f o r m a t i o n   s u i t ab l e   f o r   p r ed i c t i v e  a n a l y s i s .   D e s p i t e   t h e   g r o w in g   ad o p t i o n   o f   ar t i f i c i al   i n t e l l ig e n ce   t e ch n i q u e s   f o r   e l e c tr i c a l   f o r e c a s t i n g ,   m a n y   s t u d i e s   e m p lo y   s o p h i s t i c a t e d   m ac h in e   l e a r n i n g   m o d e l s   w i th o u t   s y s t e m a t i c a l ly   co m p a r in g   t h e ir   p e r f o r m an c e  a g a i n s t   s i m p l e r   m a th e m a t i c a l  a p p r o ac h e s   [ 9 ] .   T h i s   i s s u e   i s   p ar t i c u l a r l y   r e l ev an t   f o r   v o l t ag e  f o r ec a s t i n g ,   wh e r e  t h e  p r ed i c t i v e  b e n ef i t   o f   in c r e a s in g   m o d e l  c o m p l ex i t y   d e p en d s   o n   t h e   t em p o r a l  ch a r ac t e r i s ti c s   o f   th e   m e a s u r e d   v o l t ag e   s er i e s .   L i k e w i s e ,   a l th o u g h   n u m e r o u s   I o T - b a s e d   e l e c tr i c a l  m o n i to r i n g   s y s t em s   h a v e   b e en   r ep o r t e d   in   t h e   l i t e r a t u r e ,   m o s t   in v e s t ig a t i o n s   f o c u s   o n   i s o l a t ed   a s p e ct s ,   s u ch   a s   h a r d wa r e  i m p le m e n t a t io n ,   c l o u d   c o n n e c t iv i t y ,   o r   f o r e c a s t i n g   a l g o r i th m s   [ 1 0 ] .   C o m p r eh en s i v e   s t u d i e s   i n t eg r a t in g   l o n g - te r m   r e a l - wo r ld   m o n i to r in g ,   r i g o r o u s   ex p er im e n t a l   v a l i d a t i o n   u s i n g   c al i b r a t ed   i n d u s t r ia l   i n s t r u m en t a t i o n ,   s t a t i s t i c a l  c h a r ac t e r i za t i o n   o f   v o l t ag e   b e h a v io r ,   a n d   s y s t e m a t i c   co m p a r i s o n   o f   c l a s s i c a l   s t a t i s t i c a l,   m a c h in e   l e ar n in g ,   a n d   d e e p   le a r n i n g   f o r e ca s t i n g   m e t h o d s   r em a i n   s c ar c e.   T h e   in t e g r a t i o n   o f   t h e s e   a s p e c t s   i s   p a r t i cu l a r ly   r e le v an t  t o   e l e c tr i c a l   e n er g y   s y s t e m s   b e c au s e   i t   co n n e c t s   p h y s i c a l   m e a s u r e m en t ,   p o w er - q u a l i ty   o b s e r v a t io n ,   t i m e - s e r i e s   ch a r ac t e r i za t i o n ,   a n d   p r e d i c t iv e  i n t e l l ig en c e  w i t h in   th e   s am e  e x p e r im e n t a l  f r am ew o r k .   Fu r th e r m o r e ,   s e l e c t i n g   t h e  m o s t  a p p r o p r i at e   f o r e c a s t in g   m o d e l   co n t in u e s   t o   b e   an   o p en   ch a l l en g e  b e c au s e   p r e d ic t i v e  p e r f o r m a n c e  s t r o n g ly   d ep e n d s   o n   t h e  s t a t i s t i c a l  ch a r ac te r i s t i c s   o f   t h e  m o n i t o r e d   d at a   an d   t h e   s p e c i f ic   a p p l i ca t i o n   s c e n ar i o   [ 7 ] .   C o n s e q u e n t ly ,   t h e   r e l a t io n s h ip   b e t w e en   t h e   s t a t i s t i c a l   p r o p e r t i e s   o f   e le c t r i ca l   v o l t ag e   t im e   s er i e s   an d   f o r ec a s t i n g   p er f o r m an c e  r em a i n s   i n s u f f i c i en t l y   ex p lo r ed   in   p r a c t i c a l  I o T - b a s e d   m o n i to r in g   e n v i r o n m e n t s   [ 1 1 ] .   A c c u r a te   v o l t a g e  m o n i t o r i n g   i s   f u n d a m en t a l   f o r   e l e c t r ic al   e n e r g y   a n a ly s i s ,   o p e r a t io n al   s t a b i l i t y   a s s e s s m e n t ,   a n d   p o w e r   q u a l it y   e v a lu a t io n   [ 1 2 ] .   A cc o r d i n g   t o   th e   I E E E   1 1 5 9   [ 1 3 ]   a n d   I E E E   1 4 5 9   [ 1 4 ]   s t a n d ar d s ,   t h e   r e l i ab l e  a cq u is i t i o n   o f   e le c t r i ca l   q u a n t i t i e s   i s   e s s e n t i a l  f o r   t h e   p r o p er   c h a r ac t e r i za t i o n   o f   e l e c t r i c a l   s y s t e m s   a n d   m o n i to r i n g   in f r a s t r u c t u r e s .   T h e r ef o r e ,   v o l t a g e   m o n i t o r i n g   a n d   f o r e c a s t i n g   s h o u ld   b e   c o n s i d e r ed   n o t  o n l y   a s   d a t a - an a l y s i s   t a s k s ,   b u t  a l s o   a s   co m p l e m en t a r y   f u n c t i o n s   w i th i n   in t e l l i g en t   e l e c t r ic a l   m o n i to r in g   a n d   p o w e r - q u a l i ty   a s s e s s m e n t   s y s t e m s .   T o   a d d r e s s   t h e s e   g a p s ,   t h i s   w o r k   p r o p o s e s   a   l o w - c o s t  I o T - b a s ed   e l e c tr i c a l   m o n i t o r in g   s y s t em   u s in g   a n   E S P 3 2   m i c r o co n tr o l l er   f o r   t h e  n e ar - r ea l - t i m e   m o n i t o r i n g   a n d   t r an s m i s s i o n   o f   e l e c tr i c al   p ar a m e te r s .   T h e   p r o p o s e d   a r c h i t ec t u r e   i s   ex p er i m en t a l ly   v a l i d a t e d   u s in g   a  c a l i b r a te d   H P   3 4 7 8 A   in d u s t r ia l   m u l t im e t er   a s   r e f e r en c e   in s t r u m en t a t io n .   T h e   s tu d y   i s   b as e d   o n   a  l o n g - t e r m   r e a l - wo r ld   d a t a s e t  c o m p r i s in g   ap p r o x i m a t e ly   7 7 2 9 2 4   v o l ta g e   m e a s u r e m en t s   co l l e c t ed   o v er   an   e i g h t - m o n th   m o n i to r in g   p e r io d .   I n   ad d i t io n ,   c l a s s i c a l   s t a t i s t i c a l   m e th o d s ,   m a c h in e   l e a r n i n g   a l g o r i th m s ,   a n d   d e e p   l e ar n in g   m o d e l s   a r e   s y s t e m a t i c a l l y   co m p a r ed   f o r   v o l t a g e   f o r e c a s t i n g .   S t a t i s t i c a l   a n a ly s e s ,   i n cl u d in g   s t a t i o n a r i ty   t e s t i n g ,   a u to c o r r e l a t io n   a n a ly s i s ,   a n d   f o r e c a s t i n g   p e r f o r m an c e   ev a l u a t io n ,   ar e   c o n d u c t ed   t o   i n v e s t i g a t e  h o w   t h e   s t a t i s t i c a l   p r o p er t i e s   o f   v o l t a g e   t im e   s e r ie s   i n f l u en c e   p r e d i c t i v e   p e r f o r m a n ce .   T h e  m a in   co n tr i b u t i o n s   o f   t h is   w o r k   a r e  s u m m a r iz e d   a s   f o ll o w s :   i )   D ev e l o p m en t  a n d   e x p e r i m e n t a l   v a l i d a t io n   o f   a  l o w - c o s t   E S P 3 2 - b a s e d   I o T   e l ec t r i c a l  m o n i to r in g   s y s t e m   u s i n g   ca l i b r a t ed   in d u s t r i a l  i n s t r u m e n t a t io n ;   i i )   Ac q u i s i t i o n   a n d   a n a l y s i s   o f   a  l o n g - t er m   r e a l - wo r ld   v o l t ag e   d a t a s e t   co m p r i s i n g   a p p r o x i m a t e ly   7 7 2 9 2 4   m e a s u r e m e n t s   c o l l ec t e d   o v er   a n   e i g h t - m o n t h   m o n i t o r in g   p e r io d ;   i i i )   S t a t i s t i c a l  c h a r ac t e r i za t i o n   o f   v o l t ag e   b e h a v io r   th r o u g h   s t a t i o n a r i ty   an d   au t o co r r e l a t i o n   a n a l y s e s ,   p r o v i d in g   ev i d e n c e  Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Po w  E lec  &   Dr i Sy s t     I SS N:   2088 - 8 6 9 4       V o lta g e  fo r ec a s tin g   in   I o T sys tems:  c la s s ica l a n d   A I   mo d els   ( S a n d r o   C a r n eiro   R ib eiro )   3077   o f   s t r o n g   s h o r t - t e r m   t em p o r a l  d ep e n d e n c e   r e l e v a n t   to   v o l tag e   p r ed i c t ab i l i t y ;   iv )   S y s t e m at i c   c o m p ar i s o n   o f   c l a s s i c a l   s t a t i s t i c a l ,   m a c h in e   l e a r n i n g ,   an d   d e ep   l ea r n i n g   ap p r o ac h e s   f o r   v o l t a g e  f o r e c a s t i n g ;   an d     v )   D em o n s t r a t i o n   th a t   i n c r e as i n g   m o d e l  c o m p l ex i t y   d o e s   n o t   n e c e s s a r i ly   p r o v i d e   a   s u b s t a n t i a l   f o r e ca s t i n g   a d v an t ag e   f o r   v o l t a g e   t i m e  s er i e s   e x h i b i t in g   s t r o n g   s h o r t - t er m   t em p o r a l  p er s i s t e n c e .       2.   M E T H O D   2 . 1 .      Sy s t e m   a rc hite ct ure   T h e  p r o p o s ed   s y s tem   is   a   lo w - co s t  I o T - b ased   elec tr ical  m o n i to r in g   ar ch itectu r e   d e v elo p ed   ar o u n d   a n   E SP 3 2   m icr o co n tr o ller   f o r   th e  n ea r - r ea l - tim e  m o n ito r in g ,   p r o ce s s in g ,   an d   tr an s m is s io n   o f   elec tr ical     q u an titi es   [ 6 ] .   T h e  a r ch itectu r e  in teg r ates  v o ltag e  an d   c u r r e n t  s en s in g   cir cu its ,   em b ed d ed   s ig n al  p r o ce s s in g ,   wir eless   co m m u n icatio n ,   clo u d   s to r ag e,   an d   d ata  an aly s is   m o d u les.  T h e  o v er all  m eth o d o l o g ical  wo r k f l o w  o f   th e  p r o p o s ed   m o n ito r in g   an d   v o ltag e  f o r ec asti n g   s y s tem   is   illu s tr ated   in   Fig u r e  1 .   T h e  n o v elty   o f   th e   m o n ito r i n g   s y s tem   d o es  n o t  r ely   s o lely   o n   th e   u s e  o f   th e   E SP 3 2   o r   I o T   co m m u n icatio n ,   b u t  o n   th e  in t eg r atio n   o f   lo w - co s t  em b ed d e d   ac q u is itio n ,   ca lib r ated   in s tr u m en tatio n ,   an d   lo n g - ter m   co n tin u o u s   m o n ito r in g   i n   a  r ea l  r esid en tial  in s tallat io n .   T h is   co n f i g u r atio n   p r o v id es  a  r ea l - wo r ld   d ataset  f o r   s u b s eq u en t  v o ltag e  f o r ec asti n g   an aly s is .   T h e  f o r ec ast in g   co n tr ib u tio n   is   d is tin ct  f r o m   th e  h ar d war e   co n tr ib u tio n .   R ath er   th a n   p r o p o s in g   a  n ew  f o r ec asti n g   alg o r i th m ,   th is   wo r k   s y s tem atica lly   co m p ar es   class ical   s tatis t ical,   lag g ed   r eg r ess io n ,   m ac h in e - lear n in g ,   an d   d ee p - lear n in g   ap p r o ac h es  u s in g   th e  s am e  lo n g - ter m   r esid en tial  v o ltag e  d ataset.   T h e  an aly s is   in v esti g ates  w h eth er   in cr ea s in g   m o d el  co m p lex ity   p r o v id es  a  m ea n in g f u l f o r ec asti n g   ad v a n tag e  f o r   a  v o ltag e   s er ies with   s t r o n g   tem p o r al  p er s is ten ce .           Fig u r e  1 .   Ov e r all  m eth o d o lo g i ca l w o r k f lo w  o f   th e  p r o p o s ed   I o T - b ased   elec tr ical  m o n ito r in g   an d   v o ltag e  f o r ec asti n g   s y s tem       2 . 2 .   E lect rica l sig na l a cquis it io n   T h e   p r o p o s e d   s y s t e m   a cq u ir e s   v o l t ag e   a n d   cu r r e n t   s ig n al s   f r o m   th e   e l ec t r i c a l  n e t wo r k   t h r o u g h   d e d i ca t e d   s e n s in g   an d   s i g n a l - c o n d i t i o n i n g   m o d u le s   [ 1 5 ] ,   [ 1 6 ] .   T h e   v o l t ag e   m e a s u r e m e n t   m o d u l e   i s   b a s ed   o n   t h e   Z M P T 1 0 1 B   p o t en t i a l  t r an s f o r m e r ,   f o l lo w e d   b y   a   co n d i t i o n i n g   c ir c u i t  u s in g   t h e  L M 3 5 8 N   o p er a t i o n al  a m p l i f ie r .   T h e  Z M P T 1 0 1 B   p r o v id e s   g a lv a n i c  i s o l a t i o n   b e tw e e n   t h e  e le c t r i c al   n e t w o r k   an d   t h e   a c q u i s i t i o n   c i r c u i t,   ap p r o x im a t e ly   u n i t y   tr a n s f o r m a t i o n   r a t io ,   a n d   i s   s p e c i f i e d   f o r   ap p l ic a t i o n s   i n v o lv i n g   v o l t a g e s   u p   t o   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 6 9 4   I n t J Po w  E lec  &   Dr i Sy s t ,  Vo l.  1 7 ,   No .   4 ,  Dec em b er   20 2 6 :   3075 - 3 09 0   3078   1   k V,   w i th   i s o l a t i o n   w i th s t an d   v o l ta g e  o f   u p   t o   4   k V .   T h e   c o n d i t io n in g   s t a g e  a d a p t s   t h e   tr a n s f o r m e r     o u t p u t   to   v o l ta g e  l e v e l s   c o m p a t i b l e  w i t h   t h e  E S P 3 2   A D C .   T h e   cu r r e n t  m e a s u r em e n t  m o d u l e   e m p lo y s   t h e   A C 1 0 2 5   cu r r e n t  t r a n s f o r m er   ( T a l e m a   C o r p o r a t io n ) ,   w it h   a  n o m in a l  t r an s f o r m a t io n   r a t i o   o f   1 0 0 0 :1 ,     n o m in a l   p r i m ar y   cu r r e n t   o f   2 5   A ,   a n d   m a x i m u m   s p e c i f i ed   cu r r en t   o f   7 5   A .   T h e   a c q u i s i t i o n   c i r cu i t   c o m p r i s e s   a   b u r d e n   r e s i s t o r   f o r   c o n v er s io n   o f   t h e  s e c o n d ar y   c u r r en t   in t o   v o l ta g e,   b ia s i n g   a n d   c o u p l i n g   n e t wo r k s ,   an d   tw o   L M 3 5 8   o p er a t i o n a l - a m p l i f i e r   co n d i t i o n i n g   s t a g e s ,   p r o v i d i n g   a n   o u t p u t   c o m p a t ib le   w i t h   t h e   E S P 3 2   a c q u i s i t io n   s y s t e m .   T h e   co n d i t i o n e d   a n a lo g   s i g n a l s   a r e   a cq u ir e d   b y   t h e  1 2 - b i t   E S P 3 2   A D C ,   w i t h   a n   in p u t   r a n g e   o f   0 – 3 . 3   V  a n d   4 0 9 6   q u an t i za t i o n   l ev e l s ,   c o r r e s p o n d in g   t o   a  t h eo r e t i c a l  r e s o l u t io n   o f   a p p r o x i m a te l y   0 . 8 0 6   m V / b i t .   T h e  a cq u i r e d   s a m p l es   a r e  d i g i t a l ly   p r o c e s s ed   to   e s t i m a t e  R M S   v o l t a g e   a n d   R MS   c u r r en t ,   a s   w e l l  a s   a c t i v e   p o w er ,   ap p a r en t   p o we r ,   p o w er   f ac t o r ,   a n d   f r eq u e n c y .   T h e   av e r ag e   in t e r v a l   b e t w e en   r e co r d ed   m e a s u r e m en t s   i s   a p p r o x i m at el y   2 0   s ,   en a b li n g   c o n t i n u o u s   l o n g - t er m   m o n i to r in g   w i t h   lo w   c o m m u n i c a t i o n   o v er h e ad .   T h e   m o n i to r in g   s y s t e m   w a s   d e p lo y ed   in   a   r e a l  r e s i d en t i a l   e l e c t r ic a l   in s t a l l at i o n   a n d   o p e r a t e d   c o n t in u o u s l y   f o r   a p p r o x i m a t el y   e ig h t   m o n t h s .   T h e   h a r d w a r e   p r o t o ty p e   d e v e lo p e d   b y   t h e  a u t h o r s   i s   s h o w n   i n   F i g u r e  2 .   T h e  s c h em a t i c s ,   f ir m w a r e,   s o u r c e   co d e ,   a n d   d at a s e t s   g en e r a t ed   d u r i n g   th i s   s t u d y   a r e  p u b li c l y   a v a i l ab l e   in   t h e   f o l l o w in g   G i tH u b   r e p o s i t o r y   [ 1 7 ] .           Fig u r e  2 .   Pro t o ty p e  o f   th e  p r o p o s ed   E SP 3 2 - b ased   I o T   m o n it o r in g   h ar d war e       2 . 3 .     E m bedd ed  f irm wa re   pr o ce s s ing   T h e  em b ed d e d   f ir m war e  p er f o r m s   r ea l - tim e  d ata  ac q u is itio n ,   d ig ital  s ig n al  p r o ce s s in g ,   an d   esti m atio n   o f   th e  m o n ito r ed   elec tr ical  q u an titi es.  An alo g   v o ltag e  a n d   cu r r e n t  s ig n als  ar e  p er io d ica lly   s am p led   b y   th e   in ter n al  1 2 - b it  ADC.  T h e  ac q u ir ed   s am p les  ar e   d i g itally   p r o ce s s ed   to   esti m ate  R MS  v o ltag e,   R MS  cu r r en t,   ac tiv e  p o wer ,   a p p ar e n t p o wer ,   p o wer   f ac t o r ,   an d   f r e q u en c y .   T h e  R MS  v o ltag e  is   ca lcu lated   as   ( 1 ) .      =   √ 1   ∑  2 = 1   ( 1 )     W h er e:      r ep r esen ts   th e  s am p le d   v o ltag e  v alu es;     is   th e  to tal  n u m b er   o f   s am p les.   Similar ly ,   th e  R MS  cu r r en t  is   o b tain ed   as   ( 2 ) .      =   √ 1   ∑  2 = 1   ( 2 )     T h e  ac tiv e  p o we r   is   esti m ated   b y   ( 3 ) .       Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Po w  E lec  &   Dr i Sy s t     I SS N:   2088 - 8 6 9 4       V o lta g e  fo r ec a s tin g   in   I o T sys tems:  c la s s ica l a n d   A I   mo d els   ( S a n d r o   C a r n eiro   R ib eiro )   3079   =    ×    ×    ( 3 )     W h er e:     is   th e  ac tiv e  p o wer ;      d en o tes th e  p o wer   f ac to r .   T h e  a p p ar en t  p o wer   is   ca lcu lated   as   ( 4 ) :     =    ×      ( 4 )     a n d   th e  p o wer   f ac t o r   is   d eter m in ed   b y   ( 5 ) .      =     ( 5 )     Af ter   s ig n al  p r o ce s s in g ,   t h e  c alcu lated   elec tr ical  q u an titi es  ar e  p ac k ag e d   in to   d ata  p ac k ets  an d   p er io d ically   tr an s m itted   to   th e   T h in g Sp ea k   clo u d   p latf o r m   th r o u g h   th e   in teg r ated   W i - Fi  in ter f ac e   f o r   r em o te   s to r ag e  a n d   v is u aliza tio n .     2 . 4 .   I o T  co m m un ica t io n a nd   clo ud   s t o ra g e   Fo llo win g   lo ca l  p r o ce s s in g ,   th e  ca lcu lated   elec tr ical  q u a n t ities   ar e  tr an s m itted   th r o u g h   th e  E SP 3 2   in teg r ated   W i - Fi  in ter f ac e  u s in g   I o T   c o m m u n icatio n   p r o to co ls .   T h e  m o n ito r e d   v ar iab le s   ar e  s to r ed   in   th e  T h in g Sp ea k   cl o u d   p latf o r m ,   al lo win g   r em o te  v is u aliza tio n ,   l o n g - ter m   h is to r ical  s to r ag e,   a n d   r ea l - tim e  ac ce s s .   T h e  ac q u ir e d   d ataset  in clu d es:   t im estam p ,  v o ltag e ,  cu r r en t ,  a ctiv e  p o wer ,  ac cu m u lated   en e r g y ,  f r e q u en c y ,   an d   p o wer   f ac to r .   T h e   s to r ed   d at a  ar e  e x p o r ted   as  C SV  f iles   f o r   s u b s eq u en t   o f f lin e   s tatis ti ca l  p r o ce s s in g   an d   f o r ec asti n g   an aly s es  u s in g   Py th o n .   T h in g Sp ea k   clo u d   s er v ices  wer e  em p lo y ed   f o r   lo n g - ter m   d ata  s to r ag e,   r em o te  v is u aliza tio n ,   a n d   d ata s et  ex p o r tatio n .     2 . 5 .   D a t a s et   des cr iptio n a nd   prepro ce s s i ng   B ef o r e  s tatis t ical  an d   f o r ec asti n g   an aly s es,  th e  ac q u ir ed   d ata s et  u n d er wen t  a  p r ep r o ce s s in g   p r o ce d u r e   to   im p r o v e  d ata  q u ality   an d   p r eser v e  th e  tem p o r al  s tr u ctu r e  o f   th e  m o n ito r ed   v o ltag e  s er ies.  T h e  d ataset   co n tain ed   7 7 2 9 2 4   m ea s u r e m e n t  r ec o r d s .   T im estam p   i n f o r m a tio n   was  co n v er ted   to   a  co n s is ten t  tem p o r al  f o r m at  an d   th e  r ec o r d s   wer e  a r r an g ed   in   ch r o n o lo g ical  o r d e r .   T em p o r al   co n tin u ity   was  e v alu ated   b y   ca lcu latin g   th e   tim e  d if f er en ce   b etwe en   c o n s ec u tiv e   o b s er v atio n s .   T em p o r al  g ap s   g r ea ter   th an   1 2 0   s   wer e  u s ed   to   id en tify   in ter r u p tio n s   in   th e  ac q u is itio n   s eq u en ce .   C o n tin u o u s   s eg m e n ts   co n tain i n g   f ewe r   th an   1 0 0 0   o b s er v at io n s   wer e  e x clu d ed   as  a  c o n s e r v ativ e  d ata - q u ality   cr iter io n .   R ec o r d s   with   m is s in g   v o ltag e  v alu es  wer e  also   r em o v ed .   A  s en s itiv ity   an aly s is   o f   th e  m in im u m   s eg m en t - len g th   c r iter io n   s h o wed   th at  th is   th r esh o ld   d id   n o t  m ater ially   alter   t h e  r etai n ed   d ataset  o r   t h e  f o r ec asti n g   r esu lts .   Af ter   p r ep r o ce s s in g ,   7 7 2 , 7 7 2   v alid   v o ltag e  o b s er v atio n s   r em ain ed   a v ailab le  f o r   s tatis tical   an d   f o r ec asti n g   an aly s es.   Fo r   f o r ec asti n g   ev alu atio n ,   t h e  v alid   o b s er v atio n s   wer e  d iv id ed   ch r o n o lo g ically ,   with o u t  r an d o m   s h u f f lin g ,   in to   8 0 %  f o r   tr ain in g   ( 6 1 8 2 1 7   o b s er v atio n s )   an d   2 0 %  f o r   test in g   ( 1 5 4 5 5 5   o b s e r v atio n s ) .   T h u s ,   th e   test in g   s et  r ep r esen ts   th e  f in al  2 0 %  o f   th e  m o n ito r e d   tim e  s er ies  an d   was  k ep t  co m p letely   o u t  o f   m o d el  tr ain in g .   T h is   ch r o n o lo g ical  p r o ce d u r e   p r ev en ts   in f o r m atio n   f r o m   f u tu r e  o b s er v atio n s   f r o m   b ein g   u s ed   to   tr ain   th e   f o r ec asti n g   m o d els  an d   p r o v i d es  an   o u t - of - s am p le  ev al u atio n   u n d er   tem p o r al  co n d itio n s   r ep r e s en tativ e  o f   p r ac tical  f o r ec asti n g .   T h e  f o r ec asti n g   task   was  d ef in ed   as  o n e - s tep - ah ea d   p r ed ictio n ,   in   wh ich   th e  o b jectiv e  is   to   p r ed ict  th e  n ex t  r ec o r d ed   v o ltag e   o b s er v atio n .   B ec au s e  th e  m o n ito r in g   s y s tem   r ec o r d s   m ea s u r em e n ts   at  in ter v als  o f   ap p r o x im ately   2 0   s ,   th is   co r r e s p o n d s   to   a  s h o r t - te r m   f o r ec as tin g   h o r izo n   o f   ap p r o x im ately   2 0   s   ah ea d .   Fo r   t h e  lag - b ased   m o d els,  f iv e  p r ev io u s   v o ltag e  o b s er v atio n s   wer e  u s ed   as  in p u t  v a r iab les.  T h e  f iv e - lag   co n f ig u r atio n   was  ad o p ted   to   r e p r esen t  th e   s h o r t - ter m   tem p o r al  d e p en d en ce   id en tifie d   in   th e  s tatis ti ca l  an aly s is   wh ile  m ain tain in g   a  co m p ac t  in p u t  r ep r esen tatio n .   T h e  s am e  f i v e  lag g ed   v o ltag e  v ar ia b les  wer e  u s ed   b y   th e  lag g ed   r eg r ess io n ,   XGBo o s t,  an d   r an d o m   f o r est  m o d els,  wh ile  th e  L STM   u s ed   th e  co r r esp o n d i n g   f iv e - o b s er v atio n   s eq u en ce   as its   in p u t.  AR I MA   an d   m o v in g   av er ag e   r etain ed   th eir   r esp ec tiv e  tem p o r al  f o r m u latio n s .   T h e  co n s tr u ctio n   o f   th e  f iv e  lag g ed   v ar ia b les  r ed u ce d   th e  n u m b er   o f   u s ab le  s am p les  f r o m   7 7 2 7 7 2   to   7 7 2 7 6 7 ,   r esu ltin g   in   6 1 8 2 1 2   tr ain in g   s am p les  an d   1 5 4 5 5 5   test in g   s am p les.  T h e  lag   co n s tr u ctio n   was  p er f o r m e d   u s in g   o n ly   p r ec ed i n g   o b s er v at io n s ,   s o   th at  n o   f u tu r e  v o ltag e   v alu e  was  u s ed   as  an   in p u t  to   p r ed ict  a n   ea r lier   o b s er v atio n .   All  f o r ec asti n g   m o d els  wer e  ev alu ated   u s in g   th e   s am e  ch r o n o l o g ical  o u t - of - s a m p le  test in g   p er io d   an d   th e  s am e  ev alu atio n   m etr i cs  ( R MSE ,   M AE ,   an d   R ²) .   Mo d el - s p ec if ic  in p u t  r e p r esen tatio n s   wer e  r etain ed ,   wh ile  th e  u n d er ly in g   d ataset,   t em p o r al  s p lit,  f o r ec asti n g   ta r g et,   an d   e v alu atio n   p r o ce d u r e  wer e  k ep t  c o n s is ten t  ac r o s s   th e  s ix   ap p r o ac h es.         Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 6 9 4   I n t J Po w  E lec  &   Dr i Sy s t ,  Vo l.  1 7 ,   No .   4 ,  Dec em b er   20 2 6 :   3075 - 3 09 0   3080   2. 6 .   S t a t is t ica l a na ly s is   T h e  s tatis tical   p r o p er ties   o f   th e  m o n ito r ed   v o ltag e  s er ies  wer e  in v esti g ated   th r o u g h   d escr i p tiv e  an d   in f er en tial  an aly s es.   Statio n ar ity   was  ass es s ed   u s in g   th e  A u g m en ted   Dick ey – Fu ller   ( ADF)   test   [ 1 8 ] ,   w h ile   tem p o r al  d e p en d e n cies  wer e  a n aly ze d   th r o u g h   th e   au to c o r r e latio n   f u n ctio n   ( AC F)  an d   p ar tial  au to co r r elatio n   f u n ctio n   ( PAC F)   [ 1 9 ] .  T h ese  an aly s es  wer e  p er f o r m e d   to   c h ar ac ter ize  th e  tem p o r al  b eh a v io r   an d   d ep en d en ce   s tr u ctu r e  o f   t h e  v o ltag e   tim e  s er ies an d   to   s u p p o r t th e   s elec tio n   o f   ap p r o p r iate  f o r ec asti n g   m o d els .   Descr ip tiv e  s tati s tics ,   in clu d in g   th e  m ea n ,   s tan d ar d   d ev iatio n ,   m in im u m   v alu e,   an d   m ax i m u m   v alu e,   wer e  also   co m p u te d .   T h e  m ea n   v o ltag e  is   d e f in ed   as   ( 6 ) .     µ =   1   ∑ = 1   ( 6 ) .     W h er e:     r ep r esen ts   ea ch   v o ltag e  o b s er v atio n ;   an d     is   th e  to tal  n u m b er   o f   o b s er v atio n s .   T h e  s am p le  s tan d ar d   d ev iatio n   was c alcu lated   ac co r d in g   to   ( 7 ) .     = √ 1 − 1 ∑ ( − ̅ ) ² = 1   ( 7 )     W h er e    r ep r esen ts   ea ch   v o lta g e  o b s er v atio n ;   ̅   is   th e  s am p l e  m ea n   v o ltag e ;   a n d     is   th e  to tal  n u m b e r   o f   o b s er v atio n s .     2. 7 .   F o re ca s t ing   mo dels   Six   f o r ec asti n g   ap p r o ac h es   wer e  co m p ar ativ ely   ev alu ate d : A R I MA   [ 1 9 ] ,  m o v in g   av e r ag e  [ 1 9 ] ,   lin ea r   r eg r ess io n   with   lag g e d   f ea tu r e s   [ 2 0 ] ,   XGBo o s t   [ 2 1 ] ,  r a n d o m   f o r est  [ 2 2 ] ,   a n d   ( L STM )   n eu r al  n etwo r k s   [ 2 3 ] .   T h ese  m o d els  wer e   g r o u p e d   in to   t h r ee   ca teg o r ies:   i)   C la s s ical  s tat is tical  m eth o d s   ( AR I MA   an d   m o v in g   av er ag e );   ii)  Ma ch i n e  lear n in g   m eth o d s   ( la g g ed   r eg r ess io n ,   XGBo o s t,  an d   r an d o m   f o r est );   an d   iii)   Dee p   lear n in g   m eth o d s   u s in g   L STM .   T h e  f o r ec asti n g   task   was  d ef in ed   as  o n e - s tep - ah ea d   p r ed icti o n ,   co r r esp o n d i n g   to   ap p r o x im ately   2 0   s   ah ea d   ac co r d in g   to   th e  ac q u is itio n   in ter v al.   Fo r   th e  lag - b ase d   m o d els,  f iv e   p r ev i o u s   v o ltag e  o b s er v atio n s   wer e  u s ed   as  in p u t  f ea t u r es.  T h e   s am e  f iv e  lag g ed   v ar iab les  wer e   p r o v i d ed   to   th e  lag g ed   r e g r es s io n ,   XGBo o s t,  an d   r an d o m   f o r est  m o d els,  wh ile  th e  L STM   r ec eiv ed   th e  co r r esp o n d in g   f iv e - o b s er v atio n   s eq u en ce .   AR I MA   an d   m o v in g   av er ag e   r etain ed   t h eir   r esp ec tiv e  tem p o r al  f o r m u latio n s .   Fo r   th e  m ac h in e  lear n i n g   m o d els,  th e  in p u t  v ar iab les  c o n s is ted   ex clu s iv ely   o f   th e  lag g e d   v o ltag e   o b s er v atio n s ,   with o u t  in tr o d u cin g   a d d itio n al  e x o g e n o u s   v ar iab les.  T h e   m o d els  wer e   tr ain ed   u s in g   th e   ch r o n o lo g ical  tr ain i n g   s u b s et  an d   ev al u ated   o n   t h e  s u b s eq u e n t  test in g   p er i o d ,   as  d escr ib e d   in   s ec tio n   2 . 5 .   No   r an d o m   s h u f f lin g   o f   th e  tem p o r al  o b s er v atio n s   was p er f o r m e d .   T h e  L STM   m o d el  c o n s is ted   o f   a  s in g le  L STM   lay er   with   5 0   u n its ,   f o llo wed   b y   a  f u lly   co n n e cted   d en s e  lay er   with   o n e   o u tp u t  n eu r o n   f o r   th e  p r ed icted   v o ltag e  v alu e.   T h e  n etwo r k   was  tr ain ed   u s in g   1 0   e p o ch s   an d   a   b atch   s ize  o f   5 1 2 .   T h e  L STM   in p u t  s eq u en ce   co m p r is ed   f iv e  co n s ec u tiv e  v o ltag e  o b s er v atio n s ,   co n s is ten t  with   th e  lag   co n f i g u r atio n   ad o p ted   f o r   th e  o th er   la g - b ased   m o d els.  T h e  v o ltag e  d ata  u s ed   b y   th e  L STM   wer e  r ep r esen ted   as  3 2 - b it  f lo atin g - p o in t  v al u es  an d   n o r m alize d   u s in g   th e  m in im u m   a n d   m ax im u m   v o ltag e   v alu es  ca lcu lated   f r o m   th e  tr ai n in g   d ata.   T h e   s am e  ch r o n o lo g ical  tr ain in g /tes tin g   p r in ci p le  was   m ain tain ed   d u r in g   n o r m aliza tio n   s o   t h at  in f o r m at io n   f r o m   th e  test in g   p e r io d   wa s   n o t u s ed   to   d ete r m in e  th e  s ca lin g   p ar am eter s .   T h e   X G B o o s t ,   r a n d o m   f o r e s t ,   a n d   L S T M   m o d e l s   w e r e   i m p l e m e n t e d   u s i n g   t h e i r   r e s p e c t i v e   c o m p u t a t i o n a l   f r a m e w o r k s ,   w i t h   t h e   m o d e l   c o n f i g u r a t i o n s   d e f i n e d   p r i o r   t o   e v a l u a t i o n .   T h e   e x p e r i m e n t s   w e r e   p e r f o r m e d   o n   a   c o m p u t e r   e q u i p p e d   w i t h   a n   N V I D I A   G e F o r c e   9 4 0 M X   G P U ,   w h i c h   w a s   u s e d   t o   a c c e l e r a t e   L S T M   t r a i n i n g   t h r o u g h   T e n s o r F l o w   a n d   c o m p u t e   u n i f i e d   d e v i c e   a r c h i t e c t u r e   ( C U D A )   D e e p   N e u r a l   N e t w o r k   L i b r a r y   ( c u D N N ) .   T h e   r e m a i n i n g   f o r e c a s t i n g   m o d e l s   w e r e   e x e c u t e d   u s i n g   t h e   c o r r e s p o n d i n g   C P U - b a s e d   i m p l e m e n t a t i o n s .   All  m o d els  wer e  ev alu ated   u s in g   th e  s am e  o u t - of - s am p le  te s tin g   p er io d   a n d   th e  s am e  p e r f o r m an ce   m etr ics:   r o o t  m ea n   s q u ar e  e r r o r   ( R MSE ) ,  m e an   a b s o lu te  e r r o r   ( MA E ) ,   an d   R ².   T h is   p r o ce d u r e   p r o v id es  a   co n s is ten t  b asis   f o r   c o m p a r in g   f o r ec asti n g   p er f o r m a n ce   w h ile  p r eser v in g   t h e  m eth o d o l o g ic al  ch ar ac ter is tics   o f   ea ch   f o r ec asti n g   ap p r o ac h .   Fo r   r ep r o d u cib ilit y ,   th e  m ai n   co n f ig u r atio n   p a r am eter s   u s ed   in   th e  f in al   im p lem en tatio n   o f   ea ch   f o r ec a s tin g   m o d el  ar e  s u m m ar ized   i n   T ab le   1.     2 . 8 .     F o re ca s t ing   perf o r m a n ce   m et rics   Fo r ec asti n g   p er f o r m an ce   was  ev alu ated   u s in g   th e  MA E ,   R MSE ,   an d   co ef f icien t  o f   d eter m in atio n   2   [ 2 3 ] .   T h ese  co m p lem en tar y   m etr ics  q u an tify   th e  m a g n itu d e  o f   p r ed ictio n   er r o r s   an d   th e   ag r ee m en t   b etwe en   m ea s u r ed   an d   p r e d icted   v o ltag e  v alu es,  p r o v id in g   a  c o n s is ten t  b asis   f o r   co m p ar in g   all  f o r ec a s tin g   m o d els  u n d er   th e  s am e  o u t - of - s am p le  test in g   co n d itio n s .     Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Po w  E lec  &   Dr i Sy s t     I SS N:   2088 - 8 6 9 4       V o lta g e  fo r ec a s tin g   in   I o T sys tems:  c la s s ica l a n d   A I   mo d els   ( S a n d r o   C a r n eiro   R ib eiro )   3081   T h e  MA E   is   d ef in ed   as   ( 8 ) .     =   1   ∑ | − ̂ | = 1   ( 8 )     T h e   R MSE   is   ca lcu lated   as   ( 9 ) .       = √ 1 ∑ ( = 1 − ̂ ) ²   ( 9 )     T h e   co ef f icien t  o f   d eter m in ati o n   is   g iv en   b y   ( 1 0 ) .     2 = 1 −   ∑ ( − ̂ ) ² = 1 ∑ ( − = 1 ̅ ) ²   ( 1 0 )     W h er e:    r ep r esen ts   th e  m ea s u r ed   v o ltag e   v alu e ;  ̂   d en o tes  th e  co r r esp o n d in g   p r ed icted   v o l tag e  v alu e;   ̅   is   th e  m ea n   o f   th e  m ea s u r ed   v o ltag e  v alu es  in   th e  ev alu atio n   d a taset ;   an d     r ep r esen ts   th e  n u m b er   o f   o b s er v atio n s   in   th e  test in g   d ataset.       T ab le  1 .  Ma in   c o n f ig u r atio n   p ar am eter s   o f   th e  f o r ec asti n g   m o d els   M o d e l   M a i n   c o n f i g u r a t i o n   A R I M A   O r d e r   ( 1 , 0 , 0 )   M o v i n g   a v e r a g e   W i n d o w   si z e   =   5   La g g e d   r e g r e ssi o n   5   v o l t a g e   l a g s;   l i n e a r   r e g r e ss i o n   X G B o o st   n _ e st i ma t o r s   =   1 0 0 ;   m a x _ d e p t h   =   6 ;   l e a r n i n g _ r a t e   =   0 . 1 ;   o b j e c t i v e   =   r e g : s q u a r e d e r r o r ;   r a n d o m_ s t a t e   =   4 2   R a n d o m  f o r e s t   n _ e st i ma t o r s   =   1 0 0 ;   m a x _ d e p t h   =   1 0 ;   r a n d o m _ s t a t e   =   4 2 ;   n _ j o b s   =   − 1   LSTM   S e q u e n c e   l e n g t h   =   5 ;   5 0   LST M   u n i t s ;   D e n se( 1 ) ;   A d a m;   M S E ;   b a t c h   s i z e   =   5 1 2 ;   1 0   e p o c h s       2. 9 .   E x perim ent a l  v a lid a t io n   T h e  p r o p o s ed   m o n ito r i n g   s y s tem   was  ex p er im en tally   v alid ated   u s in g   a  ca lib r ated   HP  3 4 7 8 A  in d u s tr ial  m u ltime ter   as  r ef er en ce   in s tr u m en tatio n   [ 2 4 ] .  A  to tal  o f   8 0   v o ltag e  m ea s u r em en ts   wer e  ac q u ir ed   an d   c o m p ar e d   with   th o s e  o b tain ed   b y   th e  p r o p o s ed   m o n ito r in g   s y s tem .   M ea s u r em en t  ac cu r ac y   an d   lin e ar ity   wer e  ev alu ate d   u s in g   MA E ,   R MSE ,   an d   th e   co ef f icien t   o f   d eter m in atio n   2 ,  m ea n   ab s o lu te   p er ce n tag e   er r o r   ( MA PE) ,  m ax im u m   p er ce n tag e   er r o r ,   an d   lin ea r   r e g r ess io n   an aly s is .   T h e  p er ce n tag e  er r o r   was c alc u lated   as   ( 1 1 ) .       ( % ) =   | −     |   × 100   ( 1 1 )     W h er e:     r ep r esen ts   th e  v o ltag e  m ea s u r ed   b y   th e  HP  3 4 7 8 A  r ef er en ce   in s tr u m en t;   an d      co r r esp o n d s   t o   th e  v o ltag e   m ea s u r ed   b y   th e  p r o p o s ed   E SP 3 2 - b ased   m o n ito r i n g   s y s tem .   T h e   ca lcu lated   v alid atio n   m etr ics  wer e   u s ed   to   ass ess   th e  m ea s u r em en t a g r ee m en t,   ac cu r ac y ,   an d   lin ea r ity   o f   th e  p r o p o s ed   m o n it o r in g   a r ch itectu r e .       3.   RE SU L T S AN D  D I SCU SS I O N   3 . 1 .     E x perim ent a l  v a lid a t io n r esu lt s   T h e  p r o p o s ed   E SP 3 2 - b ased   m o n ito r in g   s y s tem   was  ex p e r im en tally   v alid ated   u s in g   a   ca l ib r ated   HP  3 4 7 8 A  in d u s tr ial  m u ltime ter   a s   th e  r ef er en ce   in s tr u m en t .   A  to tal  o f   8 0   v o ltag e  m ea s u r em en ts   wer e  ac q u ir ed   u n d er   th e   o p e r atin g   co n d itio n s   o f   th e   m o n ito r ed   r esid en ti al  elec tr ical  in s tallatio n   an d   co m p ar ed   with   th e   co r r esp o n d in g   m ea s u r em en ts   o b tain ed   b y   th e  p r o p o s ed   s y s tem .   T h e  v alid atio n   was  p er f o r m ed   u s in g   th e  s am e  elec tr ical  in s tallatio n   an d   m ea s u r em en t c o n f ig u r atio n   d escr i b ed   in   s ec tio n   2 . 9 .   T h e  co m p ar is o n   was  p e r f o r m ed   u s in g   th e   r e f er en ce   v o ltag e  as  th e   m ea s u r e m en t   b aselin e.   T h e  m ea s u r em en t e r r o r   was c alcu lated   f o r   ea ch   o b s er v atio n   ac co r d in g   to   th e  d if f e r en ce   b e twee n   th e  r ef er en ce   in s tr u m en t  an d   th e  E SP 3 2 - b a s ed   s y s tem .   Me asu r em en t  ag r ee m en t  was  s u b s eq u en tly   ev a lu ated   u s in g   MA E ,   R MSE ,   MA PE,   m ax im u m   p er ce n tag e  er r o r ,   R ²,   an d   lin ea r   r eg r ess io n   an aly s is .   R ep r esen ta tiv e  m ea s u r em en ts   ar e  p r esen ted   i n   T ab le  2 ,   wh ile   th e  co m p lete  s et  o f   8 0   o b s er v a tio n s   was  u s ed   to   ca lcu late  th e  v alid atio n   m etr ics.   T h e  q u a n titativ e  v alid atio n   r esu lts   ar e  s u m m ar ized   in   T ab le  3 .   T h e  p r o p o s ed   s y s tem   ac h iev e d   an   MA E   o f   0 . 0 2 4 6   V,   R MSE   o f   0 . 0 2 7 6   V,   MA PE  o f   0 . 0 1 9 9 %,  m ax im u m   p er ce n ta g e  er r o r   o f   0 . 0 4 0 5 %,  an d   R ²  =  0 . 9 9 8 9 .   L in ea r   r e g r ess io n   p r o d u ce d   a  s lo p e   co e f f icien t  o f   0 . 9 9 5   an d   a   co r r elatio n   c o e f f icien t  o f   0 . 9 9 9 4 ,     Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 6 9 4   I n t J Po w  E lec  &   Dr i Sy s t ,  Vo l.  1 7 ,   No .   4 ,  Dec em b er   20 2 6 :   3075 - 3 09 0   3082   in d icatin g   a   s tr o n g   ag r ee m e n t   b etwe en   th e   p r o p o s ed   s y s tem   an d   t h e  r e f er en ce   in s tr u m en t.   T h e  e x p er im e n tal  r esu lts   d em o n s tr ate  th at  th e  p r o p o s ed   m o n ito r i n g   ar c h itectu r e  ac h iev ed   ex ce llen t  m ea s u r e m en t  ac cu r ac y   an d   lin ea r ity   [ 2 5 ] .       T ab le  2 .   C o m p a r is o n   b etwe en   th e  r ef er en ce   in s tr u m en t a n d   t h e  p r o p o s ed   m o n ito r in g   s y s tem   O b serv a t i o n   H P   3 4 7 8 A   ( V )   ESP 3 2   s y st e m (V )   1   1 2 2 . 3 7   1 2 2 . 3 9   20   1 2 4 . 9 8   1 2 4 . 9 4   40   1 2 3 . 2 2   1 2 3 . 2 0   60   1 2 2 . 1 6   1 2 2 . 1 5   80   1 2 4 . 0 8   1 2 4 . 0 6       T h ese  r esu lts   in d icate   th at   th e  p r o p o s ed   lo w - co s t  ac q u is itio n   s y s tem   p r o v id es  co n s is ten t  v o ltag e  m ea s u r em en ts   u n d er   th e   test ed   r esid en tial  o p e r atin g   c o n d itio n s .   T h e  o b s er v ed   er r o r s   wer e  c o n s id er ab ly   s m aller   th an   th e   n atu r al  v o ltag e  v ar iatio n s   p r esen t   in   t h e  m o n ito r e d   el ec tr ical  n etwo r k ,   in d icatin g   t h at  th e  m ea s u r em en t   er r o r   h ad   a  lim ited   ef f ec t   o n   th e   s u b s eq u en t   s tatis tical  an d   f o r ec asti n g   an aly s es.   Fig u r e   3   co m p ar es th e   v o ltag e   m ea s u r em en ts   ac q u i r ed   b y   t h e   p r o p o s ed   m o n ito r i n g   s y s tem   with   th o s e  o b tai n ed   f r o m   th e  HP 3 4 7 8 A   r ef er e n ce   in s tr u m en t.  T h e  s ca tter   d is tr ib u tio n   ex h ib its   a n   alm o s t  i d ea l  lin ea r   r el atio n s h ip ,   d em o n s tr atin g   ex ce llen t   ag r ee m en t b etwe en   th e  two   m ea s u r em en t sy s tem s .   T h e  v alid atio n   s h o u ld   n e v er th eless   b e  in ter p r eted   with in   its   ex p er im en tal  s co p e.   T h e  co m p ar is o n   was   p er f o r m ed   u s in g   o n e   ca lib r at ed   r ef er e n ce   in s tr u m e n t,  o n e   r esid en tial  in s tallatio n ,   an d   th e  o p er atin g   v o ltag e   co n d itio n s   a v ailab le  d u r in g   t h e  v alid atio n   m ea s u r em en ts .   T h er ef o r e,   t h e  r esu lts   d em o n s tr ate  m ea s u r em en t   ag r ee m en t  a n d   ac cu r ac y   u n d er   th e   test ed   co n d itio n s   r a th er   th an   co n s titu tin g   a  c o m p lete  m etr o lo g ical  u n ce r tain ty   c h ar ac ter izatio n   o r   a  m u lti - lev el  v o ltag e  ca lib r atio n   s tu d y .   Fu r th e r   v alid atio n   u n d e r   c o n tr o lled   v o ltag e  lev els  a n d   d if f e r en t  el ec tr ical  lo ad in g   co n d itio n s   w o u ld   b e  r eq u ir e d   to   estab lis h   th e  b eh a v io r   o f   th e   s y s tem   o v er   a  b r o ad er   o p e r atin g   r an g e.       T ab le  3 .  E x p er im en tal  v alid atio n   r esu lts   M e t r i c   R e s u l t   M A E   0 . 0 2 4 6   V   R M S E   0 . 0 2 7 6   V   M A P E   0 . 0 1 9 9   %   M a x i m u m   p e r c e n t a g e   e r r o r   0 . 0 4 0 5   %   Ex p e r i m e n t a l   R ²   0 . 9 9 8 9           Fig u r e  3 .   E x p er im e n tal  v alid at io n : H P 3 4 7 8 A  v er s u s   E SP 3 2     Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Po w  E lec  &   Dr i Sy s t     I SS N:   2088 - 8 6 9 4       V o lta g e  fo r ec a s tin g   in   I o T sys tems:  c la s s ica l a n d   A I   mo d els   ( S a n d r o   C a r n eiro   R ib eiro )   3083   3 . 2 .     St a t is t ica l a na ly s is   o f   v o lt a g e  s er ies   Fo llo win g   th e  ex p er im en tal  v a lid atio n   o f   th e  p r o p o s ed   m o n it o r in g   ar ch itectu r e,   th e  lo n g - te r m   v o ltag e  m ea s u r em en ts   ac q u ir ed   b y   th e  I o T   s y s tem   wer e  s tat is tica lly   an aly ze d   to   ch ar ac ter ize  th e  te m p o r al  b eh a v io r   o f   th e  m o n ito r ed   elec tr ical  n etw o r k .   Alth o u g h   th e  p r o p o s ed   m o n ito r in g   s y s tem   co n tin u o u s ly   m ea s u r es  v o ltag e,   cu r r en t,  ac tiv e  p o we r ,   f r eq u en cy ,   an d   p o wer   f ac to r ,   th e  f o r e ca s tin g   an aly s is   in   th is   s tu d y   f o cu s es  s p ec if ically   o n   v o ltag e.   T h is   s elec tio n   was  m ad e  b ec au s e  v o ltag e   is   th e   p r im ar y   v ar iab le   o f   in ter e s t  f o r   e v alu atin g   s h o r t - ter m   v o ltag e   p r ed icta b ilit y   an d   f o r   in v esti g atin g   t h e  tem p o r al  s tr u ctu r e  o f   th e  elec tr ical  n e two r k .   Fo cu s in g   th e   f o r ec asti n g   an al y s is   o n   a  s in g l e  elec tr ical  v ar iab le  also   allo ws  th e  s tatis tica l  ch ar ac ter izatio n   an d   co m p ar is o n   o f   all   f o r ec asti n g   m o d els to   b e   p er f o r m ed   u n d e r   a  clea r ly   d ef in ed   an d   co n tr o lled   tar g et.   T h e  o th er   m ea s u r ed   elec tr ical  q u an titi es  r em ain   r elev an t  t o   th e  b r o a d er   m o n ito r i n g   ca p ab i lity   o f   th e   p r o p o s ed   s y s tem .   C u r r en t  an d   ac tiv e  p o wer   ca n   p r o v i d e  in f o r m atio n   ab o u t  lo ad   b e h av i o r   an d   v ar iatio n s   in   elec tr ical  d em an d ,   wh ile  f r eq u en cy   an d   p o wer   f ac to r   p r o v id e  co m p lem en tar y   in f o r m atio n   ab o u t  o p er atin g   co n d itio n s   a n d   p o wer - q u ality   ch ar ac ter is tics .   T h ese  v ar iab le s   co u ld   th e r ef o r e  b e   in co r p o r a ted   as  ex p lan ato r y   o r   ex o g en o u s   v ar iab les  in   f u t u r e  f o r e ca s tin g   s tu d ies,  p o ten t ially   p r o v id i n g   ad d itio n al  in f o r m ati o n   f o r   v o ltag e   p r ed ictio n   an d   en ab lin g   b r o a d er   an aly s es  o f   elec tr ical  en er g y   an d   p o wer - q u ality   b eh av i o r .   Ho wev er ,   th eir   in clu s io n   is   o u ts id e  th e  f o r ec a s tin g   s co p e  o f   th e   p r esen t stu d y .   T h e  m o n ito r in g   ca m p aig n   g e n er ated   a  lar g e  r ea l - wo r ld   v o lta g e  d ataset  co llected   o v er   ap p r o x im ately   eig h t  m o n th s .   T h e   lar g e  n u m b er   o f   o b s er v atio n s   p r o v id es  a  s u itab le  b asis   f o r   s tatis tical  ch ar ac ter izatio n   a n d   s u b s eq u en t  f o r ec asti n g   ev alu a tio n .   T h e  d escr ip tiv e  s tatis tica l  p ar am eter s   o f   th e  m o n ito r ed   v o ltag e  s er ies  ar e  s u m m ar ized   in   T a b le  4 .   T h e  m o n ito r e d   v o ltag e  s er ies  ex h ib ited   r elativ ely   lo w  d is p e r s io n   ar o u n d   th e  m ea n   v alu e ,   in d icatin g   p r ed o m i n an tly   s tab le  s h o r t - ter m   b eh av io r ,   alth o u g h   v o ltag e  ex cu r s io n s   wer e  o b s er v e d   d u r in g   th e  m o n ito r in g   p er io d .   Fig u r e  4   illu s tr ates  th e   tem p o r al  ev o lu tio n   o f   th e  m o n ito r ed   v o ltag e  s er ies.  T h e  m e asu r em en ts   ex h ib it   s m o o th   tr an s itio n s   a n d   s tr o n g   co n tin u ity   b etwe en   c o n s ec u tiv e  o b s er v atio n s ,   p r o v id in g   e v id en ce   o f   s ig n if ican t   tem p o r al  d ep en d e n ce   an d   s h o r t - ter m   p r e d ictab ilit y .   T h e  o b s er v ed   v o ltag e  d y n am ics  ar e  co n s is ten t  with   th e  ex p ec ted   b e h av io r   o f   elec tr ic al  d is tr ib u tio n   s y s tem s ,   in   wh ich   s h o r t - ter m   v o ltag e  v ar iatio n s   g en er ally   o cc u r   g r ad u ally   as  a   co n s eq u en ce   o f   lo ad   f lu ct u atio n s ,   n etwo r k   i m p ed an ce   ch ar ac te r is tics ,   an d   v o lta g e   r eg u latio n   m ec h an is m s   [ 2 6 ] .   As  a  r esu lt,   co n s ec u tiv e  v o ltag e  s am p les  r etain   s u b s tan tial  p r ed ictiv e  in f o r m atio n ,   m ak in g   th e  s er ies p ar ticu lar ly   s u itab le  f o r   s h o r t - ter m   f o r ec asti n g   ap p licatio n s .       T ab le  4 .   Statis tical  an aly s is   o f   th e  m o n ito r e d   v o ltag e  s er ies   S t a t i st i c a l   p a r a me t e r   V a l u e   M e a n   v o l t a g e   1 2 6 . 1 5   V   S t a n d a r d   d e v i a t i o n   2 . 8 6   V   M i n i m u m   v o l t a g e   1 0 7 . 1 0   V   M a x i m u m   v o l t a g e   1 3 5 . 1 0   V           Fig u r e  4 .   T e m p o r al  e v o lu tio n   o f   th e  m o n ito r e d   v o ltag e   s er ies       3. 3 .    St a t io na rit y   a nd   t em po ra l dependency   a na ly s is   T o   c h a r a c t er i z e   th e   s t a t i s t i c a l   p r o p e r t i e s   a n d   t e m p o r a l   d ep en d en c e   o f   t h e   m o n i t o r e d   v o l ta g e   s e r i e s ,   a n   au g m e n te d   d i ck e y - f u l l e r   ( A D F )   t e s t   w a s   i n i t i a l ly   a p p l i ed   to   th e   7 7 2 7 7 2   v o l t ag e   o b s er v a t i o n s   u s ed   in   t h e  s t a t i s t i c a l   a n a l y s i s .   T h e  t e s t  y i e l d ed   a   s t a t i s t i c  o f   − 4 8 . 7 6 6 2 ,   w i th   a   p - v a l u e   b e l o w  0 . 0 0 1 ,   p r o v id i n g   s t r o n g   e v i d en c e   a g a in s t   t h e   n u l l   h y p o t h e s i s   o f   a   u n i t   r o o t   a n d   s u p p o r t in g   t h e   s t a t io n ar i t y   o f   t h e  m o n i to r e d   v o l t ag e  s e r i e s .   T o   a s s e s s   t h e   r o b u s tn e s s   o f   t h i s   r e s u l t   w i th   r e s p e c t   t o   th e   la g   s p e c i f i ca t i o n ,   t h e   A D F   t e s t   w a s   a d d i t io n a l ly   ev a l u a t e d   u s i n g   f i x e d   la g   o r d e r s   o f   5 ,   1 0 ,   2 0 ,   4 0 ,   a n d   6 0 .   I n   a l l   ca s e s ,   t h e  n u l l   h y p o t h e s i s   o f   a   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 6 9 4   I n t J Po w  E lec  &   Dr i Sy s t ,  Vo l.  1 7 ,   No .   4 ,  Dec em b er   20 2 6 :   3075 - 3 09 0   3084   u n i t  r o o t   wa s   s t r o n g l y   r e j ec t ed   ( p   <   0 . 0 0 1 ) ,   i n d i c a t in g   t h a t t h e   s t a t io n ar i t y   c o n c lu s i o n   w as   n o t  d ep en d en t   o n   a   s i n g l e  l a g   s p e c if i c a t io n .   T h e  ADF  test ,   h o wev er ,   p r o v id es  in f o r m atio n   ab o u t  s tati o n ar ity   an d   d o es  n o t   b y   its elf   estab lis h   wh eth er   th e  v o ltag e  s er ies is   d eter m in is tic,   n o n lin ea r ,   o r   p r e d ictab le   [ 2 7 ] .  T h e r ef o r e,   th e  te m p o r al  d ep en d en ce   o f   th e  s er ies  was  f u r th er   ex a m in ed   u s in g   th e  a u to co r r elatio n   f u n ctio n   ( AC F)  an d   p ar tial  au to co r r elatio n   f u n ctio n   ( PAC F).   T h e  AC F  m ea s u r es  th e  co r r elatio n   b etwe en   o b s er v atio n s   s ep ar ated   b y   d if f er en t   lag s ,   wh er ea s   th e   PAC F   m ea s u r es  th e  d ir ec t  co r r elatio n   at  a  g iv en   lag   af ter   ac co u n tin g   f o r   th e  ef f ec ts   o f   s h o r ter   lag s .   T h e  AC F   r esu lts   ar e  p r esen ted   in   Fig u r e   5 ,   an d   th e  PAC F r esu lts   in   Fi g u r e  6 .   T h e  AC F  ex h ib ited   s tr o n g   p o s itiv e  au to co r r elatio n   o v er   th e   in itial  lag s   an d   r em ain e d   h ig h   o v e r   a n   ex ten d ed   lag   r an g e.   Fo r   ex am p le,   th e  AC F  was 0 . 9 7 1 3 6 9   at  lag   1   an d   r em ain ed   0 . 8 5 1 2 0 0   at  lag   1 0 ,   in d icatin g   s u b s tan tial  p er s is ten ce   in   th e  v o ltag e  s er ies.  I n   c o n tr ast,  t h e   PAC F  ex h ib ited   a  m ar k ed ly   d o m in an t   f ir s t  lag ,   with   PAC F  ( 1 )   =  0 . 9 7 1 3 6 9 ,   f o l lo wed   b y   a  s u b s tan tially   s m aller   PAC F(2 )   =  0 . 1 4 1 6 6 4   an d   P AC F(3 )   =  0 . 0 6 9 6 4 9 .   T h is   p atter n   in d icate s   th at  th e  im m ed iately   p r ec ed in g   v o ltag e  o b s er v atio n   r ep r esen ts   th e  d o m in an t  d ir ec t   tem p o r al  d e p en d e n cy ,   wh ile  t h e  co n tr ib u tio n   o f   s u b s eq u e n t   lag s   is   co n s id er ab ly   s m aller   af ter   ac co u n tin g   f o r   th e  p r ec ed in g   o b s er v atio n s .   T h e  f iv e - lag   co n f ig u r atio n   s u b s eq u en tly   a d o p ted   in   th e  f o r ec asti n g   m o d els  was  th er ef o r e   s elec ted   to   r ep r ese n t  th e  s h o r t - ter m   tem p o r al  d e p en d en ce   id e n tifie d   in   th e  s er ies  wh ile  m ain tain in g   a   co m p ac t  in p u t   r ep r esen tatio n .   T h e  s elec tio n   was  also   co n s is ten t  with   th e   f o r ec asti n g   o b jecti v e  o f   p r ed ictin g   th e   n ex t r ec o r d ed   v o ltag e  o b s er v a tio n   r ath er   t h an   m o d elin g   l o n g - ter m   s ea s o n al  b eh a v io r .           Fig u r e  5 .  A u t o co r r elatio n   f u n c tio n   ( AC F)           Fig u r e  6 .  P ar tial a u to c o r r elatio n   f u n ctio n   ( PAC F)       T h e  eig h t - m o n th   m o n ito r in g   p er io d   p r o v id es  s u f f icien t  te m p o r al  co v er ag e  to   o b s er v e  th e  n atu r al   v ar iatio n   o f   th e  r esid en tial  el ec tr ical  in s tallatio n .   Ho wev er ,   th e   s tatis tical  an aly s es  p r esen ted   h e r e  d o   n o t   estab lis h   th e  ex is ten ce   o r   ab s en ce   o f   f o r m al  d aily   o r   s ea s o n al  co m p o n en ts .   Su ch   p atter n s   m ay   b e  in f lu e n ce d   b y   h o u s eh o ld   o p e r atin g   co n d itio n s   an d   o th er   ex ter n al  f ac to r s   an d   wo u ld   r eq u ir e   d ed icate d   s ea s o n al  d ec o m p o s itio n   o r   lo n g er - ter m   co m p a r ativ e  an aly s is .   T h e  p r esen t  s tu d y   th er ef o r e  f o c u s es  o n   th e  s h o r t - ter m   tem p o r al   d ep e n d e n ce   r elev a n t to   th e  f o r ec asti n g   task   [ 2 8 ] .   Evaluation Warning : The document was created with Spire.PDF for Python.