Skip to content

Clarify the meaning of "top level input variables that are connectors" #3866

@casella

Description

@casella

Section 4.8, Definition 4.4, says that one must count extra local equations for

  1. input and flow variables present in each (top-level) public connector component.
  2. (top-level) public input variables that neither are connectors nor have binding equations

Consider this simple MWE

model M
  connector RealInput = input Real;
  RealInput u;
end M;

It seems obvious to me that this model is balanced, because the variable u is meant to be computed elsewhere and passed to this model as an input. That's the pattern used in Modelica.Blocks.Interfaces.SISO. In fact, if one looks at the pattern of the SimpleAir example model in Section 4.8, the structure is the same, and indeed in that model the 2 + nXi connector input variables are counted as "variables inside connectors". On the other hand, it also seems to me that u is not an input variable inside a connector component, but rather itself an input variable that is also a connector; hence, according to rule 2., it shouldn't be counted. But that doesn't make sense to me.

What is the meaning of "public input variables that are connectors", and why should they not be counted as extra equations for balanced models?

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarificationSpecification of feature is unclear, but not incorrectdiscussionIndicates that there's a discussion; not clear if bug, enhancement, or working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions