SensorML 2.0 Examples
Physical System
A physical system is a physical process that consists of multiple components that can be both physical and non-physical. In addition to listing the components within the ComponentList element, a PhysicalSystem can explicitly define the flow of data throughout the system, using the ConnectList element.
Components can be defined inline within the PhysicalSystem description or referenced externally using the xlink:href attribute as shown in the example below. A connection Link maps between the data source and the data destination, and can thus describe the flow of data between various components or between components and the systems inputs, outputs, and parameters.
The rules for describing the source or destination are fairly simple and are able to follow through to components that are referenced through the xlink:href attribute. This is in contrast to, for example, an XPath protocol which can be fairly complex and cannot follow through to a external "by reference" components.
In the example below there are three components: a thermometer that outputs temperature, an anemometer that outputs both wind speed and wind direction, and a non-physical windchill process that takes temperature and wind speed and calculates a windchill factor. The outputs of these three components connect to the outputs of the system itself, as shown in the ConnectionsList. In the example, there are two sets of highlights. Lines 75 and 88 are the starts of the ComponentList and ConnectionList, respectively. The highlighted lines 31, 33, and 35 show the path that is indicated in the destination of line 93.
As a final note, it would be possible to define a local reference frame for the system (omitted in this example) which the various components could either reference for their location or use to define an offset to the system location.