Class TrafficSourceAction

Applied Stereotypes:
XSDcomplexType

Defines a source of traffic at a specific position.

Used in:
TrafficAction
Properties
Name Type Cardinality AppliedStereotypes Description
rate double 1..1 XSDattribute Defines the rate on which vehicles appear at the source location. Unit: vehicles/s. Range: [0..inf[.
radius double 1..1 XSDattribute Defines the radius of the traffic source where vehicles appear around the specific position. Unit: m. 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 Defines the position of the traffic source.
trafficDefinition TrafficDefinition 1..1 Defines the vehicle and controller distribution for the source.

Migration Information from XSD 0.9.1
Derived From:
OSCGlobalAction.Traffic.Source
Property Name XSD Type XSD 0.9.1 Name Migration
rate Attribute rate
radius Attribute radius
velocity Element N/A Created (optional, not migrated automatically)
position Element Position
trafficDefinition Element TrafficDefinition

XSD 1.0 Representation


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

To XSD To XSLT To XSD Tree