Next Article in Journal
A Two-Stage Reconstruction Processor for Human Detection in Compressive Sensing CMOS Radar
Next Article in Special Issue
Sigma Routing Metric for RPL Protocol
Previous Article in Journal
A Lightweight Continuous Authentication Protocol for the Internet of Things
Previous Article in Special Issue
A Data-Gathering Scheme with Joint Routing and Compressive Sensing Based on Modified Diffusion Wavelets in Wireless Sensor Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive LINE-P: An Adaptive Linear Energy Prediction Model for Wireless Sensor Network Nodes

1
Thomas Johann Seebeck Department of Electronics, Tallinn University of Technology, Tallinn 12616, Estonia
2
Department of Cybernetics, Tallinn University of Technology, Tallinn 12616, Estonia
*
Authors to whom correspondence should be addressed.
Sensors 2018, 18(4), 1105; https://doi.org/10.3390/s18041105
Submission received: 15 February 2018 / Revised: 29 March 2018 / Accepted: 29 March 2018 / Published: 5 April 2018

Abstract

:
In the context of wireless sensor networks, energy prediction models are increasingly useful tools that can facilitate the power management of the wireless sensor network (WSN) nodes. However, most of the existing models suffer from the so-called fixed weighting parameter, which limits their applicability when it comes to, e.g., solar energy harvesters with varying characteristics. Thus, in this article we propose the Adaptive LINE-P (all cases) model that calculates adaptive weighting parameters based on the stored energy profiles. Furthermore, we also present a profile compression method to reduce the memory requirements. To determine the performance of our proposed model, we have used real data for the solar and wind energy profiles. The simulation results show that our model achieves 90–94% accuracy and that the compressed method reduces memory overheads by 50% as compared to state-of-the-art models.

1. Introduction

1.1. Energy Harvesting and Prediction Models

Energy harvesting (EH) is a promising technology that became a hot topic in the scientific community during the last few decades; however, EH is still a least explored area, especially at the micro and nano power levels. In particular, EH at the micro level is quite useful to power ultra-low-power sensor nodes. EH introduces various paths of research for prolonging the lifespan of wireless sensor network (WSN) nodes, either as an energy harvester with buffered energy storage (e.g., battery or super-capacitor) or directly (e.g., without energy storage) for autonomous devices. Several EH approaches, presented in the literature, exploit solar, wind, or thermal energy.
EH is a good alternative solution for those applications that are implemented once and become operational for longer periods; examples include environmental monitoring, structural monitoring, etc. Furthermore, WSN applications can benefit from EH to extend the life of the node or network [1]. Generally, numerous methods associated with EH have been discussed in the literature. These include energy-aware protocols, duty cycle management, task scheduling, transient computing (TC) in stand-alone mode (which performs transmission when the energy is available with or without any power source battery), data prediction [2], as well as mobility, which can reduce the power consumption if mobility incurs low overheads [3].
According to the literature, EP plays an important role for EH in the context of WSNs. Energy prediction for non-controllable energy source seeks to provide information about the upcoming available energy based on past records (profiles) and/or current values. EP mechanisms increase the system’s efficiency [4] because they enable more careful utilization of the available energy as well as the dynamic execution of tasks depending upon the estimation of the energy available in the next time slots. Given the importance of EP, it is necessary to propose accurate sets of energy prediction models in order to increase the performance and other important processes for better quality of service.
In this article, we first briefly recall the limitations of most existing EP models due to the fixed-weighting parameter issue; thereafter, we suggest a solution with an adaptive weighting factor based on the energy profiles. In [5], we discussed how most of the energy prediction models such as EWMA, WCMA, ASEA, PRO-Energy, QL-SEP, and LINE-P (all cases) are dependent on a fixed weighting parameter; however, these solutions are not always suitable for real implementations with many various types (and hence characteristics) of e.g., solar energy harvesters.
In addition, the proposed Adaptive LINE-P (all cases) model estimates the energy over three different time periods, namely shorter, medium, and longer, and uses variable-length timeslots. The proposed prediction model improves the prediction accuracy and minimizes the error between the harvested energy and stored profiles. Furthermore, in this article we propose a compression method that reduces the size of the stored energy profiles by 50% in order to reduce memory overheads.

1.2. Contribution

Our contribution can be summarized as follows:
  • We propose and evaluate enhancements to the existing LINE-P (all cases) model; we name the resulting new model “Adaptive LINE-P (all cases)”; namely,
    we propose an adaptive parameter to address the fixed weighting parameter issue that is found in most existing energy prediction models, specifically when targeting solar energy harvesters;
    we propose a profile compression technique that can be integrated in any energy prediction model.
  • Our results show that the proposed enhancements achieve up to 98% accuracy (non-compressed profile) and up to 90% accuracy but with a 50% reduction of the memory requirements when using the compressed profile method, as compared to the state of the art.
The rest of the article is formulated as follows. Related work is presented in Section 2. The proposed Adaptive LINE-P (all cases) is detailed in Section 3. The comparative performance evaluation of the models is discussed in Section 4. Finally, we briefly conclude in Section 5.

2. Materials and Methods

Here, we discuss the state of the art regarding the fixed kernel parameter issue, variable length time slots, and dynamic or adaptive energy prediction models related to the domain of WSNs.

2.1. Non-Adaptive Energy Prediction Models

In [5] the authors presented three cases of LINE-P (linear energy prediction model) that are based on the sampling and approximation theory. The authors showed that LINE-P (all cases) is more accurate, has a lower complexity, and is energy-efficient in terms of computation as compared to other non-adaptive EP models.
However, the above comparison did not include the latest extensions, namely Pro Energy VLT and IPro-Energy. Thus, in this sub-section we first briefly introduce LINE-P and then discuss Pro Energy VLT and IPro Energy.

2.1.1. LINE-P

We first briefly introduce LINE-P. The detailed mathematical derivations can be found in [5].

Linear Energy Prediction LINE-P (Case I)

The main aim when designing LINE-P was to minimize the computational complexity while maintaining similar accuracy to other models.
If we have the samples f l ( l = 1 , , k ) from k previous days, we utilize this information as the basis for EP. Here, vector b defines a symmetric kernel and the parameter vector a, where a k = 0 for k 0 , generates a one-sided kernel with the correspondent sampling operator:
( S P R E D I ; b f ) ( j ) : = k = 1 m b k f ( j k ) + k = m 0 b k   f l ( j k ) + C D I F P R E D I ; a ; b ; l ( j ) ,
where the correction term C D I F P R E D I ; b in Equation (1) is given as
C D I F P R E D I ; a ; b ; l ( j ) : = C T P R E D I ; a ; b ( k = 1 n a k f ( k i ) k = 1 n a k   f l ( j k ) ) ,
with the multiplier C T P R E D I ; b defined as:
C T P R E D I ; a ; b : = k = m 0 b k .
Equation (1) is used to estimate the energy based on the next time slot, specifically for LINE-P (Case I), and Equations (2) and (3) are the substitution factors of Equation (1).

Linear Energy Prediction LINE-P (Case II)

In this case, we proposed a model that performs energy estimation with only n previous samples from the same day. This case is dependent on only one variable, i.e., a:
( S P R E D I I ; a f ) ( j ) : = k = 1 m a k f ( j k ) .

Linear Energy Prediction LINE-P (Case III)

The third case is similar to Case I; the only difference is in C T P R E D I I I ; b as shown in Equation (7).
( S P R E D I I I ; b f ) ( j ) : = k = 1 m b k f ( j k ) + k = m 0 b k   f l ( j k ) + C D I F P R E D I I I ; b ; l ( j ) ,
where the correction term C D I F P R E D I I I ; b : l is in Equation (6),
C D I F P R E D I I I ; b ; l ( j ) : = C T P R E D I I I ; b   ( k = 1 m b k f ( j k ) k = 1 m b k   f l ( j k ) ) ,
with the multiplier C T P R E D I I I ; b
C T P R E D I I I ; b : = k = m 0 b k   k = 1 m b k   .
We select, from the k previous days, day l for which the absolute value of the correction term C D I F P R E D I I I ; b ; l is minimal and consider the values f l from that day.

2.1.2. Pro-Energy-VLT

In this subsection, Pro-Energy-VLT is discussed. In [6], the authors presented Pro-Energy with variable-length timeslots (Pro-Energy-VLT), based on the Pro-Energy model. In particular, the author proposed a perceptually important point (PIP) technique to calculate the variable size timeslots such as 30, 60, and 90 min [6], as compared to their original design, which was fixed to 30-min data intervals [6]. The authors revealed that Pro-energy-VLT increases the prediction accuracy while reducing the memory and the energy overhead of energy forecasting [6]. However, the authors used two fixed weighting factors α and γ in their algorithms to estimate energy for the next time slot over short and medium data intervals. As mentioned earlier, such a fixed tuning parameter is not compatible with various solar energy harvesters with different characteristics.

2.1.3. IPro-Energy

We now discuss IPro-Energy, which is also based on the Pro-Energy model. In [7], the authors of IPro-energy highlighted its two main features. Firstly, IPro-Energy uses a weighted profile (WP) technique to compensate for inconsistency in the weather behavior. Secondly, the authors showed that the model has a low complexity in terms of execution time, and low requirements in terms of storage data. We have conducted a simulation test of IPro-energy and compared its results with Pro-Energy; we found that, indeed, IPro-Energy yields better results than Pro-Energy, as shown in Figure 1. In order to quantify the prediction error, we have used two classical measures, namely MAE (mean absolute error) and MSE (mean square error), as shown in Table 1.
Although the results yielded by IPro-Energy are better than those of Pro-Energy, the former relies on a more complex model and the execution times are much higher than those of Pro-Energy. This is because both the basic Pro-Energy model and the new features of IPro-Energy have to be executed. In particular, IPro-Energy introduces an additional weighting factor, Wf, which lies at [0, 1]. Thereafter, based on Wf and the r weighting factor (which has a 0.5 fixed value), the authors calculated the smarting factor (S) in Equation (8). Then, for predicting the energy based on the next timeslots, Equation (8) is inserted into Equation (9):
S = r   ( ( C t C t 1 ) ( C t + C t 1 ) / 2 )   C t 1 .
The expected energy is denoted by Ct+i for the timeslot t+i of the current day,
C t + i = W f C t + ( ( 1 W f )   W P t + i ) + S ,
where WP is expressed as a combination of the previously observed most similar days.
Apart from the fixed parameter weighting factor-based models, there are several ANN-based algorithms available in the literature that estimate the energy based on a short-term energy prediction. In [8], the authors proposed a method for an adaptive neural network model. They used sliding window training with window sizes of three, four, and five months’ data. In particular, their simulation results show that the five-month window size was the best simulation. In addition, they show that it is good to have a larger window size for training purposes as fewer data decreases the prediction quality. However, even a window size of three months of data would be too big for the microcontroller‘s (MSP430FR5739 and MSP430G2) memory targeted in our work and in [9] it was concluded that such ANN-based models are not adaptive and not more reliable than EWMA and WCMA algorithms.
There are others approaches to reducing the energy consumption and management in WSNs that work by estimating the energy, i.e., route selection schemes [9] and adaptive duty cycling [10]. Furthermore, in [11] the authors investigate the distributed sampling rate adaptation method in the multi-sensor implemented wireless devices to assign data capturing tasks among them based on the remaining energy network participation and correlations. In addition, they proposed effective mechanisms to utilize the ability of wireless devices to monitor a few selected points in a certain area. In [12], the authors present joint channel selection and routing schemes for multi-channel WSNs that apply duty cycling to sustain energy. The experimental tests and simulation show that the proposed schemes reduce overhearing by approximately 60% with two channels without affecting network performance. Furthermore, the researchers exploited some other techniques for minimizing energy consumption, for instance data compression and source coding [13], transmitting power control and distributed sampling rate adaptation for WSNs [14].
In the following, we discuss adaptive parameter weighting factor-based models for solar energy harvesting in the context of WSNs.

2.2. Adaptive Energy Prediction Model

In this section we discuss UD-WCMA, the only dynamic or adaptive weighting factor-based EP model that aims at better tracking variations in the generated energy (due to, e.g., weather conditions).
UD-WCMA [15] is developed based on the WCMA structure; it introduces a time-varying weighting parameter G1(n + 1). This gain is adapted depending on the variations in the reference profiles stored in the memory. In addition, the energy prediction is ensured by combining the information collected from the last observations θ(n) with the mean value µd(n + 1) of the harvested energy from the stored profiles.
Mathematical expression of the dynamic schemes in the UD-WCMA prediction model is as follows:
x ^   ( n + 1 ) = G 1 ( n + 1 ) θ ( n ) + [ 1 G 1 ( n + 1 ) ] G A P µ d ( n + 1 ) ,
where
G 1 ( n + 1 ) = σ ( n + 1 ) 2 ( σ ( n + 1 ) + σ 1 ( n + 1 ) ) .
In Equation (10) σ represents the standard deviation of the irradiance levels of the stored profiles at time n + 1 with respect to the mean value. Subsequently, σ1 is also a standard deviation that indicates the energy variation in the stored profiles between the time slots n and n + 1. They are defined, for i = {1, …, d}, by:
σ ( n + 1 ) = 1 d i = 1 d ( x i ( n + 1 ) µ d ( n + 1 ) ) 2
and
σ 1 ( n + 1 ) = 1 d i = 1 d ( Δ 1 i ( n + 1 ) µ d ( n + 1 ) ) 2 ,
where
Δ 1 i ( n + 1 ) = x i ( n + 1 ) x i ( n )
and
µ 1 ( n + 1 ) = 1 d i = 1 d Δ 1 i ( n + 1 ) .
In order to further increase the accuracy and robustness of the model, especially for dealing with inconsistent weather, the author in [15] proposed replacing the last observation θ(n) with a weighted linear combination of the last observation and the closest energy pattern in memory denoted by x i ( n + 1 ) . Moreover, the linear combination is weighted by an adaptive factor G(n + 1) depending on the variation of the current day measurements, as follows:
x ^ ( n + 1 ) = G 1 ( n + 1 ) [ G ( n + 1 ) θ ( n ) + 1 G ( n + 1 ) x i ( n + 1 ) ] + ( 1 G 1 ( n + 1 ) ) G A P µ d ( n + 1 ) ,
where
G1(n + 1) = G1(n + 1) + G2(n + 1)
and
G 2 ( n + 1 ) = σ ( n + 1 ) 2 ( σ ( n + 1 ) + σ 2 ( n + 1 ) ) .
In Equation (18), σ 2 ( n + 1 ) represents the standard deviation of the variations in the solar irradiance measurement vector θ between continuous time steps along a window of size K. Consequently, the vector of consecutive variations defined by Δ 2 ( n + 1 ) is given by:
Δ 2 k ( n + 1 ) = θ ( n + 1 k ) θ ( n k ) ,   k = 1 , , k 1 .
Thus, the corresponding mean and standard deviation are defined by:
µ 2 ( n + 1 ) = 1 k 1 k = 1 k 1 Δ 2 k ( n + 1 )
and
σ 2 ( n + 1 ) = 1 k 1 k = 1 k 1 ( Δ 2 k ( n + 1 ) µ 2 ( n + 1 ) ) 2 .

3. Proposed Multi-Source Adaptive Linear Energy Prediction Model (Adaptive LINE-P)

As described above, LINE-P is designed and developed based on sampling theory and approximation; we propose a novel adaptive linear energy prediction model (named Adaptive LINE-P), of which the main purpose is to add adaptive weighting to LINE-P. Rather than using a fixed weighting parameter, which makes it difficult to reflect the different properties of energy harvesters such as solar-based ones, Adaptive LINE-P is based on energy profiles, which improves the accuracy, adaptability, and reliability of the energy predictions.
We first present the Adaptive LINE-P model and evaluate its basic performance. Thereafter, we compare its performance against that of Pro-Energy, Pro-Energy-VLT, IPro-Energy, and UD-WCMA. We used four datasets of traces of harvested energy. These datasets are from trusted sources, and taken from different locations of the USA and Europe. Furthermore, three datasets for solar energy, i.e., Southern California Edison Company (SCE, Rosemead, CA, USA), Pacific Gas and Electric Company (PG&E, San Francisco, CA, USA), and San Diego Gas & Electric Company (SDG&E, Santiago, CA, USA) [16] are used; we also selected one dataset for wind energy from Elia (Belgium-based power generation company, Brussels, Belgium) [17].

3.1. Sampling Operators

Let us suppose that a function f is defined for every point of some domain D and has series representation there in the form:
f ( t ) : = k = f ( t k ) s k ( t ) ,
in which { t k } is a collection of points of D and { s k } is some set of suitable expansion functions. Such an expansion is called a sampling series. The function f is represented in its entirety in terms of its values, that is samples, at a discrete subset of its domain. For the uniformly continuous and bounded f C ( ) , the generalized sampling series are given by ( t ; w > 0 ) as per Equation (22),
( S w f ) ( t ) : = k = f ( k w ) s ( w t k ) ,
where s C ( ) is a kernel function.
If the kernel function used in the sampling series is the cardinal sine, defined in the form:
s ( t ) = sin c ( t ) : = sin π t π t ,
we get the classical (Whittaker-Kotel’nikov-) Shannon sampling operator,
( S w sin c f ) ( t ) : = k = f ( k w ) sin c ( w t k ) .
Let us take w = 1 and t = j in Equation (22), then
( S 1 f ) ( j ) : = k = f ( k ) s ( j k ) .

3.2. Kernels

The general kernel for the sampling operators Equation (22) is expressed below.
Definition 1.
([18]) If s : is a bounded function such that the absolute moment
m 0 ( s ) : = k = | s ( u k ) | < ( u ) ,
with the absolute or positive convergence uniform on compact subsets of , and we have a partition of unity
k = s ( u k ) = 1   ( u ) ,
then s is called a kernel for sampling operators Equation (22).
The conditions in Definition 1 guarantee that the series in Equation (22) converges for f C ( ) ; moreover, we have uniform convergence
( S w f ) f 0 , ( w )
for any f C ( ) . We estimate the speed of the convergence of sampling operators in terms of the modulus of smoothness ω r ( r ) (see [18,19,20,21,22]) in the form
( S w f ) f = M ω r ( f , 1 w ) ,
where M is a positive constant. If we have an estimate in terms of a high order of modulus of smoothness, then the sampling operator rapidly converges for smooth signals.
The main aim of this article is to use for signal prediction the generalized sampling operators Equation (22), where the kernel function s is defined through the Fourier transform of a certain window function:
Definition 2.
A function λ C ( ) is called a window function for a kernel of a sampling operator if λ ( 0 ) = 1 and λ ( ± 2 k ) = 0 for k .
Our kernel function is defined by the equality
s ( t ) : = s   ( λ ; t ) : = 1 2 λ ( u )   exp ( i π t u ) d u .
A special case of the kernel function are M-bandlimited kernels, defined by Equation (27), using window functions λ ( u ) = 0   ( | u | M > 0 ) . We consider the case M = 1, i.e., with kernels defined using window functions λ C [ 1 , 1 ] , λ ( 0 ) = 1 ,   λ ( u ) = 0   ( | u | 1 ) . If the window function is an even function, then we get an even kernel:
s ( t ) = 0 1   λ ( u ) cos ( π t u ) d u .
Generally, for some cases, non-symmetric kernels are more suitable. In such cases, we prefer the general window function λ C [ 1 , 1 ] and define the kernel in the form
s ( t ) = 1 2 1 1   λ ( u )   exp ( i π t u ) d u .
These sorts of kernels arise in conjunction with window functions widely use in applications (e.g., [23,24,25,26]), particularly in signal analysis. Many kernels can be defined by Equation (28), e.g.,
(1)
λ ( u ) = 1 represents the sine function;
(2)
λ j ( u ) : = cos   π ( j + 1 2 ) u ,   j = 0 , 1 , 2 , defines the Rogosinski-type kernel (see [20]), in the form
r j ( t ) : = 1 2 ( sin c ( t + j + 1 2 ) + sin c ( t j 1 2 ) )
= ( 1 ) j π ( j + 1 2 ) ( j + 1 2 ) 2 t 2 cos π t .
Powers of the Hann window (see [25], Equation (25));
λ H , m ( u ) : = cos m ( π u 2 )
give a general Hann kernel in the form
s H , m ( t ) = 2 m Γ ( 1 + m ) Γ ( 1 + m 2 t ) Γ ( 1 + m 2 + t ) ,
where Γ is the Euler gamma function.
If m = 1 , we get the Hann kernel:
s H ( t ) = ( sin c ( t 1 ) + 2 sin c ( t ) + sin c ( t + 1 ) ) 4 .
(3)
The general cosine window
λ C , a ( u ) : = k = 0 n a k cos k π u ,
illustrates the Blackman–Harris kernel (see [20]),
s C , a ( t ) : = 1 / 2 k = 0 n a k ( sin c ( t k ) + sin c ( t + k ) ) ,
provided (here and following x is the largest integer less than or equal to x ) :
k = 0 n 2 a 2 k = k = 0 n + 1 2 a 2 k 1 = 1 2 .
We get the Hann window if we take n = 1 in Equation (35), and the Blackman window if n = 2 and a 0 = a in Equation (35). For n there exists a choice of parameters that allows us to have the order of approximation of the corresponding sampling operators estimated by high (2n) order of modulus of smoothness ω 2 n ( f ; 1 w ) x (cf. [20]). Another possibility for the parameter vector a = a * in (35), where the parameter vector a * = ( a 0 * , a 1 * , , a n * ) n + 1 has components a 0 * = 1 2 2 n   ( 2 n n ) and a k * = 1 2 2 n 1   ( 2 n n k ) for k = 1 , 2 , , n , gives us by Equation (28) a family of rapidly decreasing kernels s H , 2 n = O ( | t | 2 n + 1 ) (see [21] for corresponding operator norms and [22] for truncation errors).
The general cosine window generates a linear combination of translated sine-functions; rather than the general cosine window, a window in the form Equation (38) can be used:
λ E , a ( u ) : = k = n n a k e i k π u   ( n ,   a = ( a n , a n + 1 , ,   a n ) ) 2 n + 1 ,
provided
k = 0 n 2 a 2 k = k = 1 n + 1 2 a 2 k 1 = 1 2 .
If we use Equation (29), we get a corresponding kernel in the form of Equation (40):
s E , a ( t ) = k = n n a k sin c ( t k ) ,
which fulfills the properties of a kernel in terms of Definition 1, because the condition in Equation (39) guarantees that we have Equation (26) and that m 0 ( s E , a ) is bounded. Let us take w = 1 and t = j   in Equation (22), then for kernel s E , a we get
( S 1 ; E , a f ) ( j ) : = k = f ( k ) s E , a ( j k ) = k = n n a k f ( t k ) .

Comment on Approximation Error Estimates

The reader can refer to this section in [5] for a short discussion of approximation error estimates. Note, for the case at hand: if we have for some r ( r ), an estimate of speed of convergence in terms of modulus of smoothness   ω r , then the sampling series representation is exact for polynomials with a maximal power less than or equal to (r + 1).

3.3. Adaptive Predictors

We need adaptive predictors because the energy profiles can have different properties, i.e., with different smoothness, variation, etc. For different types of profiles we need different kernels for the sampling operators. In the current approach, we use the following kernels:
-
For smooth profiles, kernels allow approximation order, estimates through high order of modulus of smoothness.
-
For unstable profiles, the kernel provides a sampling operator with minimal (close to 1) norm.
Note: The trivial error estimate signal for additive noise is in the form | | S w | | · | | v | | , where | | S w | | is the operator norm and | | v | | is the norm of the noise component, i.e., if the operator norm is equal to 4, then in the worst case, we have 4-fold amplification of the noise in the predicted energy profile.
We deal with other profiles with a kernel that provides a sampling operator with good approximation properties and a small norm.
In order to choose the predictor kernel, we use l 1 norms of the prediction errors of previous estimates.

3.4. l 1 Norm

Now, we propose a method for adaptive prediction. We use the l 1 norms of the prediction errors. Moverover, we choose some r ( r ) kernels s i (i = 1, 2, …, r) that generate sampling operators with different properties (approximation order, norm, etc.) and compute the predicted values using it.
For predicting the k-th element, we choose the kernel for which the l 1 norm of the prediction errors for some one-sided neighborhood of the k-th element of the profile is minimal. We compute for the k-th element norms | | E i ( k ) | | 1 of errors in the following form:
| | E i ( k ) | | 1 = j = 1 n | f ( k j ) f p , i ( k j ) | ,
where f(k) is the measured energy in slot k and f p , i ( k ) is the predicted energy for slot k using the kernels s i .
For particular realization of the adaptive predictor, to cover different types of profiles, we choose three kernels with different approximation properties. We have corresponding sampling operators, a first one with minimal norm, a second one with a high order of approximation, and a third one with good approximation properties and a small norm.

3.5. Compressed Profiles

In this section, we suggest a method for compressing profile data to address the memory size limitation of WSN nodes. This is expressed as
f ¯ ( t ) = Σ k f ( k ) S   ¯ ( t k ) ,
where f ¯ is the compressed profile, f the original profile, and S ¯ ( t ) : = 2 α s   ( 2 t / α ) ( α > 0 ) the dilated kernel. Instead of f(k) we store f ¯ ( α k ) . For example if α = 4 , we use one-quarter of the memory.
For reconstruction, we use an interpolating kernel S ¯ , i.e., a kernel defined using a window function that satisfies the equality
λ ( u ) + λ ( 1 u ) = 1 ,   ( u [ 0 , 1 ] ) .
The reconstruction formula is as follows:
f ( j ) Σ k f ¯ ( α k ) 2 S ¯   ( 2 α j 2 k ) .
For efficient realizations we need to choose a reconstruction kernel, which allows us to compute a good enough reconstruction with a minimal number of operations; for the compression part the kernel may be more complicated, because we need to compress the profile only once a day.
For a particular realization of the compression algorithm, we take α = 4 and for both the kernel s and S ¯ , we choose the Hann kernel (Equation (34)), which adds for reconstruction only three multiplications for every day in one prediction step.
In what follows, we check the accuracy of Adaptive LINE-P (all cases). Thereafter, we can determine which of the cases is predicted best in terms of numerical value and suitable for further comparison with the state of the art.

3.6. Accuracy Evaluation of the Adaptive LINE-P (All Cases) Based on the MAE and MSE

In this section we seek to find which of the three cases of Adaptive LINE-P model provides the most accuracy, robustness, lower errors, and adaptability in case of frequent changes in the energy source. In order to quantify the error in each case of Adaptive LINE-P, we consider two source energy profiles (solar and wind) and conduct various evaluations by means of MAE and MSE measures.
We have conducted two tests based on the two sources, namely, solar (SDG&E energy profile) and wind (Elia energy profile). Table 2 and Table 3 show the MAE and MSE for Adaptive LINE-P (all cases) for SDG&E energy profile for six individual days, as well as the average. Similarly, Table 4 and Table 5 show the MAE and MSE for Adaptive LINE-P (all cases) for Elia energy profile.
Table 2, Table 3, Table 4 and Table 5 illustrate that, among all cases of Adaptive LINE-P model, Case III yields more accurate estimates as compared to Case I and Case II (error down by between −1% and −44%). Given this, Adaptive LINE-P model (Case III) has been selected for further comparison with the state of the art, as presented in the next section.

4. Comparative Analysis of Adaptive LINE-P (Case III, Non-Compressed Profiles) with the State of the Art

In this section, we assess the performance of Adaptive LINE-P (Case III) against that of UD-WCMA (the only other adaptive energy prediction model available in the literature) and against that of LINE-P (Case III) and IPro-energy (deemed the best two non-adaptive energy prediction models). Note that although we refer to LINE-P (Case III) and IPro-energy as non-adaptive, they are able to model energy variations, but they do not include specific adaptation mechanisms as in Adaptive LINE-P and UD-WCMA.
The comparison is based on short, medium, and longer time period horizons. The classification of the time periods and their graphical representations are extracted from the real datasets available in [16,17]. For the longer time period, we consider 30 time slots; for the medium and shorter time periods we used 61 and 96 time slots in 42-, 22-, and 15-min data intervals in 24 h, respectively.
As far as the longer time period is concerned, by deploying real implementation of energy prediction, we have found that a longer time period such as a 1-h data interval is not sufficiently adaptive and feasible, specifically for those regions where the weather changes frequently. Therefore, we have reduced the data interval time from 60 to 42 min and conducted experiments based on 42-, 22-, and 15-min time periods.
In addition, we present the evaluation of the model based on the same two error measures as in Section 2, i.e., MSA and MSE; thereafter, we assess their time complexities and finally the analysis of the proposed compression technique.

4.1. Graphical Representation of Adaptive LINE-P (Case III) as Compared to the State of the Art Based on Longer, Medium, and Shorter Time Period Horizons

For the assessment of all the prediction models, we present the estimation errors in Table 6 and Table 7 by using MAE and MSE with the same profile PG&E available in [16].
Table 6 and Table 7 illustrate that adaptive LINE-P (Case III) yield less error comparatively to the other prediction models, except LINE-P (Case III), although the error difference between adaptive LINE-P and non-adaptive LINE-P is negligible. Actually, the estimation error is also dependent on the profile; in another profile, we have found higher error in non-adaptive LINE-P (Case III) than adaptive LINE-P.
To obtain the results shown in Figure 2, we have used a PG&E profile [16] for the solar energy to assess the adaptive LINE-P (Case III) and the state-of-the-art models based on longer (30 time slots) time period horizon. Figure 2 shows that the profile corresponds to highly consistent weather; all together, all days are nearly identical.
However, some of the EP models are unable to predict the energy with full accuracy. For instance, UD-WCMA overestimates the energy on all six days. Even though for the first day it starts by underestimating, after the 40th time slot it estimated the real data well; after the 50th time slot it starts overestimating again. Therefore, this overestimation may indicate that UD-WCMA is not sufficiently adaptable, even for consistent profiles.
Similarly, IPRO-Energy starts by underestimating at all days (except for the first day), but as compared to UD-WCMA, IPRO-Energy is better at modeling energy variations. Although IPRO-Energy and LINE-P (Case III) provide adequate results, both are based on a fixed weighting parameter factor; thus, they are not well suited for various types of solar energy harvesters, as mentioned earlier in the paper. On the other hand, Adaptive LINE-P (Case III) is not dependent on any fixed weighting parameter; it performs predictions on the adaptive weighting factor based on the profiles. Furthermore, we observe in Figure 2 (for all days) that the adaptive LINE-P (Case III) is highly accurate. Thus, for this energy profile, Adaptive LINE-P provides both accuracy and adaptability.
In the following, we evaluate the performance of Adaptive LINE (Case III) along with the state of the art based on the medium (61 time slots) time period horizon of the solar energy profile SCE [16].
For further assessment of all the prediction models, we present the estimation errors in Table 8 and Table 9 by using MAE and MSE with the same profile SCE available in [16].
In relation to Table 8 and Table 9, it is shown that adaptive LINE-P (Case III) has less error possibility as compared to the other prediction models.
Figure 3 shows the results for fairly consistent profiles, to see the behavior and adaptability of the prediction models based on the medium (61 time slots) time period horizon. The graphical representation shows that most of the models are estimating up to the mark only in the first day. It can be seen that in all other days, LINE-P (Case III) starts overestimating. UD-WCMA also starts overestimating in all days, especially on the 12th and 13th of December from the 45th to the 60th time slots, and 20th to 50th time slots. UD-WCMA yields the worst results comparative to the other prediction models. Furthermore, on 11th December, the IPro-Energy model is off the chart from the fifth to the 10th time slots. Although gradually its estimation is approaching the real data, it then starts underestimating from the 40th until the 53rd time slots. On the contrary, Adaptive LINE-P (Case III) seems much better and most of the time yields estimates close to the real data.
In addition, we have assessed Adaptive LINE-P (Case III) comparative to the state of the art based on the graphical representation and classical error-calculating methods (MSA and MSE), as presented in what follows.
Figure 4 shows the comparison of Adaptive LINE-P (Case III) and the state of the art for the SDG&E solar energy profile. This profile exhibits very low power production throughout the figure. In addition, this profile is for cloudy days with lots of variation. This kind of profile is a real challenge for the prediction models; indeed, too much fluctuation and extremely sharp variation-based weather is difficult to predict accurately and requires continuous adaptation. As can be observed, most of the models, especially from the second to the fourth days, are overestimating. Moreover, UD-WCMA shows poor prediction for all the days. Furthermore, due to rapid changes in the profile, IPRO-Energy underestimates on the 30th and 31st of October, but once the profile becomes smooth IPRO-Energy predicts well until the end of profile, especially in the last two days. LINE-P (Case III) and Adaptive LINE-P (Case III) overestimate from the 30th to 40th time slots in all days. Thereafter, it can be observed that Adaptive LINE-P (Case III) also shows robustness and predicts accurately as compared to LINE-P (Case III) and the state of the art.
For further assessment of all the prediction models, we also present the estimation errors in Table 10 and Table 11 by using MAE and MSE with the same profile SDG&E available in [16].
For this kind of energy profile, we found that in terms of MAE, Adaptive LINE-P (Case III) yields less errors than IPRO Energy and UD WCMA (between ca. −5% and ca. −34%), and is almost identical to LINE-P (Case III) (+0.5%). In terms of MSE, Adaptive LINE-P (Case III) yields lower error as compared to all other energy prediction models (between −5.5% and ca. −59%). In addition, Adaptive LINE-P (Case III) model is highly adaptive, as can be observed in Figure 4. However, LINE-P and IPRO-Energy also show good estimations, but they still suffer from the fixed weighting parameter issue, which was discussed earlier.

Results for Wind Energy

In what follows, we compare Adaptive LINE (Case III) with the state of the art based on the shorter (96 time slots in 24 h) time period horizon for the wind energy profile Elia available in [11].
As shown in Figure 5, it can be observed that LINE-P (Case III) initially overestimates and then approaches the real data. Similar to the solar energy case, UD-WCMA predictions are rather far from the real data. Most of the time, it can be seen that it starts with an overestimation if the real data increases; on the other hand, if the real data decreases, then its behavior changes completely and underestimates, especially in the last two days in Figure 4. IPRO-Energy is also not yielding very good estimates. It is clearly visible in Figure 4 that both UD-WCMA and IPRO-Energy are not suitable for uncontrollable energy sources on the shorter time period horizon. On the other hand, Adaptive LINE-P (Case III) shows robustness, adaptability, suitability for variable-length time slots, and accuracy. If the profiles are changing frequently, then UD-WCMA and IPRO-Energy are not as accurate as Adaptive LINE-P (Case III). In addition, the Adaptive LINE-P (Case III) model is highly adaptable, as can be observed in Figure 5.
In the following section, we compute the accuracy of the adaptive LINE-P (Case III) by means of the MAE and MSE for the wind energy profile.

4.2. Accuracy Assessment of the Energy Prediction Models Based on the MAE and MSE for Solar and Wind Energy Profiles

In this section, we examine the models based on the multiple (solar and wind) energy profiles. In order to calculate the error possibility in Adaptive LINE-P (Case III) and the other energy prediction models, we consider the PG&E solar energy profile available in [16].
Table 12 and Table 13 illustrate that the results provided by Adaptive LINE-P (Case III) have less errors as compared to the other prediction models (down by up to −82%), with the exception of LINE-P (Case III) (+50%) in terms of MSE (Table 13).
Next, we deal with Elia wind energy profile [17] to see the possible errors in Adaptive LINE-P (Case III) as compared to the state of the art.
Similarly, Table 14 and Table 15 show that the proposed Adaptive LINE-P (CASE III) performs better than the other energy prediction models (error down by up to ca. −78% in terms of MAE and MSE). In the above section, we have compared the energy prediction models with two different sources, namely solar and wind data profiles; apart from a minor exception, the results show that Adaptive LINE-P (Case III) provides the best results as compared to the other energy prediction models.
In the next section, we evaluate the performance of the proposed compressed profile method as compared to the state of the art.

5. Comparison of the Compressed Profile Method with the State of the Art Based on the Shorter Time Period Horizon

Here, we assess the compressed profile method in two steps. Firstly, in order to verify its accuracy and adaptability, we compare it with the real data (real profile), see Figure 6 and Figure 7. Secondly, we incorporate the method with the two adaptive energy prediction models (Adaptive LINE-P and UD-WCMA) for further assessment against their non-compressed versions, as well as against the real data.
In all experiments, we use the shorter (96 time slots) time period horizon in 24 h. We check the accuracy of the compressed profile method against the graphical representation and a MAE and MSE as well.

5.1. Graphical Representation of the Compressed Profile Method and Its Error Estimation as Compared to the Real Data (a Real Dataset) Based on the Solar Energy Profile

In Figure 6, the energy profile reflects consistent weather; however, there are certain variations in each day. In this figure, the accuracy remains at a high level, though some lack in adaptability against the sharp variation is visible on all days (except on the third day).
For further analysis of the proposed compressed profile method, we incorporate it into UD-WCMA and adaptive LINE-P (Case III) models to validate its accuracy when used with those models. In addition, we have used the same energy profile [17] to compare the error estimation with the non-compressed UD-WCMA and adaptive LINE-P (Case III) as well. The results for the solar energy profile are presented in Section 5.2 and those for the wind energy profile in Section 5.3.

5.2. Error Estimation with and without Compression Method in UD-WCMA and Adaptive LINE-P (Case III) for the Solar Energy Profile

Furthermore, Table 16 and Table 17 illustrate the error estimation with and without the proposed profile compression method in terms of MAE and MSE for the solar energy profile.
It can be observed that incorporating the compressed profile method increases the MAE for UD-WCMA and Adaptive LINE-P (CASE III) by ca. +3.14% and +4.7%, respectively. Interestingly, it can also be seen that incorporating the compressed profile method increases the MSE by ca. +1.4% for UD-WCMA and decreases it by ca. −26% for Adaptive LINE-P. As seen earlier in the paper, the compressed profile method reduces the memory requirements by a factor of 2, thus offering a good trade-off between accuracy and memory requirements. In the following, we further evaluate the compressed profile method with the graphical representation as well as with MAE and MSE based on the wind energy profile.

5.3. Error Estimation with and without Compression Method in UD-WCMA and Adaptive LINE-P (Case III) for the Wind Energy Profile

Here, we use the wind energy profile to evaluate the performance of the compressed profile method as compared to the real data in terms of the graphical view.
Figure 8 exhibits extremely inconsistent weather; moreover, the last three days show low power productivity. As can been observed in the figure, the compressed profile method shows stability (smoothness) rather than adaptability, especially on 14th and 15th January, due to sharp variation; however, approaching the profile’s end, we see the robustness of the compressed profile method.
In the following, we present the prediction error of the compressed profile method in terms of MAE and MSE for the wind energy profile.

5.4. Graphical Representation of the Prediction Model with and without the Compressed Profile Method for the Wind Energy Profile

In the following, we calculate the error estimation in terms of MAE and MSE for the wind energy profile.
In Figure 9 we observed that the proposed compressed profile method integrated with Adaptive LINE-P (Case-III) and UD-WCMA shows stability and accuracy similar to the non-compressed Adaptive LINE-P (Case-III) and UD-WCMA; however, we calculated minor error in the compressed method as compared to the non-compressed method.
As can be observed in Table 18 and Table 19, the MAE and MSE values are of the same order of magnitude as for the solar energy profile (Table 16 and Table 17). Next, for further evaluation, we apply the same profile we used above for the compressed profile method into the UD-WCMA and Adaptive Line-P (CASE III) energy prediction models and then compare their results without adding the compression feature.
In addition, Table 18 and Table 19 illustrate the error estimation with and without the proposed profile compression method in terms of MAE and MSE for the wind energy profile. In Table 18, it can be observed that incorporating the compressed profile method increases the MAE for UD-WCMA by ca. +0.52% but decreases it for Adaptive LINE-P (CASE III) by ca. −6.3%.
In Table 19, it can be seen that incorporating the compressed profile method increases the MAE for UD-WCMA by +1.5% but decreases it for Adaptive LINE-P (CASE III) by ca. −7.93%. As seen earlier in the paper, the compressed profile method reduces the memory requirements by a factor of 2. In line with the results shown for the solar energy profile (Table 16 and Table 17), the results for the wind energy profile show that that the proposed compressed profile method offers a good trade-off between accuracy and memory requirements.

6. Conclusions

We have presented Adaptive LINE-P (three cases-based) prediction model for multi-source (solar and wind) energy sources. The proposed model is independent of the fixed length time slot and fixed weighting parameter. We have conducted experiments with three time period horizons (shorter, medium, and longer) with different time slots. Adaptive LINE-P model chooses the weighting parameter based on the actual energy profile. We have conducted numerous experiments with real datasets, and for the error evaluation we have used the MAE and MSE error calculating method. The results show that Adaptive LINE-P, especially (Case III), is 90–94% accurate (depending on the weather). In addition, our prediction model is highly adaptable against sharp variations as compared to other adaptive and non-adaptive prediction models. Most of the time, the proposed Adaptive LINE-P model yields estimates with less errors, except in a few cases, depending on the energy profile. Nevertheless, this is a small (and relatively rare) price to pay as compared to the general gains offered by the adaptive feature of the model. Moreover, we proposed a compressed profile method that can easily be incorporated into any prediction model; this method allows us to reduce the memory requirements by 50% and provides 90% accuracy.
In the future, we plan to work on the data prediction concept, which is also one of promising solution for saving energy. This concept can be applied to cases where the data are identical for longer time periods, for instance temperature and humidity, specifically in the domain of WSNs.

Acknowledgments

This research was partly supported by the TUT baseline project B38 and the IT Academy stipend program. This project has received funding from the European Union’s Horizon 2020 research and innovation program under grant no. 668995. This material reflects only the authors’ view and the EC Research Executive Agency is not responsible for any use that may be made of the information it contains.

Author Contributions

F.A. and G.T. designed the model, performed the simulations, and analyzed the results; Y.L.M. and P.A. gave feedback on the models and helped analyze the results. All authors participated in the paper writing.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

References

  1. Shahzad, F.; Sheltami, T.R. An Efficient MAC Scheme in Wireless Sensor Network with Energy Harvesting (EHWSN) for Cloud Based Applications. In Proceedings of the 2015 IEEE 40th Local Computer Networks Conference Workshops (LCN Workshops), Clearwater Beach, FL, USA, 26–29 October 2015; pp. 783–788. [Google Scholar]
  2. Xu, X.; Zhang, G. A Hybrid Model for Data Prediction in Real-World Wireless Sensor Networks. IEEE Commun. Lett. 2017. [Google Scholar] [CrossRef]
  3. Mehrabi, A.; Kim, K. Maximizing data collection throughput on a path in energy harvesting sensor networks using a mobile sink. IEEE Trans. Mob. Comput. 2016, 15, 690–704. [Google Scholar] [CrossRef]
  4. Kosunalp, S. A new energy prediction algorithm for energy-harvesting wireless sensor networks with Q-Learning. IEEE Access 2016, 4, 5755–5763. [Google Scholar] [CrossRef]
  5. Ahmed, F.; Tamberg, G.; Le Moullec, Y.; Annus, P. Dual-Source Linear Energy Prediction (LINE-P) Model in the Context of WSNs. Sensors 2017, 17, 1666. [Google Scholar] [CrossRef] [PubMed]
  6. Cammarano, A.; Petrioli, C.; Spenza, D. Online Energy Harvesting Prediction in Environmentally Powered Wireless Sensor Networks. IEEE Sens. J. 2016, 16, 6793–6804. [Google Scholar] [CrossRef]
  7. Qureshi, H.K.; Saleem, U.; Saleem, M.; Pitsillides, A.; Lestas, M. Harvested Energy Prediction Schemes for Wireless Sensor Networks: Performance Evaluation and Enhancements. Wirel. Commun. Mob. Comput. 2017, 2017, 6928325. [Google Scholar]
  8. Ismail, M.J.; Ibrahim, R.; Ismail, I. Adaptive Neural Network Prediction Model for Energy Consumption. In Proceedings of the 2011 3rd International Conference on Computer Research and Development, Shanghai, China, 11–13 March 2011; pp. 109–113. [Google Scholar]
  9. Bergonzini, C.; Brunelli, D.; Benini, L. Algorithms for harvested energy prediction in batteryless wireless sensor networks. In Proceedings of the 2009 3rd International Workshop on Advances in sensors and Interfaces, Trani, Italy, 25–26 June 2009; pp. 144–149. [Google Scholar]
  10. Kim, Y.; Shin, H.; Cha, H. Y-MAC: An energy-efficient multi-channel mac protocol for dense wireless sensor networks. In Proceedings of the 7th International Conference on Information Processing in Sensor Networks, St. Louis, MO, USA, 22–24 April 2008; IEEE Computer Society: Washington, DC, USA, 2008; pp. 53–63. [Google Scholar]
  11. Pal, A.; Kant, K. On the Feasibility of Distributed Sampling Rate Adaptation in Heterogeneous and Collaborative Wireless Sensor Networks. In Proceedings of the 2016 25th International Conference on Computer Communication and Networks (ICCCN), Waikoloa, HI, USA, 1–4 August 2016. [Google Scholar]
  12. Pal, A.; Nasipuri, A. Distributed Routing and Channel Selection for Multi-Channel Wireless Sensor Networks. J. Sens. Actuator Netw. 2017, 6, 10. [Google Scholar] [CrossRef]
  13. Tang, C.; Raghavendra, C.S. Compression Techniques for Wireless Sensor Networks; Springer: Boston, MA, USA, 2004; pp. 207–231. [Google Scholar]
  14. Pal, A.; Soibam, B.; Nasipuri, A. A distributed power control and routing scheme for rechargeable sensor networks. In Proceedings of the 2013 IEEE Southeastcon, Jacksonville, FL, USA, 4–7 April 2013. [Google Scholar]
  15. Dehwah, A.; Elmetennani, S.; Claudel, C. UD-WCMA: An energy estimation and forecast scheme for solar powered wireless sensor networks. J. Netw. Comput. Appl. 2017, 90, 17–25. [Google Scholar] [CrossRef]
  16. California Distributed Generation Statistics. Available online: http://www.caiso.com/market/Pages/ReportsBulletins/DailyRenewablesWatch.aspx (accessed on 4 April 2018).
  17. Grid Data Download. Available online: http://www.elia.be/en/grid-data/data-download (accessed on 4 April 2018).
  18. Butzer, P.L.; Splettstößer, W.; Stens, R.L. The Sampling Theorems and Linear Prediction in Signal Analysis; Lehrstuhl A für Math., Rheinisch-Westfälische Techn. Hochsch.: Aachen, Germany, 1986; Volume 328. [Google Scholar]
  19. Kivinukk, A.; Tamberg, G. Subordination in generalized sampling series by Rogosinski-type sampling series. In Proceedings of the 1997 International Workshop on Sampling Theory and Applications, Aveiro, Portugal, 16–19 June 1997; pp. 397–402. [Google Scholar]
  20. Kivinukk, A.; Tamberg, G. On Blackman-Harris windows for Shannon sampling series. Sampl. Theory Signal Image Process. 2007, 6, 87–108. [Google Scholar]
  21. Kivinukk, A.; Tamberg, G. On Sampling Series based on Some Combinations of Sinc Functions. Proc. Est. Acad. Sci. Phys. Math. 2002, 51, 203–220. [Google Scholar]
  22. Tamberg, G. On truncation error of some generalized Shannon sampling operators. Numer. Algorithms 2010, 55, 367–382. [Google Scholar] [CrossRef]
  23. Albrecht, H.H. A family of cosine-sum windows for high resolution measurements. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Salt Lake City, UT, USA, 7–11 May 2001; pp. 3081–3084. [Google Scholar]
  24. Blackman, R.B.; Tukey, J.W. The Measurement of Power Spectra; Wiley-VCH: New York, NY, USA, 1958. [Google Scholar]
  25. Harris, F.J. On the use of windows for harmonic analysis with the discrete Fourier transform. Proc. IEEE 1978, 66, 51–83. [Google Scholar] [CrossRef]
  26. Meikle, H. A New Twist to Fourier Tansforms; John Wiley & Sons: Berlin, Germany, 2004. [Google Scholar]
Figure 1. Illustration of a four-day comparative analysis of IPro-Energy with Pro-Energy.
Figure 1. Illustration of a four-day comparative analysis of IPro-Energy with Pro-Energy.
Sensors 18 01105 g001
Figure 2. Graphical representation of Adaptive LINE-P (Case III) and state of the art based on the longer (42-min data interval) time period horizon for the solar profile with 30 time slots in 24 h.
Figure 2. Graphical representation of Adaptive LINE-P (Case III) and state of the art based on the longer (42-min data interval) time period horizon for the solar profile with 30 time slots in 24 h.
Sensors 18 01105 g002
Figure 3. Graphical representation of Adaptive LINE-P (Case III) and state of the art based on the medium (22-min data interval) time period horizon of the solar profile with 61 time slots in 24 h.
Figure 3. Graphical representation of Adaptive LINE-P (Case III) and state of the art based on the medium (22-min data interval) time period horizon of the solar profile with 61 time slots in 24 h.
Sensors 18 01105 g003
Figure 4. Graphical representation of Adaptive LINE-P (Case III) and the state of the art based on the medium (22-min data interval) time period horizon for the solar energy profile with 61 time slots in 24 h.
Figure 4. Graphical representation of Adaptive LINE-P (Case III) and the state of the art based on the medium (22-min data interval) time period horizon for the solar energy profile with 61 time slots in 24 h.
Sensors 18 01105 g004
Figure 5. Graphical representation of Adaptive LINE-P (Case III) and state of the art based on the shorter (15-min data interval) time period horizon for the wind energy profile with 96 time slots in 24 h.
Figure 5. Graphical representation of Adaptive LINE-P (Case III) and state of the art based on the shorter (15-min data interval) time period horizon for the wind energy profile with 96 time slots in 24 h.
Sensors 18 01105 g005
Figure 6. Graphical representation of compressed profile method against the real data based on the shorter (15-min data interval) time period horizon of solar energy profile (Elia) with 96 time slots in 24 h.
Figure 6. Graphical representation of compressed profile method against the real data based on the shorter (15-min data interval) time period horizon of solar energy profile (Elia) with 96 time slots in 24 h.
Sensors 18 01105 g006
Figure 7. Graphical representation of the compressed profile method against the real data based on the shorter (15-min data interval) time period horizon of solar profile with 96 time slots in 24 h.
Figure 7. Graphical representation of the compressed profile method against the real data based on the shorter (15-min data interval) time period horizon of solar profile with 96 time slots in 24 h.
Sensors 18 01105 g007
Figure 8. Graphical representation of the compressed profile method against the real data based on the shorter (15-min data interval) time period horizon of wind profile (Elia) with 96 time slots in 24 h.
Figure 8. Graphical representation of the compressed profile method against the real data based on the shorter (15-min data interval) time period horizon of wind profile (Elia) with 96 time slots in 24 h.
Sensors 18 01105 g008
Figure 9. Graphical representation of energy prediction models with and without the compressed profile method based on the short time period horizon of the wind energy profile (Elia).
Figure 9. Graphical representation of energy prediction models with and without the compressed profile method based on the short time period horizon of the wind energy profile (Elia).
Sensors 18 01105 g009
Table 1. Prediction error in terms of MAE and MSE for IPro-Energy and Pro-Energy.
Table 1. Prediction error in terms of MAE and MSE for IPro-Energy and Pro-Energy.
Energy Prediction ModelMAE (Mean Absolute Error) MSE (Mean Square Error)
IPro-Energy0.099150.0608
Pro-Energy0.158750.1665
Table 2. Error comparison of adaptive LINE-P (all cases) based on the MAE for SDG&E solar energy profile.
Table 2. Error comparison of adaptive LINE-P (all cases) based on the MAE for SDG&E solar energy profile.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)MAE (Day 5)MAE (Day 6)Average MAE
Adaptive LINE-P (Case I)0.06320.10710.15750.09690.05970.03820.0871
Adaptive LINE-P (Case II)0.05910.11480.19930.12390.08690.05540.1065
Adaptive LINE-P (Case III)0.06340.08870.14860.09020.05230.0330.0793
Table 3. Error comparison of adaptive LINE-P (all cases) based on the MSE for SDG&E solar energy profile.
Table 3. Error comparison of adaptive LINE-P (all cases) based on the MSE for SDG&E solar energy profile.
MODELSMSE (Day 1) MSE (Day 2)MSE (Day 3)MSE (Day 4)MSE (Day 5)MSE (Day 6)Average MSE
Adaptive LINE-P (Case I)0.02120.06490.14620.05880.01840.00690.0527
Adaptive LINE-P (Case II)0.01800.06980.24020.07690.03560.02070.0768
Adaptive LINE-P (Case III)0.01610.03950.12870.05370.01330.00650.0429
Table 4. Error comparison of adaptive LINE-P (all cases) based on the MAE for Elia wind energy profile.
Table 4. Error comparison of adaptive LINE-P (all cases) based on the MAE for Elia wind energy profile.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)MAE (Day 5)MAE (Day 6)Average MSE
Adaptive LINE-P (Case I)0.09840.14550.04940.03910.11920.08060.0887
Adaptive LINE-P (Case II)0.09020.15980.03430.02950.14810.07540.0895
Adaptive LINE-P (Case III)0.09550.14440.04740.03220.11370.09210.0875
Table 5. Error comparison of adaptive LINE-P (all cases) based on the MSE for Elia wind energy profile.
Table 5. Error comparison of adaptive LINE-P (all cases) based on the MSE for Elia wind energy profile.
MODELSMSE (Day 1)MSE (Day 2)MSE (Day 3)MSE (Day 4)MSE (Day 5)MSE (Day 6)Average MSE
Adaptive LINE-P (Case I)0.01850.04100.00700.00380.04450.01290.0212
Adaptive LINE-P (Case II)0.01490.04840.00270.00190.05970.01060.0230
Adaptive LINE-P (Case III)0.01560.04120.00310.00210.04310.02110.0210
Table 6. Error comparison of prediction models based on MAE for the PG&E solar energy profile.
Table 6. Error comparison of prediction models based on MAE for the PG&E solar energy profile.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)MAE (Day 5)MAE (Day 6)Average MAE
LINE-P (Case III)0.02690.03150.01880.01890.01380.01410.0206
UD-WCMA0.04070.06860.06850.03300.01940.03120.0435
IPRO-Energy0.00700.08610.06450.05260.02520.03100.0443
Adaptive LINE-P (Case III)0.02510.03700.01500.02100.01710.01550.0217
Table 7. Error comparison of prediction models based on the MSE by deploying PG&E solar profile.
Table 7. Error comparison of prediction models based on the MSE by deploying PG&E solar profile.
MODELSMSE (Day 1)MSE (Day 2)MSE (Day 3)MSE (Day 4)MSE (Day 5)MSE (Day 6)Average MSE
LINE-P (Case III)0.00370.00400.00180.00170.00110.00080.0021
UD-WCMA0.00630.01840.04290.00400.00170.00340.0127
IPRO-Energy0.00020.02670.01270.00370.00270.00320.0082
Adaptive LINE-P (Case III)0.0030.00860.00130.00370.00150.00110.0032
Table 8. Error comparison of the prediction models based on MAE for the SCE solar energy profile.
Table 8. Error comparison of the prediction models based on MAE for the SCE solar energy profile.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)Average MAE
LINE-P (Case III)0.08200.09450.09440.15630.1068
UD-WCMA0.10880.13470.18810.09790.1323
IPRO-Energy0.07820.08420.17450.20080.1344
Adaptive LINE-P (Case III)0.08020.09700.09320.14050.1027
Table 9. Error comparison of the prediction models based on MSE for the SCE solar energy profile.
Table 9. Error comparison of the prediction models based on MSE for the SCE solar energy profile.
MODELSMSE (Day 1)MSE (Day 2)MSE (Day 3)MSE (Day 4)Average MSE
LINE-P (Case III)0.03480.04930.08500.10510.0685
UD-WCMA0.05590.07970.15090.04650.0832
IPRO-Energy0.03130.03510.18980.15240.1021
Adaptive LINE-P (Case III)0.03520.05300.08490.09050.0659
Table 10. Error comparison of the prediction models based on MAE for the SDG&E solar energy profile.
Table 10. Error comparison of the prediction models based on MAE for the SDG&E solar energy profile.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)MAE (Day 5)MAE (Day 6)Average MAE
LINE-P (Case III)0.06190.08410.14320.09100.06680.03620.0805
UD-WCMA0.06250.12240.13760.14090.13920.13810.1234
IPRO-Energy0.04670.10530.13050.11410.07330.04180.0852
Adaptive LINE-P (Case III)0.06450.08610.14860.09760.05250.03660.0809
Table 11. Error comparison of the prediction models based on MSE for the SDG&E solar energy profile.
Table 11. Error comparison of the prediction models based on MSE for the SDG&E solar energy profile.
MODELSMSE (Day 1)MSE (Day 2)MSE (Day 3)MSE (Day 4)MSE (Day 5)MSE (Day 6)Average MSE
LINE-P (Case III)0.01560.03920.13780.04170.01930.00660.0433
UD-WCMA0.01600.10400.11850.12200.13860.12810.1045
IPRO-Energy0.01150.05550.11500.06150.01980.00910.0454
Adaptive LINE-P (Case III)0.01610.03950.12870.05370.01330.00650.0429
Table 12. Error comparison of the energy prediction models in terms of MAE for the solar energy profiles.
Table 12. Error comparison of the energy prediction models in terms of MAE for the solar energy profiles.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)MAE (Day 5)MAE (Day 6)Average MAE
LINE-P (Case III)0.02690.03150.01880.01890.01380.01410.0206
UD-WCMA0.04070.06860.06850.03300.034760.036880.047
IPRO-Energy0.00700.08610.06450.05260.02520.03100.044
Adaptive LINE-P (Case III)0.02510.0370.01500.02100.01710.01550.0217
Table 13. Error comparison of the energy prediction models in terms of MSE for the solar energy profile.
Table 13. Error comparison of the energy prediction models in terms of MSE for the solar energy profile.
MODELSMSE (Day 1)MSE (Day 2)MSE (Day 3)MSE (Day 4)MSE (Day 5)MSE (Day 6)Average MSE
LINE-P (Case III)0.00370.00400.00180.00170.00110.00080.0021
UD-WCMA0.00490.01840.04290.00400.03290.03720.0233
IPRO-Energy0.00020.02670.01270.00370.00270.00320.0082
Adaptive LINE-P (Case III)0.0030.00860.00130.00950.00150.00110.0041
Table 14. Error comparison of the energy prediction models in terms of MAE for the wind energy profile.
Table 14. Error comparison of the energy prediction models in terms of MAE for the wind energy profile.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)MAE (Day 5)MAE (Day 6)Average MAE
LINE-P (Case III)0.03490.06230.10830.42570.22940.15650.1695
UD-WCMA0.03300.08790.10880.34370.19460.12790.1493
IPRO-Energy0.09860.19070.18630.60943.09680.49930.7801
Adaptive LINE-P (Case III)0.03380.05690.10950.41860.21330.15940.16525
Table 15. Error comparison of the energy prediction models in terms of MAE for the wind energy profile.
Table 15. Error comparison of the energy prediction models in terms of MAE for the wind energy profile.
MODELSMSE (Day 1)MSE (Day 2)MSE (Day 3)MSE (Day 4)MSE (Day 5)MSE (Day 6)Average MSE
LINE-P (Case III)0.00210.00650.03110.46670.14510.05450.1176
UD-WCMA0.00180.01440.04150.31430.10480.03230.0845
IPRO-Energy0.01120.04410.09360.54891.97880.30590.4970
Adaptive LINE-P (Case III)0.00200.00610.02920.42430.12780.05630.1076
Table 16. Error estimation MAE of the prediction models with and without the compressed profile for the solar energy profile.
Table 16. Error estimation MAE of the prediction models with and without the compressed profile for the solar energy profile.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)MAE (Day 5)MAE (Day 6)Average MAE
Compress-Method0.04710.05500.02480.02830.06080.04320.0432
Compressed-UD-WCMA0.12250.07190.02650.04300.10460.06490.0722
Non-Compressed-UD-WCMA0.11380.06970.02410.04070.11300.05880.0700
Compressed-Adaptive LINE-P (Case III)0.13270.06870.03050.03600.07710.04310.0646
Non-Compressed-Adaptive LINE-P (Case III)0.13150.07930.02640.02580.06770.03980.0617
Table 17. Error estimation MSE of the prediction models with and without the compressed profile for the solar energy profile.
Table 17. Error estimation MSE of the prediction models with and without the compressed profile for the solar energy profile.
MODELSMSE (Day 1)MSE (Day 2)MSE (Day 3)MSE (Day 4)MSE (Day 5)MSE (Day 6)Average MSE
Compress-Method0.01210.01770.00220.00240.02020.00870.0105
Compressed–UD-WCMA0.35490.02980.00300.00770.08330.03510.0856
Non-Compressed-UD-WCMA0.35280.03240.00250.00550.08180.03160.0844
Compressed-Adaptive LINE-P (Case III)0.06910.03060.00330.00520.03420.01560.0263
Non-Compressed-Adaptive LINE-P (Case III)0.13150.03020.00220.00460.02930.01520.0355
Table 18. Error estimation in terms of MAE of the prediction models with and without the compressed profile method for the wind energy profile.
Table 18. Error estimation in terms of MAE of the prediction models with and without the compressed profile method for the wind energy profile.
MODELSMAE (Day 1)MAE (Day 2)MAE (Day 3)MAE (Day 4)MAE (Day 5)MAE (Day 6)Average MAE
Compressed-profile 0.00890.03030.05770.22160.11890.07040.0846
Compressed-UD-WCMA0.07610.11860.04310.04240.09970.07970.0766
Non-Compressed-UD-WCMA0.07570.11790.04250.04050.10080.07990.0762
Compressed-Adaptive LINE-P (Case III)0.08130.13220.04350.02800.11370.09210.0818
Non-Compressed-Adaptive LINE-P (Case III)0.09550.14440.04740.03220.11200.09270.0873
Table 19. Error estimation in terms of MSE of the prediction models with and without the compressed profile method for the wind energy profile.
Table 19. Error estimation in terms of MSE of the prediction models with and without the compressed profile method for the wind energy profile.
MODELSMSE (Day 1)MSE (Day 2)MSE (Day 3)MSE (Day 4)MSE (Day 5)MSE (Day 6)Average MSE
Compressed-profile 0.00010.00190.00880.11460.03980.01070.0293
Compressed-UD-WCMA0.01020.02330.00390.00380.02670.01320.0135
Non-Compressed-UD-WCMA0.01010.02300.00380.00350.02670.01320.0133
Compressed-Adaptive LINE-P (Case III)0.01450.04050.00650.00160.04320.03330.0232
Non-Compressed-Adaptive LINE-P (Case III)0.01860.04560.00740.00210.04410.03360.0252

Share and Cite

MDPI and ACS Style

Ahmed, F.; Tamberg, G.; Le Moullec, Y.; Annus, P. Adaptive LINE-P: An Adaptive Linear Energy Prediction Model for Wireless Sensor Network Nodes. Sensors 2018, 18, 1105. https://doi.org/10.3390/s18041105

AMA Style

Ahmed F, Tamberg G, Le Moullec Y, Annus P. Adaptive LINE-P: An Adaptive Linear Energy Prediction Model for Wireless Sensor Network Nodes. Sensors. 2018; 18(4):1105. https://doi.org/10.3390/s18041105

Chicago/Turabian Style

Ahmed, Faisal, Gert Tamberg, Yannick Le Moullec, and Paul Annus. 2018. "Adaptive LINE-P: An Adaptive Linear Energy Prediction Model for Wireless Sensor Network Nodes" Sensors 18, no. 4: 1105. https://doi.org/10.3390/s18041105

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop