Skip to content

Triggering Clock Update Mode from a preemptable partition results in unpredictable activation time? #2036

@yoerg

Description

@yoerg

The non-normative text in 5.2.2. State: Clock Update Mode explicitly states that the triggering clock for callbackClockUpdate neither can be nor needs to be identified. Countdown clock intervals (and, I assume, output clock activation times as well) are instead relative to the "time of the current [...] Clock Update Mode", which I read as the last preceding call to activateModelPartition?

Yet that would lead me to conclude that for an SE-FMU, triggering Clock Update Mode from any preemptable partition (i.e. usually every partition except the highest priority partition) would effectively result in an unpredictable (though still well defined) activation time for the triggered output and countdown clocks.

What is the intention of this design? It seems to make Clock Update Mode needlessly complicated for both FMU and importer implementers. Or did I read that wrong somewhere?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions