*2.3. IRRHEM Architecture*

IRRHEM offers an intelligent techniques energy management system based on an Intelligent Context-Awareness Management (Intelligent-CAM). Intelligent-CAM uses contextual awareness ontology and intelligent reasoning to provide contextual information to simulate the behaviors of a population and its surroundings.

From an architectural point of view, the architecture for the IRRHEM system is proposed (Figure 2). IRRHEM is capable of better controlling the home environment (occupants, equipment, and environment), all this is to ensure the main objective that concerns energy optimization. Then, to obtain correct information and make appropriate decisions about current situations, the Intelligent-CAM detects various situations related to the home and its surroundings to provide full Context-Awareness to obtain the minimum number of personnel interventions, as well as avoiding the wastage of energy. Finally, the structure of the proposed solution is formed into seven models, namely:
