Skip to content

Introduce "potential" and then use it.#3829

Merged
HansOlsson merged 9 commits intomodelica:masterfrom
HansOlsson:ClarifyPotential
Mar 6, 2026
Merged

Introduce "potential" and then use it.#3829
HansOlsson merged 9 commits intomodelica:masterfrom
HansOlsson:ClarifyPotential

Conversation

@HansOlsson
Copy link
Copy Markdown
Collaborator

In the previous text it looked as if "potential" was redundant, now it is instead formulated to first define "potential" variable and then use it.

…t is instead formulated to first define "potential" variable and then use it.
@HansOlsson HansOlsson requested a review from henrikt-ma February 9, 2026 10:07
Comment thread chapters/connectors.tex Outdated
Comment thread chapters/connectors.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.

I don't see any immediate issue, but it would be best to request a review someone which more experience of connection set handling. @qlambert-pro is probably more familiar with the terminology after his recent study of local balance?

Comment thread chapters/connectors.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.

I think we at least need to avoid having two definitions which look like they might be conflicting.

HansOlsson and others added 2 commits February 9, 2026 14:45
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
Comment thread chapters/connectors.tex Outdated
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
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.

Looks good to me. If @qlambert-pro would find something subtle that I can't see, we can always fix this later.

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.

In a private conversation, @qlambert-pro indeed pointed out that the current text is not great with regard to overdetermined connectors. The old formulation actually had a point when making number of potential variables its own concept, and this wasn't so much of a problem until we also made a separate definition of the potential variables. I'll make some suggestions for how this can be fixed.

Comment thread chapters/connectors.tex
Comment thread chapters/connectors.tex Outdated
Comment thread chapters/connectors.tex Outdated
Comment thread chapters/connectors.tex Outdated
Comment thread chapters/connectors.tex Outdated
Cleaner handling of degrees of freedom with focus on the important case.
@HansOlsson HansOlsson requested a review from henrikt-ma March 4, 2026 10:37
@HansOlsson HansOlsson added this to the 2026-March milestone Mar 4, 2026
Copy link
Copy Markdown
Collaborator

@qlambert-pro qlambert-pro left a comment

Choose a reason for hiding this comment

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

lgtm

@qlambert-pro qlambert-pro self-requested a review March 6, 2026 12:33
Copy link
Copy Markdown
Collaborator

@qlambert-pro qlambert-pro left a comment

Choose a reason for hiding this comment

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

lgtm

@HansOlsson HansOlsson dismissed henrikt-ma’s stale review March 6, 2026 14:46

Handled, and verified by Quentin

@HansOlsson HansOlsson merged commit 9be4f6f into modelica:master Mar 6, 2026
1 check passed
@HansOlsson HansOlsson deleted the ClarifyPotential branch March 6, 2026 14:47
@HansOlsson HansOlsson added M37 For pull requests merged into Modelica 3.7 clarification Specification of feature is unclear, but not incorrect labels 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 M37 For pull requests merged into Modelica 3.7

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants