Comments (5)
For each non-partial non-expandable connector class the number of flow variables shall be equal to the number of variables that are neither parameter, constant, input, output, stream nor flow.
So I'm sticking with my original statement that this model is invalid, as the name suggests :)
Ah that is true. But if we enforce that rule in general we will get some problems in the MSL.
If i see it correctly Frame.mo for example is not balanced by this rule. But that probably is another discussion entirely.
The quote above was shortened. It is followed by:
"The number of variables of an overdetermined type or record class (see Section 9.4.1) is the size of the output
argument of the corresponding equalityConstraint() function."
which handles the frame-connectors.
from modelica-compliance.
The connector is not balanced, but equation wise this should be balanced. We have an equation for each potential variable (p.v = {1.0, 2.0, 3.0}, x= 4.0
) and the flows will get set to zero because they are not connected. 7 variables and 7 equations, am i missing something? Maybe the name is just wrong.
from modelica-compliance.
I believe this should say
shouldPass = false
, as is also indicated by the name of the class:
Yes, looking more there's also a SizeNestedValid
without the x
in the connector (which therefore should be ok), so it makes sense that this one was changed to be invalid.
from modelica-compliance.
The connector is not balanced, but equation wise this should be balanced. We have an equation for each potential variable (
p.v = {1.0, 2.0, 3.0}, x= 4.0
) and the flows will get set to zero because they are not connected. 7 variables and 7 equations, am i missing something? Maybe the name is just wrong.
It references the section 9.3.1, which says:
For each non-partial non-expandable connector class the number of flow variables shall be equal to the number of variables that are neither parameter, constant, input, output, stream nor flow.
So I'm sticking with my original statement that this model is invalid, as the name suggests :)
from modelica-compliance.
For each non-partial non-expandable connector class the number of flow variables shall be equal to the number of variables that are neither parameter, constant, input, output, stream nor flow.
So I'm sticking with my original statement that this model is invalid, as the name suggests :)
Ah that is true. But if we enforce that rule in general we will get some problems in the MSL.
If i see it correctly Frame.mo for example is not balanced by this rule. But that probably is another discussion entirely.
from modelica-compliance.
Related Issues (20)
- ModelicaCompliance.{Algorithms,Equations}.When.WhenPriority has non-trigged when HOT 6
- ModelicaCompliance.{Algorithms,Equations}.When.WhenVectorExpression has wrong value for y1 HOT 3
- ModelicaCompliance.Classes.Balancing.CorrectBalance{3,4} lack values HOT 5
- Wrong status for ModelicaCompliance.Redeclare.ClassExtends.{ClassExtendsChain,ClassExtendsClassTypes} HOT 2
- ModelicaCompliance.Connections.Expandable.{AugmentNonEmpty,PresentInExp} remaining issue HOT 2
- ModelicaCompliance.Connections.Declarations.OperatorRecordEquations does not test that operator records are handled HOT 1
- ModelicaCompliance.Algorithms.Break HOT 2
- Should use enumeration in C-mapping2 HOT 2
- Incorrect import in ModelicaCompliance.Classes.Specialized.OperatorRecord{Long,Short}Extends HOT 2
- Incorrect status in ModelicaCompliance.Classes.Specialized.OperatorRecordLongExtends HOT 2
- BaseMedium.BaseProperties should be partial in ModelicaCompliance.Classes.Balancing.CorrectBalance{4,5} HOT 3
- Checking models in models? HOT 5
- ModelicaCompliance.Scoping.InnerOuter.MissingInnerAdded HOT 1
- Testcase: Redeclarations: Order of Evaluation HOT 1
- ModelicaCompliance.Classes.Predefined.AttributeStateSelect HOT 5
- In ModelicaCompliance.Operators.Overloading.ConstructorPriority, the call to the default constructor would be invalid anyway.
- Does not parse according to 3.4 grammar HOT 1
- Ambiguous test ModelicaCompliance.Connections.Restrictions.SizeOverconstrainedInvalid
- StateSelect not a reserved keyword? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modelica-compliance.