<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Validation of Data Streams using Time Series Forecasting</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Philsy Baban Databases</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Information Systems Group TU Ilmenau</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Germany philsy.baban@tu-ilmenau.de</string-name>
        </contrib>
      </contrib-group>
      <fpage>2</fpage>
      <lpage>7</lpage>
      <abstract>
        <p>In an IoT environment, sensors capture data about the product usage, environmental conditions, etc., in regular intervals of time. This data is analyzed to gather information about the current situations or business environments that help make future decisions. However, the quality of data received from the sensor is poor due to sensor failures and malfunctions. In this imperfect data, some of the failures like manipulated data are not easily identi able. Therefore, we have to validate the correctness of the data received from sensors along with data pre-processing. Data validation tasks are based on the application areas, and this can be performed per tuple, per sensor / customer, etc. In this paper, we developed a framework to validate the correctness of data for the energy systems domain. In this framework, validation is performed in three levels: validation per customer, validation per location, and validation per context using time series forecasting. As a result, the quality of data is improved.</p>
      </abstract>
      <kwd-group>
        <kwd>Data quality</kwd>
        <kwd>Data validation</kwd>
        <kwd>IoT data streams</kwd>
        <kwd>Time series forecasting</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Categories and Subject Descriptors</title>
      <p>H.4 [Information Systems Applications]: Miscellaneous</p>
    </sec>
    <sec id="sec-2">
      <title>1. INTRODUCTION</title>
      <p>Nowadays, people, devices, infrastructures, and sensors
can continuously communicate and exchange data. Thus, a
vast amount of data is generated during the communication.
This massive amount of data, called big data, provides
information about customer needs, service quality, prediction
and prevention of risks, etc. In the IoT paradigm, to collect
data from di erent elds such as environmental data,
geographical data, astronomical data, and logistic data, sensors
are embedded into various devices and deployed. Statistical
32nd GI-Workshop on Foundations of Databases (Grundlagen von
Datenbanken), September 01-03, 2021, Munich, Germany.</p>
      <p>Copyright © 2021 for this paper by its authors. Use permitted under
Creative Commons License Attribution 4.0 International (CC BY 4.0).
reporting, monitoring of systems and data, and forecasting
are some of the big data applications.</p>
      <p>In the big data era, data quality is far from perfect as data
is generated from a wide variety of data sources. The data
generated by IoT devices are not in a format ready for
analysis. Because received data may have quality problems, such
as data errors, missing information, inconsistencies, noise,
redundancy, manipulated data, etc. For e ective analysis,
we need high-quality data. Otherwise, low data quality will
lead to serious decision-making mistakes. Thus, the data's
correctness is a crucial factor for the operation and
reliability of a system. At the same time, data changes very fast,
and if the system cannot process the data in real-time, then
the data is invalid and outdated. Therefore, we need
realtime processing engines to transform and lter what is to
be stored since raw data storage is di cult. The selection
of data quality elements will di er in di erent application
environments.</p>
      <p>
        In this paper, we consider the energy systems domain.
Conventional electricity grids are ine cient and unreliable
systems due to the issues such as low reliability, high
outages, high greenhouse gas, and carbon emission, economics,
safety, and energy security [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. In order to solve these
issues smart grid is proposed. A smart grid is a distributed
intelligent energy system that enables the two-way ow of
electricity and data.
      </p>
      <p>
        In a smart grid, we can collect and analyze data
acquired from transmission lines, distribution substations, and
consumers to predict power supply and demand for power
management. Energy demand prediction plays a signi cant
role in the proper scheduling and operation of power
systems [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. Accurate energy forecasts can reduce energy costs
such as maintenance and operation costs, enhance energy
management, increase reliability and e ciency, and make
better future development decisions. For energy demand
forecasting, historical energy consumption data and relevant
e ect factors are required.
      </p>
      <p>To improve the data quality, data must be pre-processed.
During pre-processing, the system can identify and
remove data quality problems such as missing data in a data
record, inconsistent data, and data redundancy. Even after
data pre-processing, the correctness of data cannot be
assured. For this, we have to validate the data. This paper
proposes an approach to validate energy consumption data
using time series forecasting as a reference in real-time. The
remaining part of this paper is organized as follows: Section
2 and 3 discuss some concepts about time series forecasting
models and data integrity; Section 4 overviews the related
work in the area of data validation and energy forecasting
models; Section 5 introduces our proposed data validation
framework; Results are provided in section 6; Section 7
concludes the paper and proposes some future work.</p>
    </sec>
    <sec id="sec-3">
      <title>DATA FAILURES</title>
      <p>
        Data are a valuable asset that connects the cyber and
physical worlds. High-quality data results in intelligent
decisions. However, in the real world, data are often dirty. This
is mainly due to harsh environments, interference, malicious
nodes, network congestion, sensor breakdown, sensor
malfunction, insu cient battery power, etc. As a result, the
sensor fails to generate accurate data. Following are some
of the main data failures in IoT application domains [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ],
Inconsistent data: Measured value may contain
inconsistent data due to node failure or sensor malfunction.
Dropped data: Some data records can be dropped or
unavailable due to network congestion or may be due
to some interference.
      </p>
      <p>Data duplication: Duplicate records can be received for
processing. This is mostly due to malicious nodes,
sensor malfunction, or maybe due to insu cient battery
power.</p>
      <p>
        Manipulated data: Measurements made by the sensors
were altered, thereby compromising the data integrity.
For example, meter readings are altered in the energy
systems domain due to this data integrity attack.
During this attack, the attacker aims to modify the data
measured by the sensor in four general ways [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
1. Modify the data by adding noise to the original
measured value.
2. Modify the data with the historical sensor
measurements from the user.
3. Modify the actual data by erroneous data but still
clinically plausible.
      </p>
      <p>4. Modify the data with the data from another user.
Also, manipulated data are not easily identi able. This
is a severe threat to grid operations, such as energy
loss, incorrect energy forecasting of energy,
uneconomical or even catastrophic decisions, etc. Therefore,
the correctness of data has to be assured before data
processing for the better performance of the system.
Since unreliable data, dropped data and duplicate data are
observable and identi able, removing these data can be
performed during pre-processing. In this paper, we discuss how
to validate the correctness of data. In section 4, we discuss
methods that can be used for data validation.</p>
    </sec>
    <sec id="sec-4">
      <title>RELATED WORK</title>
      <p>
        [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] discusses an approach to detect sensor malfunction
with the combined use of Continuous Wavelet Transform (CWT)
and image analysis techniques. In this method, the CWT
scalogram obtained from the test signal is compared with the
scalogram obtained from the same signal's historical data.
This method provides better performance than PCA (Principal
Component Analysis) based approach and binary SVM
classi er for data validation. Using this approach, di erent types
and intensities of the sensor malfunctions from energy
production plants can be identi ed. The main limitation is that
using this method, sensor malfunctions due to drifts cannot
be identi ed because of the regularity of the signal.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] proposed VortoFlow, a domain-based data stream
validation model using domain-speci c modeling language
called Vorto DSL to describe the characteristics of IoT
devices declaratively. In this model, validation rules are derived
from pre-de ned models at run-time, and it can perform
automated data validation. This approach captures the validity
ranges for the online validation of data streams. The main
restriction of this model is limited dimensions. For example,
it did not support the temporal context.
      </p>
      <p>
        [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] provides a centralized data validation algorithm to
estimate the missing data and data outliers. When missing
data or an outlier is identi ed, this algorithm tries to
estimate accurate data by considering the temporal and spatial
correlation between nearby sensors. The main drawback of
this algorithm is that it considers only the errors like missing
data and outliers.
      </p>
      <p>
        All the approaches mentioned above perform only one
level of validation. Even though the approach [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] considers
the temporal and spatial context, it cannot validate the
data's correctness. If we validate the correctness of data by
considering di erent aspects or dimensions, this will
increase data reliability. Therefore, we aim to validate the
correctness of data by considering multiple levels of validation like
per tuple, per context, etc.
4.
      </p>
    </sec>
    <sec id="sec-5">
      <title>DATA VALIDATION</title>
      <p>As the data volume increases, quality decreases. Recently,
this big data is used as a basis for many crucial business
decisions. Thus, the correctness of data is essential. Therefore,
before performing the actual processing or analysis of data,
validation must be performed along with the pre-processing
or data cleaning. This can reduce the errors in the data to
a certain extent.</p>
      <p>
        The data has to be validated by considering di erent aspects
since manipulated data are not easily identi able. Also, data
validation tasks performed in the system are based on the
application areas. Data validation tasks can be divided
into di erent levels with a growing degree of complexity from
one level to another, including more and more information.
Following are the di erent validation levels [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ],
      </p>
      <p>Validation level 0: In this level, the format and le
structure of the data record is validated. For example,
the completeness of each record is validated.</p>
      <p>Validation level 1: Here, consistency within the
elements in each data record is checked. For example,
check data in elds like identi er or year is not
negative.</p>
      <p>Validation level 2: In this level, validate the data
received from the same source or sensor. For example,
validate data received from the same sensor or
customer using time series forecasting.</p>
      <p>Validation level 3: In this level, consistency of data
record is assured based on the comparison of the data
record with other les in the same domain, for example,
validation of data receiving from the same location.
Validation level 4: In this level, plausibility checks are
performed for each data record to the data in the
different domain by the same provider or context. For
example, data is validated with respect to seasons in
Germany.</p>
      <p>Validation level 5: In this level, validate the data record
to the data from a di erent provider. For example, in
energy systems domain validation data receiving from
Europe.</p>
      <p>
        Data validation methods can be used either for data
correction or faulty data detection[
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Detection of faulty data
can be performed using forecasting. Forecasting is required
in many application domains. For example, in the energy
systems domain, forecasting is required to predict the
future energy demand. In addition, the validity of the data
can be performed by comparing the similarity of the data.
In the following sections, we discuss the forecasting methods
and methods used to calculate the similarity.
4.1
      </p>
    </sec>
    <sec id="sec-6">
      <title>Forecasting</title>
      <p>
        Forecasting [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] is about predicting the future trends or
demands based on the available information that includes
past data and knowledge about any future event that might
impact the forecasts. Depending on the application domain,
short-term, medium-term, and long-term forecasting is
possible. Forecasting methods can be classi ed into two as
qualitative forecasting and quantitative forecasting. If there is no
relevant data available to forecasts, then qualitative methods
must be used. On the other hand, quantitative methods are
used if the historical numerical data is available and a high
probability of continuing the past trend in the future.
4.1.1
      </p>
      <sec id="sec-6-1">
        <title>Qualitative forecasting</title>
        <p>In qualitative forecasting is a judgemental method where
forecasts are based on expert's knowledge, theories, and
experience in the eld who have seen the working and ware of
economic changes that can occur every year. Market
research and the Delphi method are the two standard methods
for qualitative forecasting. This method is mainly used for
long-term forecasting. Since this method is mainly
opinionbased, the result can be inaccurate.
4.1.2</p>
      </sec>
      <sec id="sec-6-2">
        <title>Quantitative forecasting</title>
        <p>
          In quantitative forecasting, historical data and current
data are used. Time series analysis and causal methods are the
two types of quantitative forecasting. In causal methods,
along with time-series data, factors that a ect the business
are also considered for forecasting. In time series analysis,
past and current time series data are used. Time series data
is a collection of equally spaced temporal data that consists
of components such as patterns, cyclical changes, seasonal
uctuations, and irregular data. Time series forecasting can
be classi ed as univariate and multivariate time series
forecasting based on the number of variables used for
forecasting. The selection of models depends on the availability of
the past data, application domains, accuracy, costs, etc.
Following are some of the models used in the energy systems
domain [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ],
        </p>
        <p>Exponential Smoothing: This model computes a
weighted average of past observations, where recent
observations have the higher weight in the forecast.</p>
        <p>Autoregressive Integrated Moving Average: It is a
combination of autoregression and moving average model
with di erencing. In the autoregression model,
forecasting is done based on the linear combination of past
values. In the moving average model, past forecast
errors are used for forecasting. ARIMA model does not
consider seasonal trends for forecasting. ARIMA
models that are capable of modeling seasonal data are
called SARIMA models.</p>
        <p>Neural Network Models: In this model, the neural
network can learn and identify the direct connections,
patterns, and trends in the time-series data that are
di cult to portray. This model is mainly used for
nonlinear data. There are mainly three layers: an input
layer, an output layer, and a hidden layer or
intermediate layer. Bayesian Neural Network, K-Nearest
Neighbour regression, Support Vector Regression,
Recurrent Neural Network, Long Short-term Memory, etc.,
are mainly used neural network models.</p>
        <p>Hybrid Model: To improve accuracy, some forecasting
models are combined to form hybrid models.
ARIMAANN and SARIMA-SVM are some examples of hybrid
models.
4.2</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>Similarity Measures for Time Series Data</title>
      <p>
        The similarity of the time series data is measured mainly
for clustering and classi cation [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. Following are some of
the algorithms used for distance calculation.
      </p>
      <p>
        Euclidean Distance [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]: It is the shortest path between
two points on time series that occur simultaneously.
This method cannot be used when the series are out
of sync.
      </p>
      <p>
        Dynamic Time Warping (DTW) [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]: This algorithm
measures similarity between two given time-dependent
sequences under certain restrictions. Initially, this
algorithm was used for speech recognition. This algorithm
is mainly used for temporal sequences with varying
lengths and speeds.
5.
      </p>
    </sec>
    <sec id="sec-8">
      <title>PROPOSED FRAMEWORK</title>
      <p>
        In this section, we discuss the proposed framework. The
integration of communications network to power grid results
in a reliable and more exible Smart Grid [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. As a result,
energy meters are now sensors that can send data
continuously. At the same time, the quality of data is far from
perfect. Consequently, analysis of this data results in
making poor decisions or predictions. The presence of incorrect
data in a data record is mainly due to attacks and failures.
Attackers aim to alter the measurements made by the smart
meters (sensors) with ctitious data that is plausible or not
but not accurate. Identifying the incorrect data in a data
record is not easy. There we need an estimate or prediction
to check whether the data is correct or not. In order to check
the presence of manipulated in the sensor data, we perform
data validation.
      </p>
      <p>In each application domain, many factors were in uenced
during data generation. In the energy systems domain,
energy consumption in a residential building depends on factors
such as the building area, the total number of people
staying in the building, customer behavior, weather condition,
Data
Preprocessor</p>
      <p>Data Validator
Level 1: Validation per</p>
      <p>Customer
Level 2: Validation per</p>
      <p>Location
Level 2: Validation per</p>
      <p>Context</p>
      <p>Apache Flink
working life, etc. Thus, the validation of data by
considering all the above conditions in a single step is di cult. Like
we mentioned earlier, data validation can be performed at
di erent levels. Therefore, we developed a framework that
performs data validation in three levels. In our framework,
the validation level 0 and 1 are performed as a part of
preprocessing. Therefore, the rst level in our framework will
be the validation of data based on customer behavior. In the
second level, we validate the data by considering the weather
conditions and other exogenous factors. Finally, the
validation is performed based on the general consumption behavior.
For example, energy consumption on weekends will be high
compare to weekdays. Also, consumption during the
daytime will be less compared to nighttime. Therefore, we can
consider most of the factors that a ect the energy
consumption pattern for validation using this framework. Figure 1
shows the developed framework.</p>
      <p>Figure 1 shows the stream processing engine with data
pre-processor and data validator. When the data record
arrives, the data preprocessor checks whether the incoming
record contains missing data, inconsistent data, or duplicate
data. If the preprocessor did not nd any issues mentioned
above, the record is forwarded to the data validator. In data
validator, validation is performed in three levels. The data
record will be forwarded to the next level only if the record is
valid. Otherwise, the validation process is aborted, and data
in the record is considered invalid. In Level 1, our system
checks that the data in the input record is in the predicted
value range. In Level 2 , the system checks that the data
is spatially correlated with the data received from the
same locality. The geographical data is stored in a database
to perform the spatial validation, while the incoming data
records contain only the device id, measured date, time, and
meter value. The format of the input record will be
discussed in detail in the next section. In Level 3 , the system
checks the data is valid to the day of a week(_seasons.) If the
data is valid in all three checks, then we consider this data
as valid. These validity levels are implemented in Apache
Flink. In Apache Flink, real-time validation is performed.
The algorithm that we used to perform three validation will
be discussed in the following sections.
5.1</p>
    </sec>
    <sec id="sec-9">
      <title>Data Validation per Customer</title>
      <p>In a data validator, the rst level of data validation is
performed for each customer. Because the energy consumption
pattern of each customer is di erent. This is mainly due to
the customer behavior, space used by the customer,
number of occupants, his/her working conditions, etc. Thus
data should be validated for each customer. For this, previous
consumption patterns are used for analysis and forecast
future consumption. Time series forecasting is performed, and
the training dataset contains only two elds as follows,
ds: this eld contains date and time with 30 minutes
intervals. It is in format YYYY-MM-DD HH:MM: SS.
values: energy consumed every 30 minutes with respect
to date and time is stored in this eld.</p>
      <p>
        Figure 2 show the process ow for level 1. After pre-processing,
the data record is sent to the rst layer of the data validator.
Based on the customer id, training data is selected and
perform the training and prediction. This tool, along with the
predicted values, predicts the maximum and minimum for
the expected value. Thus, based on this range, our system
checks the meter reading is valid or not. During prediction,
this model predicts the following 12 values. Because in our
input record, we receive 12 meter reading with a time
interval of 30 minutes. Since this tool predicts 12 values, we
do not have to perform a prediction for each time in the
input record. If the record is valid, then the expected value
is added to the training data to predict future time series.
For this validation, an open-source tool called Prophet
developed by Facebook. Prophet [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] is a forecasting tool that
automatically detects change points in a time series.
5.2
      </p>
    </sec>
    <sec id="sec-10">
      <title>Data Validation per Location</title>
      <p>In level 2, data validation of the data record is performed
concerning the location. Each location is di erent. For
example, people living in cities do not have the same consumption
patterns as those living in villages. Nevertheless, the energy
consumption pattern for all customers belongs to the same
region will be similar as people from the same location have
the same weather conditions and other exogenous
conditions. Also, changes in the weather conditions will be re ected
in the consumption pattern. As a result, this similarity can
be used to validate data records receiving from the same
region. The similarity between the time series obtained from
the same location is calculated using the euclidean distance.</p>
      <p>We calculated the minimum and maximum Euclidean
distance for each location and stored it in a database from
the historical data. Therefore, when an input record arrives,
we calculate the euclidean distance for each data point and
check the calculated value is in the range or not. If the data
is not in the range, then that record is considered invalid
and ends the validation process.
5.3</p>
    </sec>
    <sec id="sec-11">
      <title>Data Validation per Context</title>
      <p>In level 3, data is validated concerning a context. We can
consider di erent contexts like weeks, months, or seasons.
For example, we have di erent consumption in each season.
The energy consumption pattern in winter is not the same as
the pattern in winter. Due to less daylight and cold weather,
energy consumption will be high compared to other seasons
in winter. On the other side, energy consumption will be less
in summer due to more daylight and hot weather. Likewise,
in the case of the week, energy consumption will be less on
weekdays compared to the weekend. In our framework, we
consider week, where consumption pattern varies for each
day of the week. Therefore every week, we can nd a similar
pattern on weekends and others on weekdays. In this level,
we nd the euclidean distance between the data points in a
record.</p>
      <p>As we mentioned in the previous level, we calculate the
minimum and maximum Euclidean distance for each weekday
and store it in a database. Here we calculate the euclidean
distance for 12 data points together and compare it with the
calculated value. If the data record is valid, then the
validated data is added to training data. If the data record is valid
in all three layers, then it is forwarded to the next steps for
actual processing.</p>
    </sec>
    <sec id="sec-12">
      <title>RESULTS</title>
      <p>
        In this section, we discuss the accuracy of results obtained
in each layer. For this, Ausgrid[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] dataset is used as the
data source. In this dataset, data collected from 300 solar
customers on a domestic tari for the period starting from
1 July 2010 to 30 June 2013. In this dataset, each record
consists of following elds,
      </p>
      <p>Customer ID : contains customer data and its value
ranges from 1 to 300
Postcode: store the location of the customer. It is a
four digit code. For eg:2076
Generator Capacity : records the solar panel capacity
of each customer
Consumption Category : it is a two-letter code like GG
for energy generation and GC for consumption. This
code is used to show whether meter value is
consumption or generation.</p>
      <sec id="sec-12-1">
        <title>Date: is in DDMMMYYYY format.</title>
        <p>0:30,1:00 ....,00:00 : elds from 0:30 to 0:00 contains
energy consumed or generated in every 30 minutes.
There are 48 elds in total for storing the meter value.
Row Quality: it shows whether the data is actual value
or an estimate.</p>
        <p>From this dataset, data streams are generated with each
record contains customer id, time at which stream is
generated, 12 meter readings, and corresponding measured time
and status of each meter value. The time interval between
this 12 meter reading is 30 minutes, and status denotes
whether the measured value is valid or not.</p>
        <p>Our framework is used for validation in real-time. In
table 1 show the Root Mean Squared Error (RMSE) and Mean
Squared Error (MSE) of di erent models for di erent models
considered for level 1 validation (validation per customer).
In table 1, the Prophet model provides better results
compared to LSTM and ARIMA model. In our framework, we
used the Prophet model. For validation, we need a data
range. The Prophet model's main advantage is that it predicts
the upper bound and lower bound of the data to be
predicted. Also, it predicts the lower and upper bound for daily
consumption and weekly consumption that can be used for
further validation of data.</p>
      </sec>
      <sec id="sec-12-2">
        <title>Models Prophet LSTM ARIMA</title>
      </sec>
      <sec id="sec-12-3">
        <title>RMSE 0.32 0.33 0.34</title>
        <p>MSE
0.10
0.11
0.11</p>
        <p>For level 1 validation, training data has to be updated
in regular intervals of time. Also, data validation is
performed in real-time. Therefore our system should provide
better performance. For level 1, Prophet takes only less than 30
seconds for training and prediction. At the same time, the
ARIMA model takes more than 30 minutes, and LSTM
takes more than 15 minutes for training and prediction of the
same data. Since we receive data every 3 hours from a
customer,it is possible to perform the prediction and store these
values for the validation of next set of values. As a result,
latency can be reduced to a certain extend. In level 1, we
validate the data with respect to the consumer's consumption
pattern where in level 2 and level 3 we considers the external
factors e ecting consumption pattern such as weather, time,
season, etc. For level 2, and level 3 validation, euclidean
distance is measured while DTW takes more time to nd the
shortest path between the time series data points.</p>
        <p>
          In the age of big data, high-quality data is a prerequisite
to perform analysis. Otherwise, analysis of low-quality
data results in serious decision-making mistakes [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. Therefore,
data quality is a critical factor for e cient analysis. Data
quality issues like missing data, inconsistent data and
redundant data are observable and identi able. At the same
time, some of the data quality issues like the correctness of
data are not easily identi able. In this paper, we propose a
framework to validate data's correctness in the energy
systems domain. In our system, data validation is performed
in three levels: validation per customer, validation per
location, and validation per context by considering the factors
such as customer behavior, weather conditions, etc.
        </p>
        <p>In our framework, data validation is performed using the
time series forecasting models. Our framework is a hybrid
model of Prophet and vector autoregression, where Prophet
is univariate, and vector autoregression is a multivariate
time forecasting model. Currently, data validation is
performed on the energy consumption domain. As a next step,
the energy generation domain will also be integrated into
this framework. Also, this framework will be extended for
other domains.
8.</p>
      </sec>
    </sec>
    <sec id="sec-13">
      <title>ACKNOWLEDGMENTS</title>
      <p>This work is funded by the BMBF (Bundesministeriums
fur Bildung and Forschung) under grant 01IS18074A.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Ausgrid</surname>
          </string-name>
          .
          <article-title>Ausgrid - solar home electricity data</article-title>
          . URL https://www.ausgrid.com.au/Industry/OurResearch/Data-to-share/
          <article-title>Solar-home-electricity-</article-title>
          <string-name>
            <surname>data</surname>
          </string-name>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Cai</surname>
          </string-name>
          and
          <string-name>
            <given-names>K. K.</given-names>
            <surname>Venkatasubramanian</surname>
          </string-name>
          .
          <article-title>Detecting data manipulation attacks on physiological sensor measurements in wearable medical systems</article-title>
          .
          <source>EURASIP Journal on Information Security</source>
          ,
          <year>2018</year>
          (
          <volume>1):1</volume>
          {
          <fpage>21</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>L.</given-names>
            <surname>Cai</surname>
          </string-name>
          and
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhu</surname>
          </string-name>
          .
          <article-title>The challenges of data quality and data quality assessment in the big data era</article-title>
          .
          <source>Data science journal, 14</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>F.</given-names>
            <surname>Cannarile</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Baraldi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Colombo</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E.</given-names>
            <surname>Zio</surname>
          </string-name>
          .
          <article-title>A novel method for sensor data validation based on the analysis of wavelet transform scalograms</article-title>
          .
          <source>International Journal of Prognostics and Health Management</source>
          ,
          <volume>9</volume>
          (
          <issue>1</issue>
          ):
          <fpage>002</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>C.</given-names>
            <surname>Cassisi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Montalto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Aliotta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Cannata</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Pulvirenti</surname>
          </string-name>
          .
          <article-title>Similarity measures and dimensionality reduction techniques for time series data mining. Advances in data mining knowledge discovery and applications'(InTech, Rijeka</article-title>
          , Croatia,
          <year>2012</year>
          ,, pages
          <fpage>71</fpage>
          {
          <fpage>96</fpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>C.</given-names>
            <surname>Deb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. E.</given-names>
            <surname>Lee</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K. W.</given-names>
            <surname>Shah</surname>
          </string-name>
          .
          <article-title>A review on time series forecasting techniques for building energy consumption</article-title>
          .
          <source>Renewable and Sustainable Energy Reviews</source>
          ,
          <volume>74</volume>
          :
          <fpage>902</fpage>
          {
          <fpage>924</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>E. V.</given-names>
            <surname>Foundation</surname>
          </string-name>
          .
          <article-title>Methodology for data validation 1.1 revised edition 2018</article-title>
          . https://ec.europa.eu/eurostat/cros/system/ les/ess handbook methodology
          <source>for data validation v1.1 - rev2018 0.pdf.</source>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ghasempour</surname>
          </string-name>
          .
          <article-title>Optimized advanced metering infrastructure architecture of smart grid based on total cost, energy, and delay</article-title>
          .
          <source>In 2016 IEEE Power Energy Society Innovative Smart Grid Technologies Conference (ISGT)</source>
          , pages
          <fpage>1</fpage>
          <issue>{6</issue>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ghasempour</surname>
          </string-name>
          .
          <article-title>Internet of things in smart grid: Architecture, applications</article-title>
          , services, key technologies, and challenges.
          <source>Inventions</source>
          ,
          <volume>4</volume>
          (
          <issue>1</issue>
          ):
          <fpage>22</fpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>R. J.</given-names>
            <surname>Hyndman</surname>
          </string-name>
          and
          <string-name>
            <given-names>G.</given-names>
            <surname>Athanasopoulos.</surname>
          </string-name>
          <article-title>Forecasting: principles and practice</article-title>
          .
          <source>OTexts</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Karkouch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Mousannif</surname>
          </string-name>
          , H. Al Moatassime, and
          <string-name>
            <given-names>T.</given-names>
            <surname>Noel</surname>
          </string-name>
          .
          <article-title>Data quality in internet of things: A state-of-the-art survey</article-title>
          .
          <source>Journal of Network and Computer Applications</source>
          ,
          <volume>73</volume>
          :
          <fpage>57</fpage>
          {
          <fpage>81</fpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>A.</given-names>
            <surname>Kianimajd</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Henriques</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rocha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Paredes</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Ruano</surname>
          </string-name>
          .
          <article-title>Comparison of di erent methods of measuring similarity in physiologic time series</article-title>
          .
          <source>IFAC-PapersOnLine</source>
          ,
          <volume>50</volume>
          (
          <issue>1</issue>
          ):
          <volume>11005</volume>
          {
          <fpage>11010</fpage>
          ,
          <year>2017</year>
          . 20th IFAC World Congress.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>M.</given-names>
            <surname>Mu</surname>
          </string-name>
          <article-title>ller. Dynamic time warping. Information retrieval for music and motion</article-title>
          , pages
          <volume>69</volume>
          {
          <fpage>84</fpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>I. M.</given-names>
            <surname>Pires</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. M.</given-names>
            <surname>Garcia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Pombo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Florez-Revuelta</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <surname>N. D.</surname>
          </string-name>
          <article-title>Rodr guez. Validation techniques for sensor data in mobile health applications</article-title>
          .
          <source>Journal of Sensors</source>
          ,
          <year>2016</year>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>S.</given-names>
            <surname>Pizonka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Kehrer</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          .
          <article-title>Domain model-based data stream validation for internet of things applications</article-title>
          .
          <source>In MODELS Workshops</source>
          , pages
          <volume>503</volume>
          {
          <fpage>508</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>F.</given-names>
            <surname>Research</surname>
          </string-name>
          . Prophet: forecasting at scale. URL https://research.fb.com/prophet-forecasting
          <string-name>
            <surname>-</surname>
          </string-name>
          at-scale/,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>F.</given-names>
            <surname>Rodr guez</surname>
          </string-name>
          , F. Mart
          <string-name>
            <surname>n</surname>
          </string-name>
          , L. Fontan,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Galarza</surname>
          </string-name>
          .
          <article-title>Very short-term load forecaster based on a neural network technique for smart grid control</article-title>
          .
          <source>Energies</source>
          ,
          <volume>13</volume>
          (
          <issue>19</issue>
          ):
          <fpage>5210</fpage>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>F.</given-names>
            <surname>Sartori</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Melen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Giudici</surname>
          </string-name>
          .
          <article-title>Iot data validation using spatial and temporal correlations</article-title>
          .
          <source>In MTSR</source>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>