Difference between revisions of "SSN Energy"

From Semantic Sensor Network Incubator Group
Jump to: navigation, search
m
m
Line 14: Line 14:
 
<div class="toolbox box" id="owl-box-energy1" style="margin-bottom: 1em;">  
 
<div class="toolbox box" id="owl-box-energy1" style="margin-bottom: 1em;">  
 
<h4> <span class="mw-headline">Energy example - Components (OWL)</span></h4>
 
<h4> <span class="mw-headline">Energy example - Components (OWL)</span></h4>
*Snippet from [http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy ssn-energy].
+
*Snippet from [http://purl.oclc.org/NET/ssnx/energy/ssn-energy ssn-energy].
 
</div>
 
</div>
 
<br/>
 
<br/>
Line 26: Line 26:
  
 
  <nowiki>
 
  <nowiki>
  <owl:Ontology rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy">
+
  <owl:Ontology rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy">
 
  ...
 
  ...
 
  <!-- A Wsn Node Example (Classes) -->
 
  <!-- A Wsn Node Example (Classes) -->
  <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#SolarPanel">
+
  <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#SolarPanel">
 
   <rdfs:subClassOf>
 
   <rdfs:subClassOf>
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#EnergyDevice"/>
+
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#EnergyDevice"/>
 
   </rdfs:subClassOf>
 
   </rdfs:subClassOf>
 
  </owl:Class>
 
  </owl:Class>
  <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#Board">
+
  <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Board">
 
   <rdfs:subClassOf>
 
   <rdfs:subClassOf>
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#EnergyDevice"/>
+
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#EnergyDevice"/>
 
   </rdfs:subClassOf>
 
   </rdfs:subClassOf>
 
  </owl:Class>
 
  </owl:Class>
  <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#Battery">
+
  <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Battery">
 
   <rdfs:subClassOf>
 
   <rdfs:subClassOf>
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#EnergyDevice"/>
+
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#EnergyDevice"/>
 
   </rdfs:subClassOf>
 
   </rdfs:subClassOf>
 
  </owl:Class>
 
  </owl:Class>
  <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#EnergyDevice">
+
  <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#EnergyDevice">
 
   <rdfs:subClassOf>
 
   <rdfs:subClassOf>
 
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn#Device"/>
 
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn#Device"/>
Line 50: Line 50:
 
  </owl:Class>
 
  </owl:Class>
 
  <!-- A Wsn Node Example (instances) -->
 
  <!-- A Wsn Node Example (instances) -->
  <ssn:System rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#WsnNode">
+
  <ssn:System rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#WsnNode">
 
   <ssn:hasSubSystem>
 
   <ssn:hasSubSystem>
   <energy:Board rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#WsnNodeBoard"/>
+
   <energy:Board rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#WsnNodeBoard"/>
 
   </ssn:hasSubSystem>
 
   </ssn:hasSubSystem>
 
   <ssn:hasSubSystem>
 
   <ssn:hasSubSystem>
   <energy:Battery rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P"/>
+
   <energy:Battery rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P"/>
 
   </ssn:hasSubSystem>
 
   </ssn:hasSubSystem>
 
   <ssn:hasSubSystem>
 
   <ssn:hasSubSystem>
   <energy:SolarPanel rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#WsnNodeSolarPanel"/>
+
   <energy:SolarPanel rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#WsnNodeSolarPanel"/>
 
   </ssn:hasSubSystem>
 
   </ssn:hasSubSystem>
 
   <ssn:implements>
 
   <ssn:implements>
   <ssn:Process rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#Process111">
+
   <ssn:Process rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Process111">
 
     <ssn:hasOutput>
 
     <ssn:hasOutput>
     <ssn:Output rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#BatteryVoltage12VBattery"/>
+
     <ssn:Output rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#BatteryVoltage12VBattery"/>
 
     </ssn:hasOutput>
 
     </ssn:hasOutput>
 
     <dul:hasQuality>
 
     <dul:hasQuality>
Line 80: Line 80:
 
<div class="toolbox box" id="owl-box-energy2" style="margin-bottom: 1em;">  
 
<div class="toolbox box" id="owl-box-energy2" style="margin-bottom: 1em;">  
 
<h4> <span class="mw-headline">Energy example - Battery Lifetime (OWL)</span></h4>
 
<h4> <span class="mw-headline">Energy example - Battery Lifetime (OWL)</span></h4>
*Snippet from [http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy ssn-energy].
+
*Snippet from [http://purl.oclc.org/NET/ssnx/energy/ssn-energy ssn-energy].
 
</div>
 
</div>
 
<br/>
 
<br/>
Line 91: Line 91:
  
 
  <nowiki>
 
  <nowiki>
   <owl:Ontology rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy">
+
   <owl:Ontology rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy">
 
   ...
 
   ...
   <energy:Battery rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P">
+
   <energy:Battery rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P">
 
   <ssn:hasSurvivalProperty>
 
   <ssn:hasSurvivalProperty>
   <ssn:BatteryLifetime rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P_20hours">
+
   <ssn:BatteryLifetime rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P_20hours">
 
     <ssn:inCondition>
 
     <ssn:inCondition>
 
     <dim:ElectricCurrentRate rdf:about="http://purl.org/NET/ssnx/qu/quantity#electricCurrentRateFor20Hours">
 
     <dim:ElectricCurrentRate rdf:about="http://purl.org/NET/ssnx/qu/quantity#electricCurrentRateFor20Hours">
 
     <ssn:hasValue>
 
     <ssn:hasValue>
       <dul:Amount rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#rateFor20Hours">
+
       <dul:Amount rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#rateFor20Hours">
 
       <dul:hasDataValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string">65</dul:hasDataValue>
 
       <dul:hasDataValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string">65</dul:hasDataValue>
 
         <dul:isClassifiedBy>
 
         <dul:isClassifiedBy>
Line 109: Line 109:
 
     </ssn:inCondition>
 
     </ssn:inCondition>
 
     <ssn:hasValue>
 
     <ssn:hasValue>
     <dul:Amount rdf:about="http://purl.oclc.org/NET/ssnx/ssn/energy/ssn-energy#Lifespan20Hours">
+
     <dul:Amount rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Lifespan20Hours">
 
       <dul:hasDataValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string">20</dul:hasDataValue>
 
       <dul:hasDataValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string">20</dul:hasDataValue>
 
       <dul:isClassifiedBy>
 
       <dul:isClassifiedBy>

Revision as of 05:14, 15 June 2011

Energy

Energy module



This module is a placeholder for possible extensions for SSN ontology users wishing to model the energy management aspects of a sensor network. It contains two classes ssn:BatteryLifetime and ssn:OperatingPowerRange.

How to represent a WSN node and its energy components

Energy example - Components (OWL)




Figure 5.26 shows how to specialize the ssn:Device to add the energy-focused elements of a system, in this case the battery, solar panel and board of a wireless sensor network node.

A concept map showing an extension of the SSN ontology with three types of energy devices specified as sub-classes of Device

Figure 5.26 - Energy device

 <owl:Ontology rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy">
 ...
 <!-- A Wsn Node Example (Classes) -->
 <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#SolarPanel">
  <rdfs:subClassOf>
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#EnergyDevice"/>
  </rdfs:subClassOf>
 </owl:Class>
 <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Board">
  <rdfs:subClassOf>
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#EnergyDevice"/>
  </rdfs:subClassOf>
 </owl:Class>
 <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Battery">
  <rdfs:subClassOf>
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#EnergyDevice"/>
  </rdfs:subClassOf>
 </owl:Class>
 <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#EnergyDevice">
  <rdfs:subClassOf>
   <owl:Class rdf:about="http://purl.oclc.org/NET/ssnx/ssn#Device"/>
  </rdfs:subClassOf>
 </owl:Class>
 <!-- A Wsn Node Example (instances) -->
 <ssn:System rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#WsnNode">
  <ssn:hasSubSystem>
   <energy:Board rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#WsnNodeBoard"/>
  </ssn:hasSubSystem>
  <ssn:hasSubSystem>
   <energy:Battery rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P"/>
  </ssn:hasSubSystem>
  <ssn:hasSubSystem>
   <energy:SolarPanel rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#WsnNodeSolarPanel"/>
  </ssn:hasSubSystem>
  <ssn:implements>
   <ssn:Process rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Process111">
    <ssn:hasOutput>
     <ssn:Output rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#BatteryVoltage12VBattery"/>
    </ssn:hasOutput>
    <dul:hasQuality>
     <dim:ElectricPotential rdf:about="http://purl.org/NET/ssnx/qu/quantity#voltage"/>
    </dul:hasQuality>
    <dul:isClassifiedBy>
     <dim:ElectricPotentialUnit rdf:about="http://purl.org/NET/ssnx/qu/unit#millivolt"/>
    </dul:isClassifiedBy>
   </ssn:Process>
  </ssn:implements>
 </ssn:System>
 

How to represent a WSN node with information about its energy consumption

Energy example - Battery Lifetime (OWL)



The example below illustrates how to define the lifespan of a battery in function of the current drawn from it. Generally, more than one ssn:BatteryLifetime instance will be used to model how the battery performs in various conditions. Figure 5.27 shows how to define a lifetime of 20 hours for a sensor node battery when it is used to deliver an electric current of 65 milliamperes.

A concept map showing how to specify the lifetime of a battery in function of the electric current it is expected to deliver

Figure 5.27 - ssn:BatteryLifetime

  <owl:Ontology rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy">
  ...
  <energy:Battery rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P">
   <ssn:hasSurvivalProperty>
   <ssn:BatteryLifetime rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Panasonic_VRLA_LC-R121R3P_20hours">
    <ssn:inCondition>
     <dim:ElectricCurrentRate rdf:about="http://purl.org/NET/ssnx/qu/quantity#electricCurrentRateFor20Hours">
     <ssn:hasValue>
      <dul:Amount rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#rateFor20Hours">
       <dul:hasDataValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string">65</dul:hasDataValue>
        <dul:isClassifiedBy>
         <dim:ElectricCurrentRateUnit rdf:about="http://purl.org/NET/ssnx/qu/unit#milliAmpere"/>
        </dul:isClassifiedBy>
       </dul:Amount>
      </ssn:hasValue>
     </dim:ElectricCurrentRate>
    </ssn:inCondition>
    <ssn:hasValue>
     <dul:Amount rdf:about="http://purl.oclc.org/NET/ssnx/energy/ssn-energy#Lifespan20Hours">
      <dul:hasDataValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string">20</dul:hasDataValue>
       <dul:isClassifiedBy>
        <dim:DurationUnit rdf:about="http://purl.org/NET/ssnx/qu/unit#hour"/>
       </dul:isClassifiedBy>
      </dul:Amount>
     </ssn:hasValue>
    </ssn:BatteryLifetime>
   </ssn:hasSurvivalProperty>
  </energy:Battery>
 

How to represent the operating power range of a sensor

Energy example - Power range (OWL)





This is an extract of the SSN-Uni deployment which shows how this can be done.

 <owl:Ontology rdf:about="http://purl.oclc.org/NET/ssnx/uni/uni-deploy">
 ...
 <ssn:System rdf:about="http://purl.oclc.org/NET/ssnx/uni/uni-deploy#SN-Node-TSB-ABC01">
  <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A sample sensor network node. The data is for TELOS-B product and the data sheet is available at: http://www.willow.co.uk/TelosB_Datasheet.pdf</rdfs:comment>
  <ssn:hasOperatingProperty>
   <ssn:OperatingPowerRange rdf:about="http://purl.oclc.org/NET/ssnx/uni/uni-deploy#TSBOperatingPowerRange">
    <ssn:hasValue>
     <dul:Amount rdf:about="http://purl.oclc.org/NET/ssnx/uni/uni-deploy#Current_Draw_Idle">
      <dul:hasDataValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string">21</dul:hasDataValue>
      <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Current Draw in Idle mode</rdfs:comment>
      <dul:isClassifiedBy>
       <dul:UnitOfMeasure rdf:about="http://purl.oclc.org/NET/ssnx/uni/uni-deploy#microAmpere"/>
      </dul:isClassifiedBy>
     </dul:Amount>
    </ssn:hasValue>
   </ssn:OperatingPowerRange>
  </ssn:hasOperatingProperty>
 </ssn:System>