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 .   2 9 1 2 ~ 2 9 2 3   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 2 9 1 2 - 2 9 2 3           2912       J o ur na l ho m ep a g e :  h ttp : //ij p e d s . ia esco r e. co m   Ba seline sta bility - o riented  p ro x ima l policy  optimiza ti o n   for energy  stora g e in  mic ro g rids       Cit ra   Dew i 1 ,   Rick y   M a ula na 1 ,   Ra nd i P urna m a   P utr a 2   1 D e p a r t me n t   o f   El e c t r i c a l   En g i n e e r i n g ,   U n i v e r si t a s N e g e r i   P a d a n g ,   P a d a n g ,   I n d o n e si a   2 D e p a r t me n t   o f   M e c h a n i c a l   E n g i n e e r i n g ,   U n i v e r si t a s   N e g e r i   P a d a n g ,   P a d a n g ,   I n d o n e s i a       Art icle  I nfo     AB S T RAC T   A r ticle  his to r y:   R ec eiv ed   Dec   1 ,   2 0 2 5   R ev is ed   Sep   1 ,   2 0 2 6   Acc ep ted   Sep   1 3 ,   2 0 2 6       Th e   i n c re a sin g   p e n e tratio n   o f   r e n e wa b le  e n e rg y   i n   m icro g rid s   in tro d u c e s  p o we r  v a ria b il it y   a n d   s u p p ly - d e m a n d   imb a lan c e ,   m a k i n g   e n e rg y   sto ra g e   sy ste m   (ES S )   c o n tro l   imp o rtan t   fo r  sta b il it y - o rien ted   o p e ra ti o n .   Th is  st u d y   d e v e lo p s  a   re p ro d u c i b le  b a se li n e   sta b il it y - o rien ted   E S S   c o n tr o l  fr a m e wo rk   u sin g   p ro x ima l  p o li c y   o p ti m iza ti o n   (P P O)  i n   a   sim p li fied   P V,  l o a d ,   a n d   E S S   m icro g rid   e n v ir o n m e n t .   Th e   c o n t ro l  p r o b lem   is  fo rm u late d   a s  a   c o n ti n u o u s - a c ti o n   M a rk o v   d e c isio n   p ro c e ss ,   wh e re   th e   a g e n t  o b se rv e s  lo a d   d e m a n d ,   P V   g e n e ra ti o n ,   sta te   o f   c h a rg e ,   n e t   i m b a lan c e ,   a n d   p r e v io u s  E S S   c o m m a n d   to   g e n e ra te  b o u n d e d   c h a rg e /d isc h a rg e   a c ti o n s.  T h e   re wa rd   fu n c ti o n   p e n a li z e s  re sid u a l  p o we r  imb a lan c e ,   S OC  d e v iatio n ,   a n d   a b r u p t  c o m m a n d   v a riatio n .   Th e   fra m e wo rk   is  imp lem e n ted   u sin g   M ATLAB/ S imu li n k   a n d   a   fu n c ti o n - b a se d   re in fo rc e m e n t  lea r n i n g   e n v iro n m e n t,   a n d   a   r u le - b a se d   c o n tro ll e r   is   in c lu d e d   a s  a   b e n c h m a rk .   T ra in i n g   re su lt s  sh o w  th a t  P P O  imp ro v e s  e p iso d e   re wa rd   fro m   a p p ro x ima tely   - 7 2 . 6 3   to   a n   a v e ra g e   re wa rd   o f  a b o u t  - 2 . 5 1   a fter  3 0 0   e p iso d e s.   Du ri n g   e v a l u a ti o n ,   t h e   sim p li f ied   v o lt a g e - re s p o n se   in d ica to r   re m a in e d   with in   0 . 9 9 8 5 – 1 . 0 0 1 6   p . u ,   k e e p s  S OC  with in   4 9 . 4 8 3 0 – 5 0 . 0 0 0 0 % ,   a n d   g e n e ra tes   b o u n d e d   ES S   c o m m a n d s.  Co m p a re d   with   th e   r u le - b a se d   b e n c h m a rk ,   P P O  d e m o n stra tes   fe a sib le  a n d   b o u n d e d   o p e ra ti o n ,   a lt h o u g h   th e   ru le - b a se d   c o n tr o ll e r  a c h iev e s  l o we r  a v e ra g e   re si d u a l   imb a lan c e   in   th e   sim p li fied   d e term in ist ic p ro fi le.  T h e se   re su lt s e sta b li sh   a   tran sp a re n t  b a se li n e   fo r  fu t u re   sta b il it y - o rien te d   DRL - b a se d   ES S   c o n tr o l  st u d ies .   K ey w o r d s :   E n er g y   s to r ag e  s y s tem   Pro x im al  p o licy   o p tim izatio n   R ein f o r ce m en t le ar n i n g   R u le - b ased   b en ch m a r k   Stab ilit y - o r ien ted   d is p atch   State - of - ch ar g e   r eg u latio n   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 :   C itra   Dew i   Dep ar tm en t o f   E lectr ical  E n g i n ee r in g ,   U n iv er s itas   Neg er i Pad an g   Pad an g ,   I n d o n esia   E m ail:  citr ad ewi@ f t.u n p . ac . id       1.   I NT RO D UCT I O N   Mic r o g r id s   ar e   in cr ea s in g l y   d ep lo y e d   to   in teg r ate  r en ew ab le  en er g y   r eso u r ce s   ( R E S) ,   s u ch   as  p h o to v o ltaic  ( PV)   an d   win d   g en er atio n ,   in to   lo ca l  p o w er   s y s tem s .   Ho wev er ,   th e  s to ch asti c  an d   n o n - d is p atch ab le  ch a r ac ter is tics   o f   R E S  in tr o d u ce   u n ce r tain ty   in   g en e r a tio n   s ch ed u lin g   an d   m ay   cr ea te   s u p p ly - d em an d   im b ala n ce   u n d e r   v ar i ab le  lo ad   co n d itio n s   [ 1 ] ,   [ 2 ] .   I n   m icr o g r id s   with   h ig h   r en e wab le  p en etr atio n ,   th ese  f lu ctu atio n s   m ay   af f ec t  v o ltag e  r eg u latio n   an d   o v er al l  o p er atio n al  s tab ilit y   if   f lex i b ilit y   r eso u r ce s   ar e   n o t  p r o p e r ly   co o r d in ated   [ 3 ] .   E n er g y   s to r ag e  s y s tem s   ( E SS )   ar e  th er ef o r e  wid ely   u s ed   to   b u f f er   r e n ewa b l e   v ar iab ilit y ,   im p r o v e   o p e r atio n al  f lex ib ilit y ,   an d   s u p p o r t  s tab ilit y - o r ien ted   m icr o g r id   o p er atio n .   Pre v io u s   s tu d ies  h av e  s h o wn   th at  E SS   an d   co n v er ter - b as ed   co n tr o l  s tr ateg ies  ca n   en h an ce   m icr o g r id   o p er atio n   u n d er   P V   g e n e r a t i o n   a n d   h y b r i d   A C / D C   c o n f i g u r a t i o n s   [ 4 ] ,   [ 5 ] .   I n   p r a c t i c a l   a p p l ic a t i o n s ,   E S S   d is p a t c h   i s   c o m m o n l y   h an d led   u s in g   r u le - b ased   lo g i c,   p r o p o r tio n al - in teg r al - d er i v a tiv e   ( PID )   co n tr o l,  an d   m o d e l  p r ed ictiv e  co n tr o l   ( MPC ) .   R u le - b ased   an d   h y b r i d   in tellig en t stra teg ies ar e  attr ac tiv e  b ec au s e  o f   th eir   s im p le  im p lem en tatio n ,   b u t  th ey   o f ten   r eq u ir e  ca r ef u l  tu n i n g   an d   m ay   n o t  ad ap t  well  to   ch an g in g   PV - lo ad   p atter n s   [ 6 ] ,   [ 7 ] .   MPC - b ased   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       B a s elin e  s ta b ilit y - o r ien ted   p r o xima l p o licy  o p timiz a tio n   fo r   e n erg y  s to r a g e  in   micro g r id s   ( C itr a   De w i )   2913   s tr ateg ies  ca n   ex p licitly   h an d le  p r ed ictio n   an d   o p tim izatio n   o b jectiv es,  b u t  th eir   p er f o r m an ce   d ep e n d s   o n   m o d el  ac cu r ac y ,   f o r ec ast q u ali ty ,   an d   c o m p u tatio n al  co m p lex ity   [ 8 ] - [ 1 0 ] .   Dee p   r ein f o r ce m e n t  lear n in g   ( DR L )   h as  em er g ed   as  a  m o d el - f r ee   co n tr o l  alter n ativ e  t h at  lear n s   c o n tr o l  p o licies  f r o m   in ter ac ti o n   d ata.   I t  h as  b ee n   in cr ea s in g ly   ex p lo r ed   f o r   m icr o g r id   en er g y   m an ag em e n t,   d em an d   f le x ib ilit y ,   ec o n o m ic  d is p atch ,   an d   PV - b atter y   o p er atio n   u n d e r   u n ce r tain   o p er ati n g   co n d itio n s   [ 1 1 ] - [ 1 3 ] .   C o m p ar ativ e  s tu d ies  h av e  also   s h o wn   th at  r ein f o r ce m e n t  lear n in g   ca n   p r o v id e  an   alt er n ativ e  to   m o d el - b ased   co n tr o l f o r   PV - b atter y   s y s tem s ,   alth o u g h   its   p er f o r m a n ce   d ep en d s   s tr o n g ly   o n   th e  tr ain in g   en v i r o n m e n t   an d   r ewa r d   f o r m u latio n   [ 1 4 ] ,   [ 1 5 ] .   I n   ad d itio n ,   DR L   h as  b ee n   ap p lied   to   d is tr ib u tio n - n et wo r k   r esil ien ce   an d   m icr o g r id   f o r m atio n ,   in d icatin g   its   p o ten tial  b ey o n d   p u r ely   e co n o m ic  s ch ed u lin g   p r o b lem s   [ 1 6 ] .   Fo r   E SS   an d   m icr o g r id   co n tr o l,  r ec e n t  DR L   s tu d ies  h av e  in v esti g ated   le ar n in g - b ased   s tr ateg ies  f o r   h y b r id   en er g y   s to r ag e   in teg r atio n ,   a u to n o m o u s   en er g y   m an a g em en t,  r e n ewa b le  s to ch asti c  o p er atio n ,   an d   f r e q u en cy - co n s tr ain ed   en er g y   b alan ci n g   [ 1 7 ] - [ 2 0 ] .   T h ese  s tu d ies  in d icate   th at   lear n in g - b ased   co n tr o ller s   ca n   s u p p o r t  f lex ib l e   m icr o g r id   o p er atio n ,   b u t  th e y   also   s h o w  th at  co n tr o ller   p er f o r m an ce   is   s en s itiv e  to   th e  d esig n   o f   th e  r ewa r d   f u n ctio n ,   s tate  r ep r esen tatio n ,   an d   ev alu atio n   s ce n ar io .   Desp ite  th ese  d ev elo p m en ts ,   s ev er al  o p en   is s u es  r em ai n   in   lear n in g - b ased   E SS   co n tr o l  f o r   m icr o g r id s .   R ec en t  r ev iews  em p h asize  th at  r ep r o d u cib ilit y ,   r o b u s tn ess ,   an d   d ep lo y m en t - o r ien ted   ev alu atio n   ar e  s till   im p o r tan t  ch allen g es  i n   r ein f o r ce m en t  lear n in g - b ase d   m icr o g r id   c o n tr o l  [ 2 1 ] .   Mo r e  r ec en t  s ch ed u lin g   an d   m u lti - ag en t   s tu d ies  h av e   also   r ep o r te d   p r o m is in g   r esu l ts   f o r   E SS   c o o r d in atio n   in   s i m u lated   m icr o g r id   en v ir o n m en ts   [ 2 2 ] ,   [ 2 3 ] .   Ho wev er ,   b r o a d er   m u lti - o b jectiv e  r ein f o r ce m en t  lear n in g   s tu d ies  s u g g est  th at   tr an s p ar en t  b e n ch m a r k in g   an d   ap p licatio n - s p ec if ic  ev alu at io n   r em ain   n ec ess ar y   f o r   in t er p r etin g   lea r n in g - b ased   co n tr o l  p er f o r m a n ce   [ 2 4 ] .   I n   p ar ticu lar ,   m an y   r e p o r t ed   p r o x im al  p o licy   o p tim izati o n   ( PP O) - b ased   o r   DR L - b ased   m icr o g r id   s tu d ies  p r im ar ily   em p h asize  ec o n o m ic  o b jectiv es,  s u ch   as  co s t  m in im izatio n ,   p ea k   s h a v i n g ,   m a r k e t - o r i e n t e d   s c h ed u l i n g ,   o r   g e n e r a l   e n e r g y   m a n a g e m e n t .   S t a b i li t y - o r i e n t e d   E S S   c o n t r o l   f o r   r e a l - t i m e   p o w e r   b a l a n ci n g ,   v o l t ag e - r e s p o n s e   ass e s s m e n t ,   s a f e  s ta t e  o f   c h a r g e   ( S OC )   r e g u l a t i o n ,   a n d   s m o o t h   c h a r g e / d i s c h a r g e   b e h a v i o r   is   s ti l l   l ess   e x p l i c it l y   d is c u s s e d .   Mo r e o v e r ,   s o m e   D R L   s t u d i es   a r e  i m p l e m e n t e d   u s i n g   h i g h l y   a b s t r a c t e d   e n v i r o n m e n ts ,   w h i c h   c a n   l i m i t   r e p r o d u c i b il i t y   a n d   m a k e   i t   d i f f i c u l t   t o   c o n n e c t   t h e   l e a r n e d   p o l i c y   w i t h   c o n ti n u o u s - t i m e   s im u l a t i o n   w o r k f l o ws   c o m m o n ly   u s e d   i n   p o w e r   e l e ct r o n i c s   a n d   m i c r o g r i d   s t u d i es .   T o   ad d r ess   th ese  g ap s ,   th is   s tu d y   d ev el o p s   a  b aselin e  s tab ilit y - o r ien ted   PP O  f r am ew o r k   f o r   E SS   ch ar g e/d is ch ar g e  c o n tr o l  in   a   s im p lifie d   PV - lo ad - E SS   m ic r o g r id .   T h is   wo r k   d o es  n o t  p r o p o s e  a  n ew  PP O   alg o r ith m ;  in s tead ,   it  p r o v id e s   a  tr an s p ar en t  an d   r e p r o d u ci b le  b aselin e  f o r   ev al u atin g   s tab ilit y - f o cu s ed   E SS   d is p atch .   T h e   PP O  ag en t  o b s e r v es  P V  g en e r atio n ,   lo ad   d em an d ,   SOC ,   an d   in s tan tan eo u s   p o wer   im b alan ce   to   g en er ate  b o u n d e d   ch ar g e/d is ch ar g e  co m m an d s .   T h e  r ewa r d   f u n ctio n   is   d esig n ed   to   r ed u ce   r esid u al  p o wer   im b alan ce ,   m ain tain   SOC   wit h in   a  s af e  o p er atin g   r eg io n ,   an d   d is co u r ag e  ab r u p t  co n t r o l  ch an g es.  T h e  m ain   co n tr ib u tio n s   ar e:  i )  F o r m u lat io n   o f   a  PP O - b ased   DR L   co n tr o ller   f o r   s tab ilit y - o r ien ted   E SS   m an ag em en t;     ii )  D ev elo p m e n t  o f   a   r ewa r d   s tr u ctu r e   th at  c o n s id er s   p o w er - b alan ce   r eg u latio n ,   SOC   s af ety ,   a n d   s m o o th   d is p atch ;  iii )  P r esen tatio n   o f   a   r ep r o d u cib le  MA T L AB /Si m u lin k   s im u latio n   f r am ewo r k ;  iv )  Q u an titativ e   ass es s m en t  u s in g   r ep r esen tativ e  PV - lo ad   o p er atin g   co n d itio n s ;  an d   v )  E x p licit  d is cu s s i o n   o f   th e  b aselin e   m o d el  lim itatio n s ,   in clu d in g   s im p lifie d   co n v er ter   r ep r esen tatio n ,   ab s en ce   o f   h a r d w ar e  v alid atio n ,   an d   th e   n ee d   f o r   b r o ad er   b en c h m ar k in g   an d   r o b u s tn ess   an aly s is   in   f u tu r e  wo r k .       2.   M E T H O D   T h is   s tu d y   d ev elo p s   a   b asel in e  s tab ilit y - o r ien ted   co n t r o l   f r am ewo r k   f o r   E SS   ch ar g e /d is ch ar g e   m an ag em en t   in   a  s im p lifie d   m icr o g r id   u s in g   PP O.   T h e  m eth o d o lo g y   co n s is ts   o f   s ix   m ain   s tag es:     i)   d ev elo p m e n t  o f   a  MA T L AB /Si m u lin k   s ig n al - lev el  m icr o g r id   test b ed ,   ii)  m o d elin g   o f   E SS   SO C   d y n am ics,   iii)  f o r m u latio n   o f   th e   r ein f o r ce m en t  lear n in g   en v ir o n m en t,  iv )   d esig n   o f   th e   s tab ilit y - o r ien ted   r ewa r d   f u n ctio n ,   v )   PP O  ag en t  tr ain in g   an d   ev al u atio n ,   an d   v i)   co m p ar is o n   with   a  r u le - b ased   b en ch m ar k   co n tr o ller .   T h e  g en e r al  wo r k f lo w  o f   t h e  p r o p o s ed   b aselin e  PP O - b a s ed   E SS   co n tr o ller   is   illu s tr ated   in   Fig u r e  1 .   T h e  p r o ce s s   b eg in s   b y   in itializin g   th e  s im p lifie d   PV - lo ad - E SS   m icr o g r id   m o d el,   d ef i n in g   th e  r ein f o r ce m e n t  lear n in g   en v ir o n m en t,   an d   s e ttin g   th e   PP O  co n tr o ller   p ar a m eter s .   Du r in g   tr ain i n g ,   th e  ag en t  o b s er v es  th e   cu r r en t  o p er atin g   s tate,   co m p u tes  an   E SS   ch ar g e/d is ch ar g e  ac tio n ,   ap p lies   th e  ac tio n   t o   u p d ate  th e  SOC   r esp o n s e,   an d   r ec ei v es a   r ewa r d   b ased   o n   r esid u al  p o wer   im b alan ce ,   SOC   d ev iatio n ,   an d   ac tio n   v ar iatio n .   T h e   PP O  p o licy   p ar am eter s   a r e  u p d ated   iter ativ ely   u n til  th e   tr ai n in g   p er f o r m an ce   b ec o m es  r e lativ ely   s tab le.   T h e  tr ain ed   p o licy   is   th en   ev alu ate d   an d   c o m p ar e d   with   a  r u le - b a s ed   b en ch m a r k   co n tr o ller .   T h e  p r o p o s ed   f r am ewo r k   is   im p lem en ted   u s in g   MA T L AB /Si m u lin k   an d   th e  r ein f o r ce m e n t  lear n in g   to o lb o x .   T h e   m icr o g r id   test b ed   c o n s is ts   o f   a   g r id - v o lta g e  in p u t,  s im p lifie d   lo ad - d y n am ics  b lo ck ,   PV   g en er atio n   p r o f ile,   lo a d   d em a n d   p r o f ile,   E SS   SOC   b lo ck ,   d elay   b lo ck ,   co n tr o ller   b lo ck ,   an d   o u tp u t  l o g g in g   b lo ck s   f o r   v o ltag e  r esp o n s e,   E SS   co m m an d ,   SOC ,   an d   r ewa r d .   T h e  Simu lin k   im p lem en tati o n   o f   th e  test b ed   is   s h o wn   in   Fig u r e  2 .   T h e  m o d e l  is   in ten tio n ally   d esig n ed   as  a  r ep r o d u cib le  b aselin e  en v ir o n m en t  to   ev alu ate   th e   f e asi b ili ty   o f   lea r n i n g - b a s ed   E S S  d is p a tc h   u n d e r   PV - lo a d   v a r ia ti o n s .   T h e r ef o r e ,   d etai le d   d is tr ib u t io n - 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 :   2912 - 2 9 2 3   2914   n et wo r k   p o w er - f l o w   c o n s tr ai n ts ,   s wit ch in g - l ev el   c o n v er te r   d y n a m ics ,   s em ic o n d u ct o r   s wi tc h i n g   l o s s es,   t h e r m al   b e h a v i o r ,   b at te r y   a g i n g ,   an d   h a r d wa r e - in - t h e - l o o p   i m p le m e n t ati o n   a r e  n o t  in cl u d e d   in   t h is   b aseli n e  v e r s i o n .           Fig u r e  1 .   W o r k f lo w  o f   th e  p r o p o s ed   b aselin e  PP O - b ased   E SS   co n tr o l f r a m ewo r k   i n   th e  s i m p lifie d   PV - lo ad - E SS   m icr o g r id   m o d el           Fig u r e  2 .   Simu lin k   im p lem en t atio n   o f   th e   s im p lifie d   PV - lo a d - E SS   m icr o g r id   test b ed   with   E SS   co n tr o ller ,   SOC   d y n am ics,  an d   o u t p u t lo g g in g   b lo ck 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       B a s elin e  s ta b ilit y - o r ien ted   p r o xima l p o licy  o p timiz a tio n   fo r   e n erg y  s to r a g e  in   micro g r id s   ( C itr a   De w i )   2915   2 . 1 .     Sim uli nk - ba s ed  m icro g rid t estbed   T h e  s im p lifie d   m icr o g r id   m o d el  co n s is ts   o f   PV  g en er atio n ,   l o ad   d e m an d ,   v o ltag e   d y n am ic   r esp o n s e,   an d   b atter y - b ased   E SS .   T h e  P V  g en er atio n   a n d   lo ad   d em a n d   p r o f iles   ar e   d e f in ed   as  n o r m alize d   tim e - s er ies  in p u t  s ig n als  an d   s u p p lied   to   th e  s im u latio n   en v ir o n m en t.  T h e  n o r m alize d   PV  an d   lo ad   p r o f iles   u s ed   in   th e   ev alu atio n   win d o w  ar e  s u m m a r ized   in   T ab le  1 .   T h e  lo ad - s id e  d y n am ic  r esp o n s e  is   r ep r esen ted   u s in g   a  f i r s t - o r d er   tr a n s f er   f u n ctio n ,   as in   ( 1 ) .       ( ) = 1 ( + 1 )   ( 1 )     T h e  o u tp u t  o f   th is   b lo c k   is   s h if ted   ar o u n d   th e   n o m i n al  o p er atin g   v o ltag e  o f   1   p . u .   an d   u s ed   as  a  v o ltag e - r esp o n s e  in d icato r   in   th e   s im p lifie d   test b ed .   B ec au s e  th is   wo r k   a d o p ts   a   s ig n al - lev el   m icr o g r id   m o d el,   th e   v o ltag e  r esp o n s e  s h o u ld   b e  i n ter p r eted   as  a  d y n a m ic  r esp o n s e  in d icato r   r ath er   t h an   a  d etailed   d is tr ib u tio n   n etwo r k   b u s   v o ltag e  o b tain ed   f r o m   p o wer - f lo w  ca lcu latio n .   T h e  s im u latio n   u s es  a  f ix ed - s tep   ODE 4   s o lv er   with   a  s am p le  tim e  o f   0 . 1   s .   T h e  ev alu atio n   win d o w  is   1 0   s ,   r esu ltin g   in   1 0 1   s im u latio n   s t e p s   p er   ep is o d e.   T h e   m ain   s im u latio n   s ettin g s   ar e  lis ted   in   T ab le  2 .       T ab le  1 .   No r m alize d   PV g en er atio n   an d   l o ad   d e m an d   p r o f iles   u s ed   in   th e  s im u latio n   Ti me   ( s)   P V   g e n e r a t i o n   ( p . u . )   Lo a d   d e ma n d   ( p . u . )   0   0 . 2 0   0 . 6 0   1   0 . 3 5   0 . 7 0   2   0 . 7 0   0 . 8 0   4   0 . 9 0   0 . 7 5   6   0 . 6 0   0 . 9 0   8   0 . 3 0   0 . 6 5   10   0 . 2 0   0 . 7 0       T ab le  2 .   Simu latio n   c o n f i g u r at io n   P a r a me t e r   V a l u e   P a r a me t e r   V a l u e   S i mu l a t i o n   p l a t f o r m   M A TLA B / S i mu l i n k   I n i t i a l   S O C   5 0 %   To o l b o x   R e i n f o r c e m e n t   L e a r n i n g   T o o l b o x   S O C   l o w e r   l i m i t   2 0 %   S o l v e r   F i x e d - st e p   O D E 4   S O C   u p p e r   l i m i t   9 0 %   S a mp l e   t i m e   0 . 1   s   A c t i o n   r a n g e   [ - 1 , 1 ]   p . u .   Ev a l u a t i o n   w i n d o w   1 0   s   P o si t i v e   a c t i o n   ESS   c h a r g i n g   N u mb e r   o f   e v a l u a t i o n   s t e p s   1 0 1   N e g a t i v e   a c t i o n   ESS   d i sc h a r g i n g       2 . 2 .     E SS   s t a t e - of - cha rg e  m o del   T h e  E SS   is   r ep r esen ted   u s in g   a  s im p lifie d   SOC   d y n am ic  m o d el.   T h e  SOC   is   u p d ated   b ased   o n   t h e   ch ar g in g   o r   d is ch ar g in g   co m m an d   g en er ated   b y   th e   co n tr o ller .   I n   g e n er al,   th e   E SS   en er g y   b alan ce   ca n   b e   ex p r ess ed   as   ( 2 ) .      + 1 =  + ℎ , −  , / Δ   ( 2 )     W h er e     is   th e  s tate  o f   ch ar g e  at  tim e  s tep   ,  ℎ ,   an d    ,   ar e  t h e  ch a r g in g   an d   d is ch ar g in g   p o wer ,     an d     ar e   th e   ch ar g in g   an d   d is ch ar g in g   ef f icien cies,     is   th e  r ated   E SS   ca p ac ity ,   an d   Δ   is   th e   s im u latio n   tim e  s tep .   I n   th e   im p lem en ted   b aselin e  test b ed ,   th e  n o r m alize d   E SS   co m m an d   is   u s ed   to   u p d at e   SOC   as  ( 3 ) .      + 1 =  +      ( 3 )     W h er e    is   th e  n o r m alize d   E S S  ac tio n   an d    = 0 . 025   is   th e  SOC   u p d ate  g ain   u s ed   i n   th e   s im u latio n   en v ir o n m en t.  T h e  SOC   is   co n s tr ain ed   b etwe en   2 0 %  a n d   9 0 %  to   p r e v en t  o v er c h ar g in g   an d   d ee p   d is ch ar g in g .   T h e  in itial SOC   is   s e t to   5 0 %,  allo win g   b o th   ch ar g i n g   an d   d i s ch ar g in g   ac tio n s   d u r in g   th e  e v alu atio n   p e r io d .     2 . 3 .     Reinf o rc e m ent   lea rning   env iro nm ent   f o r m ula t io n   T h e  E SS   c o n tr o l  p r o b lem   is   f o r m u lated   as  a   co n tin u o u s - a ctio n   Ma r k o v   d ec is io n   p r o ce s s   ( MD P),   f o llo win g   th e   s tan d ar d   r ein f o r ce m en t  lear n in g   r ep r esen tatio n   in   wh ich   a n   ag e n t  in ter ac ts   with   an   en v ir o n m e n t  th r o u g h   s tates,  ac tio n s ,   an d   r ewa r d s   [ 2 5 ] .   At  ea c h   tim e  s tep ,   th e  ag e n t  o b s er v es  th e  o p er atin g   s tate  o f   th e   m i c r o g r i d   a n d   g e n e r a t e s   a   n o r m a l i z e d   E S S   c h a r g e / d i s c h a r g e   c o m m a n d .   T h e   o b s e r v a t i o n   v e ct o r   i s   d e f i n e d   as   ( 4 ) .     = [  ( ) ,  ( ) ,   ( ) , ( ) , − 1 ]   ( 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 :   2912 - 2 9 2 3   2916   W h er e   ( )   is   th e  n o r m alize d   lo a d   d em an d ,    ( )   is   th e  n o r m alize d   PV  g en er atio n ,     ( )   is   th e   n o r m alize d   SOC ,   ( )   is   th e  n et  p o wer   im b alan ce   b e f o r e  E S S  ac tio n ,   an d   − 1   is   th e  p r ev io u s   E SS   co m m an d .   T h e  n et  im b alan ce   b ef o r e  E SS   ac t io n   is   ca lcu late d   as   ( 5 ) .     ( ) = ( ) −  ( )   ( 5 )     T h e  ac tio n   s p ac e  is   d ef i n ed   as  a  co n tin u o u s   s ca lar ,   as in   ( 6 ) .     ∈ [ − 1 , 1 ]   ( 6 )     W h er e  > 0   r ep r esen ts   ch ar g in g ,   < 0   r ep r esen ts   d is ch ar g in g ,   an d   = 0   r ep r esen ts   id le  o p er atio n .   T h e   r esid u al  p o wer   im b alan ce   af te r   E SS   ac tio n   is   ca lcu lated   u s in g   th e  ad o p ted   s ig n   c o n v e n tio n :     ( ) =  ( ) −  ( ) +   ( 7 )     B ec au s e  p o s itiv e    r ep r esen ts   ch ar g in g ,   it  in cr ea s es  th e  n et  d em an d .   C o n v er s ely ,   n e g at iv e    r ep r esen ts   d is ch ar g in g   a n d   th e r ef o r e   r ed u ce s   th e  n et  d em a n d .   T h is   s ig n   co n v en tio n   is   u s ed   co n s is ten tly   in   th e  r ewa r d   f u n ctio n   a n d   p er f o r m an ce   e v al u atio n .     2 . 4 .     St a bil it y - o rient ed  re wa rd  f un ct io n   T h e  r ewa r d   f u n ctio n   is   d esig n ed   to   en c o u r a g e  th r ee   c o n tr o l  o b jectiv es:  r ed u cin g   r esid u al  p o we r   im b alan ce ,   m ain tain i n g   SOC   n ea r   a  s af e  o p er atin g   p o in t,  a n d   av o id in g   ab r u p t  E SS   co m m an d   c h an g es.  T h e   r ewa r d   at  ea ch   tim e  s tep   is   f o r m u lated   as   ( 8 ) .     = − ∣ ( ) ∣ − ∣  ( ) −  ∣ 50 − ∣ − − 1 ∣   ( 8 )     W h er e  ( )   is   th e  r esid u al   p o wer   im b alan ce   af ter   E SS   ac tio n ,      is   th e  r ef er e n ce   SOC ,   an d   ∣ − − 1 ∣   is   th e  ab s o lu te  ac tio n   v ar iatio n .   T h e  r ewa r d   weig h ts   ,  ,   an d     d eter m in e  th e  r elativ e  im p o r tan ce   o f   p o wer - b ala n ce   r eg u latio n ,   SO C   r eg u latio n ,   an d   co n tr o l sm o o th n ess .   T h e  f in al  r ewa r d - weig h t  co n f i g u r atio n   was  s elec ted   f r o m   p r elim in ar y   tu n in g   to   o b tain   b o u n d ed   E SS   co m m an d s ,   s af e  SOC   b eh a v io r ,   an d   s tab le   lear n in g .   A   m o r e   ag g r ess iv e  s ettin g   with   a  lar g e r   p o wer - im b alan ce   p e n a l t y   was   als o   t este d   d u r i n g   d e v e lo p m e n t ,   b u t   i t p r o d u c e d   m o r e   ag g r ess i v e  E SS   c o m m an d s   a n d   l a r g er   ac ti o n   v a r i ati o n .   T h e r e f o r e ,   t h e  f i n a l  co n f i g u r a ti o n   a d o p ts   a   m o r e   b ala n c ed   r ew ar d   s et ti n g ,   as   s h o wn   i n   T a b l e  3 .       T ab le  3 .   R ewa r d   f u n ctio n   co n f ig u r atio n   R e w a r d   c o m p o n e n t   S y mb o l   V a l u e   P u r p o se   R e si d u a l   p o w e r   i m b a l a n c e   p e n a l t y   α   1 . 0 0   R e d u c e   P V - l o a d   mi sm a t c h   a f t e r   ESS   a c t i o n   S O C   d e v i a t i o n   p e n a l t y   β   0 . 0 5   M a i n t a i n   S O C   n e a r   r e f e r e n c e   l e v e l   A c t i o n   v a r i a t i o n   p e n a l t y   γ   0 . 1 0   A v o i d   a b r u p t   ESS   c o mm a n d   c h a n g e s   S O C   r e f e r e n c e   S O C r e f   5 0 %   P r e f e r r e d   o p e r a t i n g   p o i n t       2 . 5 .     P P O   a g ent   des ig n a nd   t ra ini ng   co nfig ura t io n   PP O  is   s elec ted   b ec au s e  it  is   s u itab le  f o r   c o n tin u o u s - ac tio n   co n tr o l  p r o b lem s   an d   ca n   lim i t  ex ce s s iv e   p o licy   u p d ates  th r o u g h   a  cli p p ed   s u r r o g ate  o b jectiv e  [ 2 6 ] .   T h is   ch ar ac ter is tic  is   r elev an t  f o r   E SS   co n tr o l  b ec au s e  th e  ag en t m u s t le ar n   a  ch ar g e/d is ch ar g e   p o licy   with o u t p r o d u cin g   h i g h ly   u n s tab le  co n tr o l c o m m a n d s .   T h e  PP O  ag en t  u s es  an   ac to r - cr itic  s tr u ctu r e.   T h e  ac to r   n et wo r k   g e n er ates  th e  E SS   co m m an d ,   w h ile  th e  cr itic   n etwo r k   esti m ates  th e  s tate  v a lu e.   B o th   n etwo r k s   u s e  two   f u lly   co n n ec ted   h id d en   lay er s   w ith   1 2 8   n eu r o n s   p er   lay er   an d   r ec tifie d   lin ea r   u n i t  ( R eL U)   ac tiv atio n   f u n ctio n s .   T h e  ac to r   o u t p u t  u s es  a  c o n tin u o u s   Gau s s ian   p o licy ,   with   a  m ea n   o u tp u t  c o n s tr ain ed   b y   a  h y p er b o lic  tan g en t  ac tiv atio n   t o   r em ain   wi th in   th e  n o r m alize d   ac tio n   r an g e .   T h e  PP O  ag e n t  is   tr ain ed   o f f lin e  u s in g   a  MA T L AB   f u n ctio n   en v ir o n m en t  co n s tr u cted   to   r ep r o d u ce   th e  s am e  PV - lo ad   p r o f ile,   SOC   d y n am ics,  ac tio n   co n v en tio n ,   an d   r ewa r d   f o r m u latio n   u s ed   in   th e   Simu lin k   test b ed .   T h is   ap p r o ac h   allo w s   r ep ea tab le  PP O  tr ain in g   w h ile  p r eser v in g   co n s is ten cy   with   th e  s im p lifie d   s ig n al - lev el  s im u latio n   m o d el.   T h e  tr ain in g   p r o ce s s   r ec o r d s   th e  ep is o d e  r ewa r d   an d   m o v i n g   av er ag e  r ewa r d   to   ev alu ate  lear n i n g   co n v er g e n ce .   T h e  m ai n   PP O  h y p er p ar a m eter s   ar e  lis ted   in   T ab le  4 .       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       B a s elin e  s ta b ilit y - o r ien ted   p r o xima l p o licy  o p timiz a tio n   fo r   e n erg y  s to r a g e  in   micro g r id s   ( C itr a   De w i )   2917   T ab le  4 .   PP O  tr ain in g   h y p e r p a r am eter s   H y p e r p a r a me t e r   V a l u e   H y p e r p a r a me t e r   V a l u e   Le a r n i n g   r a t e   3 × 1 0 −4   A c t o r   h i d d e n   l a y e r s   2   f u l l y   c o n n e c t e d   l a y e r s   C l i p p i n g   p a r a m e t e r   0 . 2   C r i t i c   h i d d e n   l a y e r s   2   f u l l y   c o n n e c t e d   l a y e r s   D i sco u n t   f a c t o r   0 . 9 9   N e u r o n s  p e r   h i d d e n   l a y e r   1 2 8   Ex p e r i e n c e   h o r i z o n   2 0 4 8   A c t i v a t i o n   f u n c t i o n   R e LU   M i n i - b a t c h   s i z e   2 5 6   M a x i m u m   e p i s o d e s   3 0 0   U p d a t e   e p o c h s   10   M a x i m u m   st e p s   p e r   e p i s o d e   1 0 1   En t r o p y   c o e f f i c i e n t   0 . 0 1           2 . 6 .     Rule - ba s ed  benchm a rk   co ntr o ller   A  r u le - b ased   E SS   co n tr o ller   is   im p lem en ted   as  a  r ef e r en ce   b en c h m ar k .   T h e  p u r p o s e  o f   th is   b en ch m ar k   is   to   p r o v i d e  a  s im p le  d eter m in is tic  co m p ar is o n   f o r   ev al u atin g   wh et h er   t h e  PP O  co n tr o ller   p r o d u ce s   f ea s ib le  an d   p h y s ica lly   m ea n in g f u l  E SS   ac tio n s .   T h e  r u le - b ased   co n tr o ller   u s es  th e  s ig n   o f   t h e  n et   p o wer   im b alan ce   an d   SOC   li m its   to   d eter m in e  th e  E SS   co m m an d .   I f   lo a d   d em an d   e x ce e d s   PV g en er atio n   an d   SOC   i s   ab o v e  th e  lo wer   lim it,   th e  E SS   d is ch ar g es.  I f   PV  g e n er atio n   ex ce e d s   lo ad   d em a n d   an d   SOC   is   b elo w   th e  u p p er   lim it,  th e   E SS   ch ar g es.  Oth er w is e,   th e  E SS   r em ai n s   id le.   T h e   co n tr o ller   also   in clu d es  a  co m m an d - r ate  lim itatio n   to   av o i d   ab r u p t  ch an g es.  T h e   r u le - b ased   co m m an d   is   ex p r ess ed   as   ( 9 ) .      = { − min   ( ∣ ( ) ∣ , 1 ) , ( ) > 0 ,    >  min   ( ∣ ( ) ∣ , 1 ) , ( ) < 0 ,    <   0 ,  ℎ      ( 9 )     A  co m m an d - r ate  lim iter   is   ap p lied   as  ( 1 0 ) .     ∣ − − 1 ∣ ≤ Δ    ( 1 0 )     W h er e  Δ  = 0 . 15 .   T h e  s am e  SO C   lim it s ,   PV - lo ad   p r o f ile,   s ig n   co n v en tio n ,   an d   e v alu atio n   win d o w  ar e  u s ed   f o r   b o th   t h e  PP O  co n tr o ll er   an d   th e   r u le - b ased   b en c h m a r k .     2 . 7 .     E v a lua t i o n m et rics   T h e   t r a i n e d   P P O   c o n t r o l l e r   a n d   r u l e - b a s e d   b e n c h m a r k   a r e   e v a l u a t e d   u s i n g   t h e   s a m e   P V - l o a d   p r o f i l e   a n d   s i m u l a t i o n   s e t t i n g s .   T h e   p e r f o r m a n c e   a s s e s s m e n t   f o c u s e s   o n   f i v e   i n d i c a t o r s :   v o l t a g e   r e s p o n s e ,   E S S   c o m m a n d ,   SOC   tr ajec to r y ,   r ewa r d   b e h av i o r ,   an d   r esid u al  p o wer   im b ala n ce .   T h e  SOC   r an g e  is   ca lcu la ted   as   in   ( 1 1 ) .      =   −    ( 1 1 )     T h e  m ea n   a b s o lu te  r esid u al  p o wer   im b alan ce   is   ca lcu lated   as   ( 1 2 ) .      = 1 ∑ ∣ = 1 ( ) ∣   ( 1 2 )     T h e  co m m a n d   s m o o th n ess   in d ex   is   ca lcu lated   as   ( 1 3 ) .       ℎ = 1 − 1 ∑ ∣ = 2 − − 1 ∣   ( 1 3 )     R ewa r d   s tatis tics   ar e  also   r ep o r ted   u s in g   m i n im u m ,   m a x im u m ,   m ea n ,   s tan d ar d   d e v iatio n ,   an d   m ea n   a b s o lu te   s tep   ch an g e.   Fo r   co m p ar is o n   p u r p o s es,  ea ch   s ig n al  is   s u m m a r ized   u s in g   ( 1 4 ) .     , , ˉ , ,   an d   1 − 1 ∑ ∣ = 2 − − 1 ∣   ( 1 4 )     T h ese  in d icato r s   ar e  u s ed   to   d eter m in e  wh et h er   th e   lear n e d   co n t r o ller   p r o d u ce s   b o u n d e d ,   s af e,   a n d   p h y s ically   m ea n in g f u l  E SS   d i s p atch .   T h e  ev alu atio n   d o es  n o t  claim   f u ll - s ca le  v o ltag e  o r   f r eq u e n cy   s tab ilit y   v alid atio n   b ec au s e  th e   p r esen t  test b ed   d o es  n o t  in clu d e  d e tailed   n etwo r k   co n s tr ain ts ,   c o n v er ter   s witch in g   d y n am ics,  o r   elec tr o m ec h a n i ca l  f r eq u en cy   m o d els.  I n s tead ,   th e   r esu lts   ar e   in te r p r et ed   as  a   b aselin e  ass es s m en t o f   s tab ilit y - o r ien te d   E SS   d is p atch   b eh av i o r   in   a   s im p lifie d   r ep r o d u ci b le  s im u latio n   en v ir o n m e n t.       3.   RE SU L T S AN D  D I SCU SS I O N   3 . 1 .     P P O   t ra ini ng   perf o r m a nce   T h e  PP O  ag en t  was  tr ain ed   o f f lin e  u s in g   th e  r ein f o r ce m en t  lear n in g   e n v ir o n m en t  d escr ib ed   in   s ec tio n   2 .   T h e  t r ain in g   p r o ce s s   was  co n d u cte d   f o r   3 0 0   ep is o d es,  with   1 0 1   s tep s   p er   ep is o d e.   Fig u r e   3   s h o ws  th e  ep is o d e  r ewa r d   an d   av er a g e  r ewa r d   d u r in g   PP O  tr ain in g .   At  th e  b eg in n in g   o f   tr ain in g ,   th e  ep is o d e  r ewa r d   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 :   2912 - 2 9 2 3   2918   was  h ig h ly   n eg ativ e  b ec a u s e  th e  ag en t  in it ially   g en er ate d   ex p lo r ato r y   E SS   ch ar g e/d is ch a r g e  ac tio n s .   As  th e   t r a i n i n g   p r o g r e s s e d ,   t h e   r e w a r d   g r a d u a l l y   i m p r o v e d ,   i n d i c at in g   t h a t   t h e   a g e n t   le a r n e d   t o   r ed u c e   r e s i d u a l  p o w e r   i m b a l a n c e ,   m ai n t a i n   SO C   n e a r   t h e   d es i r e d   o p e r at i n g   r e g i o n ,   an d   a v o i d   e x c e s s i v e  c o n t r o l   v a r i a t i o n .   T h e  e p is o d e  r e w a r d   w a s   a p p r o x i m a te l y   - 7 2 . 6 3   a t   t h e   s t a r t   o f   t r a i n in g ,   w h i l e   t h e   m o v i n g - a v e r a g e   r e w a r d   r e a c h e d   a p p r o x i m a t e l y   - 2 . 5 1   b y   e p i s o d e   3 0 0 .   T h i s   r e s u l t   c o n f i r m s   t h a t t h e   PP O   a g e n t   w as   a b l e   t o   l e a r n   a   f e a s i b l e   c o n t r o l  p o l i c y   i n   t h e   s i m p li f i e d   PV ,   l o a d ,   a n d   E S S   e n v i r o n m e n t .   Ho wev er ,   th e  t r ain in g   cu r v e  s h o u ld   b e   in ter p r ete d   as  ev id en ce   o f   lear n in g   co n v er g en ce   in   th e  p r o p o s ed   b aseli n e  test b ed ,   n o t  as  a  d ir ec t  in d icatio n   th at  PP O  u n iv er s ally   o u tp er f o r m s   d eter m in is tic  co n tr o l m eth o d s .     3 . 2 .     E v a lua t i o n pro f ile   T h e  tr ain e d   PP O  co n tr o ller   a n d   th e   r u le - b ased   b e n ch m ar k   w er e  ev alu ated   u s in g   th e   s am e  n o r m alize d   PV  g en er atio n   an d   lo a d   d em a n d   p r o f iles .   T h e   ev alu atio n   p r o f ile  is   s h o wn   in   Fig u r e   4 .   T h e  p r o f ile  i n clu d es  b o th   lo ad - d ef icit a n d   PV - s u r p l u s   co n d itio n s ,   allo win g   th e  E S S c o n tr o ller   to   p er f o r m   d is ch a r g in g   a n d   ch a r g in g   ac tio n s   d u r in g   th e  1 0   s   ev alu atio n   win d o w.   At  th e  b eg in n i n g   o f   th e  s im u latio n ,   th e  lo a d   d em an d   is   h ig h er   th an   PV  g en er atio n ,   r e q u ir in g   th e  E SS   to   d is ch ar g e.   Ar o u n d   th e   m id d le  o f   th e   ev alu atio n   win d o w,   PV   g en er atio n   b ec o m es  clo s er   to   o r   h ig h er   th an   th e  lo ad   d e m an d ,   allo win g   th e  E SS   to   r ed u ce   d is ch ar g in g   o r   p er f o r m   ch ar g in g .   T o war d   th e   en d   o f   th e  win d o w,   th e   lo ad   d em an d   a g ain   e x ce ed s   PV  g e n er atio n ,   r eq u ir i n g   ad d itio n al  E SS   s u p p o r t.           Fig u r e  3 .   PP O  tr ain in g   r ewa r d   o v er   3 0 0   e p is o d es           Fig u r e  4 .   PV g e n er atio n   a n d   l o ad   d em a n d   p r o f iles   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       B a s elin e  s ta b ilit y - o r ien ted   p r o xima l p o licy  o p timiz a tio n   fo r   e n erg y  s to r a g e  in   micro g r id s   ( C itr a   De w i )   2919   3 . 3 .     Dy na m ic  re s po ns e  o f   rule - ba s ed  a nd   P P O   co ntr o llers   Fig u r e  5   co m p ar es  th e  d y n am i c  r esp o n s es  o f   th e  r u le - b ased   an d   PP O  co n tr o ller s   u n d e r   th e   s am e  PV - lo ad   p r o f ile.   T h e  co m p ar is o n   in clu d es  v o ltag e   r esp o n s e,   E SS   co m m an d ,   SOC   tr ajec to r y ,   an d   r esid u al  p o we r   im b alan ce .   As  s h o wn   i n   Fig u r e  5 ( a ) ,   b o th   c o n tr o ller s   m a i n tain   th e  v o ltag e  r esp o n s e  cl o s e  to   th e  n o m in al  v alu e  o f   1   p . u .   T h is   i n d icate s   th at  th e   s im p lifie d   v o ltag e - r esp o n s e  in d icato r   r em ain s   cl o s e  to   t h e  n o m in al   o p er atin g   p o in t  d u r in g   t h e  e v a lu atio n   win d o w.   Fig u r e   5 ( b )   s h o ws  th at  b o th   co n tr o ller s   g e n er ate  b o u n d e d   E SS   co m m an d s   with in   th e  n o r m a lized   ac tio n   r an g e .   T h e  r u le - b ased   co n tr o ller   p r o d u ce s   s m o o th er   c o m m an d   tr an s itio n s ,   wh ile  th e  PP O  co n tr o ller   s h o ws  m o r e  f lu ctu ati o n   d u e  to   th e  lear n ed   s to ch asti c  p o licy   b eh av io r .   Fig u r e  5 ( c)   s h o ws  th at  th e  SOC   r em ain s   with in   a  s af e  o p er atin g   r eg io n   f o r   b o th   c o n tr o ller s .   T h e  SOC   v ar iatio n   is   s m all,   in d icatin g   t h at  n eith er   c o n tr o ller   ca u s es  e x ce s s iv e  ch ar g in g   o r   d ee p   d is ch ar g in g   d u r in g   t h e  ev alu atio n   p er io d .   Fig u r e  5 ( d )   s h o ws  t h e  r esid u al  p o we r   im b alan ce   af ter   E SS   ac tio n .   T h e  r u le - b ased   co n tr o ller   ac h iev es  lo wer   r esid u al  im b alan ce   u n d er   th is   d et er m in is tic  p r o f ile,   wh ile  th e  PP O  co n tr o ller   s till   p r o d u ce s   f ea s ib le  an d   b o u n d e d   E SS   d is p atch .           Fig u r e  5 .   C o m p a r ativ e  d y n am i c  r esp o n s es o f   th e  r u le - b ased   a n d   PP O  co n tr o ller s   u n d er   th e   s am e  PV - lo ad   p r o f ile: ( a)   v o ltag e  r esp o n s e,   ( b )   E SS   co m m an d ,   ( c)   SOC   tr ajec to r y ,   an d   ( d )   r esid u al  p o we r   im b alan ce       3 . 4 .     Q ua ntit a t iv e  perf o rma nce  co m pa riso n   T h e  s tatis tical  p er f o r m an ce   o f   th e  r u le - b ased   b aselin e  co n tr o ller   is   s u m m ar ized   in   T a b le  5 .   T h e  v o ltag e  r esp o n s e  r em ain s   clo s e  to   1   p . u . ,   with   a  m ea n   v al u e  o f   1 . 0 0 0 1   p . u .   a n d   a  s tan d ar d   d ev iatio n   o f   0 . 0 0 1 0 .   T h e  E SS   co m m an d   is   b o u n d e d   b etwe en   - 0 . 5 0 0 0   an d   0 . 1 5 0 0   p . u .   T h e  SOC   r em ain s   with in   a  n ar r o w  r an g e  o f   4 9 . 4 5 9 0 – 5 0 . 0 0 0 0 %,  co n f ir m i n g   s af e   E SS   o p er atio n .   T h e  m ea n   r esid u al   p o we r   im b ala n ce   is   0 . 0 0 3 4   p . u . ,   in d icatin g   th at  th e  r u le - b ased   co n tr o ller   ca n   ef f ec tiv ely   co m p en s ate  f o r   th e   s im p lifie d   PV - lo ad   m is m atch .   T h e  PP O - b ased   E SS   c o n tr o l   p er f o r m an ce   is   s u m m ar ized   i n   T ab le   6 .   T h e  PP O  co n tr o lle r   m ain tain s   th e  v o ltag e  r esp o n s e  with in   0 . 9 9 8 5 – 1 . 0 0 1 6   p . u .   an d   k e ep s   SOC   with in   4 9 . 4 8 3 0 – 5 0 . 0 0 0 0 %.  T h e  E SS   co m m an d   r e m ain s   b o u n d ed   b e twee n   - 0 . 5 2 2 5   an d   0 . 1 3 7 6   p . u .   T h ese  r esu lts   s h o w  th at  PP O   s u cc ess f u lly   lear n s   a  f ea s ib le  ch ar g e/d is ch ar g e  p o licy   with o u t v io latin g   t h e  SOC   s af ety   r an g e.   H o wev er ,   th e   m ea n   r esid u al  p o wer   im b alan ce   o f   PP O  is   0 . 0 2 7 5   p . u . ,   wh ich   is   h ig h er   th a n   th at  o f   th e  r u le - b ased   co n tr o ller .       T ab le  5 .   R u le - b ased   b aselin e  p er f o r m an ce   S i g n a l   M i n   M a x   M e a n   S t d   M e a n   | Δ|   V o l t a g e   0 . 9 9 9 0   1 . 0 0 1 9   1 . 0 0 0 1   0 . 0 0 1 0   0 . 0 0 2 0   ESS   c o mm a n d   - 0 . 5 0 0 0   0 . 1 5 0 0   - 0 . 2 1 8 9   0 . 1 8 6 2   0 . 0 1 4 3   S O C   4 9 . 4 5 9 0   5 0 . 0 0 0 0   4 9 . 7 9 4 0   0 . 1 3 3 5   0 . 0 0 6 1   R e w a r d   - 0 . 2 6 5 0   - 0 . 0 0 0 4   - 0 . 0 0 5 2   0 . 0 2 8 3   0 . 0 0 2 7   P o w e r   i mb a l a n c e   0 . 0 0 0 0   0 . 2 5 0 0   0 . 0 0 3 4   0 . 0 2 6 5   0 . 0 0 2 5     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 :   2912 - 2 9 2 3   2920   T ab le  6 .   PP O - b ased   E SS   co n tr o l p er f o r m an ce   S i g n a l   M i n   M a x   M e a n   S t d   M e a n   | Δ|   V o l t a g e   0 . 9 9 8 5   1 . 0 0 1 6   1 . 0 0 0 0   0 . 0 0 1 1   0 . 0 0 1 9   ESS   c o mm a n d   - 0 . 5 2 2 5   0 . 1 3 7 6   - 0 . 2 0 8 9   0 . 1 7 6 1   0 . 0 3 8 6   S O C   4 9 . 4 8 3 0   5 0 . 0 0 0 0   4 9 . 7 9 6 0   0 . 1 2 7 1   0 . 0 0 5 8   R e w a r d   - 0 . 2 6 5 0   - 0 . 0 0 2 2   - 0 . 0 3 1 7   0 . 0 3 5 0   0 . 0 2 1 7   P o w e r   i mb a l a n c e   0 . 0 0 0 1   0 . 2 5 0 0   0 . 0 2 7 5   0 . 0 3 3 1   0 . 0 2 1 6       T ab le  7   p r o v id es  a  d i r ec t  co m p ar is o n   b etwe en   th e  r u le - b a s ed   an d   PP O  co n t r o ller s .   B o t h   m eth o d s   m ain tain   v o ltag e  clo s e  to   1   p . u .   an d   k ee p   SOC   with in   th e  s a f e  o p er atin g   r e g io n .   T h e  PP O  co n tr o ller   p r o d u ce s   a  s lig h tly   s m aller   SOC   r an g e,   in d icatin g   s li g h tly   l o wer   SO C   ex cu r s io n .   Ho wev er ,   th e   r u le - b ased   co n tr o ller   ac h iev es lo wer   av er a g e  r esid u al  p o wer   im b alan ce   an d   s m o o t h er   E SS   co m m an d   v ar iatio n .   T h e  co m p ar is o n   s h o ws  th at  PP O  ac h iev ed   th e   m ain   f ea s ib ilit y   o b jectiv es:  b o u n d e d   co n tr o l  ac tio n ,   s af e  SOC   o p er a tio n ,   an d   v o ltag e  r esp o n s e  clo s e  to   th e  n o m in al  v al u e.   Nev er th eless ,   in   th is   s im p lifie d   d eter m in is tic  test   p r o f ile,   th e  r u le - b ased   co n tr o ller   r e m ain ed   h ig h ly   co m p etitiv e  an d   o u tp er f o r m e d   PP O  in   ter m s   o f   av er ag e  r esid u al  p o wer   im b alan ce   an d   c o m m an d   s m o o th n e s s .   T h is   r esu lt  is   r ea s o n ab le  b ec au s e  th e   r u le - b ased   co n tr o ller   d ir ec tly   u s es  th e  s ig n   o f   th e   n et   im b al an ce   to   d eter m i n e  th e   E SS   co m m an d ,   wh ile  PP O   lear n s   th e  p o licy   t h r o u g h   s to c h asti c  ex p lo r atio n   a n d   r ewa r d   f ee d b ac k .       T ab le  7 .   Qu a n titativ e  co m p ar i s o n   b et wee n   r u le - b ased   an d   PP O  co n tr o ller s   M e t r i c   R u l e - b a se d   PPO   I n t e r p r e t a t i o n   V o l t a g e   r a n g e   ( p . u . )   0 . 9 9 9 0 – 1 . 0 0 1 9   0 . 9 9 8 5 – 1 . 0 0 1 6   B o t h   r e s p o n ses   r e m a i n e d   c l o se  t o   1   p . u .   V o l t a g e   s t a n d a r d   d e v i a t i o n   0 . 0 0 1 0   0 . 0 0 1 1   C o m p a r a b l e   S O C   r a n g e   ( %)   0 . 5 4 1 0   0 . 5 1 7 0   P P O   sl i g h t l y   l o w e r   S O C   e x c u r si o n   M e a n   ESS   c o mm a n d   ( p . u . )   - 0 . 2 1 8 9   - 0 . 2 0 8 9   C o m p a r a b l e   d i sc h a r g e   t e n d e n c y   M e a n   | ΔES S   c o mm a n d |   0 . 0 1 4 3   0 . 0 3 8 6   R u l e - b a se d   s mo o t h e r   M e a n   r e si d u a l   p o w e r   i m b a l a n c e   ( p . u . )   0 . 0 0 3 4   0 . 0 2 7 5   R u l e - b a se d   l o w e r   M a x i m u m   r e si d u a l   p o w e r   i m b a l a n c e   ( p . u . )   0 . 2 5 0 0   0 . 2 5 0 0   Eq u a l   p e a k   v a l u e   M e a n   r e w a r d   - 0 . 0 0 5 2   - 0 . 0 3 1 7   R u l e - b a se d   l o w e r   p e n a l t y       3 . 5 .     Dis cus s io n o f   s t a bil it y - o rient ed  beha v io r  a nd   lim it a t io ns   T h e  r esu lts   co n f ir m   th at  th e  p r o p o s ed   PP O  f r am ewo r k   ca n   s er v e  as  a  r ep r o d u cib le  b a s elin e  f o r   s tab ilit y - o r ien ted   E SS   d is p atc h   in   a   s im p lifie d   PV,  lo a d ,   a n d   E SS   m icr o g r id   en v ir o n m e n t.  T h e   PP O  ag en t   lear n ed   to   p r o d u ce   b o u n d ed   c h ar g e/d is ch ar g e   co m m a n d s   an d   m ai n tain ed   t h e  SOC   with in   a  n ar r o w  a n d   s af e   r an g e.   T h is   s u p p o r ts   th e   m ai n   o b jectiv e  o f   th e   s tu d y ,   wh i ch   is   to   estab lis h   a  b aselin e   lear n in g - b ased   E SS   co n tr o l  f r am ewo r k .   T h e  c o m p ar is o n   with   th e   r u le - b ased   co n tr o ller   p r o v id es  a n   im p o r tan t  p r ac tical  in s ig h t.  I n   a  s im p le  d eter m in is tic  o p er atin g   p r o f ile  with   d ir ec t  ac ce s s   t o   PV - lo ad   im b alan ce ,   a  r u le - b ased   co n tr o ller   ca n   p er f o r m   v er y   well  b ec au s e  it s   lo g ic  d ir ec tly   co m p en s ates  th e  m is m atch   b etwe en   PV  g en er atio n   a n d   lo a d   d em an d .   T h er ef o r e,   PP O  d o es  n o t  n ec ess ar ily   o u tp er f o r m   r u le - b ased   c o n tr o l  in   all  m etr ics  u n d er   th is   s im p lifie d   co n d itio n .   PP O  m ay   m er it  f u r th er   e v alu atio n   in   en v ir o n m en ts   with   g r ea ter   u n ce r tain ty ,   n o n lin ea r   d y n am ics,  d elay e d   r esp o n s es,  an d   m u lti - o b jectiv e  co n s tr ain ts .   T h e  PP O  r esu lt  s h o u ld   th e r ef o r e  b e   in ter p r eted   as  a  f ea s ib i lity   d em o n s tr atio n   o f   a   s tab ilit y - o r ien ted   lear n in g   f r am ewo r k .   T h e   s im u lated   v o ltag e - r esp o n s e  in d ic ato r   r em ai n ed   n ea r   th e   n o m i n al  v alu e ,   k ep t   SOC   with in   4 9 . 4 8 3 0 – 5 0 . 0 0 0 0 %,  a n d   p r o d u ce d   b o u n d e d   E SS   c o m m an d s   with in   th e   n o r m alize d   ac tio n   lim its .   At   th e  s am e  tim e,   th e  h ig h er   m ea n   r esid u al  p o wer   im b alan ce   an d   h ig h er   ac tio n   v ar iatio n   co m p ar ed   with   th e  r u le - b ased   co n tr o ller   in d icate   th a t  ad d itio n al  tr ai n in g   r ef in em en ts ,   r ich er   d is tu r b an ce   s ce n ar io s ,   an d   b r o ad er   b en ch m ar k in g   a r e  r eq u ir ed   b e f o r e  claim in g   clea r   p er f o r m a n ce   ad v an tag es.   T h is   f in d in g   also   cla r if ies  th e  lim itatio n s   o f   th e   b aselin e  m o d el.   T h e   cu r r en t  test b ed   d o es  n o t  in clu d e  d etailed   co n v er ter   s witch in g   d y n am ics,  d is tr ib u tio n - n etwo r k   co n s tr ain ts ,   b atter y   a g in g ,   o r   elec tr o m ec h a n ica l  f r eq u e n cy   d y n am ics.  T h er ef o r e,   th e  v o ltag e  r esp o n s e  r ep o r ted   in   th is   s tu d y   s h o u ld   b e  in ter p r eted   as  a  s im p lifie d   d y n am ic   r esp o n s e  in d icato r ,   n o t  as  f u ll  n etwo r k - lev el  v o ltag e  s tab ilit y   v alid a tio n .   Fu tu r e  w o r k   s h o u ld   in co r p o r ate  m o r e  d etai led   PV - s to r ag e  d y n am ic  m o d els  an d   v o ltag e  p r ed ictiv e  co n tr o l  s tr u ctu r es  [ 2 7 ] .   T h e  f r am ewo r k   s h o u ld   also   b e  ex ten d ed   to   in clu d e  co n v er ter   an d   in v er ter   r e p r esen tatio n s ,   m u lti - E SS   co o r d in atio n ,   ec o n o m ic  an d   d eg r ad atio n   o b jectiv es,  an d   b r o ad e r   b e n ch m ar k in g   ag ain s t  co n v e n tio n a l  a n d   lear n in g - b ased   co n tr o ller s   s u ch   as  MPC ,   PID ,   d ee p   d eter m in is tic  p o licy   g r ad ien t   ( DDPG ) ,   twin   d elay ed   d ee p   d eter m in is tic  p o licy   g r ad ien t   ( T D3 ) ,   o r   s o f t  ac to r - c r itic   ( SAC ) .   I n   ad d itio n ,   h ar d war e   im p lem en tatio n   o r   h ar d war e - in - th e - lo o p   v ali d atio n   s h o u l d   b e  c o n s id er ed   to   ass es s   th e  r ea l - tim e  f ea s ib ilit y   o f   th e  p r o p o s ed   co n tr o ller   u n d er   m o r e   r ea lis tic  o p er atin g   co n d itio n s   [ 2 8 ] .     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       B a s elin e  s ta b ilit y - o r ien ted   p r o xima l p o licy  o p timiz a tio n   fo r   e n erg y  s to r a g e  in   micro g r id s   ( C itr a   De w i )   2921   4.   CO NCLU SI O N   T h is   s tu d y   p r esen ted   a  r e p r o d u cib le  b aselin e  s tab ilit y - o r ien te d   PP O  f r am ewo r k   f o r   E SS   ch ar g e/d is ch ar g e  m a n ag em e n t  in   a  s im p lifie d   P V - lo ad - E SS   m icr o g r id   en v ir o n m en t.  T h e  E SS   co n tr o l   p r o b lem   was  f o r m u lated   as  a   c o n tin u o u s - ac tio n   MD P,   wh er e   th e  a g en t   o b s er v es   lo ad   d em a n d ,   PV   g en er atio n ,   SOC ,   n et  im b alan ce ,   an d   p r e v io u s   E SS   co m m an d   to   g e n er a te  b o u n d ed   ch ar g in g   o r   d is ch ar g in g   a ctio n s .   T h e  tr ain in g   r esu lts   s h o wed   th at  th e  PP O  ag en t  was  ab le  to   lea r n   a  f ea s ib le  d is p atch   p o licy ,   as  in d icate d   b y   th e  im p r o v em e n t  o f   e p is o d e  r ew ar d   d u r in g   tr ain in g .   D u r in g   ev alu atio n ,   th e  PP O  co n tr o ll er   m ain tain e d   th e   v o ltag e  r esp o n s e  clo s e  to   1   p . u . ,   k ep t  SOC   with in   ap p r o x im ately   4 9 . 4 8 3 0 – 5 0 . 0 0 0 0 %,  an d   p r o d u ce d   b o u n d e d   E SS   co m m an d s   with in   th e  n o r m alize d   ac tio n   lim its .   C o m p ar ed   with   t h e  r u le - b ase d   b en c h m ar k ,   th e   PP O  co n tr o ller   d em o n s tr ated   f ea s ib le  an d   b o u n d e d   o p er atio n ,   b u t  it  d id   n o t  o u tp e r f o r m   th e  r u le - b ased   s tr ateg y   i n   all  m etr ics.  T h e  r u le - b ased   co n tr o ller   ac h iev e d   lo wer   m ea n   r esid u al  p o we r   im b alan ce   an d   s m o o t h er   E SS   co m m an d   v ar iatio n   u n d er   th e  s im p lifie d   d eter m in is tic  PV - lo ad   p r o f ile.   T h is   f in d in g   in d icate s   th at  PP O  s h o u ld   n o t  b e  claim e d   as  u n iv er s al ly   s u p e r io r   in   s im p lifie d   o p er atin g   co n d itio n s ,   b u t  it  r em ain s   p r o m is in g   f o r   m o r e  co m p lex ,   u n ce r t ain ,   n o n lin ea r ,   an d   m u lti - o b jectiv e  m icr o g r id   en v i r o n m en ts .   T h e  m ain   co n tr i b u tio n   o f   th is   s tu d y   is   th e   d e v elo p m e n t  o f   a  tr an s p ar en t   an d   r ep r o d u cib l e  b aselin e  f r am ewo r k   f o r   s tab ilit y - o r ie n ted   lear n in g - b ased   E SS   co n tr o l .   T h e  s tu d y   co n tr ib u tes to   th e  f ield   b y   p r o v id in g   a   clea r   s im u latio n   s tr u ctu r e,   r ewa r d   f o r m u latio n ,   b en ch m ar k   co m p ar is o n ,   an d   q u a n titativ e  ev alu atio n   p r o ce d u r e.   Fu tu r e  w o r k   s h o u ld   ex ten d   th e  m o d el  b y   i n clu d in g   d etailed   c o n v e r ter   an d   in v er ter   d y n am ics,   f r eq u e n cy - r esp o n s e  ass ess m e n t,  b atter y   ag in g   an d   ec o n o m ic  o b jectiv es,  b r o ad er   d is tu r b an ce   s ce n ar io s ,   b r o ad e r   co n tr o ller   b e n ch m ar k in g ,   an d   h ar d war e - in - t h e - lo o p   v alid atio n .       F UNDING   I NF O R M A T I O N   T h is   r ese ar ch   was  f u n d ed   b y   th e  L em b ag a  Pen elitian   d a n   Pen g ab d ia n   k ep a d a  Ma s y ar ak at   ( L PP M) ,   Un iv er s itas   Neg er i Pad an g ,   u n d er   th e  in ter n al  r esear ch   g r an t  co n tr ac t N o .   2 0 4 5 /UN. 3 5 . 1 5 / L T /2 0 2 5 .       AUTHO R  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 e  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 e  o f   Aut ho r   C   M   So   Va   Fo   I   R   D   O   E   Vi   Su   P   Fu   C itra   Dew i   ✓   ✓   ✓   ✓   ✓   ✓   ✓   ✓   ✓   ✓     ✓   ✓   ✓   R ick y   Ma u lan a   ✓   ✓   ✓   ✓   ✓   ✓   ✓   ✓   ✓   ✓   ✓   ✓       R an d i Pu r n am a  Pu tr a   ✓   ✓     ✓     ✓       ✓   ✓   ✓     ✓       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 Y   Simu latio n   d ata  an d   MA T L AB /Si m u lin k   m o d els  s u p p o r tin g   th is   s tu d y   ar e  av ailab le  f r o m   th e  co r r esp o n d in g   a u th o r   u p o n   r ea s o n ab le  r eq u est.         RE F E R E NC E S   [ 1 ]   S .   E.   Ey i ma y a   a n d   N .   A l t i n ,   “ R e v i e w   o f   e n e r g y   m a n a g e me n t   sy s t e m s  i n   m i c r o g r i d s,”   A p p l i e d   S c i e n c e s ,   v o l .   1 4 ,   n o .   3 ,   F e b .   2 0 2 4 ,   d o i :   1 0 . 3 3 9 0 / a p p 1 4 0 3 1 2 4 9 .   [ 2 ]   D .   A h m e d ,   M .   E b e e d ,   A .   A l i ,   A .   S .   A l g h a m d i ,   a n d   S .   K a mel ,   “ M u l t i - o b j e c t i v e   e n e r g y   ma n a g e m e n t   o f   a   m i c r o - g r i d   c o n s i d e r i n g   st o c h a st i c   n a t u r e   o f   l o a d   a n d   r e n e w a b l e   e n e r g y   r e so u r c e s, ”   El e c t ro n i c s ,   v o l .   1 0 ,   n o .   4 ,   F e b .   2 0 2 1 ,   d o i :   1 0 . 3 3 9 0 / e l e c t r o n i c s 1 0 0 4 0 4 0 3 .   Evaluation Warning : The document was created with Spire.PDF for Python.