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
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[.
innerRadius double 1..1 XSDattribute Radius of the inner circular area around the central entity. Unit: m; Range: [0..inf[.
offset double 1..1 XSDattribute Offset in longitudinal direction related to the x-axis of the central entity. Unit: m;.
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[.
velocity double 0..1 XSDattribute The optional starting velocity of a created entity. Unit: m/s; Range: [0..inf[.
centralObject CentralSwarmObject 1..1 The entity that represents the center of a swarm.
trafficDefinition TrafficDefinition 1..1 Specifies properties of autonomous traffic with respect to vehicle and driver distributions.

Migration Information from XSD 0.9.1
Derived From:
OSCGlobalAction.Traffic.Swarm
Property Name XSD Type XSD 0.9.1 Name Migration
semiMajorAxis Attribute semiMajorAxis
semiMinorAxis Attribute semiMinorAxis
innerRadius Attribute innerRadius
offset Attribute offset
numberOfVehicles Attribute numberOfVehicles
velocity Element N/A Created (optional, not migrated automatically)
centralObject Element CentralObject
trafficDefinition Element TrafficDefinition

XSD 1.0 Representation


<xsd:complexType name="TrafficSwarmAction">
<xsd:all>
<xsd:element name="CentralObject" type="CentralSwarmObject"/>
<xsd:element name="TrafficDefinition" type="TrafficDefinition"/>
</xsd:all>
<xsd:attribute name="semiMajorAxis" type="Double" use="required"/>
<xsd:attribute name="semiMinorAxis" type="Double" use="required"/>
<xsd:attribute name="innerRadius" type="Double" use="required"/>
<xsd:attribute name="offset" type="Double" use="required"/>
<xsd:attribute name="numberOfVehicles" type="UnsignedInt" use="required"/>
<xsd:attribute name="velocity" type="Double"/>
</xsd:complexType>

To XSD To XSLT To XSD Tree