Skip to main content
. 2021 Oct 29;21(21):7191. doi: 10.3390/s21217191
Algorithm 2 Procedure for Energy Consumption Prediction
Input: ϰ1Ƭ State with energy consumption
Output:1Ƭ
1. for i = 1, … Ƭ do
2. £iÞ  Ɯ (ϰi, £i−1Þ); Computed state with total minutes
3. end for
4. ζ1d ∫d (ꭚ0, £iÞ);
5. ꭚ1 Ʊ * ζ1d + b;
6. for i = 2,…, Ƭ do
7. ζ1d ∫ (ꭚi−1, ζi−1d);
8. ꭚI Ʊ * ζ1d + b;
9. end for
10. return1Ƭ