<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Decentralized and Embedded Management for Smart Buildings</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Giancarlo Fortino</string-name>
          <email>g.fortino@unical.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Antonio Guerrieri</string-name>
          <email>aguerrieri@deis.unical.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DEIS - University of Calabria</institution>
          ,
          <addr-line>Via P. Bucci, cubo 41c, Rende (CS), 87036</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2011</year>
      </pub-date>
      <fpage>3</fpage>
      <lpage>7</lpage>
      <abstract>
        <p>Future buildings will be smart to support personalized people comfort and building energy efficiency as well as safety, emergency, and context-aware information exchange scenarios. In this work we propose a decentralized and embedded architecture based on agents and wireless sensor and actuator networks for enabling efficient and effective management of buildings. The main purpose of the agent-based architecture, which is currently implemented in MAPS, is to efficiently support distributed and coordinated sensing and actuation operations. The high modularity of the proposed architecture allows for easy adaptation of higher-level application-specific agents that can therefore exploit the architecture to implement intelligent building management policies.</p>
      </abstract>
      <kwd-group>
        <kwd>Multi-agent systems</kwd>
        <kwd>Building Management Systems</kwd>
        <kwd>Wireless Sensor and Actuator Networks</kwd>
        <kwd>MAPS</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>tradeoff energy saving and inhabitants’ preferences where preferences can be learnt
and predicted through an unsupervised online real-time learning algorithm (analyzing
inhabitants’ behavior). MASBO agents reside on a server and constantly monitor data
from sensors and eventually actuate some commands. MASBO works as an
enhancement to an existing building automation system by adding learning, reasoning
and autonomous capabilities. The responsibility of controlling sensors and actuators,
and keeping a requested environmental value constant is not addressed by MASBO.</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] the authors propose a working solution to the problem of thermal resource
distribution in a building using a market-based MAS. Computational agents
representing individual temperature controllers bid to buy or sell cool or warm air.
The agents, running in a monolithic process on a workstation, are able to distribute
the thermal resources so that all the building offices have an equitable temperature
distribution. Temperature sensors and air flow actuators are all accessible directly
through distributed hardware modules via a network connection.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] the authors describe a MAS that monitors and controls an office building in
order to provide added values like energy saving together with the delivery of energy.
The developed system is distributed in the sense that some agents are located on
PDAs and others run on the Bluetooth access points (workstations) that communicate
with the PDAs. The system makes use of the existing power lines for communication
between the agents and the sensing and actuation system controlling lights, heating,
ventilation, etc.
      </p>
      <p>
        However, all the aforementioned contributions do not provide agents embedded in
the sensor and actuator devices that would introduce intelligence decentralization and
improve system efficiency. This is due to the exploitation of conventional sensing and
actuation systems that do not offer distributed computing devices for sensing and
actuation. To overcome this limitation, wireless sensor and actuator networks
(WSAN) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] can be adopted. WSANs represent a viable and more flexible solution to
traditional building monitoring and actuating systems (BMAS), which require
retrofitting the whole building and therefore are difficult to implement in existing
structures. In contrast, WSAN-based solutions for monitoring buildings and
controlling equipment, such as electrical devices, heating, ventilation and cooling
(HVAC), can be installed in existing structures with minimal effort. This should
enable monitoring of structure conditions, and space and energy (electricity, gas,
water) usage while facilitating the design of techniques for intelligent device
actuation.
      </p>
      <p>
        In this paper we propose a decentralized and embedded management architecture
for intelligent buildings that is based on WSANs and overcomes the limitations of the
aforementioned solutions [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ][
        <xref ref-type="bibr" rid="ref4">4</xref>
        ][
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. In particular, the aim of our architecture is to
optimize and fully decentralize the sensing and actuation operations through
distributed cooperative agents both embedded in sensor/actuator devices and running
on more capable coordinators (PC, plug computers, PDA/smartphones). The proposed
architecture can be easily programmed to support a wide range of building
management applications integrating comfort, energy efficiency, emergency, safety,
and context-aware information exchange aspects.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2 Agent-Based Architecture</title>
      <p>The agent-based architecture (see Fig. 1) for decentralized and embedded building
management is composed of coordinator agents (CAs), which run in the basestations,
and sensor agents (SAs), which are executed in the sensor/actuator nodes.
Specifically, the architecture relies on a multi-basestation approach to allow for large
buildings composed of multiple floors and diversified environments. Thus, the
architecture is purposely hybrid: hierarchical and peer-to-peer. Interaction between
CAs is peer-to-peer whereas interaction between coordinator agents and their related
SAs (or SA cluster) is usually master/slave. Moreover, SAs of the same cluster
coordinate to dynamically form up a multi-hop ad-hoc network rooted at the master
CA.</p>
      <p>CA1</p>
      <p>M/S
Interaction</p>
      <p>High-level P2P Coordination</p>
      <p>CAI</p>
      <p>M/S
Interaction</p>
      <p>CAn</p>
      <p>M/S</p>
      <p>Interaction
SA1,1</p>
      <p>SA1,n1</p>
      <p>SAi,1</p>
      <p>SAi,ni</p>
      <p>SAn,1</p>
      <p>SAn,nn
Multi-hop SA Cluster1</p>
      <p>Multi-hop SA Clusteri</p>
      <p>Multi-hop SA Clustern
─ Heterogeneous Platform Support incorporates a set of adapters that allow
interfacing the system with different type of sensor/actuator platforms. An
adapter is linked to a specific hardware device able to communicate with a
specific sensor platform in the network.
─ Network Management allows to fully manage a WSAN cluster. This layer
supports packet coding/decoding according to the BMF application-level
protocol and packet transmission/reception to/from the WSAN cluster.</p>
      <p>Moreover, this layer supports device discovery within the cluster.
─ Group Organization provides group-based programming of sensors and
actuators, tracking of nodes and groups in the system, and management of node
configurations and group compositions. Node organization in groups is
specifically defined to capture the morphology of buildings. Nodes belong to
groups depending on their physical (location) or logical (operation type)
characteristics.
─ Request Scheduling allows the support for higher-level application-specific
requests. Through this layer, a CA can ask for the execution of specific tasks to
single or multiple SAs or groups of SAs. Moreover, this layer keeps track of the
requests submitted to the system, waits for data from the nodes and passes them
to the requesting applications. A request is formalized through the following
tuple: R = &lt;Obj, Act, R, LT&gt;, where Obj is a specific sensor or actuator
belonging to a node, Act is the action to be executed on Obj, R is the frequency
of each executed Act, LT is the length of time over which these actions are to be
reiterated. Moreover, a request can target a single node or a group of nodes
having Obj.
─ Inter-CA Coordination offers efficient mechanisms for coordination between
CAs. Specifically, CAs cooperate for submitting queries and retrieving data
spanning multiple SA clusters.</p>
      <p>
        SA is designed around the following layers:
─ Hardware Sensor Platform allows to access the hardware sensor/actuator
platform. In particular, the layer facilitates the configuration of the platform
specific drivers and the use of the radio.
─ Network Management manages the node communication with the reference CA
and among the cluster nodes according to the BMF application protocol.
─ Sensing and Actuation Management allows to acquire data from sensors and
execute actions on actuators. In particular, this layer allows to address different
types of sensors/actuators in a platform independent way.
─ Node Management is the core of the SA and allows to coordinate all the layers
for task execution. In particular, it handles events from the lower layers every
time that a network packet arrives or data from sensor/actuator are available,
and from the upper layers every time that data are processed or a stored request
has to be executed.
─ Dynamic Group Management provides group management functionalities to the
SA. A node can belong to several groups at the same time and its membership
can be dynamically updated on the basis of requests from CAs.
─ In-node Signal Processing allows the SA to execute signal processing functions
on data acquired from sensors [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. It can compute simple aggregation functions
(e.g. mean, min, max, variance, R.M.S.) and more complex user-defined
functions on buffers of acquired data.
─ Multi Request Scheduling allows the scheduling of sensing and actuation
requests. In particular, it stores the requests from CAs and schedules them
according to their execution rate.
      </p>
      <p>
        Currently the agent-based architecture is implemented in JADE [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] at basestation
side and MAPS [10] at sensor side.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3 Conclusions and Future Work</title>
      <p>In this paper we have proposed an agent-based architecture for flexible, efficient
and embedded sensing and actuation in buildings. Specifically, the distributed
software architecture is embedded into both WSANs and more capable computing
devices (e.g. PCs, smartphones, plug computers). The proposed architecture can be
seen as basic middleware for developing intelligent building management systems to
achieve the Smart Building concept. Currently the proposed architecture is exploited
to monitor the space occupation and energy expenditure in computer laboratories for
students to analyze energy consumption patterns with respect to users’ behavior so as
to semi-automatically implement behavior policies. On-going work is devoted to the
design of a higher-level agent-based architecture for Smart Buildings atop the
proposed architecture to trade off inhabitants’ personal comfort and building energy
expenditure.</p>
      <p>Acknowledgments. This work has been partially supported by CONET, the
Cooperating Objects Network of Excellence, funded by the European Commission
under FP7 with contract number FP7-2007-2-224053.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Davidsson</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boman</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A multi-agent system for controlling intelligent buildings</article-title>
          .
          <source>In the Fourth International Conference on MultiAgent Systems</source>
          , pp.
          <fpage>377</fpage>
          -
          <lpage>378</lpage>
          , Boston (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Luck</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McBurney</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Preist</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>A manifesto for agent technology: towards next generation computing</article-title>
          .
          <source>Journal of Autonomous Agents and Multi-Agent Systems</source>
          , vol.
          <volume>9</volume>
          , n. 3, pp.
          <fpage>203</fpage>
          -
          <lpage>252</lpage>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Qiao</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guy</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>A Multi-Agent System for Building Control</article-title>
          .
          <source>In the IEEE/WIC/ACM International Conference on Intelligent Agent Technology (IAT '06)</source>
          , pp.
          <fpage>653</fpage>
          -
          <lpage>659</lpage>
          ,
          <string-name>
            <given-names>Hong</given-names>
            <surname>Kong</surname>
          </string-name>
          (
          <year>2006</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Huberman</surname>
            ,
            <given-names>B. A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Clearwater</surname>
            ,
            <given-names>S. H.</given-names>
          </string-name>
          :
          <article-title>A Multi-Agent System for Controlling Building Environments</article-title>
          .
          <source>In the International Conference on Multiagent Systems (ICMAS-95)</source>
          , pp.
          <fpage>171</fpage>
          -
          <lpage>176</lpage>
          , San Francisco (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Davidsson</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boman</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Distributed monitoring and control of office buildings by embedded agents</article-title>
          .
          <source>In Information Sciences-Informatics and Computer Science: An International Journal - Special issue: Intelligent embedded agents</source>
          , vol.
          <volume>171</volume>
          , issue 4, pp.
          <fpage>293</fpage>
          -
          <lpage>307</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Stankovic</surname>
            <given-names>J.:</given-names>
          </string-name>
          <article-title>When sensor and actuator cover the world</article-title>
          .
          <source>ETRI Journal</source>
          ; vol.
          <volume>30</volume>
          , n. 5, pp.
          <fpage>627</fpage>
          -
          <lpage>633</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Guerrieri</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ruzzelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fortino</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>O</given-names>
            <surname>'Hare</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          :
          <article-title>A WSN-based Building Management Framework to Support Energy-Saving Applications in Buildings</article-title>
          .
          <source>In Advancements in Distributed Computing and Internet Technologies: Trends and Issues</source>
          ,
          <string-name>
            <surname>Al-Sakib Khan</surname>
            <given-names>Pathan</given-names>
          </string-name>
          , Mukaddim Pathan, Hae Young Lee, eds, chapter
          <volume>12</volume>
          , pp.
          <fpage>161</fpage>
          -
          <lpage>174</lpage>
          ,
          <string-name>
            <given-names>IGI</given-names>
            <surname>Global</surname>
          </string-name>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Bellifemine</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fortino</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giannantonio</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gravina</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guerrieri</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sgroi</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>SPINE: A domain-specific framework for rapid prototyping of WBSN applications</article-title>
          .
          <source>Software Practice and Experience</source>
          , Wiley, vol.
          <volume>41</volume>
          , issue 3, pp.
          <fpage>237</fpage>
          -
          <lpage>265</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Bellifemine</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poggi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rimassa</surname>
          </string-name>
          , G.:
          <article-title>Developing multi-agent systems with a FIPAcompliant agent framework</article-title>
          . Softw.,
          <string-name>
            <surname>Pract</surname>
          </string-name>
          . Exper. vol.
          <volume>31</volume>
          , issue 2: pp.
          <fpage>103</fpage>
          -
          <lpage>128</lpage>
          (
          <year>2001</year>
          )
          <fpage>10</fpage>
          .
          <string-name>
            <surname>Aiello</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fortino</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gravina</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guerrieri</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>A Java-based Agent Platform for Programming Wireless Sensor Networks</article-title>
          .
          <source>The Computer Journal</source>
          , vol.
          <volume>54</volume>
          , issue 3, pp.
          <fpage>439</fpage>
          -
          <lpage>454</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>