Advanced engineering co-simulation
Dr. Mohammad Alja’afreh · Princess Sumaya University for Technology
Investigate congestion, retransmissions, battery depletion, sensor uncertainty and digital twin synchronization.
01 · Experimental design
Virtual discrete-event model; not a physical radio or MQTT protocol implementation. A single FIFO server processes packets, with a bounded waiting queue excluding the in-service packet. Radio loss is independently sampled per completed service. Retries use fixed backoff and stop at the sampling boundary. All in-flight messages drain. Sensor noise is uniform within the selected bound. The battery model uses 3.3 V, 0.3 W idle, 0.02 J sensing and 0.15 J per transmission attempt (including rejected queue admission); these are adjustable study assumptions in the engine, not hardware measurements.
02 · System performance
Queue utilization and twin coverage
Blue: waiting queue / capacity. Green: fraction of devices with a twin reading. Horizontal axis: 0 to sampling-window end; vertical axis: 0–100%.
| Device | True temperature °C | Twin °C | Age ms | Battery % |
|---|
03 · Controlled comparison
Change one parameter, rerun, then compare against the saved baseline. A fixed seed reproduces identical configurations but changing the event sequence may change random draws.
| Metric | Baseline | Current | Difference |
|---|
04 · Diagnostics and evidence
| Time ms | Event | Message | Waiting queue |
|---|
Last 150 trace events shown; JSON contains all events, messages, outcomes, source timestamps and snapshots. Timeline samples are taken each virtual second during the sampling window.
05 · Experimental investigations
- Baseline: verify generated = delivered + failed and zero loss under low load.
- Congestion: compare offered rate N / sampling period with service rate 1000 / service time. Explain queue overflow.
- Retransmission: compare no retries versus three retries under 30% loss. Discuss energy and latency tradeoffs.
- Sensor uncertainty: increase error bound; compare sensor RMSE with twin RMSE, which includes staleness.
- Battery: run the depletion preset; explain why later samples fail.
- Synchronization: increase propagation delay; inspect source timestamps and stale updates. Explain age of information.
Continue with Unified connected laboratory, Multi-device engineering twin or Python / Colab notebooks.