חזרה לרשימת הפרויקטים

Baseline power prediction service

Details

Based on historical data, the model developed by us is capable of predicting the consumption of electricity by the population.

This project was for a Norwegian company that supplies electricity to the public. Based on historical data, the model developed by us is capable of predicting the consumption of electricity by the population. The aim of the project is to optimize energy consumption.

The Baseline energy application service (BEAS) is a Machine Learning System (MLS) with an API where business intelligence like baseline (the normal amount of kWh) and predictions for MeasuringPointIDs (MPID) and Grid Location IDs (GLID) are provided.

Using Historical Power Consumption data and Historical weather data we developed functions that have added the following parameters: A number of the most relevant pairs of temperature-energy values, an average value of the temperature-energy ratio for each hour for the current month, and the presence of a national holiday/weekend on a specific day.

We taught our model on a large dataset that included air temperature on a current day and the amount of electrical power that was consumed that day. In addition to the raw data, we have added some contextual functions. As a result, we have achieved a very good statistical representativeness of the predictions:

xgb_test_probabilities_bin_0.1.png

On the figure above there are plots of two discretized distribution functions based on a large data set. Discretization is based on the principle of dividing the full range of values into “baskets’’ with a size of 0.1 kWh, the size of which is then calculated as the number of values that fell into them from a statistical sample of real data (orange curve) and predictions (blue curve). The values of the Kullback-Leibler divergence metric on the training and test samples for different MPIDs were in the range of [0.01, 0.05], which also signals the qualitative statistical convergence of the algorithm.

The table and a graph below demonstrate the result of the work made by our team.

The columns in the table mean:

- Hour - the hour at which the event occurs.

- Observations (kWh) - the amount of energy based on historical data.

- Predictions (kWh) - the amount of energy predicted by the system.

- MAPE (Deviation%) - deviation. For convenience, a “-” sign has been left, which indicates whether a deviation was made to the smaller or larger side from the observations.

- Temperature - air temperature.

- Datetime - date and time

image (3) (1).png

Data from the table is presented in the graph below.

image (2) (1).png

Technologies that we used for this project:

Python, sklearn, XGBoost, Django, outliers detection, PostgreSQL, Google Cloud Platform.

שירותים
תכונות
זמני פיתוח
4 שבועות מפתח אחד
שנה
2021