DEVELOPMENT OF A REAL-TIME ELECTRICITY DEMAND FORECASTING PLATFORM BASED ON MACHINE LEARNING AND APACHE KAFKA STREAM PROCESSING

2026

Закрытый доступ Метаданные (CSL-JSON)
DOI 10.51775/2790-0886_2026_74_3_35
Достоверность данных 70 средняя
Как считается эта оценка

Складывается из проверяемых признаков самой записи: есть ли у статьи DOI, сколько независимых источников подтвердили её данные, заполнены ли обязательные поля и насколько свежо последнее подтверждение. Снижают оценку расхождения между источниками и отсутствие идентификатора. Значение от 80 означает, что запись опубликована без дополнительной проверки; от 60 до 79 — что она опубликована с пониженной достоверностью и ручная проверка желательна. Запись, выверенную редактором вручную, пересчёт не опускает ниже 90. Это оценка наших данных о статье, а не оценка самой статьи.

Аннотация

The goal of this research is to create GridSense, a real-time digital platform that uses stream data processing and machine learning to forecast electricity consumption in Petropavlovsk city. The study tackles the issue of manual load planning in the North Kazakhstan regional power system, where dispatch services face considerable unpredictability due to significantly continental climate conditions, wind influence, heating demand, and noticeable daily consumption peaks. The primary goal was to develop an economically accessible, low-latency, and interpretable decision-support platform that could generate short-term forecasts up to 48 hours in advance. The work's methodological foundation consists of the creation of an event-driven software architecture based on Apache Kafka and system-structural modeling using Data Flow Diagram (DFD) and Integration Definition for Function Modeling (IDEF0). A Linear Regression model trained on climatic and temporal parameters, such as temperature, wind speed, humidity, present load, forecast horizon, and goal hour, is used by the forecasting module. A browser-based single page application, a Node.js and Express.js backend, a Kafka message broker, a Python machine learning consumer, a PostgreSQL database, and WebSocket real-time delivery are all integrated into the implemented platform. The model attained an operational forecasting accuracy of 88.8% with R² = 0.77 and Mean Absolute Error of 23.7 MW, according to experimental evaluation. With a mean response time of 8.9 ms, p95 latency of 12.1 ms, p99 latency of 18 ms, and no detected errors, load testing with Artillery showed robust system operation. The suggested approach serves as a foundation for intelligent energy planning systems in Kazakhstan and offers useful assistance for regional dispatch management.