<!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>Context-Based Reasoning in Smart Buildings</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Pedro Fazenda</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Paulo Carreira</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pedro Lima</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute for Systems and Robotics</institution>
          ,
          <addr-line>IST</addr-line>
          ,
          <country country="PT">Portugal</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>The Data Management and Information Retrieval group, INESC-ID</institution>
          ,
          <country country="PT">Portugal</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Smart buildings integrate various systems to effectively manage resources in a coordinated manner in order to maximize technical performance, operating cost savings and tenant comfort. These buildings are expected to extend beyond simple automation to include advanced user interfaces, and automatic building management capable of interacting in real-time. It is not yet clear, however, how to design and implement applications with the entire building structure, services and processes. We discuss the importance of considering context in the operation of smart buildings, and present context-based reasoning as a modeling paradigm to create a general purpose applications.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Indicators show that there is a high cost-effective potential for energy savings
in buildings [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], responsible for approximately 40% of the global energy usage
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Smart Buildings (SB) have been waved as a solution to increase energy
efficiency in buildings. In contrast to the definition of Artificial Intelligence [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ],
in buildings the term “smart”, synonymous with “intelligent”, has a functional
definition: “intelligent” is typically associated with the integration and
automation of systems and functions which operate in ways that provide a responsive,
effective and supportive environment, within which organizations can meet their
performance objectives [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>SBs are supported by a number of technologies, included in the automated
building management system (BMS), that aim at the well being of occupants,
promoting a comfortable environment while ensuring an efficient use of building
resources.</p>
      <p>
        The ideas described for SBs fall into a wider concept defined as Ambient
Intelligence (AmI) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], a term widely used to signify a vision in which
environments support the people who inhabit them by incorporating data acquisition,
computation, intelligence and behavior to everyday objects in an interconnected
and unobtrusive way. One important part of AmI is that environments should be
capable of anticipating the needs of its inhabitants and respond in a timely and
user-friendly way. Advances in technology are opening doors for entire new
concepts and applications and, in the limit, buildings may even be able to recognize
and respond to user emotion.
1.1
      </p>
      <sec id="sec-1-1">
        <title>Building systems</title>
        <p>
          The deployment of AmI in buildings has been hindered, not only by the lack of
a well defined and globally accepted standard to interconnect building systems,
but also by the absence of a common platform that organizes all these different
systems with associated knowledge, control strategies, services, variables,
models, etc. A SB is a very complex system [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. It can have multiple spaces, tenants,
human-machine interfaces, distributed systems, sensors, and a set of observed
variables with a significant size that require controlling and monitoring (e.g.
temperature and humidity in each room). Many variables and models are
correlated (e.g. the thermal behavior of adjacent spaces) and may depend on context
(e.g. the temperature variation inside a room depends on a context defined by a
set of variables like door/window open/closed). To make things harder, we have
to consider that new components can be added at any time (e.g. a new energy
meter or meteorological station).
        </p>
        <p>Most software architectures for SBs are programmed in a modular way.
This modularity deals with the complexity of the BMS’s domain by dividing
its operation into a number of interdependent services that are able to control
building systems and functions such as: lighting, HVAC, access control,
roomoperations, floor-operations, etc. These modules, responsible for each control
logic, are largely deployed in isolation and do not take into account a great deal
of contextual information that could be useful for their operation. For example,
an elevator group scheduler could balance between energy efficiency and quality
of service (associated with the expected waiting times), depending e.g., on a
holiday or a normal working day.</p>
        <p>In this paper we discusses another type of modularity: the operation of each
service depends on a set of active contexts. These contexts organize knowledge
and the necessary reasoning mechanisms to act on the buildings in order to
accomplish greater energy savings than the ones we would accomplish with simple
automation rules.
1.2</p>
      </sec>
      <sec id="sec-1-2">
        <title>Context-awareness</title>
        <p>The awareness of context about the environment, discussion, or problem in hand,
allows many important aspects of human interaction to remain implicit. Contexts
act like adjustable filters creating a knowledge frame that enables the correct
semantics to be assigned to terms therefore enabling a minimal amount of
information exchange towards effective communication. This means defining, at each
step, which knowledge pieces must be taken into account explicitly
(contextualized knowledge) and which pieces are not directly necessary or already shared
(contextual knowledge). Human communication uses linguistic expressions that
are rather highly contextualized and many misunderstandings, in human
discourse, take place when communicants are not in a common context. A context
inherently contains much knowledge about a situation and environment of a
problem. For example, an area in a supermarket, where temperature values are
abnormally different from the rest of the building, correspond, with high
probability, to the cold section. In another type of service building, a similar situation
may correspond to a datacenter.</p>
        <p>In the next section we present some of the related work on applications for
SBs. In section 3 we discuss the organization of knowledge and strategies and
in section 4, how context-based reasoning (CxBR) can be used to organize such
knowledge. Section 5 clarifies the concept of context and how it can be applied
in different building services. Section 6 concludes.
2</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        Creating applications for SBs is a current topic of research. Most approaches
have used decentralized control solutions based on multi-agent systems (MAS)
see, e.g. [
        <xref ref-type="bibr" rid="ref10 ref11 ref7 ref8 ref9">7, 8, 9, 10, 11</xref>
        ]. Their solutions consist of using collections of software
agents that monitor and control different parts, as well as different aspects of the
environmental conditions of the building. They operate and manage particular
entities in the building, e.g., offices, meeting rooms, corridors or electrical
devices. Tianfield [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] presents a study on the MAS approach to large complex
systems. Agent systems have been widely accepted as an effective coarse-granularity
metaphors for perception, modeling and decision-making, particularly in systems
where humans are integrated mostly because system modeling becomes greatly
alleviated. Developing the infrastructure of a MAS includes developing an agent
platform, the agents, and agent communication language, the agent-task
association and the social communication. With and agreement on language and
communication, agents can be reused, taking their behavior and functionality to
other MAS. In this work we want include context-based reasoning [
        <xref ref-type="bibr" rid="ref13 ref14 ref15">13, 14, 15</xref>
        ] in a
multi-agent architecture for SBs. The idea can also be extended to multi-service
architectures, where different services, each with their own execution-context,
manage particular parts of a BMS much like a MAS architecture. The term
emergent is frequently used to describe behaviors that arise from the interaction
of subsystems and are not evident from the analysis of each subsystem. We
believe that a notion of context can bring a new organization to these systems that
can help avoid some of the most common problems like avoiding and detecting
emergent behaviors. Consider the following example: an agent, programmed to
optimize the use of natural lighting in a room, will open the window blinds and
turn of the lights. This action may inadvertently increase the temperature
inside the space due to solar gains. The agent that manages the HVAC will notice
this increase and will try to cool down the room, thus spending more energy.
Without a link between lighting, energy and temperature, two agents designed
to save energy by managing each of their isolated domains, may end up spending
even more energy, when working together in the MAS. With strategies organized
according to context, a user may easily detect the increase in energy spending in
the situation where the blinds are open, because this may be explicitly verified
within that context.
      </p>
      <p>
        Even though a lot of research has been conducted within context-aware
systems, the core term context is not yet a well defined concept [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. In a general
idea, context is a structure or a frame of reference. It permits to define which
knowledge should be considered, what are the conditions of activation and limits
of validity and when to use it at a given time. It is what constrains a problem
solving without intervening in it explicitly. Brezillon et al. [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] state the lack of
consensus on this work and present some of the definitions that are given in the
literature. In section 5 we explain and redefine the definition of context given by
Gonzalez et al. [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ], and extended it to multi-agent/multi-service systems 3.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Knowledge and strategies in Buildings</title>
      <p>The organization of knowledge (e.g. how energy is used in a certain room), and
planning strategies based on that knowledge (that fulfil some expectations like
e.g., saving energy) is not an easy task. It should be accomplished in a modular
way and should be available where it is needed i.e., global knowledge (type
of building, season o the year, etc), and knowledge associated with events in
a certain area (e.g. the schedule of a tenant), should be available for decision
making in that area. In this organization we have to consider:
{ Pre-acquired knowledge. Of a static nature associated with a building
and its operation that needs to be known before deploying a BMS. This
includes knowledge about:
architectural aspects like the buildings’ location and a plan of its
structure including doors, rooms, materials, glazing, furniture, electrical
layout, pipes, etc;
building systems (with information on service providers) such as
elevators, HVAC (including subsystems, ducts and vents), power storage and
generation, sensors and actuators, etc;
the building’s function (supermarket, pool, school, etc) and associated
information like schedules (e.g. holidays, working days), description of
spaces (amphitheater, classroom, kitchen, etc), and other information
like: a company or a department occupies a specific part of the building;
occupant’s activities, and the association of these activities with specific
spaces inside the building (sleeping, working, eating, entertaining, etc);
electric and gas utility rates.
{ Acquired knowledge. Accomplished through a process of gathering
information from the environment to improve the efficiency of a system in
achieving certain goals. This includes creating models that can be used to
predict and anticipate the behaviour of tenants and explain variables like
indoor temperature, power, lighting, humidity, thermal-behavior of spaces,
etc. There are many types of algorithms and techniques that can be used for
this purpose. The learning process is performed throughout the operation
3 Throughout this paper we will use the term multi-service.</p>
      <p>of the building, with the models being continuously adapted and fitted to
the observations. A well-defined organization of knowledge must take into
consideration the context (e.g. holidays, working-days, winter, summer) that
help explain these variables (e.g. the total amount of energy used over those
periods).
{ Operation strategies (including optimization). Technical difficulties in
creating SBs also include the fact that the set of all possible behaviors, given all
possible inputs, is significantly large. It can also be from dealing with
several different types of data (discrete/real valued, complex-structured, states,
transitions, etc) and multiple goals (e.g. energy efficiency and comfort)
depending on context (working hours, holidays, emergency, etc). Operation
strategies can also be partitioned into a hierarchy of levels and contexts. For
example, at the highest operation level of a BMS, a building manager can be
informed that energy is being lost because the building is not sufficiently
airtight (with detailed information); or some operational parameters of a chiller
can be adjusted. At a lower (or local) level, a window can be closed because
the HVAC is on. Some local decisions may depend on higher level strategies:
e.g. a smart thermostat in a room will not turn the cooling/heating on/off, if
the HVAC system is powered down, after a certain hour, in certain weather
conditions.</p>
      <p>To avoid ending up with a data rich but information limited environment,
conceptual modeling of information must be part of the engineering process, to
describe the general knowledge of each domain (HVAC, elevator, room, company
located on the 5th floor, etc). Conceptual models serve to organize information
in a way that can also help e.g., system operators understand the full context of
some type of event that is occurring in some part of a network or process. This
organization is necessary to support the ability to provide the right information
at the right moment to the right decision maker. For example, if something is
wrong with the HVAC system, then a message can be sent to an entity
responsible for managing this system with detailed information. High-level
contextualized information services are often needed along with supportive sensor data or
trends to provide context e.g., a malfunction X in the HVAC happened due to
a situation Y, as shown by some sensor values Z. The goal is also to facilitate
data mining, information publishing, and the application of automatic
learning and decision support tools to facilitate system management. For example, a
room management service can learn that energy is being wasted when a window
opened, while the HVAC is on. If such a situation happens frequently, the service
may point out that fact by emailing the tenant with detailed information about
how much energy is being wasted. At the building level, a building manager can
be informed on how much energy is lost in the entire building due to to opened
windows, including the corresponding economical costs.</p>
    </sec>
    <sec id="sec-4">
      <title>Context-Based in Smart Buildings</title>
      <p>
        The concept of context can provide a model to partition the operation of a
complex system into “scenarios”, where knowledge, strategies, parameters and
objectives, are organized. To clarify the concept, lets consider the use of context
in the following applications:
{ Problem diagnosis. In problem diagnosis, context can be used, for
example, to reduce the search-space when trying to detect the source of an
identified problem. Gonzalez et al. [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] give the following example: a dead
battery in a car that has been parked overnight has entirely different
diagnostic implications than one that discharges while the car is in operation. This
idea can be generalized to buildings. If a certain condition is being verified
like e.g., an unusual amount of energy is being used in a certain area,
understanding the context in which this condition happens can be fundamental to
identify the problem and take corrective measures.
{ Comparing performance. Taking context into consideration can be very
important when comparing entities according to certain performance
metrics. In buildings, for instance, when comparing and analyzing the
performance in terms of energy use between two different schools, a lot can
be gained if context is taken into consideration. Facts like: level of
education (primary/secondary school, university), type of school (e.g., economics,
dance, military), division of an academic year, etc, are important to extract
more reliable conclusions.
{ Organizing knowledge. Previous known expert knowledge about the
operation of a particular building can be encoded in a context-based model.
Context can be used to explain observed variables and organize models that
predict the behavior of those variables. For example in a school, the energy
used may depend on the division of the academic year (Christmas break,
vacations, exams, holidays, exams, instructional days, etc); on the season,
location, and other facts that can be previously known. Creating models
within each specific context (from, e.g., a time series obtained form an
energy meter) can gain a lot from these divisions by minimizing the need of
explanatory variables. This is a natural way of including previous known
knowledge in the process of modeling variables from the observed
environment, creating more reliable models. Following an hierarchy of contexts (e.g.
building-operation, floor-operation, room-operation), information can also
be organized according to locality and resolution (energy used by the entire
building, floor or room).
{ Organizing strategies and behaviors. Multi-context systems support
the development of modular architectures. Following some of the arguments
used for organizing knowledge, strategies and behaviors can also be
organized according to context. Contextual information can help an agent focus
attention on appropriate goals to achieve in certain situations. For
example, at night a building strategy can be storing thermal energy and shifting
energy demand to off-peak time periods, when utility rates are lower; in a
normal working hour, a room-behavior can be regulating natural light with
shading devices; in the advent of an emergency situation like, e.g., a fire, the
building will assume a totally different set of behaviors and objectives.
{ Sensing and Perception. To understand how context is important for this
item, consider the example on how humans focus their attention. A magician
or a pickpocket can take a wallet/watch away from the person’s pocket/hand
by manipulating this focus and attention. By showing something interesting
with one hand, or by pushing the person, they can avoid being detected
by distracting the person’s attention away from the item that they want to
obtain. People sense the environment depending on the surrounding context
- giving more attention to certain details and relaxing on others. In buildings,
we can imagine a situation like, for example, a fire, where all the focus of
sensing is towards satisfying objectives within that context (e.g. check if
there are locked spaces with people inside and notify the fireman of this
situation).
{ Human-machine interfaces. When considering, for example, the ability to
recognize human emotions. This user-centric contextualized information can
be used for decision support: e.g., if at a certain moment the user is angry and
stressed, then he is probably not very receptive to any notifications about
efficiency performance inside the building. The concept is called Affective
computing and it concerns enabling systems recognize human emotion and
act accordingly. Emotionally intelligent buildings may have a clear advantage
when it comes to human-computer interaction.
5
      </p>
    </sec>
    <sec id="sec-5">
      <title>Context-based Reasoning</title>
      <p>
        Part of the architectural design of a building service (e.g., a service that manages
the operation of a room by controlling the HVAC and lighting) is designing the
CxBR model, i.e., identifying the context set(s), transition rules, dependencies
and relations between contexts. The classical frame problem [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] is closely related
to this issue. The design process has to include the experience of human experts
to model the necessary knowledge associated with the operation of particular
types of buildings, equipments, systems, etc. Context-encapsulated knowledge
appears as a chunk of reasoning that can be re-used in several designs and
implementations. A context is a 3-tuple (Ak; T k; Dk) composed of the following
elements:
{ Ak - Action knowledge. Required for the agent to carry out the behavior
encapsulated within the context. It represents the agent’s functional
intelligence within its given environment for a specific situation. This knowledge
can be previously coded with logic rules, or learned using reinforcement
learning, neural networks, evolutionary algorithms, etc.
{ T k - Transitional knowledge. That indicates when a transition to another
context is warranted. It can be expressed as IF(conditions) then(activation)
transition rules or any other type of triggering mechanism using, e.g., neural
networks.
{ Dk - Declarative knowledge: Describing some aspects of the context.
      </p>
      <p>For buildings, this can be used, e.g., to include some of the pre-acquired
knowledge, suited for the context.
5.1</p>
      <sec id="sec-5-1">
        <title>Context Hierarchy</title>
        <p>A CxBR model can include a context hierarchy as shown in Figure 1. The model
can be used to partition knowledge into sub-levels, making it available in the
context where it “makes sense”. A multi-level hierarchy represents a vertical
relationship between groups in a set G = fg1; : : : ; gng. A group gi 2 G contains
a set of mutually exclusive contexts Ci = fci0; : : : ; cing and, an active context
cia in gi, is active within the context of its parents i.e. it will inherit active,
transitional and declarative knowledge from selected contexts in groups that are
hierarchically above gi. cia can redefine or specialize behaviors and/or contain
the functionality required to perform specific sub-tasks.</p>
        <p>g1
g2
g3
g4
g5
gn</p>
        <p>Buildings</p>
        <p>Educational
Winter</p>
        <p>Spring</p>
        <p>Summer</p>
        <p>Autumn
Holiday</p>
        <p>Weekend</p>
        <p>...</p>
        <p>Night</p>
        <p>Dawn</p>
        <p>Day</p>
        <p>Dusk
Exercising the CxBR model is the process of activating the set of contexts that
best suits the situation in hand. This activation allows the active contexts to take
over and control the execution a process, defining behaviors, constraints, and
other context-dependent characteristics. The process must survey the
environment as well as its internal state (including transition knowledge) to determine
the conditions where the current context is deactivated and a new context is
activated. In Figure 1, if context “Night” is activated then, following an hypothetical
scenario, contexts “Holiday”, “Winter”, “Educational” and “Building” are also
Catctive:
activated i.e., the entire path up to the root of the hierarchy tree. A context can
override behaviors, add behaviors, redefine attribute values and add knowledge
to what it inherits from its parent contexts. Activating the correct context within
some processes can be a hard problem. A process that manages the operation of
an office room, e.g., may be directly associated with an observable or partially
observable state composed by the set of variables that are important for the
operation of that room: (door/window opened/closed, temperature, humidity,
ocuppied/empty, etc). The temperature inside the room behaves differently if
a door/window is opend/closed or if the room is empty or occupied. In such a
situation, context can be defined e.g., by a set of explanatory variables that can
somehow be used to explain or to predict changes in the values of other variables
of the state.</p>
        <p>G exists within the domain of a service s. At certain instance t, there is a
set Catctive = (c1a; : : : ; can) that contains all the active contexts that exist in G.
This set is continuously updated, as the following example shows:
Catctive = fBuildings; Educational; Spring; Holiday; Duskg</p>
        <p>#
Cat+ct1ive = fBuildings; Educational; Spring; W orkingDay; N ightg
Service si has its own execution thread(s) and its control is a function of
Control of si =
(Catctive)
where is the CxBR framework operating within si. Figure 2 shows a
representation of the framework, including inputs and outputs.</p>
        <p>Inputs to the Process
CxBR Framework</p>
        <p>Transition</p>
        <p>Knowledge
Inference Engine</p>
        <p>Cactive
Action knowledge
si</p>
        <p>Declarative</p>
        <p>Knowledge</p>
        <p>Outputs/Actions</p>
        <p>Distributed applications for a BMS can be composed by multi-distributed
context-aware services. The interaction/inter-dependency between these services
can be represented by a directed graph. The elements of the graph belong to
the set of services S = fs1; : : : ; sng that operate with the BMS and the edges
represent some type of context or action dependency. Figure 3 shows an example
that includes services to manage a building-central (e.g., one that contains the
set of contexts represented in Figure 1), a floor, a department and two rooms.
Room X</p>
        <p>Room Y</p>
        <p>Most actions assumed at the highest level (in the graph, probably the most
connected vertex) affect the operation of all services: if the HVAC is turned off,
then there can be no room-level HVAC strategies in operation within any other
service. Most information and knowledge that exists within this service, can also
used by several others: season of the year, building characteristics, etc.</p>
        <p>Behaviors of a room-service can depend on a floor-level strategy or on other
information like e.g., information specific to a certain department of a company
that is located at that building. For example, it may make sense to turn the
HVAC off if a department meeting is scheduled to happen on another room.
The operation of a floor-service can depend on the current context of each room
on that floor. To model, e.g., the thermal-behavior of all spaces, within that
floor, it will need to know if windows or doors are opened/closed and the
temperature/pressure difference between those spaces.
6</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusions and future work</title>
      <p>We need the necessary foundations to acquire and organize knowledge and
create the necessary reasoning mechanisms to act on the building and accomplish
greater energy savings than the ones we could accomplish with simple
automation rules. A building is a large complex system and there has been no common
platform that organizes all these different systems with associated knowledge,
control strategies, services, information, variables, models, etc.</p>
      <p>In the last few years frameworks like the Robot Operating System 4 have been
introduced to the robotics community as a common development platform for
robots that provides hardware abstraction, low-level device control,
implementation of commonly-used functionality message-passing between processes, etc.
A similar platform is necessary for smart buildings. Such a software framework,
for smart building software development, would enable programmers to reuse
drivers and create optimization algorithms with an abstraction over the
underlying hardware. We need a framework that is specific for buildings (that can use
infrastructure/communication protocols like BACnet, Zigbee, etc) and to create
such a platform, we have to know how to cope with the dimension of the system
and consider the heterogeneity and complexity of a building environment.
4 http://www.ros.org/wiki/</p>
      <p>In this paper we discussed the importance of using a context-based
architecture to support some of the aforementioned requirements that are necessary
to create smart buildings. We proposed a modeling paradigm that needs to be
elaborated and tested. Our vision includes working on a framework similar to the
robot operating system, but for buildings. A clear strategy on how to structure
such a operating system to fit a building environment and building management
requirements is needed. We believe that this vision of creating a building
operation system has a lot to gain with previous work on software architectures for
context-aware applications.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgements</title>
      <p>This material is based on work supported under a Portuguese National
Science and Technology Foundation Graduate Research Fellowship, by FCT grant
number SFRH/BD/60481/2009. Any opinions, findings, conclusions, or
recommendations expressed in this publication are those of the author and do not
necessarily reflect the views of the National Science and Technology
Foundation, or the Portuguese government.</p>
      <p>We would like to thank all the reviewers for their inputs.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Rod</given-names>
            <surname>Janssen</surname>
          </string-name>
          .
          <article-title>Towards energy efficient buildings in europe</article-title>
          .
          <source>Technical report, Final Report, EuroAce - The European Alliance of Companies for Energy Efficiency in Buildings</source>
          ,
          <year>June 2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Abdeen</given-names>
            <surname>Mustafa Omer</surname>
          </string-name>
          .
          <article-title>Energy, environment and sustainable development. Renewable and sustainable energy reviews</article-title>
          , pages
          <fpage>2265</fpage>
          -
          <lpage>2300</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Peter</given-names>
            <surname>Norvig Stuart Russell</surname>
          </string-name>
          .
          <article-title>Arti cial Intelligence: A Modern Approach (2nd Edition)</article-title>
          .
          <source>Prentice Hall</source>
          , ISBN-
          <volume>10</volume>
          :
          <fpage>0137903952</fpage>
          , ISBN-
          <volume>13</volume>
          :
          <fpage>978</fpage>
          -
          <lpage>0137903955</lpage>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Clements-Croome T.D.J.</surname>
          </string-name>
          <article-title>What do we mean by intelligent buildings? Automation in Construction, 6(5</article-title>
          ):
          <fpage>395</fpage>
          -
          <lpage>400</lpage>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Fariba</given-names>
            <surname>Sadri</surname>
          </string-name>
          .
          <article-title>Ambient intelligence: A survey</article-title>
          .
          <source>ACM Comput. Surv.</source>
          ,
          <volume>43</volume>
          (
          <issue>4</issue>
          ):
          <volume>36</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>36</lpage>
          :
          <fpage>66</fpage>
          ,
          <year>October 2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J. Ottino J.</given-names>
            <surname>Guckenheimer</surname>
          </string-name>
          .
          <article-title>Foundations for complex systems research in the physical sciences and engineering</article-title>
          .
          <source>Technical report, Report from an NSF Workshop</source>
          , September,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Diane</surname>
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Cook</surname>
          </string-name>
          , Michael Youngblood,
          <string-name>
            <surname>III Edwin O. Heierman</surname>
            , Karthik Gopalratnam, Sira Rao,
            <given-names>Andrey</given-names>
          </string-name>
          <string-name>
            <surname>Litvin</surname>
            , and
            <given-names>Farhan</given-names>
          </string-name>
          <string-name>
            <surname>Khawaja</surname>
          </string-name>
          .
          <article-title>Mavhome: An agent-based smart home</article-title>
          .
          <source>Pervasive Computing and Communications</source>
          , IEEE International Conference on,
          <volume>0</volume>
          :
          <fpage>521</fpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Magnus</given-names>
            <surname>Boman</surname>
          </string-name>
          , Paul Davidsson, Nikolaos Skarmeas, Keith Clark, and
          <string-name>
            <given-names>Rune</given-names>
            <surname>Gustavsson</surname>
          </string-name>
          .
          <article-title>Energy saving and added customer value in intelligent buildings</article-title>
          ,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Paul</given-names>
            <surname>Davidsson</surname>
          </string-name>
          and
          <string-name>
            <given-names>Magnus</given-names>
            <surname>Boman</surname>
          </string-name>
          .
          <article-title>Saving energy and providing value added services in intelligent buildings: A mas approach</article-title>
          .
          <source>In Agent Systems, Mobile Agents, and Applications</source>
          , LNCS, pages
          <fpage>166</fpage>
          -
          <lpage>177</lpage>
          . Springer-Verlag,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Bing</surname>
            <given-names>Qiao</given-names>
          </string-name>
          , Kecheng Liu, and
          <string-name>
            <given-names>Chris</given-names>
            <surname>Guy</surname>
          </string-name>
          .
          <article-title>A multi-agent system for building control</article-title>
          .
          <source>In Proceedings of the IEEE/WIC/ACM international conference on Intelligent Agent Technology, IAT '06</source>
          , pages
          <fpage>653</fpage>
          -
          <lpage>659</lpage>
          , Washington, DC, USA,
          <year>2006</year>
          . IEEE Computer Society.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>Alain</given-names>
            <surname>Schfer Ueli Rutishauser</surname>
          </string-name>
          .
          <article-title>Adaptive building automation - a multi-agent approach</article-title>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Huaglory</given-names>
            <surname>Tianfield</surname>
          </string-name>
          .
          <article-title>A study on the multi-agent approach to large complex systems</article-title>
          . In Vasile Palade, Robert Howlett, and Lakhmi Jain, editors,
          <source>KnowledgeBased Intelligent Information and Engineering Systems</source>
          , volume
          <volume>2773</volume>
          of Lecture Notes in Computer Science, pages
          <fpage>438</fpage>
          -
          <lpage>444</lpage>
          . Springer-Verlag.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Patrick</given-names>
            <surname>Br</surname>
          </string-name>
          <article-title>´ezillon. Context in problem solving: a survey</article-title>
          .
          <source>Knowl. Eng. Rev.</source>
          ,
          <volume>14</volume>
          (
          <issue>1</issue>
          ):
          <fpage>47</fpage>
          -
          <lpage>80</lpage>
          , May
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Richmond</surname>
            <given-names>H</given-names>
          </string-name>
          <string-name>
            <surname>Thomason</surname>
          </string-name>
          .
          <article-title>Representing and reasoning with context</article-title>
          .
          <source>In Arti cial Intelligence and Symbolic Computation Proceedings of the International Conference AISC98</source>
          , Plattsburgh New York,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>John</surname>
            <given-names>McCarthy and Sasa</given-names>
          </string-name>
          <string-name>
            <surname>Buvac</surname>
          </string-name>
          .
          <source>Formalizing context (expanded notes)</source>
          .
          <source>Technical report</source>
          , Stanford, CA, USA,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>Marius</given-names>
            <surname>Mikalsen</surname>
          </string-name>
          and
          <string-name>
            <given-names>Anders</given-names>
            <surname>Kofod-Petersen</surname>
          </string-name>
          .
          <article-title>Representing and reasoning about context in a mobile environment</article-title>
          . REVUE
          <string-name>
            <surname>D'INTELLIGENCE ARTIFICIELLE (</surname>
            <given-names>RIA</given-names>
          </string-name>
          ,
          <volume>19</volume>
          :
          <fpage>479</fpage>
          -
          <lpage>498</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Avelino</surname>
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Gonzalez</surname>
            , Brian S. Stensrud, and
            <given-names>Gilbert</given-names>
          </string-name>
          <string-name>
            <surname>Barrett</surname>
          </string-name>
          .
          <article-title>Formalizing contextbased reasoning: A modeling paradigm for representing tactical human behavior</article-title>
          .
          <source>Int. J. Intell. Syst.</source>
          ,
          <volume>23</volume>
          (
          <issue>7</issue>
          ):
          <fpage>822</fpage>
          -
          <lpage>847</lpage>
          ,
          <year>July 2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>John</given-names>
            <surname>Mccarthy</surname>
          </string-name>
          and
          <string-name>
            <surname>Patrick J. Hayes.</surname>
          </string-name>
          <article-title>Some philosophical problems from the standpoint of artificial intelligence</article-title>
          .
          <source>In Machine Intelligence</source>
          , pages
          <fpage>463</fpage>
          -
          <lpage>502</lpage>
          . Edinburgh University Press,
          <year>1969</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>