Next Article in Journal
Comparison of Microstrip W-Band Detectors Based on Zero Bias Schottky-Diodes
Next Article in Special Issue
Smart Public Lighting Control and Measurement System Using LoRa Network
Previous Article in Journal
CMOS RF Transmitters with On-Chip Antenna for Passive RFID and IoT Nodes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

ComfOnt: A Semantic Framework for Indoor Comfort and Energy Saving In Smart Homes

1
Institute of Intelligent Industrial Technologies and Systems for Advanced Manufacturing, National Research Council, Via Previati 1/E, 23900 Lecco, Italy
2
Department of Pure and Applied Sciences, Insubria University, Via Ottorino Rossi 9, 21100 Varese, Italy
*
Author to whom correspondence should be addressed.
Electronics 2019, 8(12), 1449; https://doi.org/10.3390/electronics8121449
Submission received: 30 October 2019 / Revised: 23 November 2019 / Accepted: 26 November 2019 / Published: 1 December 2019
(This article belongs to the Special Issue IoT and Its Applications in Electric Energy Systems)

Abstract

:
This work introduces ComfOnt, a semantic framework developed within the context of ambient assisted living, context awareness, and ambient intelligence Italian research projects. ComfOnt leverages knowledge regarding Smart Home inhabitants and their particular needs, the devices deployed inside the domestic environment (appliances, sensors, and actuators), the amount of their energy consumption, and indoor comfort metrics to provide dwellers with customized services. Developed reusing widely adopted ontologies, ComfOnt aims at providing inhabitants with the possibility of having personalized indoor comfort in their living environments and at helping them in scheduling their daily activities requiring appliances; in fact, the proposed semantic framework enables the representation of appliances’ energy consumption and the energy profile of the Smart Home, thus assisting the dwellers in avoiding power cuts and fostering energy savings. ComfOnt serves as a knowledge base for a prototypical application (DECAM) dedicated to Smart Home inhabitants; the architecture and the functionalities of DECAM are here presented.

1. Introduction

In the last decades research regarding the Smart Home (SH) has widely increased. An SH is a residence equipped with various devices controllable via mobile devices with the aim of easing domestic activities, improving indoor comfort, enhancing safety, and fostering energy saving [1]. This type of residence must be able to adapt its services to meet inhabitants’ expectations, needs, and desires and relies on networks of sensors and actuators to deliver its services. In order to be able to adapt its services, an SH acquires data regarding indoor comfort, inhabitants’ activities, preferences and, if necessary, health statuses. Inside the SH, a set of distributed devices cooperates to collect, share and re-elaborate data to perform different tasks, thus enabling the Internet of Things (IoT) paradigm. All the pieces of information regarding sensors’ measurements, devices’ statuses, inhabitants’ activities and needs must be made available to all the devices (and the dwellers) to enable an IoT architecture [2] aimed at providing a more comfortable domestic environment. This goal can be achieved using ontologies, i.e., shared and explicit conceptualizations of the knowledge and of the relationships of the concepts composing a domain [3], which represent a promising approach for managing information deriving from different sources and for enhancing interoperability among devices. Moreover, ontologies can enable Semantic Web reasoning processes to discover new chunks of information—inferred from those modeled in the knowledge base—thus enriching the ontologies themselves with new inferred facts.
Although research in the fields of SH, ambient assisted living (AAL), ambient intelligence (AmI), context awareness (CA), and IoT leveraging semantic formalization of knowledge has acquired a growing importance in the last years, only a few works dedicated to the SH tackled the issue of modeling indoor comfort metrics. This work aims at contributing to the field of domain ontologies dedicated to the representation of knowledge necessary to customize services within an SH, including comfort metrics leveraging on already existing models. The proposed set of domain ontologies arises from the experiences of three Italian research projects funded by the Lombardy Region: i-Zeb, Future Homes for Future Communities (FHfFC), and CasAware. i-Zeb [4] is a project aimed at researching and investigating the use of innovative building materials and technological solutions to foster the implementation of Nearly Zero-Energy Buildings. FHfFC [5] focuses on deploying a semantic architecture to enable a set of assistive services aimed at improving inhabitants’ daily lives; the services are addressed to an ageing population and encompass a wide range of fields, such as indoor comfort, device interoperability, and domestic rehabilitation. CasAware [6,7] leverages ontological representation of domestic appliances and their energy consumption to foster energy saving behavior, help the dwellers to better schedule their operations with appliances, and avoid domestic power cuts.
The set of domain ontologies developed within these three projects—named ComfOnt—allows the formalization of some fundamental indoor comfort metrics, including Italian regulations and laws, and knowledge regarding sensors, actuators, and measurements; ComfOnt can be adopted to describe environmental conditions within the SH and to trigger comfort actuation after detecting an unsafe or uncomfortable situation, exploiting the results deriving from reasoning processes. Moreover, ComfOnt can foster the adoption of energy saving behaviors and support dwellers in scheduling domestic activities involving appliances. The ComfOnt knowledge base acts as the backbone of a prototypical decision support system (DSS) to help SH inhabitants in managing their indoor comfort and energy consumption.
The remainder of this work is organized as follows: Section 2 highlights some of the research devoted to formalizing and using ontologies to model indoor comfort conditions, sensors, actuators, and appliances in AAL, AmI, and CA contexts. Section 3 introduces the ComfOnt ontology, deepening the engineering methodology adopted and delving into the description of the model developed. Section 4 describes the architecture of a prototypical application using ComfOnt, the Domestic Environment Comfort and Appliances Manager (DECAM) and proposes some use cases focusing on different aspects to showcase DECAM’s functionalities. Finally, the Conclusions summarize the main outcomes of this paper and sketch the future directions of this research.

2. Related Work

Research on comfort has acquired a growing importance in the past years in the contexts of the SH and CA, AmI, and AAL systems. Along with these research fields, ontologies have been exploited as a means to provide a shareable and formal conceptualization of a variety of domains of knowledge that are related to the SH or its components. However, only a few works tackled the issue of providing a reusable model of indoor comfort metrics, focusing mostly on the description of concepts related to energy consumption and saving [8,9], device descriptions [10,11], human activities within the SH [12], and interoperability among various devices [13,14].
Gâteau et al. [15] proposed an IoT system for personal comfort management; in this work, comfort representation with ontologies was addressed relying to classes deriving from the DogOnt ontology [16] and Semantic Sensor Network (SSN) ontology [17]. A similar approach was adopted in [18], where an indoor environmental comfort system takes advantage of a context domain ontology that formalizes concepts for the description of sensors and actuators; comfort metrics are not explicitly modeled in this work, although contextual data are acquired and re-elaborated using semantic rules. Air quality is addressed in [19], where an ontology formalizing some of the knowledge of the standard ISO 7730:2005 is proposed. Some comfort-related concepts are modeled in BOnSAI [20], an ontology developed to foster the incorporation of AmI in smart buildings; though the semantic model is dedicated to describe devices’ functionalities, services, and hardware, it encompasses also some contextual concepts that represent comfort and users. Similarly, ThinkHome [21] is a semantic model developed to represent the whole SH ecosystem, thus including also some concepts related to comfort. Ploennings et al. [22] provided a semantic model for the representation of thermal comfort, within a semantic framework aimed at automatized approaches for modeling cyber-physical systems. In [23] the authors tackled the modeling of some indoor comfort metrics by reusing some reference models to enable customization of comfort in cruise cabins; the ontology is here adopted as a backbone for an IoT framework aimed at monitoring and enhancing the cruise experience.
Semantic Web technologies are exploited in a variety of works in the fields of AAL, AmI, CA, and IoT systems to different extents. Ontology modeling is adopted as a means to build a shareable vocabulary among the different actors operating in the SH, such as sensors, actuators, inhabitants. In [24] an ontology for context modeling is used to facilitate explicit context representation and to allow services to share contextual information, as well as inferring new pieces of information through reasoning processes. Abdulrazak et al. [25] presented a novel ontology to describe contexts in smart spaces; although the ontology does not provide concepts for comfort description, it encompasses several representations of the actors that operate within a smart environment, with a focus on beings—a concept including both physical and non-physical entities. Fensel et al. [26] referred to an ontology for developing an SH system software capable of managing energy within a domestic environment, by exploiting semantic data. Ontologies are also used in [27] to provide an energy management software system with a multitude of different parameters and facilities. Energy efficiency is a widely debated topic in IoT research: Kibria et al. [28] relied on ontologies to develop cross-domain applications aimed at simplifying the maintenance of an SH, including the management of energy consumption; the proposed approach relies on a domain ontology developed from scratch and allowing to represent some appliances and comfort conditions. Modeling energy profiles in an ontology allowed Brizzi et al. [29] to rely on a vocabulary for the description of energy consumption; the developed semantic models are exploited by a CA service framework capable of managing sensor data and events and of exploiting reasoned data about energy savings.
One of the most relevant topics in AAL, CA, and AmI applications is the user, i.e., the inhabitant. Ontologies allow formal representations of the inhabitants under different points of view. Casas et al. [30] proposed a user-modeling methodology based on personas, i.e., archetypical representations of real individuals that can help designers in being aware of the information that can impact on the design of an AAL or AmI system; this approach has proven to be useful also when it comes to modeling ontologies that take into account inhabitants [31]. To overcome the problem of a static definition of the users, Castillejo, et al. [32] introduced the concept of dynamic capabilities, which takes into account a user, his/her specific needs, and the characteristics of the context in which he/she operates. In this regard, the SH needs to encompass also dwellers’ data regarding their needs and health conditions, and ontologies can provide the means to formalize this non-static information. In [31,33], semantic representations of people’s health conditions are used to trigger environmental adaptations, so that the environment is able to meet its occupants’ needs. Following a different approach, Heckmann et al. [34] revisited the General User Model Ontology (GUMO) [35], taking into account Web 2.0, thus enriching it with tags and folksonomies provided by user-generated contents on the Web.
It is worth noticing that contextual information may carry uncertain and vague data; addressing this issue from an ontological point of view can lead to a more precise inference process. The possibility to semantically model uncertain and vague information has been widely addressed in literature [36], and many extensions of semantic modeling languages have been described (such as BayesOWL [37], which translates ontologies into Bayesian networks to capture partial, uncertain, and incomplete chunks of knowledge, and PR-OWL [38], an extension of the ontological language based on Multi-Entity Bayesian Networks combining the possibilities offered by semantic representation with the inferential power of Bayesian logic). In [39], the authors addressed the problem of uncertain and vague contextual information by relying on AMBI2ONT, an ontology that models the ambiguity of smart environments by adopting a semantic context management system able to process uncertain and vague data; the described model can provide a more detailed picture of the state of an environment while ascertaining the quality of data gathered by sensors.
ComfOnt focuses on providing a shareable and formal representation of indoor comfort metrics based on national (Italian) and international standards. Differing from the users’ modeling approaches depicted above, ComfOnt takes into account the inhabitant’s health condition (using a World Health Organization standard classification), which modifies over time and requires clinical personnel to periodically update it. ComfOnt and DECAM’s system are conceived to be least intrusive as possible, considering that the primary target of this application is elderlies (who may not be tech-savvy) and people characterized by different impairments (often associated with aging processes). In fact, according to several sources there exist barriers that can jeopardize the adoption of technological solutions in AAL, CA, and AmI fields, such as the user-friendliness of devices [40,41], the unfamiliarity with technological devices [41], and users’ concerns regarding social stigmatization; Balta-Ozkan et al. [42] highlighted how elderlies may struggle to adopt this technology in cases where the user-friendliness and simplicity of the devices are not evident. ComfOnt also encompasses the formalization of household appliances, energy consumption, and dwellers’ health conditions, as well as rules to actuate service customization within the SH. The presented ontology can thus be used as the backbone of a DSS to foster energy savings and to assist dwellers in scheduling the activities involving appliances in their homes.

3. ComfOnt Ontology

This section delves into the description of ComfOnt, starting with the engineering methodologies, the models already existing that were reused, and the possible alignments that can be produced from ComfOnt to other reference domain ontologies.

3.1. Ontology Engineering Methodology and Specification

ComfOnt was developed following the principles and guidelines described in the NeOn Methodology [43]. This ontology engineering methodology provides the means to identify and guide in the choice of both ontological and non-ontological resources that can be reused to develop new semantic models; the NeOn Methodology illustrates nine scenarios that may occur during the development of a new ontology, considering the reuse of existing resources, the adoption of ontology design patterns already known in literature and in practice, the identification of non-ontological resources (such as thesauri, classifications, schemes, etc.) that could be converted into semantic models, the merger of two or more resources. The NeOn Methodology is also useful to determine whether to include or exclude some concepts from the ontology to be developed.
The ontologies identified with this methodology and reused for the development of ComfOnt are the following:
  • Semantic Sensor Network (SSN) [17]: This ontology was developed by the World Wide Web Consortium (W3C) and allows description of the sensors in terms of their capabilities, performed measurements, observations and deployments; its concepts are organized in ten modules and inherit some concepts and properties from the DOLCE+DnS Ultralite upper ontology [44]. SSN is a widely adopted ontology in CA, AmI, IoT, and AAL projects involving semantic representation and annotation of sensors, actuators, and their observations. A lightweight ontology part of SSN is Sensor, Observation, Sample and Actuator (SOSA), which consists of classes and properties to describe both sensors and actuators and the measurements they perform (observations) [45].
  • Smart Appliance REFerence (SAREF) [46]: This ontology is the result of a European research project and was developed leveraging the knowledge of domain experts. It provides the concepts and relationships for the description of devices, their functions, and the commands to activate them. SAREF also encompasses concepts and properties to describe the energy profile of a device. This model aims at covering the domains of domestic devices (white and brown goods, HVAC systems, sensors) and encompasses the representation of some units of measurement. SAREF can be adopted in the description of IoT systems and some of its concepts and relationships converge with those modeled in SSN [47].
  • International Classification of Functioning, Disability and Health (ICF) ontology: This World Health Organization classification allows formalization of the health condition of an individual using a worldwide standard model for the functional description of an individual; the ICF enables the description of the functioning of an individual and was originally developed to foster the cooperation among health stakeholders (physicians, caregivers, therapists, etc.). The classification is organized in four main components (body functions indicated with the letter b, body structures indicated with the letter s, activity and participation indicated with the letter d, and environmental factors, indicated with the letter e), each of which can be further deepened into domains to identify the kind of problem addressed. According to the number of digits following the component, it is possible to get a category (a code in the form of cXXX.q) whose length indicates the level of granularity in the description of the health issue, up to five digits. For each category, a qualifier (ranging from 0 being no impairment to 4 being complete impairment) specifies the magnitude of the disability described. The ICF has been formalized into an ontology [48].
  • Friend of a Friend (FOAF) vocabulary [49]: This widely adopted vocabulary allows for the description of people’s personal data (name, surname, contacts, etc.).
  • Time Ontology (2017 version) [50]: a W3C-endorsed ontology specifically developed to provide description of temporal concepts, which can be used to represent time intervals in order to properly model the durations of an appliance usage.
Also, following the NeOn Methodology, some European and national regulations have been found for indoor comfort management. These regulations can be partially formalized to describe comfort-related phenomena that may happen inside an indoor environment.
The regulations adopted for ComfOnt are the following:
  • The Italian Decree 412 (1993) [51], setting the thresholds for indoor heating;
  • The EN 12464-1 (2002) [52], indicating the minimum acceptable indoor illuminance values for indoor activities;
  • The Italian National Plan of Prevention for the safeguard and promotion of health in confined spaces (2002) [53], providing indications on the air quality inside domestic environments.
The ontology needs also to take into account appliances’ energy consumption, therefore (following the approach described in [54]) to model these pieces of information, data regarding the average energy consumed (in watts) and the average amount of time of use for each appliance were gathered recurring to an online resource, the Energy Use Calculator [55]; this website provides information for each type of appliance (brown goods, e.g., irons, televisions, computers; and white goods, e.g., dishwashers, refrigerators, washing machines). Moreover, the dweller’s energy rate plan must also be modeled in order to know when it is more convenient to plan an intensive use of the appliances; ComfOnt relies on an example of an energy rate plan that is composed of three different tariffs: from Mondays to Fridays, in the interval between 08:00:00 and 19:00:00 the energy cost is 0.091 euro/kWh (T1); for the same days, in the interval between 19:00:01 and 07:59:59 the energy cost amounts to 0.083 euro/kWh (T2); during Saturdays and Sundays the energy cost is 0.081 euro/kWh (T3). The maximum electric meter load for a dweller’s domestic environment is estimated at 3.3 kWh.
The domains of knowledge discovered using the NeOn Methodology allow identification of four main modules in which ComfOnt can be ideally organized; the components of these modules are represented by the ontologies (or their parts) to be reused and they interact with each other. The following Figure 1 provides a schematic representation of the modular architecture of ComfOnt.
ComfOnt was developed using the Protégé ontology editor [56] (version 5.2) and adopting the W3C-endorsed languages Resource Description Framework (RDF) [57,58] with the Semantic Web Rule Language (SWRL) [59] for rules.

3.2. The ComfOnt Ontology

The following paragraphs delve into the description of ComfOnt’s modules, highlighting the most relevant ontology design patterns (ODPs) [60] adopted.

3.2.1. Inhabitants’ Module

Each dweller is identified by his/her own personal data, such as name, surname, address, tax identification number (to avoid issues related to homonymy), date of birth, age (expressed in years), phone number(s) and email address; all of these features are described recurring to FOAF.
Following an ODP described in [31,33], each dweller is assigned to his/her health condition, which is detailed recurring to the ICF ontology. Figure 2 provides a graphical representation of a 68-year-old dweller and his health condition, which is characterized by a severe impairment in light sensitivity (b21020) and a moderate impairment in sustaining attention (b1400).
Each dweller is also linked to the energy rate plan he/she is currently adopting for his/her house. The description of the plan is simple and reuses the Time Ontology to describe temporal intervals corresponding to the three different tariffs. Each day of the week (from Monday to Friday) is split in three time:ProperInterval individuals: two intervals in which T2 is active (the first interval characterized by the property time:hasBeginning for a time:Instant positioned in time:inXSDDateTimeStamp YYYY-MM-DDT00:00:01Z, and by the property time:hasEnd for a time:Instant positioned in YYYY-MM-DDT07:59:59Z; the second interval characterized by the property time:hasBeginning for a time:Instant positioned in YYYY-MM-DDT19:00:01Z, and a property time:hasEnd for a time:Instant positioned in YYYY-MM-DDT23:59:59Z) and one for T1 (characterized by time:hasBeginning for a time:Instant positioned in YYYY-MM-DDT08:00:00Z, and time:hasEnd for a time:Instant positioned in YYYY-MM-DDT19:00:00Z). Weekend days, characterized by the same tariff T3 for their entire duration, are described as two one-day-long intervals.

3.2.2. Devices and Domestic Environment Modules

The modeling of a device relies on SAREF and SOSA. The two ontologies have many classes and properties describing the same concepts and relationships (for instance, the pairs sosa:Actuator and saref:Actuator, sosa:Sensor and saref:Sensor describe the same concepts) and, therefore, the models are partially overlapping.
The adoption of these two ontologies enables on the one hand the description of appliances, sensors, and actuators and, on the other hand, it provides the means to describe the measurements performed by sensors. Since SAREF encompasses some individuals representing common units of measurement (such as lux, degree Celsius, kilowatt hour, etc.) the description of the measurements involves both datatype and object properties.
To describe the average energy consumption of an appliance, ComfOnt relies on both SAREF and ad hoc developed properties. The average energy consumes and the average daily time of usage for some domestic appliances were estimated recurring to an online resource; the following Table 1 summarizes the list of appliances modeled in the Devices module of ComfOnt.
Each appliance is associated with its saref:Profile, which enables the representation of energy consumption, and with an average time of use, which is defined by a time:ProperInterval that can be characterized by the properties time:hasBeginning and time:hasEnd, and is also defined by a time:hasTemporalDuration property, adopted to express the time:TemporalDuration of the interval. Figure 3 provides an example of a household appliance modeling.
In order to represent the domestic environment in which devices are deployed and dwellers live, ComfOnt relies on a simple representation of the rooms of the house; in its prototype version, ComfOnt only encompasses four classes and four individuals for the representation of the kitchen, the living room, the bedroom, and the balcony.

3.2.3. Comfort Module

With regard to the description of the comfort metrics and the dweller’s individual preferences, ComfOnt relies on a domain ontology developed from scratch and that partially overlaps with some of SAREF’s concepts. This simple ontology, whose prefix is comf:, allows the formalization of comfort metrics (i.e., the physical magnitudes) within the class comf:ComfortMetrics (≡saref:Property). ComfOnt enables the modeling of four comfort metrics that can be measured by sensors and customized by dwellers: indoor illuminance, indoor CO2 concentration (for which the unit of measurement comf:ppm has been created), indoor temperature, and humidity rate. However, following the same ODP, other relevant comfort metrics (such as acoustic comfort metrics) can be added, as well, in order to enhance the description of the inhabitants’ environment.
Each of these comfort metrics is represented as a concept in the ontology and dweller-based specific values for each metric can be specified. For each dweller it is possible to describe an individual belonging to the class comf:CustomizedComfort_Settings, which is further detailed by some individuals belonging to the class comf:Specification (and its detailed subclasses, such as comf:IndoorIlluminance_Specs), as exemplified in the following excerpt in Manchester OWL syntax [61]:
Individual: comf:Karlo_CS 
Types: 
   comf:CustomizedComfortSetting 
Facts: 
  comf:specifiesIlluminanceValues comf:Karlo_Illuminance_Specs 
 
Individual: comf:Karlo_Illuminance_Specs 
Types: 
   comf:IndoorIlluminanceSpecs 
Facts: 
  comf:MAX_IlluminanceValue "750"^^xsd:int, 
  comf:MIN_IlluminanceValue "350"^^xsd:int. 
These comfort specifications are intended for a person with vision-related impairments, such as the inhabitant described in Figure 2; since Basil Karlo suffers from hyposensitivity to light, he can benefit from a domestic environment with a higher level of illuminance; therefore, his minimum indoor illuminance is set to 350 lux and can reach a maximum of 750 lux. In a similar way, and recurring to modeling time intervals, it is possible to represent customized comfort values for indoor temperature (with a minimum and a maximum temperature for both spring–summer and fall–winter seasons), humidity rate, and CO2 concentration.
It is worth noticing that in any case comfort ranges for each metric must be set according to national and European laws and regulations regarding heating [51], indoor illuminance [52], and air quality in domestic environments [53]. ComfOnt resorts to restrictions on the values of the datatype properties defining a customized comfort setting to allow a reasoner to automatically classify a customized indoor comfort setting as within the legally acceptable ranges or not; for instance, a customized comfort specification with a maximum indoor CO2 concentration of 2351 ppm (when [53] sets the tolerance limit to 1000 ppm for indoor domestic environments) falls under the comf:UnacceptableIndoorCO2Specs, since this class is defined as:
Class: comf:Unacceptable_CO2_CS 
EquivalentTo: 
  comf:CustomizedComfortSettings and comf:MAX_CO2Conc_level only xsd:decimal[> 1000.0]. 
Considering that ComfOnt (and the DECAM application discussed in Sect. 4) deals with inhabitants that may be characterized by disabilities or may need specific comfort metrics to overcome limitations connected with their health conditions, the proposed ontology relies on existing ODPs to model comfort metrics; ComfOnt’s aim does not involve the calculation of the best indoor temperature, CO2 concentration, humidity rate, or illuminance according to an individual’s characterization. In fact, ComfOnt’s indoor comfort metrics description is limited to what regulations have set as minimum and maximum thresholds for indoor temperature, CO2 concentration, and illuminance; as the setting of specific indoor comfort values can impact the health of the inhabitants (especially those characterized by visual, heart-related, and respiratory impairments), this task is up to the caregiver and clinical personnel, who can better advise on this matter with the aim of safeguarding the inhabitant’s health.

3.2.4. Sets of Rules

ComfOnt is completed with sets of rules modeled with SWRL to trigger personalized comfort actuation. With regard to the dweller modeled in Figure 1, the following SWRL rule suggests he activate the lamp whenever he is in a room with an inadequate indoor illuminance (due to a lack of natural light):
Person(?d), isInHealthCondition(?d, ?hc), HealthCondition (?hc), isDescribedBy (?hc, ?des), HC_Descriptor(?des), involvesICFCode (?des, b2102), Quality_of_vision (b2102), hasQualifier (?des, ?q), greaterThanOrEqual (?q, 2), isLocatedInRoom (?p, ?r), Room(?r), Lighting device (?light), isLocatedIn (?light, ?r), IndoorIlluminanceSpecs (?ill), MIN_IlluminanceValue (?ill, ?x), ExternalIlluminance (?exill), hasMeasurementValue(?exill, ?m), lessThan (?m, ?x) -> setsLighting (?light, ?ill) 
This rule takes into account both the dweller’s health condition and customized comfort settings that have been modeled to help him to overcome his impairments.
Similarly, the following rule suggests turning the air-conditioning system on when the indoor temperature exceeds an inhabitant’s tolerance (defined in his/her customized comfort settings):
Person(?d), isLocatedInRoom (?p, ?r), Room(?r), Thermometer(?t), isLocatedIn (?t, ?r), measures (?t, ?temp), IndoorTemperatureMeasurement(?temp), hasSimpleResult (?temp, ?x), greaterThan (?x, ?y), IndoorTemperatureSpecs (?costumTemp), preferredSummerTemperature (?costumTemp, ?y) AirConditioningSystem(?ac) -> setsIndoorTemperature (?ac, ?y) 
Rules can also be used to model the time intervals during which appliances are being used and to calculate the total amount of energy that is being consumed by them. As seen in Section 3.2.2, the average time of use for each appliance has been modeled as a duration (expressed in hours) and as a time interval, which starts and ends in two different time instants. Therefore, two appliances being used at the same time means their durations are—at least partially—overlapping. For the duration of the overlap, the two appliances are accounted for consuming the amount of energy specified by the com_dev:averageConsume_kWh datatype property.
The total amount of energy being consumed in a specific time interval is obtained by summing the com_dev:averageConsume_kWh of all the appliances that are running in the same instant (the state of an appliance can be modeled recurring to saref:On_off_state and its subclasses). The following SWRL rule summarizes the situation described above, recurring also to a relationship modeled in the Time Ontology and to SWRL built-ins:
Device(?d1), Device(?d2), averageTimeUse(?d1, ?use1), averageTimeUse(?d2, ?use2), hasBeginning(?use1, ?b1), hasEnd(?use1, ?e1), averageConsume_kWh(?d1, ?x), hasBeginning(?use2, ?b2), hasEnd(?use2, ?e2), averageConsume_kWh(?d2, ?y), lessThanOrEqual(?b1, ?b2), greaterThanOrEqual(?e1, ?e2), GeneralSituation(?sit), involvesAppl(?sit, ?d), add(?tot, ?x, ?y) -> interval_during(?use2, ?use1), totalAverageConsume_kWh(?sit, ?tot). 
Whenever the total amount of energy being consumed in a specific time interval exceeds the maximum electric meter load (which is set to 3.3 kWh), the individual representing this situation (i.e., the total amount of energy being consumed and the list of appliances whose state is saref:OnState) is classified as com_dev:PowerCutRisk. In order to get the values of the end instants, the DECAM application using ComfOnt (described in the following Section 4) performs the end time calculation.

3.3. ComfOnt Possible Mappings with Other Relevant Ontologies in the Domains of Interest

Using the NeOn Methodology, it was possible to identify previously developed ontologies that have been reused to develop ComfOnt. The ComfOnt ontology can therefore rely on solid, widely adopted and evaluated existing semantic models. However, there exist several domain ontologies dedicated to the representation of knowledge in the fields covered by ComfOnt and conceptual heterogeneity [62], which can be defined as the set of differences standing between two ontologies that describe the same domain of interest, and which is one of the problems to overcome in order to achieve a complete mapping between ComfOnt and other models.
In the field of smart appliances and energy consumption of devices, ComfOnt relies on the mappings that already exist for the SAREF and SSN ontologies. In particular, exploiting SAREF allows ComfOnt to rely also on SAREF’s extension SAREF4ENER, a semantic model focusing on demand–response scenarios for indoor device energy management [63]. ComfOnt can also be mapped with other ontologies describing the energy consumption within domestic environments, such as Monergy [64] and the Foundation for Intelligent Physical Agents (FIPA) [65] model; these ontologies rely on a conceptual hierarchy similar to SAREF and, therefore, can be matched with ComfOnt’s description of the devices.
The adoption of ICF as the ontology for the description of the dweller’s health conditions allows completion of the person’s description with the International Classification of Diseases (ICD) [66], thus fostering the description of people characterized by specific health-related problems; the tenth version of the ICD has also been formalized in an Unified Medical Language System (UMLS) ontology [67].
As described in Section 3.2, with regard to the description of the indoor environments composing the dweller’s house, ComfOnt relies on a simplistic description of the spaces. This simple model can potentially be matched with many of the ontologies that were developed with the specific aim of providing a formalization of the house and its features. In this field, SmartENV [68], a network of ontologies for the conceptualization of smart environments; DogOnt [16], a model able to provide the means to represent how a domestic environment is composed (including architectural elements and pieces of furniture); and DomoML-env [69], an ontology for the description of the interactions between humans and the house, are some examples of ontologies that can be aligned with ComfOnt.

4. Domestic Environment Comfort and Appliances Manager Prototype Application and Use Cases

In this section the architecture of an application called DECAM, i.e., Domestic Environment Comfort and Appliances Manager, its functionalities, and its relationship with ComfOnt are presented. DECAM is developed to help inhabitants to manage indoor comfort metrics and household appliances via a graphical user interface (GUI) designed and implemented to let the users interact with the whole system while hiding the most complex aspects, such as the underlying ontology, from the end users. ComfOnt is hosted on a semantic repository, a triplestore that can be used to retrieve and modify RDF and OWL triples via the SPARQL [70] query language.
The remainder of this Section showcases the functionalities of DECAM, as well as the role of ComfOnt in plausible use cases involving the target users, i.e., persons characterized by impairments and elderlies.

4.1. Application Architecture

DECAM is developed exploiting the Java programming language Standard Edition (SE) and JavaFX libraries for cross-platform user interface, to let the users interact with the system via a simple interface. This program is implemented to access the semantic repository, retrieve the information, and update ComfOnt if needed. DECAM is designed to be a standalone application, able to be easily installed and implemented on different houses, however it needs an implementation phase in which the operator installs and deploys all the software and hardware equipment in place. The target house must be equipped with a set of smart nodes such as sensors and actuators to enable the exchange of data and information between the physical environment and DECAM framework. These smart nodes are the microcontroller-enabled devices, namely sensors and actuators to detect, measure, and transmit the data about a specific environmental condition, as well as triggering the physical environment.
The following is the list of sensors deployed in the target house:
  • AM2320 Digital Temperature and Humidity Sensor,
  • TSL2561 Digital Luminosity/Lux/Light Sensor,
  • 3709 Adafruit SGP30 Air Quality Sensor Breakout for VOC and eCO2.
The process of exchanging the data takes place exploiting embedded ZigBee-based IoT gateways mounted on the Raspberry Pi device as a central computing device. ZigBee is a low-power wireless network protocol based on the IEEE 802.15.4 standard.
In order to help the inhabitants in managing and conserving electric power in a more efficient way and managing indoor comfort, the ability to access, manipulate, and exchange information over the semantically modeled data is essential. ComfOnt is hosted on an instance of the Stardog triplestore [71], a semantic repository that enables semantic reasoning with OWL, is capable of managing rules in the SWRL format, and can export inferred data in various formats.
DECAM must be able to access the semantic repository and retrieve the information regarding the domestic appliances, the power they need to consume, the time they need to operate, and the current status of the appliance, leveraging the information modeled into the knowledge base.
In addition to retrieving the information—as mentioned in Section 3.2—the application needs to calculate the time efficiently to detect the overlapping time between the concurrent appliances running at the same time and the ending time of each appliance according to its duration modeled in the ontology. Although SWRL foresees a set of temporal built-ins, the majority of the of reasoners do not process most of them. Moreover, SWRL temporal operators work at very low level and there are no standard high-level mechanisms to reason with temporal information in a smooth and coherent manner [72].
Therefore, the system relies on the application to perform the time-related calculations. However, OWL is based on the open-world assumption (OWA) and one of the consequences of the adoption of OWA is the impossibility for description logic (DL)-based reasoners to infer new pieces of information due to the incompleteness of the information modeled in a semantic model [73]. Moreover, due to the monotonic nature of description logic (DL) reasoning, the modification of asserted information is a task that DL-based reasoners cannot perform [73]. To overcome these limitations, DECAM is implemented to support the users in power consumption management while overcoming the technological barriers effectively; this can be done by adopting SPARQL query language, which allows the system to modify the asserted triples and to insert new triples
The application also encompasses a simple GUI illustrating different domestic appliances within any average house (Figure 4). This application is designed to be simple and intuitive to be used by diverse groups of people including the elderly and people afflicted by disabilities.
Any time the dweller wants to turn on an appliance, he/she can reveal his/her intention to the application by clicking on the proper button (i.e., an icon representing the appliance). Once the user taps on any appliance, the application generates a proper SPARQL SELECT query to retrieve information about that specific appliance from the semantic repository. The information fetched from the knowledge base includes the appliances, their average power consumption, their average time of use, and the energy rates. Whenever an inhabitant wants to start an appliance, the application performs the steps illustrated in Figure 5.
When the activation of an appliance is safe, i.e., it does not result in the risk of power cut, the average time of use (which is represented as a time:TemporalDuration in ComfOnt) is converted and summed to the time instant in which the dweller wants the appliance to be turned on, so that it is possible to calculate the instant in which the appliance will be turned off; the time required for the appliance to finish its task is then fetched and displayed to the user via the application. Whether the activation of an appliance may result in a power cut or not is a piece of information that can be retrieved by leveraging the SWRL rule illustrated in Section 3.2.3, as every appliance whose activation may generate an exceeding of the power threshold is classified as an instance of the class com_dev:PowerCutRisk.
In case of power cut risk, DECAM’s GUI warns the dweller by showing a pop-up indicating the risk at hand and the appliance whose activation may cause the issue. If activating a new device would cause it to exceed the current capacity threshold, the application warns the user of the risk of a power cut and suggests that he/she reschedule the activation of the device to a proposed time. Since the application keeps track of all the running devices and their durations within the house, it is able to suggest to the user a time when it is safe to turn on the device without any risk of a power cut. The proposed time is calculated in real time within the application to be the first minute after one (or more) of the running appliances has finished its operations; this appliance would then liberate the amount of power it was using during its activation, and if the total amount of energy available becomes enough for another appliance to be activated—without exceeding the capacity threshold—then the application can safely activate it.
Therefore, the application needs to calculate the ending time of an appliance using the starting time received from the application—the moment the user clicks the appliance to be activated—and the duration time retrieved from the semantic repository. DECAM then inserts the starting and ending time stamps into the ComfOnt knowledge base by generating a proper SPARQL INSERT query. DECAM also interacts with ComfOnt to modify the status of the devices (i.e., determining whether an appliance belongs to saref:On_state or saref:Off_state).
In a similar way, DECAM accesses the triplestore to retrieve the dweller’s health condition and his/her customized comfort settings, in order to activate the devices with those features that can actuate personalized indoor comfort.

4.2. Use Cases

The following use cases showcase the functionalities of DECAM, thus exploiting ComfOnt as its knowledge base. It is worth noticing that although the system’s features were specifically designed for elderlies and dwellers characterized by frailties, the functionalities could be adopted also by a variety of dwellers, i.e., not necessarily inhabitants characterized by impairments.

4.2.1. Preventing Power Cuts Due to Overload

John is a 71-year-old man who lives on his own; he can perform many of the daily activities by himself and thus can live independently. Due to his impairment (characterized by ICF code b1140.1 as Short-term memory, with a “mild” qualifier), sometimes he leaves some appliances turned on and forgets about them; this behavior sometimes results in generating a power cut due to overloading.
John is currently cooking and DECAM enlists the following appliances as running: a refrigerator, the electric stove top, the washing machine, and the dish-washer; the average energy consumes (according to Table 1) amount to 1730 W. He needs to turn on the electric oven to complete his recipe, but he is unsure whether or not the activation of this appliance may result in a power cut. Using DECAM John turns the oven on and the interface warns him that by completing this action the total amount of energy would exceed the 3300 W of his meter load (as illustrated in Figure 6). John can therefore turn the electric stove off in order to be able to turn the oven on.
Using DECAM’s GUI, whenever John wants to turn an appliance on he can see which appliances are already running and their average energy consumes; he can also see how much energy another appliance would require and understand whether or not turning another appliance on would result in a power cut.

4.2.2. Regulating Indoor Comfort According to the Dweller’s Needs

Basil, a 68-year-old man living independently in his home, suffers from hyposensitivity to light (characterized by ICF code b21020.3 as Light sensitivity, with a “severe” qualifier); his condition requires him to have an amount of light higher than the minimum foreseen by regulations to perform activities, especially those requiring precision, such as cutting vegetables, reading, etc.
When Basil decides to read in his living room, the system detects his presence within the room and automatically sets on the minimum illuminance to 350 lux (as described in Section 3.2.2); Basil can therefore select the amount of illuminance (up to 750 lux, which is his customized maximum value) according to his needs and to the activities he wants to perform, as shown in Figure 7.
Using DECAM, Basil can also save a specific illuminance setting and assign it a name, so that for the next iterations of the same activity he can set the indoor illuminance by just tapping the proper option. For instance, if Basil selects 688 lux as a comfortable amount of illuminance for reading, he can save this value and assign it the name Reading, so that the system will automatically deploy the setting whenever Basil taps on it.

4.2.3. Fostering Energy Saving Behaviors

Sarah, a 73-year-old woman who lives independently and practices gardening as hobby, is characterized by frailty; her condition encompasses a mild impairment related to memory functions (described with the ICF code b144.1) and a mild impairment in the activity related to carrying out the daily routine (described with the ICF Activity and participation code d230 as Carrying out daily routine, with a performance qualifier of 1). Although she is quite independent, sometimes she struggles in handling many appliances and this behavior sometimes results in leaving appliances turned on even when they are not necessary.
For instance, during the summer Sarah loves to take care of her plants on the balcony; she goes outside but she often forgets to turn the air-conditioning system off. Using DECAM, when Sarah’s presence is detected on the balcony and her absence from the rooms of the house is ascertained (i.e., presence sensors cannot detect Sarah within any of the rooms of the house) for more than 15 minutes and the air-conditioning system is left turned on, Sarah receives an alert via DECAM’s GUI indicating that the air-conditioning system has been turned off in order to save energy. Sarah can also decide whether to reactivate the air-conditioning system as soon as she reenters the house.
The same functionality works when Sarah forgets to turn off the light in one of the rooms she has left for more than 15 minutes. Clearly, this functionality does not work when kitchen appliances are on (the electric oven, refrigerator, freezer, microwave oven, and electric stove can run even if the user is located in a room different from the kitchen).

5. Conclusions and Further Works

This work introduces ComfOnt, a semantic knowledge base developed leveraging on widely adopted ontologies and aimed at representing some features of the Smart Home ecosystem, such as indoor comfort, devices (household appliances, sensors, and actuators), and energy consumption. In addition, ComfOnt allows the representation of the dwellers’ health conditions—reusing a standard classification—to foster the actuation of customized indoor comfort settings, enabled to help older inhabitants and/or inhabitants with impairments to live independently. The ontology is designed to allow the possibility of easily added new indoor comfort metrics to be taken into account for the description of specific environments. ComfOnt is adopted by a Java-developed prototypical application, the Domestic Environment Comfort and Appliances Manager (DECAM), which is designed to provide the dwellers with an intuitive GUI. The DECAM application also overcomes some of the limitations characterizing semantic reasoning in DL and enables the modification of parts of ComfOnt, while allowing the end users to manage their energy consumption and actuate comfort according to their desires. Thus, the novelty of ComfOnt relies on the possibility of a simple and effective modeling of comfort metrics within an SH (relying on widely adopted ontologies, like SAREF). Comfort metrics are then associated with the inhabitants, whose characterizations are based on their health conditions (also expressed recurring to a standard classification, ICF).
Future works foresee a set of activities aimed at enhancing the representation of domestic devices and their functionalities; as it is described, ComfOnt provides a generic description of household appliances, their energy consumption and times of use. However, ComfOnt needs to provide the possibility of modeling appliances’ specific programs, with a specific energy consumption for each of them; for instance, an electric oven may have more than one program, and to each of these programs a specific duration and energy consumption can be described. Moreover, monitoring the electric power consumption of some domestic appliances, such as the washing machine and dishwasher, has proved the fact that there are massive differences in electricity demands in different cycles of the same program. Modeling appliances’ temporal patterns (which can be modeled also taking advantage of the uncertain modeling techniques described in Section 2) in order to represent the differences in the energy demands of different devices requires DECAM to rely on an architecture that allows gathering data on real-time electric consumption of appliances. This can be done by implementing the invasive or noninvasive current sensing techniques [74,75]. DECAM foresees the implementation of a noninvasive energy meter on domestic appliances exploiting the Arduino microcontrollers equipped with the current transformer (CT), for measuring the current and converting it to voltage, and the Wi-Fi module, for serial to Wi-Fi data transmission. The process of exchanging the data over IoT gateways takes place the same way as the comfort sensors (explained in Section 4.1).
To complete the description of the inhabitants and better help them in managing energy consumption inside the SH, a future development regards the possibility of including a description of the activities dwellers can perform in their domestic environment; to this purpose, the works of Ni [12] and Knox [76] constitute a solid starting point. The possibility of describing activities can enable the recognition of users’ behaviors inside the house and trigger the automatic actuation of preferred indoor comfort metrics.
Moreover, in order to connect DECAM to real devices within an experimental context, ComfOnt must also provide the means for the semantic annotation of measurements performed by sensors; in this regard, there exist several approaches in literature that can be adopted [77,78,79].
With regard to its functionalities, DECAM’s money-saving functionality will be improved. This feature is considered a weekly organizer function, offering the inhabitants the possibility to suggest the best time slots in which each appliance can be used while producing a money saving (due to a more convenient cost of the energy).
Finally, the application’s design, its usability and acceptance by target users, i.e., inhabitants aged 65+ years old, will be tested in the following months using standard questionnaires such as the system usability scale (SUS) [80] and technology acceptance model (TAM) [81].

Author Contributions

D.S. developed the ontology and supervised the first draft of this paper; A.M. developed the user interface and the application; A.T. contributed to the ontology development and to the revision of this work; M.S. contributed to the funding acquisition and to the revision of this work.

Funding

This work has been funded by: Convenzione Operativa No. 19365/RCC in the framework of the projects Future Home for Future Communities and Verso Edifici Intelligenti a Energia Zero per la crescita della città intelligente, and by the Lombardy Region Bando Linea R&S per Aggregazioni (id 147152) within the CasAware project.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Gunge, V.S.; Yalagi, P.S. Smart home automation: A literature review. Int. J. Comput. Appl. 2016, 975, 8887. [Google Scholar]
  2. Gaur, A.; Scotney, B.; Parr, G.; McClean, S. Smart city architecture and its applications based on IoT. Procedia Comput. Sci. 2015, 52, 1089–1094. [Google Scholar] [CrossRef]
  3. Gruber, T.R. A translation approach to portable ontology specifications. Knowl. Acquis. 1993, 5, 199–220. [Google Scholar] [CrossRef]
  4. i-Zeb. Verso edifici intelligenti a energia zero per la crescita della città. Available online: http://www.zeb.mi.imati.cnr.it (accessed on 29 October 2019).
  5. Future Homefor Future Communities. Available online: http://www.fhffc.it (accessed on 29 October 2019).
  6. Mahroo, A.; Spoladore, D.; Caldarola, E.G.; Modoni, G.E.; Sacco, M. Enabling the Smart Home Through a Semantic-Based Context-Aware System. In Proceedings of the 2018 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops), Athens, Greece, 19–23 March 2018; pp. 543–548. [Google Scholar]
  7. Spoladore, D.; Caldarola, E.G.; Mahroo, A.; Modoni, G.E. CasAware: A Semantic-based Context-aware System Enabling Ambient Assisted Living Solutions. ERCIM News 2018, 113, 50–51. [Google Scholar]
  8. Cheong, Y.-G.; Kim, Y.-J.; Yoo, S.Y.; Lee, H.; Lee, S.; Chae, S.C.; Choi, H.-J. An ontology-based reasoning approach towards energy-aware smart homes. In Proceedings of the 2011 IEEE Consumer Communications and Networking Conference (CCNC), Las Vegas, NV, USA, 9–12 January 2011; pp. 850–854. [Google Scholar]
  9. Iram, S.; Fernando, T.; Bassanino, M. Exploring cross-domain data dependencies for smart homes to improve energy efficiency. In Proceedings of the 10th International Conference on Utility and Cloud Computing, Austin, TX, USA, 5–8 December 2017; ACM: New York, NY, USA, 2017; pp. 221–226. [Google Scholar]
  10. Sezer, O.B.; Can, S.Z.; Dogdu, E. Development of a smart home ontology and the implementation of a semantic sensor network simulator: An Internet of Things approach. In Proceedings of the 2015 IEEE International Conference on Collaboration Technologies and Systems (CTS), Atlanta, GA, USA, 1–5 June 2015; pp. 12–18. [Google Scholar]
  11. Xu, J.; Lee, Y.-H.; Tsai, W.-T.; Li, W.; Son, Y.-S.; Park, J.-H.; Moon, K.-D. Ontology-based smart home solution and service composition. In Proceedings of the 2009 IEEE International Conference on Embedded Software and Systems, Hangzhou, China, 25–27 May 2009; pp. 297–304. [Google Scholar]
  12. Ni, Q.; Pau de la Cruz, I.; García Hernando, A.B. A foundational ontology-based model for human activity representation in smart homes. J. Ambient Intell. Smart Environ. 2016, 8, 47–61. [Google Scholar] [CrossRef]
  13. Daniele, L.; Solanki, M.; den Hartog, F.; Roes, J. Interoperability for smart appliances in the iot world. In Proceedings of the International Semantic Web Conference, Kobe, Japan, 17–21 October 2016; Springer: Cham, Switzerland, 2016; pp. 21–29. [Google Scholar]
  14. Stojkoska, B.L.R.; Trivodaliev, K.V. A review of Internet of Things for smart home: Challenges and solutions. J. Clean. Prod. 2017, 140, 1454–1464. [Google Scholar] [CrossRef]
  15. Gateau, B.; Naudet, Y.; Rykowski, J. Ontology-based smart IoT engine for personal comfort management. In Proceedings of the 2016 11th IEEE International Workshop on Semantic and Social Media Adaptation and Personalization (SMAP), Thessaloniki, Greece, 20–21 October 2016; pp. 35–40. [Google Scholar]
  16. Bonino, D.; Corno, F. Dogont-ontology modeling for intelligent domotic environments. In Proceedings of the International Semantic Web Conference (ISWC 2008), Karlsruhe, Germany, 26–30 October 2008; pp. 790–803. [Google Scholar]
  17. Compton, M.; Barnaghi, P.; Bermudez, L.; García-Castro, R.; Corcho, O.; Cox, S.; Graybeal, J.; Hauswirth, M.; Henson, C.; Herzog, A.; et al. The SSN ontology of the W3C semantic sensor network incubator group. Web Semant. Sci. Serv. Agents World Wide Web 2012, 17, 25–32. [Google Scholar] [CrossRef]
  18. Tila, F.; Kim, H. Semantic IoT System for Indoor Environment Control—A Sparql and SQL based hybrid model. Adv. Sci. Technol. Lett. 2015, 120, 678–683. [Google Scholar]
  19. Adeleke, J.A.; Moodley, D. An ontology for proactive indoor environmental quality monitoring and control. In Proceedings of the 2015 Annual Research Conference on South African Institute of Computer Scientists and Information Technologists, Stellenbosch, South Africa, 28–30 September 2015; ACM: New York, NY, USA, 2015; p. 2. [Google Scholar]
  20. Stavropoulos, T.G.; Vrakas, D.; Vlachava, D.; Bassiliades, N. BOnSAI: A smart building ontology for ambient intelligence. In Proceedings of the 2nd international conference on web intelligence, mining and semantics, Craiova, Romania, 13–15 June 2012; ACM: New York, NY, USA, 2012; p. 30. [Google Scholar]
  21. Reinisch, C.; Kofler, M.J.; Kastner, W. ThinkHome: A smart home as digital ecosystem. In Proceedings of the 4th IEEE International Conference on Digital Ecosystems and Technologies, Dubai, UAE, 13–16 April 2010; pp. 256–261. [Google Scholar]
  22. Ploennigs, J.; Clement, J.; Wollschlaeger, B.; Kabitzsch, K. Semantic models for physical processes in CPS at the example of occupant thermal comfort. In Proceedings of the 2016 IEEE 25th International Symposium on Industrial Electronics (ISIE), Santa Clara, CA, USA, 8–10 June 2016; pp. 1061–1066. [Google Scholar]
  23. Nolich, M.; Spoladore, D.; Carciotti, S.; Buqi, R.; Sacco, M. Cabin as a Home: A Novel Comfort Optimization Framework for IoT Equipped Smart Environments and Applications on Cruise Ships. Sensors 2019, 19, 1060. [Google Scholar] [CrossRef]
  24. Zhang, D.; Gu, T.; Wang, X. Enabling context-aware smart home with semantic web technologies. Int. J. Hum.-Friendly Welf. Robot. Syst. 2005, 6, 12–20. [Google Scholar]
  25. Abdulrazak, B.; Chikhaoui, B.; Gouin-Vallerand, C.; Fraikin, B. A standard ontology for smart spaces. Int. J. Web Grid Serv. 2010, 6, 244–268. [Google Scholar] [CrossRef]
  26. Fensel, A.; Tomic, S.; Kumar, V.; Stefanovic, M.; Aleshin, S.V.; Novikov, D.O. Sesame-s: Semantic smart home system for energy efficiency. Inform.-Spektrum 2013, 36, 46–57. [Google Scholar] [CrossRef]
  27. Kofler, M.J.; Reinisch, C.; Kastner, W. A semantic representation of energy-related information in future smart homes. Energy Build. 2012, 47, 169–179. [Google Scholar] [CrossRef]
  28. Kibria, M.G.; Chong, I. A WoO based knowledge driven approach for smart home energy efficiency. In Proceedings of the 2014 IEEE International Conference on Information and Communication Technology Convergence (ICTC), Busan, Korea, 22–24 October 2014; pp. 45–50. [Google Scholar]
  29. Brizzi, P.; Bonino, D.; Musetti, A.; Krylovskiy, A.; Patti, E.; Axling, M. Towards an ontology driven approach for systems interoperability and energy management in the smart city. In Proceedings of the 2016 IEEE International Multidisciplinary Conference on Computer and Energy Science (SpliTech), Split, Croatia, 13–15 July 2016; pp. 1–7. [Google Scholar]
  30. Casas, R.; Marín, R.B.; Robinet, A.; Delgado, A.R.; Yarza, A.R.; Mcginn, J.; Picking, R.; Grout, V. User modelling in ambient intelligence for elderly and disabled people. In Proceedings of the International Conference on Computers for Handicapped Persons, Linz, Austria, 9–11 July 2008; pp. 114–122. [Google Scholar]
  31. Spoladore, D.; Sacco, M. Semantic and dweller-based decision support system for the reconfiguration of domestic environments: RecAAL. Electronics 2018, 7, 179. [Google Scholar] [CrossRef]
  32. Castillejo, E.; Almeida, A.; López-de-Ipina, D. User, context and device modeling for adaptive user interface systems. In Proceedings of the Ubiquitous Computing and Ambient Intelligence. Context-Awareness and Context-Driven Interaction, Carrillo, Costa Rica, 2–6 December 2013; pp. 94–101. [Google Scholar]
  33. Spoladore, D. Ontology-based decision support systems for health data management to support collaboration in ambient assisted living and work reintegration. In Proceedings of the Working Conference on Virtual Enterprises, Vicenza, Italy, 18–20 September 2017; pp. 341–352. [Google Scholar]
  34. Heckmann, D.; Schwarzkopf, E.; Mori, J.; Dengler, D.; Kröner, A. The user model and context ontology gumo revisited for future web 2.0 extensions. In Proceedings of the Contexts and Ontologies: Representation and Reasoning, Roskilde, Denmark, 21 August 2007; pp. 37–46. [Google Scholar]
  35. Heckmann, D.; Schwartz, T.; Brandherm, B.; Schmitz, M.; von Wilamowitz-Moellendorff, M. Gumo—The general user model ontology. In Proceedings of the International Conference on User Modeling, Edinburgh, UK, 24–29 July 2005; pp. 428–432. [Google Scholar]
  36. Lukasiewicz, T.; Straccia, U. Managing uncertainty and vagueness in description logics for the semantic web. Web Semant. Sci. Serv. Agents World Wide Web 2008, 6, 291–308. [Google Scholar] [CrossRef]
  37. Ding, Z.; Peng, Y.; Pan, R. BayesOWL: Uncertainty modeling in semantic web ontologies. In Soft computing in Ontologies and Semantic Web; Springer: Berlin\Heidelberg, Germany, 2006; pp. 3–29. [Google Scholar]
  38. Costa, P.C.; Laskey, K.B. PR-OWL: A framework for probabilistic ontologies. Front. Artif. Intell. Appl. 2006, 150, 237. [Google Scholar]
  39. Almeida, A.; López-de-Ipiña, D. Assessing ambiguity of context data in intelligent environments: Towards a more reliable context managing system. Sensors 2012, 12, 4934–4951. [Google Scholar] [CrossRef]
  40. Demiris, G.; Hensel, B.K.; Skubic, M.; Rantz, M. Senior residents’ perceived need of and preferences for “smart home” sensor technologies. Int. J. Technol. Assess. Health Care 2008, 24, 120–124. [Google Scholar] [CrossRef]
  41. Demiris, G.; Rantz, M.J.; Aud, M.A.; Marek, K.D.; Tyrer, H.W.; Skubic, M.; Hussam, A.A. Older adults’ attitudes towards and perceptions of “smart home” technologies: A pilot study. Med Inform. Internet Med. 2004, 29, 87–94. [Google Scholar] [CrossRef]
  42. Balta-Ozkan, N.; Davidson, R.; Bicket, M.; Whitmarsh, L. Social barriers to the adoption of smart homes. Energy Policy 2013, 63, 363–374. [Google Scholar] [CrossRef]
  43. Suárez-Figueroa, M.C.; Gómez-Pérez, A.; Fernández-López, M. The NeOn methodology for ontology engineering. In Ontology Engineering in a Networked World; Springer: Berlin\Heidelberg, Germany, 2012; pp. 9–34. [Google Scholar]
  44. Scherp, A.; Franz, T.; Saathoff, C.; Staab, S. F—A model of events based on the foundational ontology dolce+ DnS ultralight. In Proceedings of the Fifth International Conference on Knowledge Capture, Redondo Beach, CA, USA, 1–4 September 2009; ACM: New York, NY, USA, 2009; pp. 137–144. [Google Scholar]
  45. Janowicz, K.; Haller, A.; Cox, S.J.; Le Phuoc, D.; Lefrançois, M. SOSA: A lightweight ontology for sensors, observations, samples, and actuators. J. Web Semant. 2019, 56, 1–10. [Google Scholar] [CrossRef]
  46. Daniele, L.; den Hartog, F.; Roes, J. Created in close interaction with the industry: The smart appliances reference (SAREF) ontology. In Proceedings of the International Workshop Formal Ontologies Meet Industries, Berlin, Germany, 5 August 2015; pp. 100–112. [Google Scholar]
  47. Lefrançois, M. Planned ETSI SAREF Extensions based on the W3C&OGC SOSA/SSN-compatible SEAS Ontology Paaerns. In Proceedings of the Workshop on Semantic Interoperability and Standardization in the IoT, SIS-IoT, Amsterdam, The Netherlands, 11 September 2017; p. 11. [Google Scholar]
  48. ICF Ontology. Available online: https://www.bioportal.bioontology.org/ontologies/ICF (accessed on 29 October 2019).
  49. Graves, M.; Constabaris, A.; Brickley, D. Foaf: Connecting people on the semantic web. Cat. Classif. Q. 2007, 43, 191–202. [Google Scholar] [CrossRef]
  50. Hobbs, J.R.; Pan, F. Time ontology in OWL. W3C Work. Draft 2006, 27, 133. [Google Scholar]
  51. Italian Republic. Decree of the President of the President 142. 2013. Available online: http://www.gazzettaufficiale.it/eli/id/1993/10/14/093G0451/sg (accessed on 29 October 2019).
  52. Comité Européen de Normalisation. EN 12464-1: Light and Lighting-Lighting of Work Places, Part 1: Indoor Work Places; Comité Européen de Normalisation: Brussels, Belgium, 2002. [Google Scholar]
  53. Italian Ministry on Health. National Plan of Prevention for the Safeguard and Promotion of Health in Confined Spaces. 2001. Available online: http://www.salute.gov.it/imgs/C_17_pubblicazioni_2435_allegato.pdf (accessed on 30 October 2019).
  54. Jovanovic, R.; Bousselham, A.; Bayram, I. Residential demand response scheduling with consideration of consumer preferences. Appl. Sci. 2016, 6, 16. [Google Scholar] [CrossRef]
  55. Energy Use Calculator. Available online: http://energyusecalculator.com/calculate_electrical_usage.htm (accessed on 29 October 2019).
  56. Tudorache, T.; Noy, N.F.; Tu, S.; Musen, M.A. Supporting collaborative ontology development in Protégé. In Proceedings of the International Semantic Web Conference, Karlsruhe, Germany, 26–30 October 2008; pp. 17–32. [Google Scholar]
  57. Pan, J.Z. Resource description framework. In Handbook on Ontologies; Springer: Berlin\Heidelberg, Germany, 2009; pp. 71–90. [Google Scholar]
  58. Antoniou, G.; Van Harmelen, F. Web ontology language: Owl. In Handbook on Ontologies; Springer: Berlin\Heidelberg, Germany, 2004; pp. 67–92. [Google Scholar]
  59. Horrocks, I.; Patel-Schneider, P.F.; Boley, H.; Tabet, S.; Grosof, B.; Dean, M. SWRL: A semantic web rule language combining OWL and RuleML. W3C Memb. Submiss. 2004, 21, 1–31. [Google Scholar]
  60. Gangemi, A.; Presutti, V. Ontology design patterns. In Handbook on Ontologies; Springer: Berlin\Heidelberg, Germany, 2009; pp. 221–243. [Google Scholar]
  61. Horridge, M.; Patel-Schneider, P.F. OWL 2 Web Ontology Language Manchester Syntax; W3C Working Group Note. Available online: https://www.w3.org/2007/OWL/draft/ED-owl2-manchester-syntax-20090420/all.pdf (accessed on 29 October 2019).
  62. Euzenat, J. Towards a principled approach to semantic interoperability. In Proceedings of the IJCAI-01 Workshop on ontology and information sharing data, Seattle, WA, USA, 4–5 August 2001; pp. 19–25. [Google Scholar]
  63. European Telecommunications Standards Institute. SmartM2M; Smart Appliances Extension to SAREF; Part 1: Energy Domain. 2017. Technical Report. Available online: https://www.etsi.org/deliver/etsi_ts/103400_103499/10341001/01.01.01_60/ts_10341001v010101p.pdf (accessed on 29 October 2019).
  64. Monacchi, A.; Egarter, D.; Elmenreich, W. Integrating households into the smart grid. In Proceedings of the 2013 IEEE Workshop on Modeling and Simulation of Cyber-Physical Energy Systems (MSCPES), Berkeley, CA, USA, 20 May 2013; pp. 1–6. [Google Scholar]
  65. O’Brien, P.D.; Nicol, R.C. FIPA—Towards a standard for software agents. BT Technol. J. 1998, 16, 51–59. [Google Scholar] [CrossRef]
  66. International Classification of Disease. Available online: https://www.who.int/classifications/icd/en/ (accessed on 29 October 2019).
  67. ICD-10 Ontology. Available online: https://bioportal.bioontology.org/ontologies/ICD10 (accessed on 29 October 2019).
  68. Alirezaie, M.; Hammar, K.; Blomqvist, E.; Nyström, M.; Ivanova, V. SmartEnv Ontology in E-care@ home. In Proceedings of the 9th International Semantic Sensor Networks Workshop, Monterey, CA, USA, 9 October 2018; Volume 2213, pp. 72–79. [Google Scholar]
  69. Sommaruga, L.; Perri, A.; Furfari, F. DomoML-env: An ontology for Human Home Interaction. In Swap; Citeseer: University Park, PA, USA, 2005; Volume 166. [Google Scholar]
  70. Sirin, E.; Parsia, B. SPARQL-DL: SPARQL Query for OWL-DL. In OWLED; Citeseer: University Park, PA, USA, 2007; Volume 258. [Google Scholar]
  71. Stardog 5—Knowledge Graph Platform. Available online: http://www.stardog.com (accessed on 29 October 2019).
  72. O’Connor, M.J.; Das, A.K. A Lightweight Model for Representing and Reasoning with Temporal Information in Biomedical Ontologies. In Proceedings of the Third International Conference on Health Informatics, Valencia, Spain, 20–23 January 2010; pp. 90–97. [Google Scholar]
  73. Jelmini, C.; Marchand-Maillet, S. OWL-based reasoning with retractable inference. In Proceedings of the Coupling Approaches, Coupling Media and Coupling Languages for Information Retrieval, Vaucluse, France, 26–28 April 2004; pp. 753–762. [Google Scholar]
  74. Shajahan, A.H.; Anand, A. Data acquisition and control using Arduino-Android platform: Smart plug. In Proceedings of the 2013 IEEE International Conference on Energy Efficient Technologies for Sustainability, Nagercoil, India, 10–12 April 2013; pp. 241–244. [Google Scholar]
  75. Thakare, S.; Shriyan, A.; Thale, V.; Yasarp, P.; Unni, K. Implementation of an energy monitoring and control device based on IoT. In Proceedings of the 2016 IEEE Annual India Conference (INDICON), Bangalore, India, 16–18 December 2016; pp. 1–6. [Google Scholar]
  76. Knox, S.; Coyle, L.; Dobson, S. Using ontologies in case-based activity recognition. In Proceedings of the Twenty-Third International FLAIRS Conference, Datona Beach, FL, USA, 19–21 May 2010. [Google Scholar]
  77. Calbimonte, J.-P.; Jeung, H.; Corcho, O.; Aberer, K. Enabling query technologies for the semantic sensor web. Int. J. Semant. Web Inf. Syst. 2012, 8, 43–63. [Google Scholar] [CrossRef]
  78. Compton, M.; Henson, C.A.; Lefort, L.; Neuhaus, H.; Sheth, A.P. A Survey of the Semantic Specification of Sensors. In Proceedings of the 8th International Semantic Web Conference, Washington DC, USA, 25–29 October 2009; pp. 17–32. [Google Scholar]
  79. Ji, C.; Liu, J.; Wang, X. A Review for Semantic Sensor Web Research and Applications. Adv. Sci. Technol. Lett. 2014, 48, 31–36. [Google Scholar]
  80. Brooke, J. SUS-A quick and dirty usability scale. Usability Eval. Ind. 1996, 189, 4–7. [Google Scholar]
  81. Venkatesh, V.; Bala, H. Technology acceptance model 3 and a research agenda on interventions. Decis. Sci. 2008, 39, 273–315. [Google Scholar] [CrossRef] [Green Version]
Figure 1. A schematic representation of the modules composing ComfOnt and their relationships: a Person uses Devices, which can contribute to implementing and measuring Comfort metrics within a Domestic Environment occupied (or to be occupied) by a Person.
Figure 1. A schematic representation of the modules composing ComfOnt and their relationships: a Person uses Devices, which can contribute to implementing and measuring Comfort metrics within a Domestic Environment occupied (or to be occupied) by a Person.
Electronics 08 01449 g001
Figure 2. An example of inhabitant modeling with health condition. Concepts are represented with rectangles, individuals are represented with diamonds, and roles are represented with arrows (dashed arrows indicate datatype properties, full-line arrows indicate object properties); the type of an individual is stated with a dotted arrow. Equivalence between Friend of a Friend (FOAF) and ComfOnt class is represented using the logic equivalence symbol.
Figure 2. An example of inhabitant modeling with health condition. Concepts are represented with rectangles, individuals are represented with diamonds, and roles are represented with arrows (dashed arrows indicate datatype properties, full-line arrows indicate object properties); the type of an individual is stated with a dotted arrow. Equivalence between Friend of a Friend (FOAF) and ComfOnt class is represented using the logic equivalence symbol.
Electronics 08 01449 g002
Figure 3. An example of an appliance’s energy profile and average usage time modeling. Concepts are represented with rectangles, individuals are represented with diamonds, and roles are represented with arrows (dashed arrows indicate datatype properties, full-line arrows indicate object properties); the type of an individual is stated with a dotted arrow.
Figure 3. An example of an appliance’s energy profile and average usage time modeling. Concepts are represented with rectangles, individuals are represented with diamonds, and roles are represented with arrows (dashed arrows indicate datatype properties, full-line arrows indicate object properties); the type of an individual is stated with a dotted arrow.
Electronics 08 01449 g003
Figure 4. Screenshot of Domestic Environment Comfort and Appliances Manager (DECAM); the graphical user interface (GUI) illustrates the list of available appliances and communicates to the inhabitants whether or not they are in use (with the string “attualmente in uso”, which means “currently in use”) and graphically represents the estimated time for finishing their tasks (with a red bar and time-to-finish text). The GUI also reports the average energy consume for each appliance in use (with the string “consumo energetico”).
Figure 4. Screenshot of Domestic Environment Comfort and Appliances Manager (DECAM); the graphical user interface (GUI) illustrates the list of available appliances and communicates to the inhabitants whether or not they are in use (with the string “attualmente in uso”, which means “currently in use”) and graphically represents the estimated time for finishing their tasks (with a red bar and time-to-finish text). The GUI also reports the average energy consume for each appliance in use (with the string “consumo energetico”).
Electronics 08 01449 g004
Figure 5. The architecture of the DECAM application and its data flow between DECAM and ComfOnt.
Figure 5. The architecture of the DECAM application and its data flow between DECAM and ComfOnt.
Electronics 08 01449 g005
Figure 6. Screenshot of the application with the warning to the user (highlighted in bright yellow and with the string “Careful! Risk of power cut if you activate ELECTRIC OVEN. Do you want to activate it anyway?”) of the risk of a power cut. The appliance whose activation may cause the power cut acquires a red-colored background. The GUI also shows the user the tariff in force, according to the inhabitant’s energy rate plan modeled in ComfOnt.
Figure 6. Screenshot of the application with the warning to the user (highlighted in bright yellow and with the string “Careful! Risk of power cut if you activate ELECTRIC OVEN. Do you want to activate it anyway?”) of the risk of a power cut. The appliance whose activation may cause the power cut acquires a red-colored background. The GUI also shows the user the tariff in force, according to the inhabitant’s energy rate plan modeled in ComfOnt.
Electronics 08 01449 g006
Figure 7. Screenshot of the application with comfort management settings. The table illustrates four comfort metrics (temperature, illuminance, CO2 concentration, and humidity rate) in different rooms of the house (soggiorno: the living room; camera da letto: the bedroom; cucina: the kitchen; esterno indicating outdoors). The rows of the table represent from top to bottom: the living room, bedroom, kitchen, and balcony; while the columns of the table indicate from left to right: temperature, illuminance, CO2 concentration, and humidity.
Figure 7. Screenshot of the application with comfort management settings. The table illustrates four comfort metrics (temperature, illuminance, CO2 concentration, and humidity rate) in different rooms of the house (soggiorno: the living room; camera da letto: the bedroom; cucina: the kitchen; esterno indicating outdoors). The rows of the table represent from top to bottom: the living room, bedroom, kitchen, and balcony; while the columns of the table indicate from left to right: temperature, illuminance, CO2 concentration, and humidity.
Electronics 08 01449 g007
Table 1. A table summarizing the list of appliances modeled within ComfOnt; for each appliance, the average time of usage (expressed in hours) and the average electric energy consume (expressed in watts) are reported.
Table 1. A table summarizing the list of appliances modeled within ComfOnt; for each appliance, the average time of usage (expressed in hours) and the average electric energy consume (expressed in watts) are reported.
ApplianceAverage Time (in hours)Average Watt ConsumekWh/day
Electric oven124002.4
Dishwasher118001.8
Electric stove top1.515002.25
Refrigerator241804.32
Microwave0.512000.6
Freezer24400.96
Vacuum0.2514000.35
Iron111001.1
Washing machine15000.5

Share and Cite

MDPI and ACS Style

Spoladore, D.; Mahroo, A.; Trombetta, A.; Sacco, M. ComfOnt: A Semantic Framework for Indoor Comfort and Energy Saving In Smart Homes. Electronics 2019, 8, 1449. https://doi.org/10.3390/electronics8121449

AMA Style

Spoladore D, Mahroo A, Trombetta A, Sacco M. ComfOnt: A Semantic Framework for Indoor Comfort and Energy Saving In Smart Homes. Electronics. 2019; 8(12):1449. https://doi.org/10.3390/electronics8121449

Chicago/Turabian Style

Spoladore, Daniele, Atieh Mahroo, Alberto Trombetta, and Marco Sacco. 2019. "ComfOnt: A Semantic Framework for Indoor Comfort and Energy Saving In Smart Homes" Electronics 8, no. 12: 1449. https://doi.org/10.3390/electronics8121449

APA Style

Spoladore, D., Mahroo, A., Trombetta, A., & Sacco, M. (2019). ComfOnt: A Semantic Framework for Indoor Comfort and Energy Saving In Smart Homes. Electronics, 8(12), 1449. https://doi.org/10.3390/electronics8121449

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop