Class TrafficSourceAction

Applied Stereotypes:
XSDcomplexType

Defines a source of traffic at a specific position.

Used in:
TrafficAction
Properties
Name Type Cardinality AppliedStereotypes Description
radius double 1..1 XSDattribute Defines the radius of the traffic source where vehicles appear around the specific position. Unit: m. Range: [0..inf[.
rate double 1..1 XSDattribute Defines the rate on which vehicles appear at the source location. Unit: vehicles/s. Range: [0..inf[.
velocity double 0..1 XSDattribute The optional starting velocity of a scenario object. Unit: m/s; Range: [0..inf[.
position Position 1..1 XSDelement Defines the position of the traffic source.
trafficDefinition TrafficDefinition 1..1 XSDelement Defines the vehicle and controller distribution for the source.

XSD 1.1 Representation


<xsd:complexType name="TrafficSourceAction">
<xsd:all>
<xsd:element name="Position" type="Position"/>
<xsd:element name="TrafficDefinition" type="TrafficDefinition"/>
</xsd:all>
<xsd:attribute name="radius" type="Double" use="required"/>
<xsd:attribute name="rate" type="Double" use="required"/>
<xsd:attribute name="velocity" type="Double"/>
</xsd:complexType>

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property radius
    • XSDattribute
  • Property rate
    • XSDattribute
  • Property velocity
    • XSDattribute
  • Property position
    • XSDelement [position: "1"]
  • Property trafficDefinition
    • XSDelement [position: "2"]

To XSD To XSD Tree