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[. |
|
speed |
double |
0..1 |
XSDattribute
|
The optional starting speed of a scenario object. Unit: [m/s]. Range: [0..inf[. |
D |
velocity |
double |
0..1 |
XSDattribute,
deprecated
|
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. |
D |
trafficDefinition |
TrafficDefinition |
0..1 |
deprecated,
XSDelement
|
Defines the vehicle and controller distribution for the source. |
|
trafficDistribution |
TrafficDistribution |
0..1 |
XSDelement
|
Defines the vehicle/pedestrian distribution of the traffic source including their controllers. |
|
Deprecation |
- Property velocity deprecated. With version 1.2. Use speed instead.
- Property trafficDefinition deprecated. With version 1.3. Use trafficDistribution instead.
|
XSD 1.3 Representation |
<xsd:complexType name="TrafficSourceAction">
<xsd:all>
<xsd:element name="Position" type="Position"/>
<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:all>
<xsd:attribute name="radius" type="Double" use="required"/>
<xsd:attribute name="rate" type="Double" use="required"/>
<xsd:attribute name="velocity" type="Double">
<xsd:annotation>
<xsd:appinfo>
deprecated
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="speed" type="Double"/>
</xsd:complexType>
|
|
Change log from version 1.2 |
- Property 'trafficDistribution' created.
- Property 'trafficDefinition'. Lower cardinality changed.
- Property 'trafficDefinition'. Stereotype <<deprecated>> applied.
|
Stereotype Details Information |
- Class
- XSDcomplexType [modelGroup: "all"; mixed: "false"]
- Property radius
- Property rate
- Property speed
- Property velocity
- deprecated [withVersion: "1.2"; comment: "Use speed instead"]
- Property position
- XSDelement [position: "1"]
- Property trafficDefinition
- deprecated [withVersion: "1.3"; comment: "Use trafficDistribution instead."]
- XSDelement [position: "2"]
- Property trafficDistribution
- XSDelement [position: "3"]
|
To XSD