In this article
Scheduled Execution gives the importer a clocked partition interface; an activation computes that partition at the supplied time rather than advancing a whole model interval.
A whole-model step loop can choose the wrong granularity
An embedded-control twin combines tasks with different activation schedules. Its importer treats the component like a single model that advances by a common interval, then assumes every output has been updated. Scheduled Execution exposes a more specific contract. Identify which partition should execute for which input clock and which outputs belong to that computation. A global time label alone cannot establish that every independently scheduled control task has run.
The scheduler activates a particular partition
The Scheduled Execution specification makes the importer’s scheduler responsible for activating model partitions according to clock properties and priorities. The activation declaration accepts a clock reference and activation time. It computes the associated partition for that supplied instant, unlike a Co-Simulation communication-step request. Preserve the selected clock and partition in the execution record rather than recording only that the component library returned successfully.
Do not activate output clocks as input partitions
The activation function applies to an input clock associated with a partition, not an output clock. Output-clock notifications and timing information require their own handling by the importer. Likewise, the generic clock setter used in other FMI interfaces does not replace partition activation here. Keep scheduling metadata distinct from signal values so a dashboard action that toggles a clock label cannot masquerade as execution of the corresponding model computation.
Preserve legal time and data handoff
For the same clock, consecutive activation times must strictly increase; a partition must not be activated twice for the same clock and time. The specification also restricts reading after setting values without an intervening partition activation. Consequently, a generic edit-and-readback probe can violate the execution contract. Associate inputs with the intended activation and read outputs after their partition completes, respecting declared variable associations and the importer’s scheduling rules.
Propose an activation-ledger fixture
A proposed fixture should contain differently scheduled partitions and retain clock identity, intended activation time, supplied inputs and completed output handoff. Add a duplicate activation request and an output-clock misuse to test importer rejection. Inspect that an unactivated partition is not reported as freshly computed merely because another partition ran. No Scheduled Execution runtime was executed here. The resulting ledger should explain each computation without relying on an undifferentiated whole-model tick count.
A defined schedule is not a deadline guarantee
The simulation state guide covers another execution boundary; stack reproducibility supports retaining scheduler revisions. Correct partition dispatch establishes which model task ran at which logical time. It does not prove real-time deadlines, bounded operating-system interference or controller correctness. Evaluate those properties with separate timing and control evidence after the scheduler can identify the intended and actual activation history.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.