Optimal Real-Time Scheduling Algorithm for Wireless Sensors with Regenerative Energy. (8th May 2021)