Replacing equipment without losing its history in a digital twin
A location or point address may remain, but physical asset history should not be overwritten. Use separate asset identities and effective intervals to assign records correctly.
On this page5 sections
When a physical device is replaced, its location, measurement address or 3D appearance may remain unchanged. The replacement should not inherit every historical record of the old equipment. Separate location, physical asset, sensor and model identities, then use the replacement's effective time to assign records. Continuity of a location and continuity of an asset answer different questions.
Do not put four identities into one code
A location identifies where equipment is installed. An asset identifies the particular physical item. A sensor identifies the source of a measurement. A model node identifies the object selected in the scene. When a pump is replaced, the position may remain, the sensor may be reused and the same geometry may still be appropriate. A single P-01 code cannot explain whether an old curve belongs to the previous pump or its replacement.
The OPC UA Machinery nameplate model defines optional ProductInstanceUri as a unique physical-item identifier that remains stable through its lifecycle. This is a rule within that information model, not evidence that every installed device supplies the field. Where it is absent, use an agreed identifier from the asset register.
Assign records through an explicit replacement interval
In a hypothetical example, the pump at L-01 is replaced at 14:00 on 6 October. The installation relationship for old asset A-01 ends then, and that for A-02 starts. Half-open intervals can make the boundary unambiguous, preventing one record from belonging to both assets. The actual effective time must be confirmed by the responsible maintenance team rather than guessed by the visualization.
| Query | Before replacement | After replacement |
|---|---|---|
| Operation at location L-01 | A-01, with the replacement boundary retained | A-02 |
| History of A-01 | Records assigned to the old asset | No new-asset operating quantities |
| History of A-02 | No installation history at this location | Records assigned to the replacement |
| A retained sensor | Interpretation under the earlier relationship | Interpretation under the new relationship |
Preserve uncertainty during the changeover
If only the replacement date is known, leave the uncertain interval pending confirmation. The first new message does not establish every handover fact. Shutdown, trial operation and formal commissioning can also occur at different times; record them separately when the project needs that distinction. Calibration, scaling and unit changes should attach to the relevant measurement configuration rather than disappear into a renamed label.
An old asset moved to another position should keep its identity, with a new installation interval. Removing it from the current scene does not mean deleting its history. Likewise, publishing a new model version should not transfer the old asset's maintenance records to the replacement.
Check late records against their event time
A temperature reading collected before replacement may arrive afterwards. Do not assign it to the new asset merely because it arrived most recently. Check source identity, observation time and the relationship valid at that time. If identity or timing is insufficient, retain the record for review. When the effective replacement time is corrected, identify affected records, reassign them under the approved rule and preserve the correction evidence.
Operating hours, cumulative energy and maintenance counters also need individual decisions: some may continue for the location, while others belong to the physical asset. Do not reset every historical measure automatically. Put each treatment into the handover record so that a later replacement follows the same rule.
Accept a replacement, not only today's scene
Replace two fictional assets at one test location and inspect records before, at and after the boundary. Check late messages, old-asset searches, historical exports and retirement states. The current model should open the replacement while historical views still find the earlier equipment. An unauthorized user must not change the effective intervals.
How to Locate a Stalled Warehouse Task: Mapping WMS, WCS, Bins, and 3D Equipment covers object mapping and Historical Replay in a Digital Twin: What the Timeline Needs covers reconstruction on a timeline. This article adds ownership rules for physical replacement. The scope of digital twin development services (Chinese) should retain asset identities, installation intervals and a repeatable replacement sample, rather than demonstrate a mapping that appears correct only on the delivery day.