Key takeaway
- Use case: an ML design process for wind and solar power forecasting, with ensemble models, versioned pipelines and monitoring to keep nMAE below 13%.
This ML design process shows how a team built, deployed and maintained wind and solar power forecasting models, with a clear business target: forecast below 13% nMAE, the normalised mean absolute error threshold set for the engagement. The approach combines ensemble modelling over several weather sources, versioned code and pipelines, and monitoring that triggers retraining when accuracy slips. It is a practical reference for leaders who want machine learning models to stay accurate in production.
It is a worked example of the practices described in our MLOps guide, within our wider overview of generative AI and machine learning use cases.
What did the customer need?
The requirement from Utopus was a whole pipeline that covers data ingestion, data visualisation and cleaning, feature engineering where applicable, model selection, model training, A/B testing, parameter tuning and deployment. The deliverables were a training notebook, a testing and scoring notebook and a scoring notebook, together with an ML lifecycle that works with the chosen tools, including model training and model publishing.


Which business problem is being solved?
This is a power forecasting problem, covering wind power forecasting and solar power forecasting. The threshold metric is nMAE, normalised mean absolute error. A penalty applies above 13%, so the main goal is to develop and train models that forecast below 13% nMAE, or to the customer's requirement. Machine learning was used because forecasting was the problem from day one, and accurate forecasts add automation efficiency and avoid penalties.
How does the ML design process run end to end?
The process follows a repeatable loop from data collection to monitoring. Each stage has an owner and a measurable check.
What data and tools were used?
Two types of data were used: weather data and measurement data. Weather data came from several forecasting systems, including ECMWF and GFS. In total the sources were ECMWF, GFS, ICON, ICON-EU, ECMWF ENS Control and GDPS15.
| Data or tool | How it was used |
|---|---|
| Measurement data | Live turbine sensor data such as active power and available power, delivered by FTP, API or customer Kafka streams into AWS Kinesis streams |
| Weather data | Files in Amazon S3, in GRIB format, from the forecasting systems listed above |
| Ingestion and refined tables | The data engineering team ingests data into ingestion tables on S3, then cleans, transforms and deduplicates it into refined tables |
| Feature stores | An offline feature store table supports model development and training; an online feature store supports scoring |
| Model training | Databricks, with Delta Lake for model development and training data |
| Alerts and logs | AWS SNS for alerts and CloudWatch for logs |
Ensemble modelling was used to train the model so that it can cater to all the weather sources. No pre-trained model was in use. For the data pipeline foundations behind this, see our guide to data pipelines.
How was feature engineering handled?
A feature engineering notebook checked three things: the availability of data between two dates, which helps identify gaps; outliers; and the correlation between features, which helps remove poor quality data. After these checks, the team removed data of insufficient quality and the periods that contained gaps.
Why use ensemble forecasting?
Combined, or ensemble, forecasts using several numerical weather prediction (NWP) members are described in the engagement as the current approach of leading renewable forecast vendors. The reasons given were:
- Higher accuracy: combining two or more NWPs delivers better performance than any individual NWP.
- More consistent accuracy by look-ahead: a single-source layout can lose accuracy between short-term and day-ahead forecasts, because the gap between sources such as GFS and ECMWF can be noticeable.
- Higher reliability: the ensemble is self-backed-up. A forecast can still be issued if one member is missing or late, and it fails only if all members are missing at the same time.
- Low technical debt: combining data sources can be automated at single-site level, from simple weight optimisation to more sophisticated ML-based methods.
- Future use: the approach supports probabilistic forecasts later.
How are forecast horizons defined?
Three categories were decided according to the forecast horizon. Intraday covers very short-range forecasting of up to 12 hours and short-range forecasting beyond 12 hours and up to 72 hours. Day ahead covers short-range forecasting and medium-range forecasting beyond 72 hours and up to 240 hours. Long term covers extended-range forecasting beyond 10 days and up to 30 days, and long-range forecasting. In the first phase, a single weather source was used for each need (ECMWF for day ahead and GFS for long term), before ensemble modelling brought all sources together.
How is model quality kept under control?
Quality control relies on people, pipelines and thresholds working together.
- Versioning: a dedicated code repository and a CI/CD pipeline are in place. Because Databricks does not support git actions for entire repositories, only one file at a time, the workaround is to export code from Databricks to the local repository and run the git action from there.
- Environments: development happens in a dev environment and is tested in QA, and code is then pushed to the versioning and retraining pipelines. A Databricks extension for Visual Studio brings code into the Databricks environment.
- Retraining: once nMAE rises beyond 13%, or beyond the threshold the customer sets, retraining starts. The process is retraining, testing, deployment to staging, and then replacing the model running in production.
- Ownership: a dedicated model operationalisation team has model quality control as its main responsibility, and a separate dedicated team develops the models.
Our guide to machine learning tools compares options for these stages.
How are failures and accuracy monitored?
Monitoring works on two levels. For failures, alerts are set up using AWS SNS, and CloudWatch logs are enabled for troubleshooting. For accuracy, alerts fire when the nMAE threshold is broken, and dashboards show model accuracy. If accuracy goes beyond the threshold, retraining and redeployment can be started.
What does the ML Lens checklist add?
The business goal identification phase follows a clear sequence: understand the business requirements, form a business question, review feasibility and data requirements, evaluate the cost of data, training, inference and wrong predictions, review proven work in similar domains, determine key metrics including acceptable error, define the ML task, identify must-have features, design small proof-of-concept projects, consider external data, establish pathways to production, consider new business processes, and align stakeholders. Following this order keeps projects tied to value rather than to technology.
Where does a platform like NexaStack fit?
Forecasting for energy is a data-heavy, sensor-driven workload. NexaStack, XenonStack's Physical AI platform, supports edge AI, inference and energy and IoT use cases, and can run models close to the assets they serve. Cloud training and edge inference can then share the same governed lifecycle shown below.
What should leaders take from this?
The conclusion of the engagement is that machine learning models keep their quality through a cycle of retraining, testing, deployment to staging and promotion to production, supported by a dedicated operationalisation team. Set a business threshold early, measure against it continuously, and make retraining a routine process, not an emergency.
Keep your models accurate once they are live.
Review your ML lifecycle, data context and monitoring with our team. Book a Context Workshop or see what happens in the workshop.
Frequently Asked Questions
What was the main goal of this ML engagement?
To develop and train models that forecast wind and solar power below 13% nMAE, or according to customer requirements.
Why was ensemble modelling used for forecasting?
Combining several weather forecasting systems improves accuracy, gives more consistent accuracy across forecast horizons, adds reliability when one source is missing, and keeps technical debt low.
How is model quality kept under control?
Versioned code with CI/CD, dashboards and notebooks that track nMAE, and retraining when nMAE rises beyond the customer's threshold.
How are failures and accuracy monitored?
Alerts using AWS SNS fire on failures and on threshold breaches, and CloudWatch logs support troubleshooting.
Where can machine learning delivery practices be read in more depth?
Our guides to MLOps and machine learning tools explain pipelines, versioning and monitoring in more detail.
Ready to put AI agents to work? See an ElixirClaw demo: the agentic OS to build, orchestrate and govern AI agents across your enterprise systems.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE