Journal of Electrical and Computer Engineering / 2012 / Article / Alg 1

Research Article

An Efficient Renewable Energy Management and Sharing System for Sustainable Embedded Devices

Algorithm 1

Adaptive charging control.
(1) for  𝑖 ← 1 to 𝑛 do
(2)  𝐾 𝑖 1 ← 0 ;
(3)  Calculate 𝑃 𝐿 𝑖 based on measured 𝑉 𝑐 𝑖 ;
(4) end
(5) π‘š ← 𝐺 𝑒 𝑑 𝑀 𝑖 𝑛 𝐢 π‘Ž 𝑝 𝐼 𝑑 ( ) , 𝐾 π‘š 1 ← 1 ;
(6) Set timer with the smallest time interval 𝑇 ;
(7) while timer fired do
(8) for 𝑖 ← 1 to 𝑛  do
(9)   Measure 𝑉 𝑐 𝑖 and update 𝑃 𝐿 𝑖 ;
(10) end
(11) if π‘š = 𝐺 𝑒 𝑑 𝑀 𝑖 𝑛 𝐢 π‘Ž 𝑝 𝐼 𝑑 ( ) then
(12)   𝑇 ← 2 𝑇 ,
(13) else
(14)   𝐾 π‘š 1 ← 0 , π‘š ← 𝐺 𝑒 𝑑 𝑀 𝑖 𝑛 𝐢 π‘Ž 𝑝 𝐼 𝑑 ( ) ;
(15)   𝐾 π‘š 1 ← 1 ;
(16) end
(17) if Capacitors Full/No External Energy then
(18)  break;
(19) else
(20)  Set timer with interval 𝑇 ;
(21) end
( 2 2 ) end

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.