I nte rna t io na l J o urna l o f   E lect rica l a nd   Co m pu t er   E ng ineering   ( I J E CE )   Vo l.   1 6 ,   No .   2 A p r il   20 2 6 ,   p p .   663 ~ 674   I SS N:  2088 - 8 7 0 8 ,   DOI : 1 0 . 1 1 5 9 1 /ijece. v 1 6 i 2 . pp 6 6 3 - 6 7 4           663       J o ur na l ho m ep a g e h ttp : //ij ec e. ia esco r e. co m   Desig n and   imple menta tion o f  sma rt  me ter fo r opti mizing  and  ma na g ing  elect ric a l energy   in Mo ro cco       Alhu s s ein  B a g a y o g o 1 ,   O ma K a bo uri 1 ,   Abo ub a k E l   M a k rini 1 ,   M o ha m ed  Aze ro ua l 2   H a s s a ne  E l Ma rk hi 1   1 S c i e n c e   a n d   En g i n e e r i n g   R e se a r c h   L a b o r a t o r y ,   F a c u l t y   o f   S c i e n c e a n d   Te c h n o l o g y ,   S i d i   M o h a me d   B e n   A b d e l l a h   U n i v e r s i t y ,     F e z ,   M o r o c c o   2 S EI M C   R e se a r c h   G r o u p ,   LA S M A R   La b o r a t o r y ,   H i g h e r   S c h o o l   o f   Te c h n o l o g y ,   M e k n e s,   M o u l a y   I smai l   U n i v e r s i t y ,   M e k n e s ,   M o r o c c o       Art icle  I nfo     AB S T RAC T   A r ticle  his to r y:   R ec eiv ed   J u l 1 ,   2 0 2 5   R ev is ed   J an   7 ,   2 0 2 6   Acc ep ted   J an   1 6 ,   2 0 2 6       Th e   g ro wt h   o re n e wa b le  e n e rg y   so u rc e n e c e ss it a tes   th e   u se   o a c c u ra te  a n d   fa st  sm a rt  m e ter  so lu ti o n s.   Th is  a rti c le  p re se n ts  a   lo w - c o st   in ter n e t   o f   th i n g s   ( Io T b a se d   sm a rt  m e ter  a d a p ted   to   th e   M o r o c c a n   e lec tri c it y   g rid ,   su p p o rti n g   b id irec ti o n a e n e rg y   m e a su re m e n t,   D LM S /CO S EM - b a se d   c o m m u n i c a t i o n   a n d   c o n t r o l   r e la y s   f o r   a u t o m a te d   e n e r g y   fl o w   m a n a g e m e n t .   T h e   e x p e r ime n tal   v a li d a ti o n   s h o ws   a   m a x im u m   m e a su re m e n e rr o r   o les s   t h a n   ± 0 . 5 % ,   sa ti sfy in g   th e   I EC - o rien ted   a c c u r a c y   re q u irem e n ts.  T h e   m e a s u re d   e n d - to - e n d   late n c y   is   a p p r o x ima te l y   7 0 0   m s ,   in c l u d i n g   d a ta   a c q u is i ti o n   (≈ 4 5 0   m s),   si g n a l   p r o c e ss in g   (≈ 6 0   m s ),   d a ta   se r i a li z a t i o n   (≈ 7 5   m s ) ,   n e t wo r k   t r a n sm iss i o n     (≈ 9 0   m s) ,   a n d   se r v e r - s i d e   p r o c e s si n g   (≈ 2 5   m s) .   Th e se   re su l ts  d e m o n stra te   th a t h e   p r o p o se d   sy ste m   a ll o ws   a n   a lmo st  re a l - ti m e   m o n it o ri n g   a n d   c o n tr o l   o imp o rted   a n d   e x p o rted   e n e rg y ,   wh ich   m a k e it   su i tab le  f o r   th e   i n teg ra ti o n   o re sid e n ti a l   re n e wa b le en e rg ies   a n d   t h e   a p p l ica ti o n   o sm a rt  g r id s .   K ey w o r d s :   DL MS/C O SEM   E n er g y   tr an s itio n   PV te ch n o lo g y   R en ewa b le  en er g y     Sm ar t e n er g y   m eter   Su s tain ab ilit y   T h is i 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 :   Alh u s s ein   B ag ay o g o   Dep ar tm en t o f   E lectr ical  E n g i n ee r in g ,   Scien ce   a n d   E n g in ee r in g   R esear ch   L ab o r at o r y ,   Facu lty   o f   Scien ce s   an d   T ec h n o lo g y ,   Sid i M o h am ed   B en   Ab d ellah   Un iv e r s ity   Fez  3 0 0 0 0 ,   Mo r o cc o   E m ail:  alh u s s ein . b ag ay o g o @ u s m b a. ac . m a       1.   I NT RO D UCT I O N   T h g lo b al  en e r g y   tr an s itio n   s ee k s   to   r ed u ce   d e p en d e n ce   o n   f o s s il  f u els  b y   p r o m o tin g   r en ewa b le   s o u r ce s   s u ch   as  s o lar   an d   win d   en er g y .   B en ef itin g   f r o m   ab u n d an t   r en ewa b le   r eso u r ce s ,   Mo r o cc o   h as  s et  an   am b itio u s   g o al  o f   r ea ch in g   5 2 % r en ewa b le  en er g ies in   its   en er g y   m ix   b y   2 0 3 0   [ 1 ] ,   [ 2 ] .   Ho wev er ,   th ef f ec tiv in teg r atio n   o f   th ese  r eso u r ce s   r eq u ir es  ad v an ce d   en er g y   m an ag em en s o lu tio n s   ca p ab le  o f   h an d li n g   th e   d y n am ic  an d   b id ir ec tio n al  en er g y   ex c h an g es  in h e r en in   r e n ewa b le  en er g y   s y s tem s   [ 3 ] [ 5 ] .   Sm ar m eter in g   an d   in ter n et  o f   th in g s   ( I o T )   b ased   en er g y   m o n ito r in g   s y s tem s   h av b ec o m e   p o p u lar   r esear ch   to p ic  f o r   im p r o v in g   p o wer   q u ality ,   en er g y   ef f icien c y ,   an d   d em an d - s id m an ag em en t.  Mo r ales,  Mo r ales - Vela zq u ez     et  a l.   [ 6 ]   in tr o d u ce d   a   d is tr ib u ted   s m ar s en s o r   n etwo r k   f o r   p o wer   q u ality   m o n ito r in g ,   wh ich   is   m ain ly   a b o u t   h ar m o n ic   an aly s is   an d   m u lti - n o d a r ch itectu r es.  Alth o u g h   th is   m eth o d   wo r k s   well  f o r   th m o n ito r in g   o f   elec tr ical  in s tallat io n s ,   it  i s   n o esp ec ially   aim ed   at  lo w - co s s m ar en er g y   m eter in g .   T h er h av also   b ee n   s tu d ies  in to   lo w - co s m icr o co n tr o ller - b ased   s o lu tio n s .   Ab ed   an d   Naser   [ 7 ]   r e v ea led   an   E SP 3 2 - b ased   s m ar t   p o wer   m eter   with   wir eless   co n n ec tiv ity ,   y et  th e r was  alm o s n o   c o n s id er atio n   o f   m ea s u r em en ac cu r ac y   an d   laten cy .   I n   th s am way ,   Vician et  a l.   [ 8 ]   ca m u p   with   a n   o p en ,   h ar d war I o T   p latf o r m   ca p ab le  o f   p o we r   q u ality   an d   e n er g y - s av in g   ap p licatio n s ,   wh er e   th e m p h as is   was  o n   m o d u lar ity   r ath e r   th an   m etr o lo g ical   p er f o r m an ce .   I n   th m o s r ec en wo r k s ,   I o T - b ased   s m ar m eter s   h a v b ee n   c o m b in ed   with   en er g y   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   2 Ap r il   20 2 6 :   6 6 3 - 674   664   m an ag em en an d   m o n ito r i n g   s er v ices  at  a   h ig h er   lev el.   Ah am m ed   an d   Kh an   [ 9 ]   co n ce n tr ated   o n   d em an d - s id e - s id m an ag em en a n d   p o wer   q u ality   is s u es  in   d ev elo p i n g   co u n tr ies,  wh er ea s   Gar s   et  a l.   [ 1 0 ]   tar g eted   r ea l - tim m o n ito r in g   an d   cl o u d   in teg r atio n .   Nev e r th eless ,   b o th   p ap e r s   o n l y   s h o w   l im ited   q u a n titativ ev alu atio n   o f   ac cu r ac y   an d   r e s p o n s tim e.   Fu r th er   s tu d ies  d ea with   d if f er en f ac ets  lik d ata  an aly tics   [ 1 1 ]   an d   p r i v ac y ,   p r eser v in g   co m m u n icatio n   p r o to c o ls   [ 1 2 ] ,   th au th o r s   h av in g   i n   m in d   r eliab le  m eter in g   h ar d war e.   Fin ally ,   cu r r en s m ar m eter s .   also   h av p r o b lem s   with   co m m u n icatio n   an d   r ea l - tim d ata  s ec u r ity ,   wh ich   n eg ati v ely   af f ec ts   th t r an s p ar en cy   an d   r eliab ilit y   o f   th elec tr icity .   I n   r esp o n d in g   to   th ese  p r o b lem s ,   th is   r esear ch   p r o p o s es  to   d esig n   s m ar m eter   th at  is   p ar ticu lar ly   ad ap ted   to   b o t h   r en ewa b le  en er g y   an d     non - r e n ewa b le  en er g y   m an a g em en in   Mo r o cc o   [ 1 2 ] ,   [ 1 3 ] .   T h is   n ew  d ev ice  will  h av two   im p o r tan in n o v atio n s i)   an   im p o r t - ex p o r f ea tu r s o   th at  th u s er   ca n   tr ac k   p r ec is ely   all  in co m in g   an d   o u tg o i n g   f lo ws   an d   th er e b y   o p tim ize  m an a g em en an d   v alo r izatio n   o f   p r o d u ce d   en er g y   lo ca lly ;   ii)   co m m u n icatio n s   p r o to co s u ch   as  d ev ice  lan g u ag m ess ag s p ec if icatio n   ( D L MS)   th at  also   ca n   en s u r s af e,   tim ely   tr an s f er   o f   en er g y   d ata  wh ile  h elp i n g   to   b o ls ter   ac co u n ta b ilit y   an d   tr u s in   th en er g y   s y s tem an d   iii)  f ea tu r with   co n tr o l r ela y s   to   m an ag e   lo ad s   an d   d etec t f r au d .   T h s m ar e n er g y   m a n ag em e n s y s tem   in   Fig u r 1   h as   s m a r m eter ,   b atter y   s to r a g s y s t em ,   an d   r en ewa b le  en er g y   s o u r ce   u tili zin g   d ir ec cu r r en ( DC )   b u s   to   ef f icien tly   d is tr ib u te  e n er g y   b ef o r co n v er s io n   to   alter n atin g   cu r r en ( AC )   v ia  DC /AC   in v er ter .   At  th ce n ter   o f   th a r ch itectu r e,   th s m ar m eter   is   p o s itio n ed   to   m o n ito r   en e r g y   tr an s ac tio n s   b etwe en   lo ad s ,   th p o wer   g r id ,   an d   also   th e   u n its   th at  p r o d u ce   p o wer   f r o m   r en ewa b le  en er g y   s o u r ce s .   I n   ad d itio n ,   th s m ar m eter   p r o v id es  d ata  co m m u n icatio n s   to   m an ag en er g y   s o   th at  it  ca n   b d o n with o u o v er lo a d   o r   f r au d .   W h ile  o n   th DC   b u s ,   it  h as  alter n ativ s o u r ce s   an d   b atter y   s to r ag e,   s o   it  h as  en e r g y   au to n o m y ,   ev en   if   th p r o d u ctio n   is   er r atic.   T h AC   b u s   h an d les  all  th d is tr ib u ted   en er g y   to   d o m esti c   an d   in d u s tr ial  lo ad s   with   g r i d   s u p p ly ,   s o   th er is   s u p p ly   a t a ll tim es.             Fig u r 1 .   T h n etwo r k   s ch em a tic  in clu d es a   n ew  s m ar t m eter       T h e   d o c u m e n t   c o n s is ts   o f   f i v e   m a i n   s e ct i o n s ,   w h i c h   t h s ec t i o n   2   d e s c r i b i n g   h o w   t h r e s ea r ch   h a s   b e e n   c a r r i e d   o u t .   S e ct i o n   3   r e v ea l s   th e   d e s i g n   a n d   f e a t u r es   o f   t h e   n e w l y   d e v e l o p e d   s m a r t   m et e r .   Se c t i o n   4   i l l u s t r at e s   c a s e   s t u d y   t h a t   s h o w s   t h e   p r a c t i c a l   u s a g e   o f   t h e   r e s u l ts .   T h e n ,   s e c t i o n   5   p r o v i d e s   a   t h o r o u g h   d i s c u s s i o n   o f   t h e   r e s e a r c h   t o g et h e r   w it h   t h e   r es u l ts   f r o m   t h e   c a s e   s t u d y .   F in a l l y ,   s ec t i o n   6   c o n cl u d e s   w it h   f i n a l   n o t es   a n d   r e c o m m e n d a t i o n s   f o r   f u t u r e   r e s e a r c h .       2.   M E T H O   T h th r ee - p h ase  s m ar m eter   d ev elo p e d   in   th is   p ap er   aim s   to   o p tim ize  en e r g y   m an ag em en i n     r ea l - tim b y   ac cu r ately   m ea s u r in g   t h im p o r t   an d   ex p o r t   o f   elec tr icity .   Pro ce d u r e   in   Fig u r 2   is   b eg u n   with   en er g y   s u p p l y   d ata  r ec o r d i n g ,   wh ich   m ak es  tr ac in g   b o th   en er g y   p r o d u ctio n   as  well  a s   en er g y   co n s u m p tio n   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         Desig n   a n d   imp leme n t a tio n   o f sma r t m eter fo r   o p timiz in g   a n d     ( A lh u s s ein   B a g a y o g o )   665   f ea s ib le.   v alid atio n   o f   e n er g y   s o u r ce s   is   also   m ad e   in   o r d e r   to   estab lis h   o p er atio n al  en e r g y   f l o ws.  T h e   d ata   ar u tili ze d   in   o r d er   to   m ea s u r in   r ea tim r an g o f   elec tr ic  p ar am eter s   r eg ar d in g   en e r g y   im p o r as  well  as  en er g y   e x p o r t,  wh ic h   ar v o lt ag ( V) ,   cu r r e n ( A) ,   ap p ar en t   p o wer   ( S),   ac tiv p o wer   ( P),   r ea ctiv p o wer   ( Q) ,   en er g y   u tili ze d   ( k W h ) ,   as  well  as  p o wer   f ac to r   ( PF ) .   T h s y s tem   also   in co r p o r ates  ad v a n ce d   f u n ctio n alities   th at  en tail  f r eq u e n cy   as  well  as  p o wer   f ac to r   m ea s u r em en a s   well  as  es tab lis h in g   o v er all  h ar m o n ic  d is to r tio n   v o ltag as  well  as  c u r r e n [ 1 4 ] ,   [ 1 5 ] .   All  th ese  m ea s u r es  en ab le  u s   t o   m ea s u r co r r ec tl y   en er g y   ex ch a n g d y n am ics  in   th n etwo r k .   T h e   g ath er ed   d ata  ar tr an s f er r ed   in to   r elay   co n tr o m o d u le,   wh ich   is   es s en tial  in   f r au d   d etec tio n   as we ll a s   in   d etec tin g   n o n c o n f o r m ities .           Fig u r 2 .   T h p r o ce s s   f lo wch a r t       co m m u n icatio n s   m o d u le  t h en   f ac ilit ates  in f o r m atio n   tr an s f er   v ia  a   web   in ter f ac as  also     clien t - s er v er .   T h is   allo ws  en er g y   d ata  to   b m o n ito r ed   in   r em o te  f o r m   as  well  as   p r o m o t en er g y   f lex ib ilit y   b y   d y n am ically   m o d u latin g   en er g y   f lo ws  ac co r d in g   to   d em an d s .   I n   a d d itio n ,   liv d ata  tr an s f er   s u p p o r ts   an ticip ato r y   p o wer   g r id   m an ag em en t,  wh ich   allo ws  u s er s   as  well  as  p o wer   g r id   o w n er s   to   co o r d in ate   co n s u m p tio n   with   p r o d u ctio n   v ar iab ilit y .       3.   DE S I G AND  F UN CT I O O F   A   SM A R T   M E T E R   T h d esig n   o f   th is   s ca lab le   s m ar m eter   h as  b ee n   m ad e   u s in g   s ev er al   k ey   co m p o n e n ts   t o   o p tim ize  elec tr icity   m an ag em e n t,  im p o r t,  an d   ex p o r t.  T h ese  in clu d m icr o co n tr o ller   HT 5 0 2 3   th a en s u r es  in tellig en t   en er g y   m ea s u r em e n m a n ag em en t,  a   Vo ltag tr a n s f o r m er   E E 1 9 - 0 0 5 1 0 1 ,   C u r r e n t   tr an s f o r m er   J D0 1     80A - 4 0 0 VAC - 1 8 VDV,   an   HT Z 8 1 0 V1 . 3   B lu eto o th   m o d u le,   r esis tiv atten u ato r s   f o r   v o ltag in p u r eg u latio n ,   an   SD  ca r d   s to r ag e   m o d u le,   a   r ea l - tim cl o ck   ( R T C )   E R 1 4 2 5 0 ,   an d   a n   in teg r ated   p o w er   s u p p l y   m o d u le.     Fig u r 3   illu s tr ates th ar ch ite ctu r o f   t h is   ad v an ce d   s y s tem .   T h s m ar m eter   ( SM)   m ea s u r es  an d   an aly ze s   elec tr ical  d a ta  b y   s am p lin g   c u r r en a n d   v o ltag v ia  d ed icate d   cir cu its   co n n ec ted   t o   m icr o c o n tr o ller   ( MCU) .   T h p o wer   ca lc u latio n   is   s h o wn   in   ( 1 ) :     = 1 ( ) ( )    0 c os   ( φ )       ( 1 )   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   2 Ap r il   20 2 6 :   6 6 3 - 674   666       Fig u r 3 .   Sm ar m eter   ar ch itec tu r e       T h ese  an alo g y   s ig n als  ar c o n v er ted   in to   d ig ital,  m a k in g   it  p o s s ib le  to   ca lcu late  t h ac tiv an d   r ea ctiv en er g y ,   t h in s tan tan eo u s   p o wer ,   an d   th e n er g y   q u ality   p ar am eter s .   T h s y s tem   m an ag es  its   p o wer   s u p p ly   th r o u g h   co m b in atio n   o f   s o u r ce s m ain   p o wer   s u p p ly ,   b ac k u p   b atter y   f o r   m i n im al  o p er atio n   in   ca s o f   f ailu r e,   an d   p u b lic  s witch ed   telep h o n n etwo r k   ( P STN)   b atter y   to   m ain tain   th c lo ck   in   r ea l - tim e.   m an ag em en m o d u le  o p tim ize s   th tr an s itio n s   b etwe en   th ese  s o u r ce s   to   g u a r an tee  s er v ice  co n tin u ity .   Fin ally ,   th m icr o c o n tr o ller   co n tr o ls   lig h e m itti n g   d io d es  ( L E Ds)  to   in d icate   th e   s tate  o f   th e   s y s tem ,   a n     liq u id   cr y s tal  d is p lay   ( L C D)   s cr ee n   to   d is p lay   ess en tial  in f o r m atio n   ( v o ltag e,   cu r r e n t,  en e r g y ) ,   an d   r elay s   t o   ac tiv ate  o r   d ea ctiv ate  th e   elec tr ical  cir cu its   ac co r d in g   to   th d etec ted   co m m a n d s   o r   e v en ts .       3 . 1 .     Vo l t a g e   m ea s uring   ins t rum ent   T h d iag r am   i n   Fig u r e   4   s h o w s   v o ltag e   m ea s u r em e n cir cu it  d esig n ed   f o r   th i n p u t   o f   th HT 5 0 2 3   m icr o co n tr o ller .   I m ak es  it  p o s s ib le  to   co n v er th h ig h   v o ltag es  o f   th r ee - p h ase  elec tr ical  n etwo r k   in to   s ig n als  co m p atib le  with   th e   m icr o co n tr o ller .   At   th e   in p u t,   th p h ase  ( L )   an d   th e   n eu tr al   ( N)   o f   th e   n etwo r k   f ir s g o   th r o u g h   s et  o f   p r o tec tiv r esis to r s   th at  f o r m   v o ltag d iv id er   wh ich   lo wer s   th n etwo r k   v o ltag to   s af an d   s u itab le  lev el  f o r   th m icr o co n tr o ller .   T h r esis to r s   R 1 ,   R 2 ,   an d   R 3 ,   ass o ciate d   with   th ca p ac ito r s   C 1 ,   C 2 ,   an d   C 3 ,   p lay   f ilter i n g   an d   s tab ilizin g   r o le,   elim in atin g   r ap id   v ar iatio n s   an d   u n wan ted   n o is o n   th e   s ig n al.   T h o u tp u v o ltag es  th u s   o b tain e d ,   Vx P   an d   Vx N,   ar p r o p o r tio n al   to   th e   v o ltag es  o f   t h elec tr ical   n etwo r k   a n d   a r tr an s m itted   to   th in p u o f   th e   HT 5 0 2 3   m icr o co n tr o ller   f o r   th ei r   an al y s is .   E q u atio n   ( 2 )   en s u r es  b o th   th p r o tectio n   o f   th m icr o co n tr o ller   ag ain s o v er   v o ltag es  an d   th p r o v is io n   o f   s tab le  an d   ac cu r ate  m ea s u r em e n t sig n al.     ( ) = [ s in   (  + φ ) ]   = 1 ( ) 2    0       ( 2 )           Fig u r 4 .   Vo ltag e   b lo ck   d iag r a m   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         Desig n   a n d   imp leme n t a tio n   o f sma r t m eter fo r   o p timiz in g   a n d     ( A lh u s s ein   B a g a y o g o )   667   3 . 2 .    Curre nt  m e a s uring   ins t rum ent   Fig u r 5   illu s tr ates  cu r r e n m ea s u r em en ci r cu it  d es ig n ed   f o r   th e   in p u t   o f   t h e   HT 5 0 2 3   m icr o co n tr o ller .   I m ak es  it  p o s s ib le  to   co n v e r th in p u t   cu r r en ts   ( I A,   I B ,   an d   I C )   i n to   v o ltag e   s ig n als   co m p atib le  with   th ca p ab ilit ies  o f   th e   m icr o c o n tr o ller .   Fo r   th I A   p h ase,   th I x P+  an d   I x PA -   s ig n als  p ass   th r o u g h   th r esis to r s   R 1 ,   R 2 ,   R 3   an d   R 4 ,   wh ich   ac t a s   p r o tectio n   an d   atten u atio n   elem en ts .   C ap ac ito r s   C 2   an d   C 3 ,   co n n ec ted   in   p a r allel  with   th ese  r esis to r s ,   p r o v i d s ig n al  f ilter in g   to   elim in ate  u n wan ted   n o is an d   s tab ilize  th o u tp u t.  T h c o r r esp o n d i n g   o u tp u v o ltag es,  Vx an d   Vx N,   ar e   th en   tr an s m itted   to   t h e   m icr o co n tr o ller .   T h is   cir cu it  t h u s   m ak es  it  p o s s ib le  to   co n d itio n   th c u r r en t   s ig n als  co m i n g   f r o m   p h ases   I A,   I B ,   an d   I C   in to   v o ltag es  ad ap ted   f o r   th HT 5 0 2 3   m icr o co n tr o ller .   E q u atio n   ( 3 )   g u ar an tees  an   ac cu r ate  m ea s u r em en t w h ile  p r o tectin g   th m icr o co n tr o ller   a g ain s t su d d en   v ar iatio n s   o r   n o is es in   th in p u t sig n al.     ( ) = [ s in   (  + φ ) ]   = 1 ( ) 2    0               ( 3 )           Fig u r 5 .   C u r r e n t b lo c k   d iag r a m       3 . 3 .     Co mm un ica t io n m o del   T h ex ch a n g o f   d ata  b etwe en   d ata  co llectio n   s y s tem s   an d   m ea s u r em e n eq u i p m en u s in g   th e   co m p an io n   s p ec if icatio n   f o r   e n er g y   m eter in g   ( C OSEM )   p r o to co is   b ased   o n   an   in te r f ac m o d el  s tr u ct u r ed   ar o u n d   th e   clien t/s er v er   p a r a d ig m .   T h m ea s u r e m en e q u ip m en t,  s u ch   as  s m ar m eter s ,   p lay   th e   r o le   o f   s er v er s .   T h e   to o ls   th at   g ath er   an d   s o m etim es  c o u n t   d ata  a r r ep r esen ted   b y   o n e   o r   m o r a p p licatio n   p r o ce s s es   ( AP)   in   th m o d el.   As s h o wn   i n   Fig u r 6 ,   c o m m u n icatio n   is   alwa y s   b etwe en   clien t a cc es s   p o in t a n d   s er v er   ac ce s s   p o in t:  th clien s tar ts   s er v ice  r eq u ests ,   an d   th e   s er v er   co n v er s es  b y   g iv in g   th r e q u ir ed   d ata.   Her e,   clien ac ce s s   p o in m ay   co n n ec to   o n o r   m o r s er v er   ac ce s s   p o in ts   at  th s am tim e,   th u s   en ab lin g   th h an d lin g   o f   m u ltip le  m ea s u r in g   d ev ices  to g eth er   [ 1 6 ] .   Similar ly ,   s er v e r   ac ce s s   p o in t   ca n   p r o v id a   r ep ly   to   s ev er al  clien t a cc ess   p o in ts   at  o n ce ,   th u s   ass u r in g   ef f icien t t wo - way   co m m u n icatio n   [ 1 7 ] ,   [ 1 8 ] .           Fig u r 6 .   I n f r astru ctu r o f   th co m m u n icatio n   m ec h a n is m   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   2 Ap r il   20 2 6 :   6 6 3 - 674   668   T h DL MS/C OSEM   co m m u n icatio n   p r o to co h as  n u m b e r   o f   d if f e r en s tan d a r d   s ec u r it y   f ea tu r es   th at  allo s m ar m eter s   an d   co m m u n icatio n   s y s tem s   to   ex ch an g d ata  s ec u r ely .   T h e r e   ar two   lev els  o f   au th en ticatio n : th f ir s t in v o lv es v er y   b asic secu r ity   ( L L S)  w h ich   is   p ass wo r d ,   b ased ,   an d   th s ec o n d   in v o lv es  h ig h ,   lev el  s ec u r ity   ( HL S)  th at  o f f er s   ch allen g e,   r esp o n s e   m ec h an is m s .   DL MS/ C OSE u s es  AE S - b ased   en cr y p tio n   f o r   th e   co n f id en ti ality   o f   d ata   [ 1 9 ] .   Me a n wh ile,   m ess ag in teg r ity   a n d   s ec u r ity   ag ain s r e p lay   attac k s   ar en s u r ed   b y   c r y p to g r ap h ic  co u n ter s   an d   s ec u r ity   co n tr o f ield s ,   wh ich   a r in   a cc o r d an ce   with   th e   I E C   6 2 0 5 6   s tan d ar d s   [ 2 0 ] ,   [ 2 1 ]   T h is   s er v ice  ca n   b e   co n n ec t io n - o r ie n ted   ( co n n ec tio n   estab lis h ed   b ef o r e   th e   d ata  e x c h an g e)   o r   with o u co n n ec tio n   ( d ir ec e x ch an g e   with o u p r io r   estab lis h m en t) .   s m ar m eter   c an   s u p p o r s ev er al   co m m u n icatio n   p r o f iles ,   wh ic h   allo ws  it  to   ad a p to   v ar io u s   m ed ia  an d   co m m u n icatio n   te ch n o lo g ies  ( s u ch   as  GPR S,  L T E ,   o r   ev en   L o R aWAN)   [ 2 2 ] ,   [ 2 3 ] .   T h is   f lex i b ilit y   en s u r es  in cr ea s ed   c o m p atib i lity   with   th v ar io u s   in f r astru ctu r es o f   th elec tr ical   n etwo r k s   an d   allo ws th ex ch an g o f   d ata  o n   d if f e r en t c h a n n els   [ 2 4 ] ,   [ 2 5 ]     3 . 4 .    Rela y   co ntr o l   a nd   f ra ud   det ec t io n m ec ha nis m   p r o p o s ed   s m ar m ete r   in te g r ates  m an ag em e n with   th r e m ain   s tates  ( Dis co n n ec ted ,   C o n n ec ted ,   an d   R ea d y   f o r   r ec o n n ec tio n ) ,   o f f er in g   s m o o th   an d   s ec u r tr an s itio n   b etwe en   th ese  s tates  th an k s   to   m an u al,   lo ca l,  an d   r em o te  c o m m an d s   to   o p tim ize  t h co n t r o l,  p r o tectio n ,   an d   r eliab ilit y   o f   t h en er g y   n etwo r k ,   esp ec ially   in   th co n tex o f   th in teg r atio n   o f   r e n ewa b le  e n er g ies.  T h s u g g ested   f r au d   d etec tio n   s y s tem   in   Fig u r 7   is   b u ilt ar o u n d   s en s o r   m o n ito r in g   an d   r ea l - tim alg o r ith m ic  an aly s is .   I n   p a r ticu lar ,   it c o n s is ts   o f :     C u r r en t tr an s f o r m er   ( CT )   s en s o r s   th at  d etec t a b n o r m al  c u r r e n t o r   b y p ass in g ,       Hall  ef f ec t sen s o r s   th at  ch ec k   f o r   m a g n etic  tam p er i n g ,       Op tical  s en s o r s   th at  r eg is ter   u n au th o r ize d   m eter   c o v er   o p en i n g s .   T h s en s o r   d ata  o b tain ed   is   s u b jecte d   to   a   r u le - b ased   alg o r it h m   to   p in p o in d is o r d er ed   u s a g p atter n s   o r   s ig n s   o f   tam p er in g .   W h en   it  d etec ts   p o s s ib ilit y   o f   f r au d ,   th e   s y s tem   s ets  an   alar m ,   an d   th ev e n is   r eg is ter ed   f o r   v er if icatio n .           Fig u r 7 .   Fra u d   d etec tio n   f lo w ch ar t       4.   CASE   S T UD Y   T h is   ca s s tu d y ,   illu s tr ated   in   Fig u r 8 ,   p r o m o tes  s m ar m eter in g   in   g r id - c o n n ec ted   s o lar   p h o to v o ltaic  ( PV)   s y s tem   co n s is tin g   o f   p an els with   an   o n - g r id   in v er ter ,   r esid en tial lo ad   ( h o u s e) ,   an d   s m ar t   m eter   co n n ec tin g   to   th e   p u b lic  elec tr icity   g r i d .   An y   en e r g y   ex ce s s   is   ex p o r ted   to   th g r i d ,   an d   an y   e n er g y   d ef icit  ( if   th h o u s lo ad   d e m an d   is   g r ea ter   th an   wh at  is   s u p p lied   f r o m   s o lar   p r o d u ctio n )   will  b im p o r ted   f r o m   th g r id .   I n   th e   ex p e r im en tal  ca s s tu d y ,   th e   s im u l tan eo u s   im p o r a n d   ex p o r o f   en er g y   at   s in g le   co n n ec tio n   p o in is   p r esen ted   f o r   illu s tr ativ e   p u r p o s es  o n ly .   I n   a   r ea l   n et  m eter in g   s ce n ar i o ,   th e   en e r g y   f lo ws  Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         Desig n   a n d   imp leme n t a tio n   o f sma r t m eter fo r   o p timiz in g   a n d     ( A lh u s s ein   B a g a y o g o )   669   ar ca lcu lated   as  th n et  d if f er en ce   b etwe en   im p o r an d   ex p o r t,  wh ich   g u ar an tees  p h y s ic al  co n s is ten cy T h d iag r am   in d icate s   th at  at  s o m p o in ts   in   tim e ,   th s y s tem   i s   ex p o r tin g   4 . 7 1   k W   to   th g r id   an d   im p o r tin g     2 . 3 5   k W ,   b o th   o f   wh ich   a r d y n am ic  en e r g y   f lo ws.  T h e   p r o p o s ed   th r ee - p h ase  m ea s u r em en s y s tem   u s es  an   8 0   cu r r e n tr an s f o r m e r   f o r   ex p er im en tal  v alid atio n .   T h e   8 0   cu r r e n tr an s f o r m e r   u s ed   in   th is   wo r k   is   s elec ted   s p ec if ically   f o r   th e x p er im en tal  p r o to ty p an d   lab o r ato r y   v alid atio n   o f   th p r o p o s ed   th r ee - p h ase   m ea s u r em en s y s tem .   T h is   co n f ig u r atio n   tar g ets  lo to   m ed iu m   cu r r en a p p licatio n s   an d   d o es  n o r ep r esen a   u n iv er s al  u tili ty - wid e   d ep l o y m en t.  Fo r   in d u s tr ial  o r   h ig h - cu r r en t   d is tr ib u tio n   n etwo r k   ap p licatio n s ,   cu r r en t   tr an s f o r m er s   r ated   at  h u n d r e d s   o f   am p e r es c an   b u s ed   with o u t c h an g i n g   th o v er all  s y s tem   ar ch itectu r e.           Fig u r 8 .   Fra m ewo r k       5.   RE SU L T AND  DI SCUS SI O N   I n   th is   in v esti g atio n ,   we  u tili ze d   two   s im u latio n   e n v ir o n m en ts ,   I SIS  Pr o teu s   an d   MA T L AB   Simu lin k ,   to   m o d el  an d   g ath er   d ata  f r o m   g r i d - co n n ec ted   P s y s tem .   I SIS  Pro teu s   was e m p lo y ed   to   s im u late   th elec tr o n ic  p o r tio n   o f   th s y s tem ,   in clu d in g   th co n n ec tio n s   b etwe en   s o lar   p an els,  t h o n - g r id   in v er ter ,   s m ar m eter ,   h o u s e,   an d   t h e   elec tr ical  g r id .   T h is   p latf o r m   p r o v i d ed   o p p o r t u n ities   to   test   co m p o n en ts b eh av io r s   a n d   c o n f ir m   th at  t h cir cu it  o p er ated   as  in ten d ed .   MA T L AB   Simu lin k   was  u s ed   to   m o d el  t h e   o v er all  p er f o r m a n ce   o f   th en e r g y   s y s tem .     5 . 1 .     E rr o a na ly s is   a nd   re s p o ns t im e   T h p r o p o s ed   s m ar m eter   h as  b ee n   test ed   i n   ac c o r d an ce   with   I E C   6 2 0 5 3 - 2 1 ,   d em o n s tr atin g   a   m ax im u m   m ea s u r em en e r r o r   o f   ± 0 . 5 o v e r   th e   r ate d   cu r r e n r a n g e,   c o n f ir m in g   co m p lian ce   with   in ter n atio n al  ac c u r ac y   s tan d ar d s .   Sp ec if ically ,   th e r r o r   ac c ep tan ce   lim its   d ef in ed   b y   th r ef er en ce   s tan d ar d   ( NM 0 6 . 4 . 0 0 1 )   f o r   d if f e r en t p h ase  an d   p o wer   f ac to r   c o n d itio n s   ar s u m m ar ized   i n   T ab le  1 .       T ab le  1 .   T h p er ce n tag er r o r   ac ce p tan ce   lim it is   d eter m in ed   b y   th M o r o cc a n   Stan d ar d ,   N M0 6 .   4 .   0 0 1   C u r r e n t   P h a se s   P o w e r   F a c t o r   B a si c   Er r o r s l i mi t   5 I b   A - B - C   1   - 0 . 0 0 8 8   1 0 I b   A - B - C   1   - 0 . 0 0 9 9   1 0 I b   A - B - C   0 . 5   + 0 . 0 6 5 0   Ib   A - B - C   1   - 0 . 0 2 2 2   Ib   A - B - C   0 . 5   - 0 . 0 3 8 8   I max   A - B - C   1   - 0 . 0 5 8 9   I max   A - B - C   0 . 5   - 0 . 0 1 0 4       I n   Fig u r 9 ,   it  is   ev id en th at  th en d - to - en d   laten cy   r e s u lts   p r im ar ily   co r r esp o n d   t o   th d ata  ac q u is itio n   an d   tr a n s m is s io n   s eq u en ce ,   wh er e   ea ch   s tep   d ep en d s   o n   th e   p r ev io u s   o n e .   Sp e cif ically ,   th e   wh o le   p r o ce s s   tim is   m ad u p   o f   t h id en tific atio n   an d   m ea s u r e m en p h ases   ( ab o u 4 5 0   m s ) ,   th d ig ital  s ig n al  p r o ce s s in g   o p e r atio n s   ( ar o u n d   6 0   m s ) ,   th e n co d i n g   an d   s er ializatio n   o f   th d ata  at  th 9 6 0 0   b au d   co m m u n icatio n   r ate  ( 7 5   m s ) ,   th tr an s m is s io n   th r o u g h   th g atew ay   an d   th c o m m u n icatio n   n etwo r k   ( ap p r o x im ately   9 0   m s ) ,   a n d   f i n ally   th p r o ce s s in g   o p e r atio n s   p er f o r m ed   o n   th s er v er   s id e   ( ab o u t 2 5   m s ) .   T h en tire   s y s tem   laten cy   is   s im p ly   th s u m   o f   th tim th at  ea c h   o f   th ese  s tep s   tak es.     = + +  + +  +                          ( 1 )   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   2 Ap r il   20 2 6 :   6 6 3 - 674   670       Fig u r 9 .   L ate n cy   b r ea k d o wn   o f   th d ata  ac q u is itio n   ch ain       5 . 2 .     Vo l t a g a nd   curr ent   da t a   perf o rma nce   I n   Fig u r 1 0 ( a )   we  o b s er v ed   t h at  th v o ltag s tar ts   ar o u n d   1 2 0   V,   th en   r is es  q u ick ly   to   ab o u 2 3 0   V,   wh er it  r em ain s   s tab le  with   s o m s m all  v ar iatio n s .   T h is   in d icate s   th at  th p o wer   is   wo r k in g   n o r m ally .   I n   Fig u r 1 0 ( b )   c u r r e n I is   n o ted   th at  th cu r r en b eg i n s   at  0   A,   th en   g r ad u ally   in c r ea s es  u p   to   1 0   A,   b ef o r v ar y in g   an d   r ea ch in g   p ea k   at  2 0   A.   Ho wev er ,   at  th en d ,   th cu r r en d r o p s   ab r u p tly   to   0   A.   T h cu to f f   r elay   in teg r ated   in to   t h m eter   ac co u n ts   f o r   th is   s u d d e n   d r o p .   I t e n ab les th d is co n n ec tio n   o f   p o wer   if   th m ax im u m   allo wed   p o wer   is   ex ce ed ed ,   t h er eb y   f ac ilit atin g   an   a u to m ati cu to f f   to   p r ev en o v er lo a d in g .   I n   s u m m a r y ,   th v o ltag r e m ain s   s tab le,   b u th cu r r e n v ar ies  ac c o r d in g   to   d em an d   an d   en d s   u p   b ein g   c u wh en   t h p o wer   ex ce ed s   th au th o r ized   lim it.   T h is   s h o ws  th at  p r o tectio n   m ec h an is m   is   in   p lace   to   a v o id   o v er lo a d s   an d   en s u r th p r o p e r   f u n ctio n in g   o f   th n etwo r k .         ( a)   ( b )     Fig u r 1 0 .   Var iatio n   o f   ( a)   v o l tag an d   ( b )   c u r r en d ep en d in g   o n   th tim e       5 . 3 .     H o urs   pro f ile  im po rt   a n d e x po rt   I n   Fig u r 1 1 ( a) ,   we  ca n   f o ll o th d y n am ics  o f   en er g y   f l o ws  m ea s u r ed   in   r ea l - tim b y   th s m ar m eter   an d   h ig h lig h th e   v ar iat io n   o f   im p o r ted   a n d   e x p o r ted   en er g y   at  d if f er e n p er i o d s ,   t h u s   illu s tr atin g   th e   in ter ac tio n s   b etwe en   p r o d u ct io n   s y s tem   a n d   an   e n er g y   c o n s u m p tio n   s y s tem   with   t h elec t r ical  n etwo r k .   T h im p o r cu r v e,   lo ca te d   to   th l ef o f   th o r d in ate  a x is ,   in d ic ates  th am o u n o f   en er g y   tak en   f r o m   th g r id   b y   th s y s tem   to   s atis f y   th d e m an d ,   a n d   to   t h r ig h t,   we  h av th ex p o r cu r v e,   w h ich   in d icate s   th en er g y   in jecte d   in to   th g r id   d u to   th av ailab ilit y   o f   s u r p lu s   o f   p r o d u ctio n   in   p a r ticu lar   in   th p r esen ce   o f   g en er ato r   o r   r en ewa b le  s o u r ce s .     Fig u r 1 1 ( b )   s h o ws  th ev o l u tio n   o f   th im p o r an d   ex p o r o f   ac tiv an d   r ea ctiv en er g y   o v er   tim e.   T h h o r izo n tal  ax is   r ep r esen ts   tim e,   wh ile  th v er tical  ax es  in d icate   th am o u n o f   e n er g y   m ea s u r e d   in   k ilo watt - h o u r s .   I is   o b s er v ed   th at  th im p o r o f   ac tiv en e r g y   ( b lu cu r v e)   g r a d u ally   in cr e ases ,   wh ich   m ea n s   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J E lec  &   C o m p   E n g     I SS N:   2088 - 8 7 0 8         Desig n   a n d   imp leme n t a tio n   o f sma r t m eter fo r   o p timiz in g   a n d     ( A lh u s s ein   B a g a y o g o )   671   th at  th s y s tem   co n s u m es  m o r en er g y   o v er   tim e.   At  th s am tim e,   th ac tiv en er g y   ex p o r ( r e d   cu r v e )   s tar ts   at  lo lev el,   an d   th e n   in cr ea s es  to war d s   th en d ,   in d icatin g   r etu r n   o f   en er g y   to   th g r id .   R eg ar d in g   r ea ctiv en er g y ,   th b l u cu r v s h o ws  r elativ ely   s tab le  im p o r t,  wh ile  ex p o r ( c u r v n o v is ib le  o r   v er y   lo w)   r em ain s   n eg lig ib le.           ( a)   ( b )     Fig u r 1 1 .   Ho u r s   p r o f ile  im p o r t a n d   ex p o r t   ( a)   ac tiv p o wer   d em an d   a n d   ( b )   ac tiv a n d   r ea ctiv   en er g y   d em an d       5 . 4 .     C o m pa ra t iv e   a na ly s is   wit h o t her  s t ud ies     I n   co n t r ast  to   m o s s tu d ies,  t h is   p ap er   tak es  th r ee   asp ec ts   o f   l o w - co s I o T - b ased   s m ar m eter m ea s u r em en ac cu r ac y ,   s y s tem   laten cy ,   an d   s tan d ar d s - b ase d   p er f o r m an ce   ev alu atio n .   Un lik [ 1 6 ] ,   [ 1 8 ] ,   an d   [ 2 0 ] ,   th is   p ap er   n o t o n ly   p r o v i d es a   q u an titativ er r o r   an aly s is   b u t a ls o   th o r o u g h ly   lin k s   it to   th I E C   ac cu r ac y   r eq u ir em e n ts .   T h e   p r o p o s ed   s o lu tio n   d if f er s   f r o m   th e   o n es  th at  ar f o cu s ed   o n   en e r g y   q u ality ,   lik e   [ 1 5 ] ,   i n   th at  it  aim s   at  th r ea l - tim e n er g y   m eter i n g   o f   th e   en d   u s er   with   lo laten cy th c o m p a r is o n   is   s u m m ar ized   in   T ab le  2 .         T ab le  2 .   C o m p a r ativ an aly s is   A u t h o r s   La t e n c y   E v a l u a t i o n   3 - P h a se   P Q   M o n i t o r i n g   D LM S / C O S E M   B i d i r e c t i o n a l   En e r g y   C o n t r o l   R e l a y   [ 1 ]   No   No   No   No   No   No   [ 2 ]   No   Y e s   Y e s   No   No   No   [ 3 ]   No   No   No   No   No   No   [ 4 ]   Y e s   Y e s   Y e s   No   No   No   [ 5 ]   Y e s   No   Y e s   No   No   No   [ 6 ]   Y e s   No   No   No   No   No   [ 7 ]   Y e s   No   No   No   No   No   Th i s   W o r k   Y e s   Y e s   Y e s   Y e s   Y e s   Y e s       6.   CO NCLU SI O N   T h is   ar ticle  p r esen ted   lo w - co s I o T - b ased   s m ar m eter   a d ap ted   to   th M o r o cc a n   elec tr icity   g r id ,   ca p ab le  o f   m ea s u r in g   b id ir ec ti o n al  en e r g y ,   DL MS/C OSEM   co m m u n icatio n ,   a n d   c o n tr o llin g   th e   o p er atio n   o f   r elay s   f o r   au to m ate d   en e r g y   m an ag em en t.   T h e   ex p e r im en t al  r esu lts   d em o n s tr ate  a   m ax i m u m   m ea s u r e m en er r o r   o f   less   th an   ± 0 . 5 a n d   a n   en d - to - en d   laten cy   o f   ap p r o x im ately   7 0 0   m s ,   c o n f ir m i n g   t h r elev an ce   o f   th e   s y s tem   f o r   th e   m o n ito r in g   an d   co n tr o in   n ea r   r ea tim o f   im p o r ted   a n d   e x p o r te d   en e r g y .   c o m p a r ativ an aly s is   with   ex is tin g   s m ar m eter s   an d   t h liter atu r e   s h o ws  th at,   u n lik e   m an y   co m m er cial  o r   ac a d em ic   s o lu tio n s ,   th p r o p o s ed   s y s te m   co m b in es  in e x p en s iv h ar d war e,   I E C - o r ien te d   ac cu r ac y ,   lo laten cy ,   an d   in teg r ated   f r a u d   d etec tio n ,   w h ile  s u p p o r tin g   f lex ib le  in te g r atio n   with   r esid en tial  r en ew ab le  s o u r ce s .   T h ese  ch ar ac ter is tics   h ig h lig h its   p o ten tial  as  p r ac tical  s o lu tio n   to   im p r o v n etwo r k   o b s er v ab ilit y   an d   en er g y   ef f icien cy .   Fu tu r wo r k   will  ad d r ess   t h ac tu al  f ield   d ep lo y m e n o f   s m ar m eter s   u n d er   r ea l   o p er atin g   co n d itio n s ,   wh ich   in cl u d d if f er en en v ir o n m e n tal  an d   lo a d   s ce n ar io s ,   to   th p er f o r m a n ce ,   r eliab ilit y ,   an d   ad ap tab ilit y   o f   t h s m ar t m eter s   in   p r ac tical  g r id   a n d   r e n ewa b le  en er g y   en v i r o n m e n ts .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8 7 0 8   I n t J E lec  &   C o m p   E n g ,   Vo l.   1 6 ,   No .   2 Ap r il   20 2 6 :   6 6 3 - 674   672   F UNDING   I NF O R M A T I O   Au th o r s   d id   n o t r ec eiv e   an y   f u n d in g   f o r   th is   r esear c h   wo r k .       AUTHO CO NT RI B UT I O NS ST A T E M E N T     T h is   jo u r n al  u s es  th C o n tr ib u to r   R o les  T ax o n o m y   ( C R ed iT)   to   r ec o g n ize  in d iv id u al  au th o r   co n tr ib u tio n s ,   r ed u ce   au th o r s h ip   d is p u tes,  an d   f ac ilit ate  co llab o r atio n .     Na m o f   Aut ho r   C   M   So   Va   Fo   I   R   D   O   E   Vi   Su   P   Fu   Alh u s s ein   B ag ay o g o                               Om ar   Kab o u r i                               Ab o u b ak r   E l   Ma k r i n i                               Mo h am ed   Aze r o u al                               Hass an E l   Ma r k h i                                 C     C o n c e p t u a l i z a t i o n   M     M e t h o d o l o g y   So     So f t w a r e   Va     Va l i d a t i o n   Fo     Fo r mal   a n a l y s i s   I     I n v e s t i g a t i o n   R     R e so u r c e s   D   :   D a t a   C u r a t i o n   O   :   W r i t i n g   -   O r i g i n a l   D r a f t   E   :   W r i t i n g   -   R e v i e w   &   E d i t i n g   Vi     Vi su a l i z a t i o n   Su     Su p e r v i s i o n   P     P r o j e c t   a d mi n i st r a t i o n   Fu     Fu n d i n g   a c q u i si t i o n         CO NF L I C T   O F   I N T E R E S T   ST A T E M E NT     Au th o r s   s tate  n o   co n f lict o f   in t er est.       DATA AV AI L AB I L I T   Data   av ailab ilit y   is   n o a p p li ca b le  to   th is   p ap er   as  n o   n e d ata  wer c r ea ted   o r   an al y ze d   in   t h is   s tu d y .       RE F E R E NC E S   [ 1 ]   N a t i o n a l   E l e c t r i c i t y   R e g u l a t o r y   A u t h o r i t y ,   A n n u a l   a c t i v i t y   r e p o r t ,   AN RE ,   2 0 2 3 ,   [ O n l i n e ] .   A v a i l a b l e :   h t t p s : / / w w w . a n r e . ma .   [ 2 ]   M .   A z e r o u a l ,   A .   El   M a k r i n i ,   H .   El   M o u ss a o u i ,   a n d   H .   E l   M a r k h i ,   R e n e w a b l e   e n e r g y   p o t e n t i a l   a n d   a v a i l a b l e   c a p a c i t y   f o r   w i n d   a n d   so l a r   p o w e r   i n   M o r o c c o   t o w a r d s 2 0 3 0 ,   J o u r n a l   o f   E n g i n e e r i n g   S c i e n c e   a n d   T e c h n o l o g y   R e v i e w ,   v o l .   1 1 ,   n o .   1 ,   p p .   1 8 9 1 9 8 ,   2 0 1 8 ,   d o i :   1 0 . 2 5 1 0 3 / j e s t r . 1 1 1 . 2 3 .   [ 3 ]   N .   M a j i t   a n d   N .   A mr o u s ,   A r t i f i c i a l   i n t e l l i g e n c e   ( A I )   f o r   e n e r g y   t r a n si t i o n :   T o w a r d s   i n t e l l i g e n t   a n d   su s t a i n a b l e   e l e c t r i c a l   i n f r a s t r u c t u r e i n   M o r o c c o ,”   ( i n   F r a n c e ) I n t e rn a t i o n a l   J o u r n a l   o f   Ac c o u n t i n g ,   Fi n a n c e ,   Au d i t i n g ,   M a n a g e m e n t   a n d   Ec o n o m i c -   I J AFAM E ,   v o l .   5 ,   n o .   8 .   p p .   2 1 9 2 4 2 ,   2 0 2 4 ,   d o i :   1 0 . 5 2 8 1 / ZEN O D O . 1 3 3 2 8 6 1 6 .   [ 4 ]   Y .   W a n g ,   H .   Q i u ,   Y .   T u ,   Q .   L i u ,   Y .   D i n g ,   a n d   W .   W a n g ,   A   r e v i e w   o f   sm a r t   me t e r i n g   f o r   f u t u r e   C h i n e se  g r i d s,   En e r g y   Pro c e d i a ,   v o l .   1 5 2 ,   p p .   1 1 9 4 1 1 9 9 ,   2 0 1 8 ,   d o i :   1 0 . 1 0 1 6 / j . e g y p r o . 2 0 1 8 . 0 9 . 1 5 8 .   [ 5 ]   R .   B e n b b a   e t   a l . ,   S o l a r   e n e r g y   r e s o u r c e   a n d   p o w e r   g e n e r a t i o n   i n   M o r o c c o :   c u r r e n t   si t u a t i o n ,   p o t e n t i a l ,   a n d   f u t u r e   p e r sp e c t i v e ,   Re so u r c e s ,   v o l .   1 3 ,   n o .   1 0 ,   p .   1 4 0 ,   2 0 2 4 ,   d o i :   1 0 . 3 3 9 0 / r e so u r c e s1 3 1 0 0 1 4 0 .   [ 6 ]   L.   M o r a l e s - V e l a z q u e z ,   R .   d e   J.  R o me r o - Tr o n c o so ,   G .   H e r r e r a - R u i z ,   D .   M o r i n i g o - S o t e l o ,   a n d   R .   A .   O s o r n i o - R i o s,  S mar t   se n so r   n e t w o r k   f o r   p o w e r   q u a l i t y   m o n i t o r i n g   i n   e l e c t r i c a l   i n s t a l l a t i o n s,”   M e a s u reme n t :   J o u rn a l   o f   t h e   I n t e r n a t i o n a l   M e a s u rem e n t   C o n f e d e r a t i o n ,   v o l .   1 0 3 ,   p p .   1 3 3 1 4 2 ,   2 0 1 7 ,   d o i :   1 0 . 1 0 1 6 / j . me a s u r e me n t . 2 0 1 7 . 0 2 . 0 3 2 .   [ 7 ]   I .   A .   A b e d   a n d   H .   Y .   N a s e r ,   ESP 3 2   mi c r o c o n t r o l l e r   b a se d   smar t   p o w e r   met e r   s y st e d e s i g n   a n d   i m p l e me n t a t i o n ,   Al - Ra f i d a i n   En g i n e e ri n g   J o u rn a l   ( ARE J ) ,   v o l .   2 5 ,   n o .   2 ,   p p .   1 3 6 1 4 3 ,   2 0 2 0 ,   d o i :   1 0 . 3 3 8 9 9 / r e n g j . 2 0 2 0 . 1 2 7 1 1 1 . 1 0 3 8 .   [ 8 ]   E.   V i c i a n a ,   A .   A l c a y d e ,   F .   G .   M o n t o y a ,   R .   B a ñ o s,  F .   M .   A r r a b a l - C a m p o s,  a n d   F .   M a n z a n o - A g u g l i a r o ,   A n   o p e n   h a r d w a r e   d e s i g n   f o r   i n t e r n e t   o f   t h i n g p o w e r   q u a l i t y   a n d   e n e r g y   sa v i n g   s o l u t i o n s,   S e n so rs   ( S w i t zer l a n d ) ,   v o l .   1 9 ,   n o .   3 ,   p .   6 2 7 ,   2 0 1 9 ,     d o i :   1 0 . 3 3 9 0 / s 1 9 0 3 0 6 2 7 .   [ 9 ]   M .   T .   A h a mm e d   a n d   I .   K h a n ,   En s u r i n g   p o w e r   q u a l i t y   a n d   d e ma n d - s i d e   ma n a g e m e n t   t h r o u g h   I o T - b a s e d   s mart  me t e r i n   a   d e v e l o p i n g   c o u n t r y ,   En e r g y ,   v o l .   2 5 0 ,   p .   1 2 3 7 4 7 ,   J u l .   2 0 2 2 ,   d o i :   1 0 . 1 0 1 6 / j . e n e r g y . 2 0 2 2 . 1 2 3 7 4 7 .   [ 1 0 ]   H .   O .   G a r c é s ,   J.   G o d o y ,   G .   R i f f o ,   N .   F .   S e p ú l v e d a ,   E.   Esp i n o s a ,   a n d   M .   A .   A h me d ,   D e v e l o p m e n t   o f   a n   I o T - e n a b l e d   smar t   e l e c t r i c i t y   met e r   f o r   r e a l - t i me  e n e r g y   mo n i t o r i n g   a n d   e f f i c i e n c y ,   E l e c t ro n i c ( S w i t z e rl a n d ) ,   v o l .   1 4 ,   n o .   6 ,   p .   1 1 7 3 ,   2 0 2 5 ,     d o i :   1 0 . 3 3 9 0 / e l e c t r o n i c s1 4 0 6 1 1 7 3 .   [ 1 1 ]   M .   S c h a f f e r ,   J.   E .   V e r a - V a l d é s,   a n d   A .   M a r sz a l - P o mi a n o w s k a ,   Ex p l o r i n g   s mart   h e a t   m e t e r   d a t a :   A   c o - c l u s t e r i n g   d r i v e n   a p p r o a c h   t o   a n a l y se  t h e   e n e r g y   u se   o f   si n g l e - f a m i l y   h o u ses ,   A p p l i e d   En e rg y ,   v o l .   3 7 1 ,   p .   1 2 3 5 8 6 ,   2 0 2 4 ,     d o i :   1 0 . 1 0 1 6 / j . a p e n e r g y . 2 0 2 4 . 1 2 3 5 8 6 .   [ 1 2 ]   F .   Za r e d a r   a n d   M .   A m i n i ,   A   l i g h t w e i g h t   i n c e n t i v e - b a s e d   p r i v a c y - p r e s e r v i n g   smar t   me t e r i n g   p r o t o c o l   f o r   v a l u e - a d d e d   s e r v i c e s ,   a rXi v : 2 5 0 8 . 1 4 7 0 3 v 1 ,   2 0 2 5 ,   d o i :   1 0 . 4 8 5 5 0 / a r X i v . 2 5 0 8 . 1 4 7 0 3 .   [ 1 3 ]   Y .   M .   R i n d ,   M .   H .   R a z a ,   M .   Zu b a i r ,   M .   Q .   M e h m o o d ,   a n d   Y .   M a ss o u d ,   S mart   e n e r g y   me t e r f o r   sm a r t   g r i d s,  a n   i n t e r n e t   o f   t h i n g p e r s p e c t i v e ,   E n e r g i e s ,   v o l .   1 6 ,   n o .   4 ,   p .   1 9 7 4 ,   2 0 2 3 ,   d o i :   1 0 . 3 3 9 0 / e n 1 6 0 4 1 9 7 4 .   [ 1 4 ]   O .   M u n o z ,   A .   R u e l a s ,   P .   R o sal e s,   A .   A c u ñ a ,   A .   S u a st e g u i ,   a n d   F .   L a r a ,   D e si g n   a n d   d e v e l o p m e n t   o f   a n   I o sm a r t   me t e r   w i t h   l o a d   c o n t r o l   f o r   h o me  e n e r g y   m a n a g e me n t   sy st e ms,   S e n so rs ,   v o l .   2 2 ,   n o .   1 9 ,   p .   7 5 3 6 ,   2 0 2 2 ,   d o i :   1 0 . 3 3 9 0 / s 2 2 1 9 7 5 3 6 .   Evaluation Warning : The document was created with Spire.PDF for Python.