Skip to content

3D digital twin

eaxScadaExplanationProEnterpriseView as Markdown

Migrated page, not yet verified against the current code. Treat values, paths and examples as indicative until this notice is removed.

The 3D digital twin shows a plant area as a three-dimensional model whose equipment moves with live tag values: tank levels rise and fall, pumps and agitators turn at their speed, flow arrows run along pipes and equipment in alarm is ringed in the colour of the alarm’s severity. Engineers build scenes in Dev Studio; operators open them in the runtime like any other display.

The 3D designer: the grouped palette with search and 3D thumbnails, the tank farm scene with live levels, pumps, transmitters and a batch reactor, and the Properties panel. The 3D designer: the grouped palette with search and 3D thumbnails, the tank farm scene with live levels, pumps, transmitters and a batch reactor, and the Properties panel.

The 3D designer in Dev Studio: the palette, the scene, and Properties.

A 3D scene is stored as a display of kind 3d (its nodes, camera and layers under scene3d in the display JSON). It therefore uses the same project tree, save endpoint and revision history as 2D screens, and the operator runtime opens it by its display id, for example /runtime?screen=<display id>.

Each scene node records its equipment type, position, rotation, scale, layer and the parameters of its type (dimensions, finish, colours, the tags it reads; a pipe run its route points). An object’s chosen finish is kept in its metadata (surface). The scene’s lighting settings, once changed, are kept with the scene (scene3d.look); a scene without them uses the default look. The 3D catalog lists the equipment and primitive types the palette offers.

The 3D designer works like the 2D one:

  • Palette. Objects are grouped like the plant (Vessels and tanks, Pumps compressors and fans, Valves, Heat transfer, Instruments, Material handling, Electrical and control, Structures and access, Piping, Primitives, Displays) with My models (the 3D asset library) last. Each item shows a small 3D picture of the model. Type in the search box (or press /) to find an object by name, by another name (for example XV or isolation valve) or by group; the arrow keys move through the results and Enter places the first one. The last eight objects you placed are under Recent. A click places an object in the middle of the view; dragging it places it where you drop it.
  • Pipes. The Pipe tool (key P) draws pipe runs point by point, square to the plant, snapping to the nozzles of equipment; valves, fittings and inline instruments go onto a run from the palette. See Draw pipes in 3D.
  • Properties. The selected object’s position, parameters (with their units), Finish (stainless, painted, galvanised, copper, concrete… with a colour for paints), appearance, live tags and bindings.
  • Scene. With nothing selected, or with the toolbar’s Scene button, Properties shows the scene’s lighting: an indoor plant hall (the default), outdoor day, overcast, dusk with floodlights, a dark control room or a light clean room, the time of day for outdoor lighting, exposure, shadows, quality, the floor and soft contact shadows. The operator runtime shows the scene with the same settings.

The 3D designer with storage tank TK-101 selected: the transform tools at the top left of the view, the combined Transform gizmo (arrows, rings and scale boxes) on the tank, the axis widget at the top right with the round navigation buttons under it, and the tank’s position, rotation and scale in Properties. The 3D designer with storage tank TK-101 selected: the transform tools at the top left of the view, the combined Transform gizmo (arrows, rings and scale boxes) on the tank, the axis widget at the top right with the round navigation buttons under it, and the tank’s position, rotation and scale in Properties.

The transform tools (top left), the axis widget and the round navigation buttons (top right).
  • Axis widget (top right of the view): X red, Y green (up), Z blue; the positive axes are filled circles with their letter, the negative ones faded. Click a circle to look along that axis, click it again to look from the other side, drag the widget to orbit, and double-click its centre for the isometric view.
  • Round buttons under it: Zoom (click to zoom in, Shift+click to zoom out, drag up or down), Pan (drag), Camera (free or isometric; the scene’s saved camera setting does not change), Lock the view, Frame the selection (F), Frame everything (Home), and a menu with more views.
  • Transform tools (top left): Transform (T, the default) moves, rotates and scales with one gizmo, arrows, rings and scale boxes together, with snapping; Move (W), Rotate (E) and Scale (R) show one of them; Bounds remains. One drag is one undo step.
  • Keys: Numpad 1 front, Numpad 3 right, Numpad 7 top, Numpad 5 (or 0) isometric; Ctrl+Numpad 1 back, Ctrl+Numpad 3 left; Numpad + and - zoom; Home frames everything. A view change is a short smooth move that ends at rest.
  • Limits: the camera does not go below the floor, so there is no view from underneath. The view keys and buttons use the orbit camera: they switch from the walk view to it and do not move the walk camera.

On a narrow window the toolbar’s less used buttons move into More, the align and distribute tools into Arrange, and the side panels open over the view from the toolbar’s panel buttons. Below 900 px (a phone) the Studio does not open the 3D designer: it offers the screen designer, which has a phone layout, and operators use the runtime, where scenes have thumb sticks (section 5).

Designing scenes needs a Pro or Enterprise licence. In Free and Starter the 3D designer opens read-only, and scenes still open and run with live data in the runtime.

2. One renderer for Studio and the runtime

Section titled “2. One renderer for Studio and the runtime”

Dev Studio and the operator runtime draw scenes with the same code (Studio3DCanvas). The runtime builds it in a read-only viewer mode: the scene, materials and tag bindings are identical, but there are no gizmos, no catalog, no outliner and no undo history. Using one renderer is deliberate: a twin that looks right to the engineer must look the same to the operator.

The docs tank farm in the operator runtime: three tanks with their levels, the transfer pumps, flow and pressure transmitters and batch reactor R-01, with alarm labels. The docs tank farm in the operator runtime: three tanks with their levels, the transfer pumps, flow and pressure transmitters and batch reactor R-01, with alarm labels.

The same scene in the operator runtime: live values and alarms, no editing tools.

In the runtime, clicking a piece of equipment opens its faceplate read-only: no command tag is passed to it, so the 3D view offers no write. Commands to equipment go through the 2D screens and faceplates, where confirmations, e-signatures and interlocks apply (see Operator runtime).

Every equipment type reads its own tags, set in Properties: a tank its level, a pump or motor its running state and speed, a pipe its flow and status, a valve its position, a transmitter or an inline gauge the value it displays. A value is turned into a fraction of the type’s range (for example the level in percent of levelMax) and the model follows it smoothly.

Any node, primitives included, can also carry generic bindings: a tag mapped onto visibility, colour, emissive glow, an alarm highlight (each with a condition such as > 80), rotation at a rate that follows the value, level, speed, flow or valve position.

A tag with no value, or with a value of bad quality, drives nothing: the model shows no level or motion rather than a guess, and its label shows the quality (for example — BAD, or — No value received when no value has come in yet) instead of a number. A vessel whose level tag is bound but gives no usable value (none received, Bad quality, not a number) draws no liquid, so it could be taken for an empty tank: it gets a hatched amber band around its shell instead, the same in both themes, until the level is good again.

Close-up of batch reactor R-01 in the operator runtime: cutaway vessel with its agitator and liquid, and the red ring of its active high temperature alarm. Close-up of batch reactor R-01 in the operator runtime: cutaway vessel with its agitator and liquid, and the red ring of its active high temperature alarm.

Reactor R-01 close up: the cutaway shows the liquid level and the agitator; the red ring is its active high temperature alarm.

The twin follows the alarm engine (see Alarms): equipment whose tags have an active alarm glows and is ringed in the colour of the highest severity, and its label names the alarm. An unacknowledged alarm pulses; with the operating system’s reduced-motion setting the pulse becomes a steady, stronger glow and the label still says “unacknowledged”.

On a phone or tablet, dragging a 3D view with one finger only orbits it, and moving through a large scene takes many gestures. The runtime can show two on-screen thumb sticks over a 3D view, as in touch games:

  • Left stick: move. Push up to go forward in the direction you are looking, down to go back, left and right to step sideways. You move over the floor; the view does not tilt.
  • Right stick: orbit. Left and right turn the view around the point you are looking at; up and down look higher or lower.
  • Buttons above the right stick: zoom in (+), zoom out (−), raise and lower the view, focus on the last piece of equipment you tapped, and reset view (back to the view saved with the scene). Hold a button to keep going; tap it for one step.
  • Pinch with two fingers anywhere outside the sticks to zoom, as without the joystick.

The sticks float: the stick appears where your thumb lands in its corner, so you never have to aim for it. A faint stick in each bottom corner shows where the zones are. Both sticks work at the same time, and with a mouse you drag them. A tap without dragging inside a stick’s corner still opens the faceplate of the equipment under it; elsewhere, the 3D view behaves exactly as without the joystick (drag to orbit, wheel or pinch to zoom, click or tap for a faceplate, hover for the tooltip).

The motion is designed to be comfortable: a small dead zone in the centre of each stick, slow and precise near the centre and faster at the rim, a speed that follows the distance to the scene (so a large site and a single skid both feel right), and a short ease-out when you let go. The view never rolls, never looks straight down or below the horizon, cannot go under the floor or zoom through the model, and stays near the scene. With the operating system’s reduced motion setting, the camera stops as soon as you let go and the reset and focus buttons jump instead of flying.

The Joystick button in the top-left corner of the 3D view switches the sticks on and off (keyboard: Alt+J). Each browser remembers the operator’s choice.

What a screen shows first is set in Dev Studio, in the 3D workspace toolbar under Joystick:

Setting Effect
Auto (default) On for touch-only devices (phones, tablets), off with a mouse. The operator can switch it.
On On for every device. The operator can switch it.
Off No joystick on this screen.

This screen is saved with the scene (scene3d.joystick in the display JSON); Project default applies to every 3D screen that has no setting of its own (shared_settings.joystick_3d in the project, used by the runtime from the next deploy). When the joystick is off, the 3D view’s own mouse, touch and keyboard controls work exactly as before.

While the joystick is on, the keyboard drives the same motion (the keys are ignored while you type in a field or a dialog is open):

Keys Action
W A S D or the arrow keys Move forward, left, back, right
Q / E, or J / L Orbit left / right
I / K Look up / down
+ / − Zoom in / out
R / F, or Page Up / Page Down Raise / lower the view
. (period) Focus on the last equipment selected
Home Reset view
Alt+J Joystick on / off

The joystick only changes what the operator sees: it sends nothing to the plant.

Scenes use realistic materials, lighting from the surroundings and soft shadows; the scene settings choose the lighting and the quality (low, balanced, high). Identical equipment is drawn as instances of one mesh, and shadows are re-rendered only when something moved, appeared or disappeared. When a device cannot hold the frame rate (under 45 frames per second for two consecutive 2-second windows) the view steps its render quality down one level at a time, from full quality to reduced effects and a lower resolution, and never back up during the session, so it does not oscillate.