
xdata-bim — Infrastructure Digital Twin (OFITECO)
Web-based digital-twin platform (BIM + GIS + IoT) for monitoring critical infrastructure in real time. Built solo, from architecture to production.
The problem
OFITECO monitors critical civil infrastructure (dams, tunnels, bridges) with distributed instrumentation. The information lived scattered across BIM models, sensor data and GIS cartography, with no single real-time view. Commercial alternatives (e.g. Bentley iTwin IoT) are subscription-based and priced per project, scaling with the number of sensors.
What I built
A web-based digital-twin platform that brings together the 3D BIM model + live IoT sensors + GIS terrain in the browser, with nothing to install. Designed and developed solo, from architecture to production.
- In-browser BIM viewer: IFC parsing via
web-ifc(WebAssembly) and an optimised binary.fragformat — load time drops from ~15 s (IFC) to ~1 s (.frag). - Real-time monitoring: 8 sensor types plus custom ones, over native WebSocket (FastAPI), with a live simulator.
- Analytics: anomaly detection with rolling Z-score (48 h window), Bollinger bands, linear-regression trends, Pearson correlation matrix and a composite health index (0–100).
- Dashboards: KPI dashboard (overall health + top critical sensors), full-screen executive dashboard and an IDW heatmap (inverse distance weighting) over the model, with dam presets.
- BIM ↔ terrain: alignment with CesiumJS + Google 3D Tiles (per-frame ENU→ECEF sync, N-point GPS registration).
- GIS: 11 official WMS layers (IGN, IGME, MITECO, CHE/SAIH), KML/KMZ loading, flood-propagation animation.
- Interoperability: BCF 2.1 round-trip (Navisworks/Revit/Solibri) and project PDF reports.
Technical metrics (verifiable)
- 42 Svelte components (BIM viewer + Cesium globe + gallery) · ~300 tests (unit + Playwright E2E) · ~840 i18n keys across 4 languages (ES/EN/FR/CA).
- axe-core (WCAG AA), Lighthouse CI, security audit and a CI pipeline (lint · check · test · build).
- Production version 3.1.4.
Stack
Svelte 5 · TypeScript · Three.js · @thatopen/components · web-ifc (WASM/C++) · CesiumJS · ECharts · Vite · FastAPI (WebSocket, HTTPS) · JWT.
Professional project at OFITECO (VINCI Group) · private repository.
Other work with a related technical focus:
Pulso — Structural Health Monitoring (OFITECO)
Web platform that auscultates bridges and buildings via vibrations: automatic operational modal analysis (OMA), tracking and damage alerts. In production.
Computer vision on autonomous 4G cameras (OFITECO)
Full-stack service to operate autonomous 4G cameras (solar, no fixed IP) and analyse events with computer vision over distributed critical infrastructure.
Interactive BIM Viewer
In-browser IFC viewer with live sensor data (InfluxDB + ECharts), built at ITA for a construction company in Madrid. The direct precursor of xdata-bim.