Skip to content

Commit 31ddfc9

Browse files
CopilotbedaHovorkaclaude
authored
Correct Goal 7 documentation for kDisco-based speed control (#494)
* docs: correct Goal 7 speed control notes * docs: mark Goal 7 complete --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Bedrich Hovorka <bedrich.hovorka@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cf9759b commit 31ddfc9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

LONG_TERM_GOALS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ Users can automatically collect key performance indicators during simulation inc
209209
**Category:** I: System Operations
210210
**Priority:** Critical
211211
**Development Estimate:** 1 month
212+
**Status:** ✅ COMPLETE
212213

213214
**User Value:**
214215
Users can adjust simulation speed from slow motion (for detailed observation) to fast forward (for quick scenario completion). This provides flexibility for different use cases: slow for education, fast for research batch runs.
@@ -222,7 +223,9 @@ Users can adjust simulation speed from slow motion (for detailed observation) to
222223
**Dependencies:** None (quick win)
223224

224225
**Implementation Notes:**
225-
- kDisco already supports speed control; needs UI exposure
226+
- The simulation library interface used by the model (historically jDisco, now kDisco/KMP) runs in pure simulation time and has no native wall-clock speed control or synchronization.
227+
- Speed control for `ShuntingLoop` is implemented via the `RealTimeSynch` inner process inside `sim/ShuntingLoop.kt` (enabled by `enableRealTimeSync`, paced by `speedMultiplier`). This resides in the `sim/` package.
228+
- `SimulationRunner` provides a complementary external throttling API (`throttle()`, `awaitIfPaused()`) callable from the simulation thread; this is the designed extension point for future simulation processes that delegate pacing outside the `sim/` package.
226229
- Quick win - implement early for immediate value
227230

228231
---

0 commit comments

Comments
 (0)