System Design Atlas

Building digital twin with controlled equipment actions

03 / 10Worked example

Scale estimates

Telemetry determines raw data volume. Which conditions guide capacity?

Many sensors regularly deliver small values.

Starting point Age<30 s and 20..80 % must both hold.

Assumptions for the example case

A fictional laboratory setup with a ventilation demonstrator. Local hardware limits operate independently; this example replaces neither building automation nor a safety function. All quantities, thresholds and operational targets in this design are illustrative assumptions.

Two data rates

Two data rates

Telemetry200/s
Raw volume1.728 GB/day
Control command20/s test path

200 measurements/s form a high-volume stream; a few control commands use a narrow transactional path.

200 measurements/s form a high-volume stream to the time-series datastore; a small number of control commands use a narrow transactional path.

Illustrative load and domain calculations

  1. 01

    Measurement stream

    200 measured values/s

    2,000 sensors /10 s

    For the designProcess time-series ingestion separately from control authorisation.

  2. 02

    Raw volume

    1.728 GB/day

    200/s ×86,400 s ×100 bytes

    For the designDecimal raw volume without indexes; determine retention separately.

Telemetry determines raw data volume.

Telemetry determines raw data volume.

Size time-series storage and control decisions separately.

Many sensors regularly deliver small values.

2000/10 = 200 values/s. 200×86,400×100=1,728,000,000 bytes =1.728 GB without indexes.

Alternative considered
A shared lock couples measurement load to control authorisation.
Trade-off
Two storage types require a coordinated backup.
Reassess
Measured storage load determines data compaction.

Try it yourself

Calculate values/s and daily bytes.

A hint for your attempt

Many sensors regularly deliver small values.

Compare with a possible solution
Rate
2000/10 = 200 values/s.
Volume
200×86,400×100=1,728,000,000 bytes =1.728 GB without indexes.

Apply to your project

What is the equivalent of telemetry determining raw volume in your project?

Step 4: the same command retains its setpoint. Which conditions distinguish a retry?