Przejdź do treści
Magda GozdalikFrontend Software Developer
Napisz do mnie
All projects

Predictive maintenance & CO₂ intelligence · Sidara × Microsoft Hackathon

Carbon Watch

Showing where maintenance saves the most carbon.

🏆 Best Visualisation award

My role
Frontend developer (the entire frontend)
Team
Hackathon team from Penspen and Perkins&Will
Year
March 2026
Stack
Angular 17, TypeScript, RxJS, Leaflet

Overview

Carbon Watch is a carbon-aware predictive maintenance platform for asset-heavy industries. It was our team’s entry at the global Sidara × Microsoft Hackathon, with people from Penspen and Perkins&Will, and it won the Best Visualisation category.

The problem

Operators often handle maintenance and decarbonisation as separate topics. But degraded equipment uses more energy than it should, so maintenance is also a way to cut emissions. Carbon Watch finds those assets and ranks repairs by how much carbon they would save.

What the platform does

The team’s solution, end to end:

  • Asset, sensor and maintenance data flows through Microsoft Fabric in three layers: raw ingestion, structured transformation and analytical enrichment (Bronze, Silver and Gold).
  • An explainable model estimates how much energy each asset should use, from its condition, age, operating hours, maintenance history and site. When actual use stays above that, it becomes an alert.
  • The avoidable energy is turned into carbon at risk, which operators can review per asset, per site or for the whole fleet, and then choose targeted maintenance actions.

The result is one shared view for spotting degradation early, prioritising maintenance and making measurable decarbonisation decisions. The data pipeline and the model were built by my teammates; I built the entire frontend that brings it all together on screen.

A team project: the sections above describe the whole platform. My own work is listed under My contribution.

My contribution

I built the entire frontend, turning the team's predictive-maintenance and carbon data into an interactive journey from fleet risk to maintenance action. I used Claude for AI-assisted prototyping and development. The interface follows a clear path: identify an asset with high carbon impact, investigate its condition, compare recommended actions and demonstrate scheduling maintenance.

  • Building the whole frontend on my own: fleet map, carbon-risk heatmap, predictive-risk view and KPI summary.
  • Ranking assets and maintenance actions by carbon at risk and estimated potential savings.
  • Rapid prototyping with AI-assisted development (Claude).

Making fleet risk visible

I implemented three complementary Leaflet views: asset condition, a carbon-at-risk heatmap and a predictive-risk view. Custom markers, clustering and risk bubbles help users explore the fleet, with bubble size representing carbon impact and colour indicating urgency. Selecting an asset on the map opens its diagnostics, connecting the geographical overview with the information needed to investigate it.

Turning diagnostics into understandable visuals

I built asset-detail panels showing baseline versus current energy use, avoidable emissions, condition history and a 90-day condition forecast. Confidence indicators, estimated days to critical condition and failure-probability summaries give context to the backend's analytical outputs. The interface also separates ongoing operational emissions from the additional emissions associated with degradation, making the potential benefit of maintenance clearer.

Connecting insight to action

I implemented maintenance recommendations ranked by estimated CO₂ savings, alongside cost, downtime and payback. Selecting an asset brings its recommendations to the top of the list. I also built a prototype maintenance workflow, where users can review an estimated before-and-after emissions comparison, schedule an action and mark it complete, and a maintenance console that tracks scheduled and completed actions. These records are demonstration data stored in the browser.

Supporting different datasets and scenarios

I built an Excel upload flow with drag-and-drop, file-type checks and upload feedback. Users can switch between datasets, updating the fleet list, map focus and regional grid-carbon context. A separate what-if panel lets users explore carbon prices, condition thresholds and prediction horizons, with immediate updates to the scenario summary.

Connecting Leaflet with Angular

One technical challenge was keeping the interactive map connected to the dashboard's reactive state. Users needed to move from exploring the fleet to inspecting an individual asset without losing context.

I initialised Leaflet outside Angular's zone and explicitly re-entered Angular when a map interaction needed to update the interface. Clicking an asset marker updates a shared selection service and opens the asset-detail tab. I applied the same selection pattern across the standard map, heatmap and predictive-risk views, giving each a consistent path into the asset diagnostics while keeping map event handling separate from dashboard state updates.

Frontend implementation

I used Angular standalone components, TypeScript and RxJS to coordinate data, asset selection and maintenance state across the interface. The frontend connects to the team's FastAPI backend for asset data, recommendations, uploads and regional electricity information.

Technologies

  • Angular 17
  • TypeScript
  • RxJS
  • Leaflet
  • SCSS
  • REST API integration

Development tools

  • Claude (AI-assisted development)

All projects