Skip to content

Commit 28a13c0

Browse files
committed
Add schema changes for unspecified, align doc
1 parent fc8c312 commit 28a13c0

File tree

2 files changed

+36
-12
lines changed

2 files changed

+36
-12
lines changed

schema/SystemStructureDescription.xsd

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -705,12 +705,12 @@
705705
<xs:attribute name="kind" use="required">
706706
<xs:annotation>
707707
<xs:documentation xml:lang="en">
708-
This attribute specifies the kind of the given connector,
709-
which indicates whether the connector is an input, an output,
710-
both (inout), a local variable, a constant, a parameter, a
711-
calculated parameter (i.e. a parameter that is calculated by
712-
the component during initialization), or a structural parameter
713-
(i.e. a parameter that can be set during (re-)configuration mode).
708+
This attribute specifies the kind of the given connector, which
709+
indicates whether the connector is an input, an output, both
710+
(inout), unspecified, a local variable, a constant, a parameter,
711+
a calculated parameter (i.e. a parameter that is calculated by the
712+
component during initialization), or a structural parameter (i.e.
713+
a parameter that can be set during (re-)configuration mode).
714714

715715
For components this must match the related kind of the underlying
716716
component implementation. For referenced FMUs it must match the
@@ -730,12 +730,23 @@
730730
variable must be output and the variability must be parameter. For
731731
connectors of kind constant the causality of the FMI 1.0 variable
732732
must be output and the variability must be constant.
733+
734+
Connectors of kind `local` are used to define variables of the
735+
model element. Such a variable is not intended to be used for
736+
connections. However, if it is connected, the semantics are same as
737+
for an `output`.
733738

734739
For SignalDictionaryReferences, the kind of a given connector can
735740
additionally be 'inout', which indicates that the semantics of the
736741
connector are derived from the connections going to the connector.
737742
This can be used for example to allow a connector to function as
738743
both an input and output within the same SignalDictionaryReference.
744+
745+
Connectors of kind `unspecified` are used to define connectors for
746+
which the flow of information is either not yet specified, or is
747+
determined at runtime, for example for acausal connections of
748+
Modelica models. Such connectors can be connected to any other
749+
connector under the rules of the underlying modeling language.
739750
</xs:documentation>
740751
</xs:annotation>
741752
<xs:simpleType>
@@ -748,6 +759,7 @@
748759
<xs:enumeration value="constant"/>
749760
<xs:enumeration value="local"/>
750761
<xs:enumeration value="inout"/>
762+
<xs:enumeration value="unspecified"/>
751763
</xs:restriction>
752764
</xs:simpleType>
753765
</xs:attribute>

schema/SystemStructureDescription11.xsd

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -702,12 +702,12 @@
702702
<xs:attribute name="kind" use="required">
703703
<xs:annotation>
704704
<xs:documentation xml:lang="en">
705-
This attribute specifies the kind of the given connector,
706-
which indicates whether the connector is an input, an output,
707-
both (inout), a local variable, a constant, a parameter, a
708-
calculated parameter (i.e. a parameter that is calculated by
709-
the component during initialization), or a structural parameter
710-
(i.e. a parameter that can be set during (re-)configuration mode).
705+
This attribute specifies the kind of the given connector, which
706+
indicates whether the connector is an input, an output, both
707+
(inout), unspecified, a local variable, a constant, a parameter,
708+
a calculated parameter (i.e. a parameter that is calculated by the
709+
component during initialization), or a structural parameter (i.e.
710+
a parameter that can be set during (re-)configuration mode).
711711

712712
For components this must match the related kind of the underlying
713713
component implementation. For referenced FMUs it must match the
@@ -727,12 +727,23 @@
727727
variable must be output and the variability must be parameter. For
728728
connectors of kind constant the causality of the FMI 1.0 variable
729729
must be output and the variability must be constant.
730+
731+
Connectors of kind `local` are used to define variables of the
732+
model element. Such a variable is not intended to be used for
733+
connections. However, if it is connected, the semantics are same as
734+
for an `output`.
730735

731736
For SignalDictionaryReferences, the kind of a given connector can
732737
additionally be 'inout', which indicates that the semantics of the
733738
connector are derived from the connections going to the connector.
734739
This can be used for example to allow a connector to function as
735740
both an input and output within the same SignalDictionaryReference.
741+
742+
Connectors of kind `unspecified` are used to define connectors for
743+
which the flow of information is either not yet specified, or is
744+
determined at runtime, for example for acausal connections of
745+
Modelica models. Such connectors can be connected to any other
746+
connector under the rules of the underlying modeling language.
736747
</xs:documentation>
737748
</xs:annotation>
738749
<xs:simpleType>
@@ -745,6 +756,7 @@
745756
<xs:enumeration value="constant"/>
746757
<xs:enumeration value="local"/>
747758
<xs:enumeration value="inout"/>
759+
<xs:enumeration value="unspecified"/>
748760
</xs:restriction>
749761
</xs:simpleType>
750762
</xs:attribute>

0 commit comments

Comments
 (0)