Section 4.8, Definition 4.4, says that one must count extra local equations for
- input and flow variables present in each (top-level) public connector component.
- (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?
Section 4.8, Definition 4.4, says that one must count extra local equations for
Consider this simple MWE
It seems obvious to me that this model is balanced, because the variable
uis 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 theSimpleAirexample model in Section 4.8, the structure is the same, and indeed in that model the2 + nXiconnector input variables are counted as "variables inside connectors". On the other hand, it also seems to me thatuis 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?