Skip to content

Further clarify parameter and evaluable for synchronous.#3839

Merged
HansOlsson merged 2 commits intomodelica:masterfrom
HansOlsson:ClarifyParameterSynchronous
Mar 12, 2026
Merged

Further clarify parameter and evaluable for synchronous.#3839
HansOlsson merged 2 commits intomodelica:masterfrom
HansOlsson:ClarifyParameterSynchronous

Conversation

@HansOlsson
Copy link
Copy Markdown
Collaborator

Clarification triggered by #3811 - but not part of original text.

Note that there's one special case that I haven't included, as I couldn't find a good text for it.

The special case is if the interval is zero for a non-evaluated rational clock - to me that should be handled as if it were a non-parameter expression that is zero, i.e., just an error, as it was intended to be inferred but there was nothing to infer it from.

Clarification triggered by modelica#3811 - but not part of original text.
@HansOlsson HansOlsson added this to the 2026-March milestone Mar 4, 2026
@HansOlsson HansOlsson added clocked Clocked parts of Modelica; synchronous and state-machines clarification Specification of feature is unclear, but not incorrect labels Mar 5, 2026
Comment thread chapters/synchronous.tex Outdated
Copy link
Copy Markdown
Collaborator

@henrikt-ma henrikt-ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change seems small and safe, so even though it would be nice with a review by an expert on this chapter, I am providing an approval in case no expert shows up.

@HansOlsson HansOlsson merged commit 696332f into modelica:master Mar 12, 2026
1 check passed
@HansOlsson HansOlsson deleted the ClarifyParameterSynchronous branch March 12, 2026 12:51
@HansOlsson HansOlsson added the M37 For pull requests merged into Modelica 3.7 label Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clarification Specification of feature is unclear, but not incorrect clocked Clocked parts of Modelica; synchronous and state-machines M37 For pull requests merged into Modelica 3.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants