Smart Electricity Consumption Analysis and Short-Term Prediction System Using Java and MySQL

Household electricity use rises and falls with daily routines, the appliances in use, who is at home, the weather, and much else. Without a clear record of readings over time, it is hard for a household to notice when its consumption has changed or to guess what it will need next. This paper proposes a lightweight Smart Electricity Consumption Analysis and Short-Term Prediction System built with Core Java and MySQL. The application stores timestamped readings, works out daily and monthly consumption, and presents usage summaries. It flags unusually high readings with a simple historical-threshold rule and estimates near-term consumption with a moving-average baseline. JDBC links the Java code to the MySQL database, and Java Swing provides the desktop interface. The forecasting component is compared with a simple persistence baseline using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). Alert quality is judged on labelled test cases using precision, recall, and F1-score. Household load forecasting and appliance-level anomaly detection have already been studied with statistical and machine-learning methods, so this work does not claim to invent electricity forecasting. Its contribution is a low-cost, explainable implementation, together with an empirical evaluation of consumption summaries, simple prediction, and easy-to-understand alerts inside a Java–MySQL application. Results are reported on a synthetic dataset generated for prototype validation; evaluation on real household data is still needed.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24553873
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Smart Electricity Consumption Analysis and Short-Term Prediction System Using Java and MySQL

Sahil Shashikant Mahabdi, Deepak Singh2
Zenodo (CERN European Organization for Nuclear Research)
Energy Load and Power Forecasting
article

Smart Electricity Consumption Analysis and Short-Term Prediction System Using Java and MySQL

Sahil Shashikant Mahabdi, Deepak Singh2
article en

Abstract

Household electricity use rises and falls with daily routines, the appliances in use, who is at home, the weather, and much else. Without a clear record of readings over time, it is hard for a household to notice when its consumption has changed or to guess what it will need next. This paper proposes a lightweight Smart Electricity Consumption Analysis and Short-Term Prediction System built with Core Java and MySQL. The application stores timestamped readings, works out daily and monthly consumption, and presents usage summaries. It flags unusually high readings with a simple historical-threshold rule and estimates near-term consumption with a moving-average baseline. JDBC links the Java code to the MySQL database, and Java Swing provides the desktop interface. The forecasting component is compared with a simple persistence baseline using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). Alert quality is judged on labelled test cases using precision, recall, and F1-score. Household load forecasting and appliance-level anomaly detection have already been studied with statistical and machine-learning methods, so this work does not claim to invent electricity forecasting. Its contribution is a low-cost, explainable implementation, together with an empirical evaluation of consumption summaries, simple prediction, and easy-to-understand alerts inside a Java–MySQL application. Results are reported on a synthetic dataset generated for prototype validation; evaluation on real household data is still needed.

Zenodo (CERN European Organization for Nuclear Research)
Energy Load and Power Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Smart Electricity Consumption Analysis and Short-Term Prediction System Using Java and MySQL — Sahil Shashikant Mahabdi, Deepak Singh2 · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS