Skip to content

Why talk about previous(intervalCounter) when defining rational interval clock? #3751

@henrikt-ma

Description

@henrikt-ma

From https://specification.modelica.org/master/synchronous-language-elements.html#modelica:clock-rational:

At the start of the simulation, \lstinline!previous($\mathit{intervalCounter}$)! = \lstinline!$\mathit{intervalCounter}$.start! and the clocks ticks the first time.

What is the point of saying that previous(intervalCounter) = intervalCounter.start; isn't that just the definition of previous, and totally irrelevant for the rational interval clock since the $interval_{i}$ is defined based on intervalCounter, not previous(intervalCounter)?

I suppose some relevant background can be found in #2022.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions