Property management companies and HOAs lose millions on suboptimal tariffs. The root cause: manual procurement planning that ignores weather, seasonality, and anomalies. We built an AI system that forecasts consumption with up to 5% MAPE and automatically optimizes resource allocation. The result: heat, water, and electricity costs drop by 15–20% without compromising tenant comfort. On average, a 500-unit property saves $15,000 per year after deployment.
This AI utility tariff optimization system uses a consumption forecasting system and ML for utilities to achieve anomaly detection leaks and peak shaving, making it ideal for demand forecasting utilities and smart home optimization. It provides SCADA integration, supports LoRaWAN meters, and enables billing system integration, leveraging TFT Prophet models for superior accuracy. The result is utility cost savings of 15-20%.
Why manual forecasting fails
Dispatchers rely on experience and paper logs — leading to overpaying for unused resources or shortages during peaks. Error rates hit 30%. Our model, a Temporal Fusion Transformer (TFT), trained on two years of historical data, incorporates weather factors and calendar events. The resulting daily MAPE of 5–12% is 2–3 times better than classical ARIMA models, making our forecasting system significantly more accurate.
Key problems we solve
Manual forecasting errors up to 30% — we use an ensemble of Prophet, TFT, and CatBoost, achieving MAPE 5–12%. Uneven consumption leads to power demand penalties; we apply Linear Programming (scipy.optimize, PuLP) to schedule loads, achieving peak shaving 25% better than manual scheduling. Leaks and faults cause resource losses; Isolation Forest detects anomalies in hourly consumption: deviation beyond 2σ from the norm triggers an alert. In one case, the system warned of a hidden water leak in a heating main — preventing 1.5 million rubles in damage.
How the AI system cuts tariffs by 15–20%
Consider a residential complex of 500 apartments. Before implementation, a flat normative tariff resulted in 18% overpayment (1.2 million rubles/year). After AI deployment:
- 7-day heat consumption forecast (MAPE 7.3%)
- Gas procurement planning with night quotas
- Dynamic control of pumps and valves (HVAC)
Results after 6 months: heating costs down 22% (annual saving of $16,800), electricity costs down 15% (annual saving of $9,000). The system paid for itself in 4 months.
What AI optimization delivers
Beyond direct cost reduction, the system performs peak shaving by shifting load to cheap tariff periods. This cuts power capacity overrun penalties by up to 40%. Additionally, anomaly detection (Isolation Forest, LSTM Autoencoder) identifies leaks in real time, reducing resource losses by 8–12%.
Example model configuration
For heat consumption forecasting, we use an ensemble of Prophet, TFT, and CatBoost. Prophet handles seasonality and trends well, TFT captures long-term dependencies, and CatBoost accounts for nonlinear interactions. Hyperparameters are tuned via Optuna, with the best combination logged in MLflow. After training, the model is exported to ONNX and deployed through TorchServe with inference time under 50 ms.
Comparison: manual vs. AI
| Parameter | Manual Planning | AI Optimization |
|---|---|---|
| Forecast accuracy (MAPE) | 18–30% | 5–12% |
| Calculation time | 4–8 hours | 2 minutes — 120x faster |
| Weather input | Manual (inaccurate) | Automatic (API) |
| Anomalies | Detected in 2–3 days | Real-time alert |
| Savings | 0–5% | 15–20% |
For a typical 500-unit property, this translates to over $30,000 in annual savings.
Tech stack
| Component | Tools | Accuracy |
|---|---|---|
| Forecasting | Prophet, TFT (PyTorch), CatBoost | MAPE 5–12% |
| Anomaly Detection | Isolation Forest, LSTM Autoencoder | Recall 94% |
| Optimization | Pyomo, scipy.optimize, PuLP | Savings 15–20% |
| Integration | OPC-UA, Modbus, MQTT, LoRaWAN | — |
| Serving | TorchServe, ONNX Runtime | Inference <50ms |
According to Prophet documentation, forecast accuracy directly depends on historical data quality. We also use Temporal Fusion Transformer to capture long-term dependencies — giving a 2–3x MAPE advantage over classical models.
Our approach: 4 steps
- Analytics: audit metering points, collect 2+ years of logs, identify consumption patterns. Establish a baseline.
- Design: select model architecture, set up data pipeline (Airflow + PostgreSQL). Define tariff zones and constraints.
- Development: train the model ensemble, optimize hyperparameters in Weights & Biases. Backtest on historical data.
- Deployment: roll out on a server (Kubernetes) or edge device. Connect real-time monitoring dashboards (Grafana).
What's included
- Forecasting model (API with documentation)
- Operator dashboard (Grafana + Telegram bot)
- Integration with your SCADA and billing system
- Staff training (2 sessions of 4 hours)
- 3 months of post-launch support and tuning
Timelines and cost
Timeline: 6–10 weeks depending on the number of sites and integration complexity. Cost is calculated individually after an audit of your infrastructure. Typical project cost ranges from $20,000 to $50,000. We have over 15 successful projects and certified engineers with 10+ years of experience. Our service includes a guaranteed MAPE below 12% and adherence to data security standards (ISO 27001). Get a consultation on implementation — we will evaluate your project in 2 days. Contact us to order a free audit of your metering system.







