The Scientific World Journal / 2014 / Article / Alg 2

Research Article

An Evaluation and Implementation of Rule-Based Home Energy Management System Using the Rete Algorithm

Algorithm 2

An example of power consumption data.
<root>
<info>
 <kind>notice_wattmeter</kind>
 <time>20130622080000008</time>
</info>
<data>
 <socket1><wh>52</wh><volt>100.913</volt>
  <current>0.010</current><watt>0.0</watt>
  <state>ON</state></socket1>
 <socket2><wh>0</wh><volt>100.972</volt>
  <current>0.008</current><watt>0.0</watt>
  <state>ON</state></socket2>
 <socket3><wh>0</wh><volt>100.924</volt>
  <current>0.020</current><watt>0.0</watt>
  <state>ON</state></socket3>
 <socket4><wh>12</wh><volt>100.951</volt>
  <current>0.010</current><watt>0.0</watt>
  <state>ON</state></socket4>
</data>
</root>