XRAPH/Fields/Digital Twins

Digital Twins

Live models of physical systems: ingestion, state, history, and the ability to rebuild any past moment from the events that produced it.

Projects
1
Stars
1
Languages
Go
Focus area
Digital Twins
01

The hard part

Late, duplicated and out-of-order data

Twin state is a projection of an event log rather than a table somebody updates. That one decision is what lets a reading arriving six hours late land in the window it belongs to instead of overwriting the present.

  1. 01IngestDisordered, duplicated, high-rate sensor streams, normalised against a channel specification that carries the expected interval.
  2. 02ReconcileA late observation folds into its own window. History is appended to and never rewritten.
  3. 03PersistFabriq commits state, the versioned event and the outbox row in one Postgres transaction.
  4. 04RebuildGraph and search are derived projections. Drop them, replay the log, and the same state comes back.
03

Related Research

All research ↗
2025

Maintained Result Sets: Exact Top-N Under Continuous Change

A subscription over a filtered, sorted, limited query can return exact enter, leave, move and update deltas if the in-engine window is kept an exact prefix of the source-ordered result. Gives the cushion and keyset refill construction, its correctness argument, and the sharded case it does not yet cover.

FabriqGrove
WhitepaperDraft
2024

Transactional Fan-Out Across Heterogeneous Stores

State, a versioned event and an outbox row committed in one transaction, then relayed to derived projections. States precisely what the construction guarantees and what it does not, and compares bounded divergence detection against the unbounded exposure of handler-side dual writes, analytically rather than by measurement.

FabriqGrove
Technical noteDraft
2024

The Label Problem in Industrial Predictive Maintenance

Supervised failure prediction assumes a labelled dataset that maintained industrial assets do not produce. Characterises four distinct sources of label corruption, and sets out three practical responses and the validation evidence each one can actually support, ordered by experience rather than by measurement.

FabriqSentinel
WhitepaperDraft
2023

Asset Topology as a Graph: Why Industrial Hierarchies Lose Information

Equipment hierarchies are trees and plants are not. Shared headers, site utilities and shared spares each break the tree, and the standard responses either duplicate nodes or misrepresent connectivity. Proposes retaining the hierarchy as one edge type inside a multi-relational graph.

Fabriq
WhitepaperDraft
2023

Twin State Reconciliation Under Disordered Telemetry

What it costs to keep an industrial digital twin honest when observations arrive late, duplicated and out of order. Derives a per-channel reorder window from measured lateness, argues that staleness must be a value in the type rather than an absence, and states the cases where interpolation is a defect. The lateness measurements themselves are not reproduced.

FabriqGrove
WhitepaperDraft