In WebCyPhy it will be important to identify changes in a design-space (can be described using the adm-format) when storing configurations and results.
Attributes and Containment
Containers
Starting from the RootContainer, all Containers must have the same Name and xsi:type (Compound, Alternative or Optional).
Further they must have matching Containers, ComponentInstances, Properties, Connectors and Formulas.
The attribute xsi:type determines if the formula is a SimpleFormula or CustomFormula.
SimpleFormulas
Attributes:
Operation
Operand (TODO)
CustomFormulas
It probably will suffice to compare the Expression.
Attributes:
Expression
Containment:
Operand (TODO)
PrimitivePropertyInstances
For now make sure they are the same number. ValueExpressions will come..
ConnectorInstances
For now make sure they are the same number. ConnectorComposition will come..
Roles
Roles correspond to DomainConnectors inside Connectors.
The attribute xmlns:q1 determines if the port is a modelica- or cad-port. (A perhaps better way to check the
category is to see if the Role has the attribute Class.)
Purpose
In WebCyPhy it will be important to identify changes in a design-space (can be described using the adm-format) when storing configurations and results.
Attributes and Containment
Containers
Starting from the
RootContainer
, allContainers
must have the sameName
andxsi:type
(Compound, Alternative or Optional). Further they must have matchingContainers
,ComponentInstances
,Properties
,Connectors
andFormulas
.Attributes:
Name
xsi:type
Containment:
Container
ComponentInstance
Property
Connector
Formula
ComponentInstances
Attributes:
Name
ComponentID
Containment:
PrimitivePropertyInstance
ConnectorInstance
Properties
Attributes:
Name
More details on the
Values
will come..Connectors
Attributes:
Name
Containment:
Role
Formulas
The attribute
xsi:type
determines if the formula is aSimpleFormula
orCustomFormula
.SimpleFormulas
Attributes:
Operation
Operand
(TODO)CustomFormulas
It probably will suffice to compare the Expression. Attributes:
Expression
Containment:
Operand
(TODO)PrimitivePropertyInstances
For now make sure they are the same number.
ValueExpressions
will come..ConnectorInstances
For now make sure they are the same number.
ConnectorComposition
will come..Roles
Roles correspond to
DomainConnectors
insideConnectors
.The attribute
xmlns:q1
determines if the port is amodelica
- orcad
-port. (A perhaps better way to check the category is to see if theRole
has the attributeClass
.)Modelica
Attributes:
Class
CAD
Attributes:
xsi:type