Data Model Design for Explainable Machine Learning-based Electricity Applications

Carolina Fortuna, Gregor Cerar, Blaž Bertalanič, Andrej Čampa, Mihael Mohorčič · 2025

Read Data Model Design for Explainable Machine Learning-based Electricity Applications by Carolina Fortuna, Gregor Cerar, Blaž Bertalanič, Andrej Čampa, Mihael Mohorčič (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-23607.txt.

Introduction

Carolina Fortuna, Gregor Cerar, and colleagues design data models for explainable learning in electricity systems in a 2025 study. Smart grids, renewable growth, and price shocks have pushed power companies toward machine learning, but most models eat a single measurement stream and cannot explain themselves. Metadata and extra measurements could enrich them, yet no structured study had mapped what that richer data should look like.

The authors set out the data model design that explainable applications need. Clear data structure is a precondition for models whose reasoning grid operators can audit before acting on a forecast or alarm.

Catalog record

CREATORCarolina Fortuna, Gregor Cerar, Blaž Bertalanič, Andrej Čampa, Mihael Mohorčič
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE45 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2505-23607

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Data Model Design for Explainable Machine Learning-based Electricity Applications Carolina Fortuna, Gregor Cerar, Blaž Bertalanič, Andrej Čampa, Mihael Mohorčič Abstract The transition from traditional power grids to smart grids, significant increase in the use of renewable energy sources, and soaring electricity prices has triggered a digital transformation of the energy infrastructure that enables new, data driven, applications often supported by machine learning models. However, the majority of the developed machine learning models rely on univariate data. To date, a structured study considering the role meta-data and additional measurements resulting in multivariate data is missing. In this paper we propose a taxonomy that identifies and structures various types of data related to energy applications. The taxonomy can be used to guide application specific data model development for training machine learning models. Focusing on a household electricity forecasting application, we validate the effectiveness of the proposed taxonomy in guiding the selection of the features for various types of models. As such, we study of the effect of domain, contextual and behavioral features on the forecasting accuracy of four interpretable machine learning techniques and three openly available datasets. Finally, using a feature importance techniques, we explain individual feature contributions to the forecasting accuracy. Journal: Expert Systems with Applications ML Machine Learning AI Artificial Intelligence MLOps Machine Learning Operation MSE mean squared error MPE mean percentage error SHAP SHapley Additive exPlanations PDF Probability Distribution Function EMS energy management system SM smart meter IED intelligent electronic device WAMS wide-area measurement system LV low voltage MV medium voltage HV high voltage DSO distribution system operator IED intelligent electronic device NILM nonintrusive load monitoring PV photovoltaic EV electric vehicle MAPE mean absolute percentage error SMAPE symmetric mean absolute percentage error XGB extreme gradient boosting LR linear regression MLP multi-layer perceptrons SARGON smart energy domain ontology SAREF smart applications reference FOAF acronym of friend of a friend OWL web ontology language PCA principal component analysis 1 Introduction The transition from traditional power grids to smart grids, significant increase in the use of renewable energy sources, and soaring electricity prices has led to an increase in complexity [ 1 ] , particularly with the adoption of sm , ems , and ied at the lv ( lv ) level. These devices enable innovative energy [ 2 ] and non-energy applications [ 3 , 4 ] , such as energy cost optimization and matching consumption with self-production from renewable energy sources. On the dso ( dso ) side of the lv grid, reliability and latency are the main challenges, and complete observability of the lv grid for each substation is crucial. While wams already monitor and collect data at the mv ( mv ) and hv ( hv ) levels, the data is mainly used for observability and critical situation handling. However, the data collected in the lv grid can be processed and used to enrich the collected data at the mv and hv levels, creating a limited control loop that extends from the observability of the hv grid to the prosumer. The increased penetration of ied , wams , and ems generates large amounts of data, leading to the adoption of big data and machine learning techniques and opens opportunities for energy consumption forecasting integrated into applications serving all grid segments [ 5 , 6 ] . A taxonomy of such applications including energy saving, appliance recognition, occupancy detection, preference detection as well as a taxonomy of related datasets and techniques supporting applications have been surveyed in [ 7 ] . The study concluded that the datasets 1) are generally limited geographically, in duration, type of appliances or sampling frequency, and 2) do not capture exogenous conditions, such as the weather temperature, humidity as well as meta-data such as building insulation, nature of buildings along with other data specifying the number of individuals, job quality and age. Furthermore, using only direct instantaneous measurements may be insufficient to accurately forecast energy consumption [ 8 , 7 ] . Next, the authors of [ 8 ] found that meta-data such as building height, wall area and orientation were employed in a number of studies revealing that such features affect the prediction for target variables such as heating and cooling load. The studies surveyed largely relied on traditional machine learning techniques as has also been noted in another recent survey [ 9 ] . The main advantages of such methods are that they are inherently interpretable [ 10 ] and tend to have lower computation complexity compared to their deep learning counterparts. The majority of forecasting studies employ univariate data consisting of aggregated household consumption collected from a main ied , and develop models that learn the likely distribution of the values in the metering data to predict future energy consumption [ 11 ] . Sometimes lagged values are also used in the model development [ 12 ] . A relatively lower number of studies, such as [ 13 ] , estimated consumption using timestamp (month, hour, week of year, day of week, season), weather (condition, severity, temperature, humidity), and energy price. In [ 14 ] , the ML-based estimation was done using a timestamp, electricity contract type, energy consumption, and city area. However, in such works, the features used to train the model are developed by machine learning experts and are less intuitive for decision makers or energy domain practitioners [ 15 ] . While taxonomies and semantic modeling efforts for representing various domains [ 16 ] , including technical aspects of energy infrastructure [ 17 ] , have been developed, a structured study considering the role meta-data and additional measurements in guiding model selection, accuracy and explainability of electricity applications to complement existing works and guide towards more comprehensive models is missing. In this paper we propose a taxonomy that identifies and structures various types of data related to electricity applications. Based on this taxonomy, data models can be designed and implemented in database-like systems or feature stores for machine learning model training. Based on the proposed taxonomy, we identified and employed relevant data sources related to the energy domain (i.e. domain specific features) as well as contextual and behavioural. Together with selected interpretable machine learning models, we study the contribution and importance of each feature category on the final performance of the models for household electricity forecasting while also reflecting on individual feature influence using a feature importance based explainability technique [ 10 ] . The contributions of this paper are as follows: 1. The proposed taxonomy and the validations of its effectiveness its effectiveness on a household electricity forecasting problem. 2. The study of the effect of domain, contextual and behavioral features on the forecasting accuracy of various categories of model developed with four traditional but interpretable machine learning techniques and three openly available datasets. We find that feature engineering can improve the performance of the model by \approx 3.73, \approx 4.70 and \approx 4.30 percentage points in terms of mpe ( mpe ) metric, compared to just utilising raw time series on three relevant datasets. 3. Feature importance analysis reveals that domain-specific features contribute the most to the final performance with contributions between 65.5\% to 83.1\% , contextual features contribute between 10.8\% and 23.6\% while behavioral features

Read the complete text