Class Weather

Applied Stereotypes:
XSDcomplexType

Defines the weather conditions in terms of light, fog, precipitation, cloud, temperature and atmospheric pressure states. If one of the conditions is missing it means that it doesn't change.

Used in:
Environment
Properties
Name Type Cardinality AppliedStereotypes Description
atmosphericPressure double 0..1 XSDattribute Reference atmospheric pressure at z=0.0 in world coordinate system. Unit: Pascal (Pa), Range: [80000...120000]. The actual atmospheric pressure around the entities of the scenario has to be calculated depending on their z position. See also the Standard Atmosphere as defined in ISO2533.
cloudState CloudState 0..1 XSDattribute Definition of the cloud state, i.e. cloud state and sky visualization settings.
temperature double 0..1 XSDattribute Outside temperature at z=0.0 in world coordinate system. Unit: Kelvin (K), Range: [170...340]. The actual outside temperature around the entities of the scenario has to be calculated depending on their z position.
sun Sun 0..1 XSDelement Definition of the sun, i.e. position and intensity.
fog Fog 0..1 XSDelement Definition of fog, i.e. visual range and bounding box.
precipitation Precipitation 0..1 XSDelement Definition of precipitation, i.e. type and intensity.
wind Wind 0..1 XSDelement Definition of the wind: direction and speed.

XSD 1.1 Representation


<xsd:complexType name="Weather">
<xsd:all>
<xsd:element name="Sun" type="Sun" minOccurs="0"/>
<xsd:element name="Fog" type="Fog" minOccurs="0"/>
<xsd:element name="Precipitation" type="Precipitation" minOccurs="0"/>
<xsd:element name="Wind" type="Wind" minOccurs="0"/>
</xsd:all>
<xsd:attribute name="cloudState" type="CloudState"/>
<xsd:attribute name="atmosphericPressure" type="Double"/>
<xsd:attribute name="temperature" type="Double"/>
</xsd:complexType>

Change log from version 1.0
  • Annotation changed
    • New Value
      Defines the weather conditions in terms of light, fog, precipitation, cloud, temperature and atmospheric pressure states. If one of the conditions is missing it means that it doesn't change.
      From 1.0.0
      Defines the weather conditions in terms of light, fog, precipitation and cloud states.
  • Property 'atmosphericPressure' created.
  • Property 'temperature' created.
  • Property 'wind' created.
  • Property 'cloudState'. Lower cardinality changed.
    • New Value
      0
      From 1.0.0
      1
  • Property 'sun'. Lower cardinality changed.
    • New Value
      0
      From 1.0.0
      1
  • Property 'fog'. Lower cardinality changed.
    • New Value
      0
      From 1.0.0
      1
  • Property 'precipitation'. Lower cardinality changed.
    • New Value
      0
      From 1.0.0
      1

Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property atmosphericPressure
    • XSDattribute
  • Property cloudState
    • XSDattribute
  • Property temperature
    • XSDattribute
  • Property sun
    • XSDelement [position: "1"]
  • Property fog
    • XSDelement [position: "2"]
  • Property precipitation
    • XSDelement [position: "3"]
  • Property wind
    • XSDelement [position: "4"]

To XSD To XSD Tree