fmi-standard icon indicating copy to clipboard operation
fmi-standard copied to clipboard

Non-normative text states that importers can deactivate output clocks

Open PTaeuberDS opened this issue 1 year ago • 2 comments

In section 2.3.5. State: Event Mode in the description of the fmi3SetClock function the following example is given as non-normative text:

[Rationale: a triggered output Clock c may depend on some variable v that is involved in an algebraic loop. As part of the iterations to solve the algebraic loop, v acquires a value that activates the Clock. If the final (or some intermediate) value of v no longer activates the Clock, then this Clock must be deactivated by the Importer during the same super-dense time instant.]

This means the importer has to call fmi3SetClock on an output clock. But calling fmi3SetClock is only allowed for input clocks.

Maybe it should simply be changed to: "... then this Clock must be deactivated by the ~Importer~ FMU during the ..."

PTaeuberDS avatar Dec 19 '23 10:12 PTaeuberDS

FMI Design Meeting: Klaus: I think this is a reminder of a previous definition of clocks. (This might be a problem of our usage of "input" and "output" clocks, resp. "information flow")

chrbertsch avatar Dec 19 '23 15:12 chrbertsch

The output clocks can only be Set internally by the FMU and be Get by the importer. This is just a typo.

masoud-najafi avatar Dec 19 '23 17:12 masoud-najafi