> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/english-v14/getting-started/artificial-intelligence-in-abb-buildingpro/forecasting.md).

# Forecasting

## **What is forecasting?**

Forecasting refers to predicting future values based on historical time series. Using statistical and machine learning methods, patterns in past data are recognized in order to generate forecasts from them—for example for energy consumption, temperatures, or occupancy levels.

<figure><img src="/files/6cb122db667604defcbed5d03b08c33524c6f17a" alt=""><figcaption></figcaption></figure>

## **What is forecasting used for in smart buildings?**

In building management, forecasting provides the basis for forward-looking operational strategies:

* **Peak load smoothing:** Avoiding high grid draw at peak times through early switching actions.
* **Predictive maintenance:** Predicting system failures (e.g. vibration or pressure spikes) and automatically creating tickets before actual damage occurs.
* **Comfort optimization:** Gentle pre-heating or pre-cooling to maintain desired temperature ranges without hectic readjustment.
* **Occupancy forecasts:** Adjusting ventilation and lighting schedules to expected user numbers.
* **Tariff management:** Shifting consumption into cheaper time windows when electricity tariffs are variable.

***

## **How do we implement forecasting at Eliona?**

In our [➔ **Forecast app**](/collection/english-v14/apps/apps/forecast.md) it is sufficient to

1. **target attribute** (e.g. “electricity consumption meter X”) and, if applicable, **additional variables** (outside temperature, day of the week, occupancy) to select,
2. the desired **forecast duration** to define.

The app then automatically generates forecast attributes that behave exactly like sensor data—usable in dashboards, rule chains, or analytics.

***

## **Which technologies do we use—and why?**

* **LSTM (Long Short-Term Memory)**
  * **Why:** LSTM networks are able to **nonlinear relationships** and long-term temporal dependencies without failing due to vanishing gradients.
  * **Benefits for smart buildings:**
    * Capture complex interactions (e.g. opening hours × temperature × occupancy).
    * Robust with many additional features and extended forecast horizons.
  * **Practical evidence:** A multi-layer LSTM with denoising achieved 15–30% higher accuracy for building energy forecasts in recent studies [➔arXiv\[External\]](https://arxiv.org/abs/2309.02908).
* **SNARIMAX (Seasonal Non-linear ARIMAX)**
  * **Why:** SNARIMAX integrates **seasonal patterns**, autoregressive and moving-average components as well as **exogenous variables** (e.g. weather, day of the week) in a single online-capable model [➔MDPI\[External\]](https://riverml.xyz/dev/api/time-series/SNARIMAX/).
  * **Benefits for smart buildings:**
    * Low data requirements and a robust baseline with short histories.
    * Fast adaptation to live data (incremental updates).
* **Auto mode:**\
  Our app compares both methods in backtesting and automatically uses the more powerful engine.

***

**Conclusion:**\
By combining **LSTM** for nonlinear, long-term patterns and **SNARIMAX** for seasonal, explainable baselines, Eliona offers a **highly flexible**, **low-threshold** forecasting solution. This enables forward-looking control and real predictive use cases—without ML expertise and in just a few clicks.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.buildings.ability.abb/collection/english-v14/getting-started/artificial-intelligence-in-abb-buildingpro/forecasting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
