Enumeration ConditionEdge

Edge types that can be used for conditions.

Used in:
Condition
Enumeration Literals
  Name Applied Stereotypes Description
  falling A condition defined with a falling edge shall return true at discrete time t if its logical expression is false at discrete time t and its logical expression was true at discrete time t-ts, where ts is the simulation sampling time.
  none A condition defined with a 'none' edge shall return true at discrete time t if its logical expression is true at discrete time t.
  rising A condition defined with a rising edge shall return true at discrete time t if its logical expression is true at discrete time t and its logical expression was false at discrete time t-ts, where ts is the simulation sampling time.
  risingOrFalling A condition defined with a 'risingOrFalling' edge shall return true at discrete time t if its logical expression is true at discrete time t and its logical expression was false at discrete time t-ts OR if its logical expression is false at discrete time t and its logical expression was true at discrete time t-ts. ts is the simulation sampling time.
XSD 1.3 Representation


<xsd:simpleType name="ConditionEdge">
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="falling"/>
<xsd:enumeration value="none"/>
<xsd:enumeration value="rising"/>
<xsd:enumeration value="risingOrFalling"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="parameter"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>

To XSD