Scenario: A hospital deploys digital twins for 200 patient monitoring systems. Each system has 8 vital sign sensors (ECG, SpO2, blood pressure, respiration rate, temperature, heart rate, CO2, glucose). The twins must balance real-time clinical alerts with efficient bandwidth usage.
Given:
- 200 patients × 8 sensors = 1,600 data streams
- Critical sensors (ECG, SpO2): 100 Hz sampling
- Moderate sensors (BP, HR): 1 Hz sampling
- Slow sensors (temp, glucose): 0.017 Hz (once per minute)
- Alert requirement: Clinical alarms must trigger within 2 seconds
- Network: Hospital Wi-Fi with 100 Mbps shared across 500 devices
Step 1: Calculate sync frequency needs by criticality | Sensor Type | Sampling Rate | Sync Frequency | Rationale | |—|—|—|—| | ECG, SpO2 | 100 Hz | 10 Hz to cloud | Edge detects arrhythmia locally; send events + 10s waveform context | | BP, HR, RR | 1 Hz | 0.2 Hz (every 5s) | Changes gradually; 5s latency acceptable | | Temp, glucose | 0.017 Hz | 0.017 Hz (as sampled) | Changes over hours; real-time sync unnecessary |
Step 2: Calculate bandwidth per patient
- Critical (ECG + SpO2): 2 channels × 10 Hz × 16 bytes = 320 bytes/s
- Moderate (BP + HR + RR): 3 × 0.2 Hz × 8 bytes = 4.8 bytes/s
- Slow (temp + glucose): 2 × 0.017 Hz × 8 bytes = 0.27 bytes/s
- Total per patient: 325 bytes/s
- Total 200 patients: 65 KB/s = 520 Kbps
Step 3: Design tiered sync strategy
Tier 1 (Safety-Critical):
- Edge device detects threshold violations locally (e.g., SpO2 <90%)
- Immediate alert to bedside nurse station (50ms latency)
- Cloud notification within 2s (for central monitoring)
- Sync: Event-driven + 10 Hz baseline
Tier 2 (Clinical Monitoring):
- Vital trends updated every 5 seconds
- Cloud aggregates for trending charts
- Sync: 0.2 Hz scheduled
Tier 3 (Historical Record):
- Full-resolution data stored at edge for 48 hours
- Uploaded to cloud during off-peak (2-6 AM) for long-term EHR
- Sync: Batch, overnight
Step 4: Calculate edge buffer requirements If cloud connectivity lost for 4 hours (worst-case): - Per patient: 325 bytes/s × 14,400s = 4.68 MB - 200 patients: 4.68 MB × 200 = 936 MB - Add 2× safety margin: ~2 GB edge storage required
Result: Tiered sync strategy provides <2s alert latency while using only 520 Kbps (0.5% of available bandwidth), leaving headroom for other hospital systems.
Key Insight: Not all twin data needs the same sync frequency. Safety-critical events use edge-first processing with cloud as secondary, while routine telemetry batches efficiently.