Class TrafficSwarmAction

Applied Stereotypes:
XSDcomplexType

Defines swarm traffic within an elliptical planview around a given central entity. The innerRadius defines the minimum distance between the central vehicle and swarm traffic. The latter is set up in the free space between the circular area defined by innerRadius and the outline of the ellipsis defined by the two semi axis attributes. While vehicles are created in this area, they are removed if they leave it crossing the it ellipsis’ outline. Within the innerRadius, vehicles are neither set up nor removed. Optionally, the swarm area can be longitudinally offset to the central scenario object.

Used in:
TrafficAction
Properties
  Name Type Cardinality AppliedStereotypes Description
  innerRadius double 1..1 XSDattribute Radius of the inner circular area around the central entity. Unit: [m]. Range: [0..inf[.
  numberOfVehicles unsignedInt 1..1 XSDattribute The maximum number of vehicles surrounding the central entity. Depending on the current road situation less than numberOfVehicles might be set up. Range: [0..inf[.
  offset double 1..1 XSDattribute Offset in longitudinal direction related to the x-axis of the central entity. Unit: [m].
  semiMajorAxis double 1..1 XSDattribute Shape of the swarm traffic distribution area is given as an ellipsis around a central entity. SemiMajorAxis defines the half length of the major axis of this ellipsis. Unit: [m]. Range: [0..inf[.
  semiMinorAxis double 1..1 XSDattribute Shape of the swarm traffic distribution area is given as an ellipsis around a central entity. SemiMinorAxis defines the half length of the minor axis of this ellipsis. Unit: [m]. Range: [0..inf[.
D velocity double 0..1 XSDattribute, deprecated The optional starting velocity of the created entities. Unit: [m/s]. Range: [0..inf[.
  centralObject CentralSwarmObject 1..1 XSDelement The entity that represents the center of a swarm.
D trafficDefinition TrafficDefinition 0..1 deprecated, XSDelement Specifies properties of autonomous traffic with respect to vehicle and driver distributions.
  trafficDistribution TrafficDistribution 0..1 XSDelement Defines the vehicle/pedestrian distribution of the traffic swarm including their controllers.
  initialSpeedRange Range 0..1 XSDelement The optional starting speeds of the created entities. Unit: [m/s]; Range for lower and upper limit: [0..inf[. Distributed uniformly/equally.
  directionOfTravelDistribution DirectionOfTravelDistribution 0..1 XSDelement Distribution of vehicle directions of travel relative to the centralObject. If omitted, direction of travel is distributed uniformly.
Deprecation
  • Property velocity deprecated. With version 1.2. Use initialSpeedRange instead.
  • Property trafficDefinition deprecated. With version 1.3. Use trafficDistribution instead.
XSD 1.3 Representation


<xsd:complexType name="TrafficSwarmAction">
<xsd:all>
<xsd:element name="CentralObject" type="CentralSwarmObject"/>
<xsd:element name="TrafficDefinition" type="TrafficDefinition" minOccurs="0">
<xsd:annotation>
<xsd:appinfo>
deprecated
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="TrafficDistribution" type="TrafficDistribution" minOccurs="0"/>
<xsd:element name="InitialSpeedRange" type="Range" minOccurs="0"/>
<xsd:element name="DirectionOfTravelDistribution" type="DirectionOfTravelDistribution" minOccurs="0"/>
</xsd:all>
<xsd:attribute name="innerRadius" type="Double" use="required"/>
<xsd:attribute name="numberOfVehicles" type="UnsignedInt" use="required"/>
<xsd:attribute name="offset" type="Double" use="required"/>
<xsd:attribute name="semiMajorAxis" type="Double" use="required"/>
<xsd:attribute name="semiMinorAxis" type="Double" use="required"/>
<xsd:attribute name="velocity" type="Double">
<xsd:annotation>
<xsd:appinfo>
deprecated
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>

Change log from version 1.2
  • Property 'trafficDistribution' created.
  • Property 'trafficDefinition'. Lower cardinality changed.
    • New Value
      0
      From 1.2.0
      1
  • Property 'trafficDefinition'. Stereotype <<deprecated>> applied.
  • Property 'initialSpeedRange'. Stereotype <<XSDelement>>. Tagged value 'position' changed.
    • New Value
      4
      From 1.2.0
      3
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property innerRadius
    • XSDattribute
  • Property numberOfVehicles
    • XSDattribute
  • Property offset
    • XSDattribute
  • Property semiMajorAxis
    • XSDattribute
  • Property semiMinorAxis
    • XSDattribute
  • Property velocity
    • XSDattribute
    • deprecated [withVersion: "1.2"; comment: "Use initialSpeedRange instead"]
  • Property centralObject
    • XSDelement [position: "1"]
  • Property trafficDefinition
    • deprecated [withVersion: "1.3"; comment: "Use trafficDistribution instead."]
    • XSDelement [position: "2"]
  • Property trafficDistribution
    • XSDelement [position: "3"]
  • Property initialSpeedRange
    • XSDelement [position: "4"]
  • Property directionOfTravelDistribution
    • XSDelement [position: "5"]

To XSD