Business Processes and Comfort Demand for Energy Flexibility Analysis in Buildings

: Occupant behavior and business processes in a building environment constitute an inseparable set of important factors that drives energy consumption. Existing methodologies for building energy management lag behind in addressing these core parameters by focusing explicitly on the building’s structural components. Additional layers of information regarding indoor and outdoor environmental conditions and occupant behavior patterns, mostly driven by everyday business processes (schedules, loads, and speciﬁc business activities related to occupancy patterns and building operations), are necessary for the e ﬀ ective and e ﬃ cient modeling of building energy performance in order to establish a holistic energy e ﬃ ciency management framework. The aim of this paper was to develop a context-driven framework in which multiple levels of information regarding occupant behavior patterns resulting from everyday business processes were incorporated for e ﬃ cient energy management in buildings. A preliminary framework evaluation was performed in a multifaceted university building involving a number of spaces, employees, business processes, and data from sensors and metering devices. The results derived by linking operational aspects and environmental conditions (temperature, humidity, and luminance) to occupant behavior underlying business processes and organizational structures indicated the potential energy savings: a max of 7.08% for Heating, ventilation, and air conditioning (HVAC), 19.46% for lighting and a maximum of 6.34% saving related to o ﬃ ce appliances. data curation, S.K.K.; methodology, S.K.K. and A.I.K.; software, S.K.K. and A.I.K.; supervision, A.P.C; validation, S.K.K. and A.P.C.; visualization, A.I.K; writing—original draft S.K.K.; writing—review and editing, A.P.C and A.I.K. All authors


Introduction
Energy efficiency is considered to be a critical part of the European energy strategy supporting the key targets of the European Union (EU) 2020 energy policy. Buildings are a significant part of the urban ecosystem, which accounts about 40% of the European energy requirements [1]. The 80% of the energy consumed within buildings applies during their operational phase [2], while 70% of this amount derives from occupant behaviors and automated control decisions related to the business processes hosted and executed according to the building's operational plans [3].
An important aspect contributing to the variability of energy consumption in buildings is the management of the activities carried out in the building. Operational activities are an integral part of business processes, accounting for more than 30% of total energy consumption [4]. Several studies have shown that the measurement of buildings' energy consumption is highly unstable even among buildings with the same types of functions in a similar geographical environment. Among the various factors contributing to this variability is the behavior of end-users in the processes conducted in the building [1,[5][6][7][8].
In addition to business processes, emphasis needs to be placed on end-user comfort conditions and their impact on energy consumption. Studies have shown that, given the modern trend towards low-energy buildings, it is imperative that end-users actively participate in achieving high energy efficiency goals without compromising their comfort or productivity [9][10][11][12][13][14]. Many studies have deduced that the behavior of people can have a significant impact on energy consumption and result in energy savings by people with little or no impact and without the disruption of the peoples' everyday living [15].
It has become apparent that various interrelated factors, allied to the structural elements of buildings (architectural, electrical, and mechanical characteristics), environmental conditions (outdoor and indoor), and (mainly) end-user behaviors (based on day-to-day business processes) determine and strongly affect building energy performance. In this context, the analysis of business processes in a building environment of the tertiary sector and their integration into an energy management framework is an issue of high interest.
In this article, we discuss important considerations in the development of the research hypothesis that a realistic view over the organizational energy performance is achieved when buildings are treated not as passive entities but rather as hosts of occupants executing activities that are aligned with the building energy data.
Existing building energy management practices mostly focus on building structural elements and rarely incorporate the information from the activities' users may perform. Reviewing existing methodologies and tools to support smart buildings [16][17][18] indicated that most of them do not: • Capture the current performance of a building since they are based on unrealistic simulated data.

•
Assess the performance of a building in detail since the analysis is performed on the basis of cumulative data.

•
Consider the human factor as basic a parameter affecting energy consumption. • Assess energy efficiency on homogeneous indicators instead of on heterogeneous ones.

•
Propose energy-saving solutions in the day-to-day operation of the building. • Take user data into account for dynamically adapting energy efficiency strategies.
Occupant behavior, a key driver of building performance, is usually represented [19] by pre-defined, static schedules or fixed rules that cannot represent the dynamics of users' energy behavior.
This paper proposes a context-driven energy management framework focusing on human factors and business processes hosted in the building. The major innovation of the proposed framework is that it considers the relationship between the major load types with the activities in a building, developing a linkage between energy management and organizational structures. Consequently, valuable knowledge can be gained on how everyday actions affect energy consumption, as well as how much users can potentially improve their energy consuming habits.
A bottom-up processing was adopted to incorporate the different modeling parameters in a holistic energy management concept. Then, an assessment was performed by highlighting the high and low-efficiency areas based on the estimation of energy-saving potential through the introduction of comfort and business process-related parameters. The interrelation of occupants with the environmental conditions was a core element of the modelling framework for the extraction of users' profiles, in terms of human preference boundaries through the monitoring of environmental context and device operational characteristics with the use of sensors and smart meter equipment. The identification of energy-saving potential acts as guidance for developing, setting-up, and implementing energy efficiency strategies and actions.

Methodology
Most of the current building energy management methodologies mainly focus on the building's structural characteristics and rarely use informative data extracted from the building users and their activities. A semantically enhanced energy management framework that incorporates the role Energies 2020, 13, 6561 3 of 23 of occupants and processes in the building environment in the analysis by using business process management (BPM) techniques is proposed in this work. The proposed energy management framework consists of three parts ( Figure 1) that are explained below.
Energies 2020, 13, x FOR PEER REVIEW 3 of 24 management (BPM) techniques is proposed in this work. The proposed energy management framework consists of three parts ( Figure 1) that are explained below. In the first step of the framework, the initial energy status of the building was captured as a baseline. One of the basic activities in this stage was the extraction of an Extensible Markup Language (XML) model of the building for recording information of the building by using building information modeling (BIM) tool, which stands as the digital representation of the physical and functional characteristics of a building and constitutes a source of knowledge and information. In this study, the XML protocol was enhanced to incorporate new features derived from the correlation of individual devices and information for energy consumption. Therefore, the new XML model converted multilayer information to facilitate human-centered energy management based on device operation. The process consisted of the following steps: 1. develop the building model and extract the basic XML file with building's information; 2. semantically enrich the XML with device operational characteristic information; and 3. develop an Entity-Relationship (ER) information model (figure 2) based on the enriched XML model. In the ER model, new information regarding the business processes hosted in the building, such as devices with their operational characteristics, building zones defined according to the environmental conditions, and users and their organizational roles, were added [20].
The data collection and analysis layer was the second part of the proposed framework, drilling into details of building operations and providing access to diverse real-time information (submetering consumption and environmental conditions) in order to understand the driving factors of energy behavior.
A network of off-the-shelf low-cost meters, sensors, and actuators were deployed to monitor energy and context performance parameters of buildings (and consequently activities), focusing on several types of information: (a) controllable and flexible DERs (distributed energy resources), such as HVAC and lighting; (b) office equipment; and (c) environmental sensors to measure ambient conditions such as luminance and temperature.
We developed a flexibility framework where information from the different layers of the building organization regarding consumption devices and equipment, environmental conditions (outdoor and indoor), and occupant behavior patterns driven by everyday business processes (schedules, loads, and specific business episodes related to occupancy patterns and building operations) were incorporated into the effective and efficient management of building energy performance. Different types of analytics, time series, and model-based analytics were performed for the extraction of baseline performance, while the availability of sub-metering data with a high spatiotemporal granularity was a driving factor for the establishment of an accurate and reliable energy baseline framework on the basis of energy service verification in real-time. Furthermore, by combining information about indoor environmental conditions, the baseline analysis could be extended to address the various performance aspects evolving around the human factor. Details about the different types of analytics applied in this concept are presented in the following section. In the first step of the framework, the initial energy status of the building was captured as a baseline. One of the basic activities in this stage was the extraction of an Extensible Markup Language (XML) model of the building for recording information of the building by using building information modeling (BIM) tool, which stands as the digital representation of the physical and functional characteristics of a building and constitutes a source of knowledge and information. In this study, the XML protocol was enhanced to incorporate new features derived from the correlation of individual devices and information for energy consumption. Therefore, the new XML model converted multi-layer information to facilitate human-centered energy management based on device operation. The process consisted of the following steps: 1. develop the building model and extract the basic XML file with building's information; 2. semantically enrich the XML with device operational characteristic information; and 3. develop an Entity-Relationship (ER) information model ( Figure 2) based on the enriched XML model. In the ER model, new information regarding the business processes hosted in the building, such as devices with their operational characteristics, building zones defined according to the environmental conditions, and users and their organizational roles, were added [20].

Context Aware Flexibility Framework
The three interlinked components of the flexibility framework, as presented in the general methodology, are analyzed in this section in order to seize the potential of energy savings while considering comfort and business process-related constraints. The data collection and analysis layer was the second part of the proposed framework, drilling into details of building operations and providing access to diverse real-time information (sub-metering consumption and environmental conditions) in order to understand the driving factors of energy behavior.

DER Modeling and Energy Profiling
A network of off-the-shelf low-cost meters, sensors, and actuators were deployed to monitor energy and context performance parameters of buildings (and consequently activities), focusing on several types of information: (a) controllable and flexible DERs (distributed energy resources), such as HVAC and lighting; (b) office equipment; and (c) environmental sensors to measure ambient conditions such as luminance and temperature.
We developed a flexibility framework where information from the different layers of the building organization regarding consumption devices and equipment, environmental conditions (outdoor and indoor), and occupant behavior patterns driven by everyday business processes (schedules, loads, and specific business episodes related to occupancy patterns and building operations) were incorporated into the effective and efficient management of building energy performance. Different types of analytics, time series, and model-based analytics were performed for the extraction of baseline performance, while the availability of sub-metering data with a high spatiotemporal granularity was a driving factor for the establishment of an accurate and reliable energy baseline framework on the basis of energy service verification in real-time. Furthermore, by combining information about indoor environmental conditions, the baseline analysis could be extended to address the various performance aspects evolving around the human factor. Details about the different types of analytics applied in this concept are presented in the following section.

Context Aware Flexibility Framework
The three interlinked components of the flexibility framework, as presented in the general methodology, are analyzed in this section in order to seize the potential of energy savings while considering comfort and business process-related constraints.

DER Modeling and Energy Profiling
In this section, the detailed modeling principles for the extraction of the energy profiles are presented with the focus being at the different loads examined: lights, HVAC and (other) plug devices. The analysis was performed by taking the device operational characteristics (e.g., the status) and the associated environmental conditions into account. The light device model describes consumption as a function of the condition and dimming levels. Consequently, learning a light device's DER model is based on the correlation of consumption values with various device status characteristics and dimming levels. The following equation defines the consumption of a lighting device: where Poutput is the device energy consumption (in W), Nominal_P is the nominal power of the device (in W), Status rests on a Boolean parameter (ON/OFF), and Dim_Level corresponds to the dimming level (%). Furthermore, the effect of lighting units on the visual comfort conditions was evaluated. More specifically, the disaggregation of illuminance levels on ambient luminance and luminance increase from lighting devices was examined in order to show the impact of the lighting device in total illuminance level: where p j (t) is the average value of illumination contributed to the j-th zone due to outdoor daylight at time t and H j,n is the average value of illumination of the j-th zone when the n-th device is at its maximum and all others are off ( Figure 3).  The updated DER model can then be described by: (a) a load schedule as a function of dimming level and condition and (b) the impact of dimming on illuminance level as a process-based function [21]. The HVAC device model for energy consumption adopted the concept of modeling and supervising thermostatically controlled loads (TCLs), which are to be included in Demand Side Management (DSM) strategies. In this model, there was a distinct correlation of power demand with set-point, status (ON/OFF), and ambient temperature (outdoor) and indoor temperature conditions. At first, the consumption of an AC (converter) unit was correlated in real-time with the standard operation mode of a heat pump unit (compressor ON/OFF plus ventilation unit consumption). The temperature change θ(t) attributed to a thermostatically controlled load at cooling state could be used, according to Bomela et al. [22], by a discrete time difference model: where Θ (amb) is the ambient temperature (in °K), R is the thermal resistance (in °K/kW), C is the thermal capacitance (in KWh/°K), and P is the energy demand of the TCL when it is in the ON state.
In cooling periods and in steady-state, the HVAC consumes from temperature θ+ to temperature θ-, an approach that is also considered during heating period where the power factor is set as -P. Hence, the final temperature calculation is associated with indoor air temperature, ambient/outdoor air temperature, and configuration criteria (C, P, R, and set-point), while, at the same time, the learning mechanism considers estimations of C and R for the different building zones by using the leastsquares regression technique. The model presented above correlates energy characteristics with their environmental impact. Finally, the model for the plug devices was incorporated in the analysis. Plug devices are not associated with environmental conditions, and, thus, an overall DER profile is characterized by its power profile and the nominal operating characteristics. The equation presented below expresses the lighting device consumption [23]: where Poutput is the device consumption (in W), Nominal_P is the device nominal power (in W), Status is a Boolean parameter with an ON/OFF status, and State Level is the operational level of the device. The updated DER model can then be described by: (a) a load schedule as a function of dimming level and condition and (b) the impact of dimming on illuminance level as a process-based function [21].

Occupant Comfort Profiling
The HVAC device model for energy consumption adopted the concept of modeling and supervising thermostatically controlled loads (TCLs), which are to be included in Demand Side Management (DSM) strategies. In this model, there was a distinct correlation of power demand with set-point, status (ON/OFF), and ambient temperature (outdoor) and indoor temperature conditions. At first, the consumption of an AC (converter) unit was correlated in real-time with the standard operation mode of a heat pump unit (compressor ON/OFF plus ventilation unit consumption). The temperature change θ(t) attributed to a thermostatically controlled load at cooling state could be used, according to Bomela et al. [22], by a discrete time difference model: where Θ (amb) is the ambient temperature (in • K), R is the thermal resistance (in • K/kW), C is the thermal capacitance (in KWh/ • K), and P is the energy demand of the TCL when it is in the ON state. In cooling periods and in steady-state, the HVAC consumes from temperature θ+ to temperature θ-, an approach that is also considered during heating period where the power factor is set as -P. Hence, the final temperature calculation is associated with indoor air temperature, ambient/outdoor air temperature, and configuration criteria (C, P, R, and set-point), while, at the same time, the learning mechanism considers estimations of C and R for the different building zones by using the least-squares regression technique. The model presented above correlates energy characteristics with their environmental impact. Finally, the model for the plug devices was incorporated in the analysis. Plug devices are not associated with environmental conditions, and, thus, an overall DER profile is characterized by its power profile and the nominal operating characteristics. The equation presented below expresses the lighting device consumption [23]: where P output is the device consumption (in W), Nominal_P is the device nominal power (in W), Status is a Boolean parameter with an ON/OFF status, and State Level is the operational level of the device.

Occupant Comfort Profiling
A comfort profiling framework was proposed in order to achieve a repeated and simultaneous analysis of events captured based on real-time data feed. Data were analyzed to generate dynamic occupant behavioral profiles. Occupant profiles were specified as: • "Context-based": the relationship of occupant actions with indications related to comfort under distinct environmental conditions. • "Pattern-based": they adapt to seasonal patterns according to the information captured from sensors.
The behavioral profiles of occupants were the reference points in order to identify and quantify the boundaries and cost of users' comfort in real-time in terms of excess energy consumption, comfort preferences, and no preferences of occupants. Two main categories related to events were analyzed: (1) occupancy events: information of presence; and (2) environmental events: alteration in the room environmental conditions with focus on temperature and luminance. The comfort profiling engine analyzed actions under specific ambient conditions using a probabilistic framework to extract correlations between events and produce personalized comfort/discomfort indicators to develop user dynamic profiles. The formalism can be generalized as follows: where Pr (Disc| Envir) is the discomfort level during specific environmental conditions, Pr (Envir * Disc) is the environmental state probability for a specific discomfort level indication, and Pr (Envir) is the state probability being at a specific environmental condition. The abovementioned formula calculates the probability of an occupant being uncomfortable while living in specified ambient conditions, having the probabilities of indoor conditions where the occupant feels (dis)comfort as facts. These probabilities could be estimated either on a real-time basis or from the utilization of historical data. The first one corresponds to a real case and scenario, and the second corresponds to the experimental conditions where environmental data are collected from user premises just to observe the environmental-related adjustment actions in a specific case. In order to highlight the way of annotating user discomfort for the environmental conditions, a sample of historical data was taken into account. It was assumed that if an occupant is present and not reacting to current environmental conditions, this is an indication of him/her being in comfort. This information was considered to be of high value due to the fact that it was used to analyze the occupant tolerance to environmental variations, a metric that is hard to directly capture.
For the determination of comfort boundaries, the predicted mean vote (PMV) methodology Figure 5.2.1.2 in [24] for extracting a comfort curve was adopted. Based on this, PVM predicted the average vote of a large group of people on a seven-point thermal sensation scale, with min-max boundaries of [−3, +3]. For the scope of this research, the associated acceptable thermal comfort boundaries were set to min and max values of [−0.75, +0.75], respectively, at 25% of probability density function (PDF).

Business Process Analysis
A key principle for the proposed framework was the adoption of a business process-driven modeling approach and its incorporation into the overall framework in order to provide insights into the consumption patterns in the building environment. The overall analysis did not need to be firmly attached to the detailed operational steps; rather, a more abstract and aggregated approach needed to be adopted in the aim of modeling the behavior of occupants in an enterprise environment.
Another important aspect of the proposed approach was its ability to periodically adapt model parameters to the continuously evolving building and operational conditions. As a business organization Energies 2020, 13, 6561 7 of 23 evolves, business processes and related parameters may change, and, thus, model re-organization is required. Through continuous monitoring through a wireless sensor network, indoor contextual and occupancy (presence/absence, device usage, etc.) activity-related parameters could be inferred and further incorporated into the enhanced business operational model. A data-driven training framework was established to analyze streams of data and extract knowledge related to user activities in premises.
As a final remark, the proposed approach for the development of a business activity model did not stand as a static procedure; instead, it incorporated the dynamic attributes of business operations that affect the overall energy consumption and performance of a building organization.

Context-Aware Demand Flexibility Profiles
On the basis of the individual models of the proposed framework presented earlier, an interrelated process could take place to extract the context-aware demand flexibility profiles. The overall idea was to combine DER energy profiles with the building's environment context (occupants' comfort profiles and business processes) in order to estimate the load controllability potential, which is expressed in terms of flexibility. A detailed analysis was performed for the different device types examined in the pilot. A visual representation of this framework is depicted in Figure 4. training framework was established to analyze streams of data and extract knowledge related to user activities in premises. As a final remark, the proposed approach for the development of a business activity model did not stand as a static procedure; instead, it incorporated the dynamic attributes of business operations that affect the overall energy consumption and performance of a building organization.

Context-Aware Demand Flexibility Profiles
On the basis of the individual models of the proposed framework presented earlier, an interrelated process could take place to extract the context-aware demand flexibility profiles. The overall idea was to combine DER energy profiles with the building's environment context (occupants' comfort profiles and business processes) in order to estimate the load controllability potential, which is expressed in terms of flexibility. A detailed analysis was performed for the different device types examined in the pilot. A visual representation of this framework is depicted in Figure 4. The underlying logic of the process, which is described in Figure 5, was that if the comfort requirements were satisfied and there was still a potential for controllability, then control actions related to loads that directly impact the consumption level could be triggered. For this analysis, technical issues and constraints (e.g., controllability level of light devices) were incorporated into the analysis.  The underlying logic of the process, which is described in Figure 5, was that if the comfort requirements were satisfied and there was still a potential for controllability, then control actions related to loads that directly impact the consumption level could be triggered. For this analysis, technical issues and constraints (e.g., controllability level of light devices) were incorporated into the analysis.
Visual comfort conditions were interlinked with the light device profiles, as defined above, aiming at extracting the flexibility profiles of individual devices. More specifically, considering the actual and the acceptable comfort conditions, as well as the actual consumption data, the ideal usage profile could be extracted, which led to the calculation of demand flexibility as the difference between the actual consumption and the consumption corresponding to comfort boundaries (ideal consumption).
Similar to light devices, thermal comfort conditions were interlinked with the HVAC device profiles, aiming at of extracting the flexibility profiles of individual devices. Considering again the actual and the acceptable comfort conditions, as well as the actual HVAC device operation, a potential HVAC profile could be extracted while fully preserving indoor environmental conditions and preferences. This correlation analysis led to the calculation of demand flexibility as the difference between the actual and the ideal consumption. The algorithmic processes for calculating the visual and thermal comfort demand flexibility are presented in Appendix A ( Figure A1).
The identified business processes were associated with the light device profiles for the extraction of business process-related demand flexibility. By analyzing the processes that took place in the building environment, working and non-working hours were derived. By further correlating this information with the light device profiles, useful information about the vampire power use of devices, i.e., device use during absence hours, could be extracted. Consumption in non-operational hours  The underlying logic of the process, which is described in Figure 5, was that if the comfort requirements were satisfied and there was still a potential for controllability, then control actions related to loads that directly impact the consumption level could be triggered. For this analysis, technical issues and constraints (e.g., controllability level of light devices) were incorporated into the analysis.  For the office devices, the identified business processes were interrelated to the plug device energy profiles for the extraction of business process-related demand flexibility. By analyzing the processes that took place in the building environment, working and non-working hours were derived from the analysis. By further correlating this information with the plug device profiles, useful information about vampire use of devices (during non-working hours) was obtained. The algorithmic processes for calculating the lighting and office device flexibility are presented in Appendix A ( Figure A2).

Pilot Site Description
The evaluation of the proposed framework was performed based on a real-life demonstration that included multifaceted building in the campus of the University of Patras that consisted of eight offices ( Figure 6). The XML model of the building was extracted and enhanced to include users, devices, and process-related information (Appendix B). Each office was considered as one zone, within which several users and their work processes were hosted. The load types and the metering installation applied in the pilot case are presented in Tables 1 and 2, respectively.   For the alpha testing phase, consumption raw data (10-min level granularity) for heating, lighting, and office devices (Online Resource 1) were extracted for a time period of one month, and the values of total consumption per zone for one month, the daily average consumption, and the maximum day consumption occurred within this period are presented in Table 3. The environmental data, temperature, and luminance (Online Resource 2) were extracted for a one-month period time and are presented in Table 4.  For the alpha testing phase, consumption raw data (10-min level granularity) for heating, lighting, and office devices (Online Resource 1) were extracted for a time period of one month, and the values of total consumption per zone for one month, the daily average consumption, and the maximum day consumption occurred within this period are presented in Table 3. The environmental data, temperature, and luminance (Online Resource 2) were extracted for a one-month period time and are presented in Table 4.

Energy Profiling
For lighting loads and office devices, weekly consumption profiles were analyzed to export user profiles (Online Resource 3). According to the analysis, the consumption of office equipment and lighting units corresponded to usage during operating hours, while the consumption of lighting units was also influenced by external environmental conditions (outdoor lighting conditions).
The daily operating profile of a printer in one is indicatively presented in Figure 7, which shows a clear definition of three discrete printer device states (following Equation (4)), namely the ON state indicated by consumption around the nominal phase of the device (500 W), the standby mode (around 60 W), and the OFF elsewhere.

Energy Profiling
For lighting loads and office devices, weekly consumption profiles were analyzed to export user profiles (Online Resource 3). According to the analysis, the consumption of office equipment and lighting units corresponded to usage during operating hours, while the consumption of lighting units was also influenced by external environmental conditions (outdoor lighting conditions).
The daily operating profile of a printer in one is indicatively presented in Figure 7, which shows a clear definition of three discrete printer device states (following Equation (4)), namely the ON state indicated by consumption around the nominal phase of the device (500 W), the standby mode (around 60 W), and the OFF elsewhere.   (1)), with the ON state corresponding to working hours and the OFF state to nonworking hours or hours with no need to use electric lights. The consumption level (blue colorcorresponding to power consumption indicated in the left side of the diagram) is shown to have decreased as the dimming level (red color-corresponding to dim % level indicated in the right side of the diagram) increased. Indicatively, the consumption for the OFF status was 0 W, the consumption   (1)), with the ON state corresponding to working hours and the OFF state to non-working hours or hours with no need to use electric lights. The consumption level (blue color-corresponding to power consumption indicated in the left side of the diagram) is shown to have decreased as the dimming level (red color-corresponding to dim % level indicated in the right side of the diagram) increased. Indicatively, the consumption for the OFF status was 0 W, the consumption for 100% dimming was 600 W, and the consumption for 50% dimming was 300 W (0% dimming correlated to 0 power consumption).
Energies 2020, 13, x FOR PEER REVIEW 12 of 24 for 100% dimming was 600 W, and the consumption for 50% dimming was 300 W (0% dimming correlated to 0 power consumption). The heating consumption profile development required a detailed analysis, which consists of both: a. A macroscopic analysis for the correlation of environmental conditions to heating consumption. Figure 9 indicates the heating consumption for a period of five weekdays and its correlation with external and internal environmental operating conditions, while Figure 10 indicates the The heating consumption profile development required a detailed analysis, which consists of both: a. A macroscopic analysis for the correlation of environmental conditions to heating consumption. Figure 9 indicates the heating consumption for a period of five weekdays and its correlation with external and internal environmental operating conditions, while Figure 10 indicates the correlation between heating consumption and indoor temperature conditions for a period of four weeks. The heating consumption profile development required a detailed analysis, which consists of both: a. A macroscopic analysis for the correlation of environmental conditions to heating consumption. Figure 9 indicates the heating consumption for a period of five weekdays and its correlation with external and internal environmental operating conditions, while Figure 10 indicates the correlation between heating consumption and indoor temperature conditions for a period of four weeks.

b.
A microscopic analysis to extract the operating profile of each individual device. In the context of microscopic analysis, capturing consumption over a period of 6 h ( Figure 11) demonstrated the circular operation of a typical heat pump unit.
The consumption was plotted in real-time by the standard operation mode of a heat pump unit (compressor ON/OFF plus ventilation unit consumption). The relationship between the ON and OFF period time (T_off/T_on) remained constant in the operating cycle of the unit, given constant external environmental and process operational conditions. The consumption profile followed an incremental pattern rather than the above in the transition period of the unit (startup).  The consumption was plotted in real-time by the standard operation mode of a heat pump unit (compressor ON/OFF plus ventilation unit consumption). The relationship between the ON and OFF period time (T_off/T_on) remained constant in the operating cycle of the unit, given constant external environmental and process operational conditions. The consumption profile followed an incremental pattern rather than the above in the transition period of the unit (startup).

Occupant Comfort Profiling
The end-users' comfort boundaries in each zone were extracted from the statistical analysis of the environmental data measurements (using the bin and the occurrence frequency; Online Resource 4), and the results are shown in Table 5.

Occupant Comfort Profiling
The end-users' comfort boundaries in each zone were extracted from the statistical analysis of the environmental data measurements (using the bin and the occurrence frequency; Online Resource 4), and the results are shown in Table 5.

Business Process Analysis
Seventeen employees were employed altogether in the eight zones of the pilot site. The zones were classified into three categories: research offices, administrative offices, and public relations offices. Each profile in a zone corresponded to a specific cluster of users following the same process pattern. A list of the main business processes is presented in Table 6 as a composition of the individual business processes.
The analysis of energy consumption was made both vertically, i.e., considering N types of activities taking place in different spaces of a building (e.g., administration and research offices), and horizontally, i.e., considering each undergoing process in each one of the respective spaces involving multiple business roles (e.g., meeting attendance and printing tasks). The total consumption was a function of the operating hours of individual business processes and the consumption of individual devices during operation hours (Online Resource 9). The working hours of each office profile per business process were extracted from the staff themselves after recording their activities and were used to construct Table 7. For zone 4, 30% of the working hours were allocated to the meeting room, which accordingly translated to 30% of the consumption.  The consumption per business process (CBP) is presented in Table 8 and was calculated as: where CP is the consumption per profile (extracted from Tables 3 and 7) and Rate is a value calculated based on Table 7 as: Rate i = Working hours o f Business Process Total working hours , with i from 1 to 5 referring to the number of business processes and j = 1-5 referring to the profile number.

Analytics Process
From the analysis of energy profiles and occupant comfort preferences, comfort flexibility profiles were extracted (Online Resource 5). For example, the details of the lighting device of zone 1 within a three-day time horizon are shown in Figure 12. The consumption level (in red), the impact in luminance (in purple), and the visual comfort boundaries of the user (in green) led to the excess usage of lighting (marked) and thus the control the light DER without affecting the comfort boundaries of the users. Accordingly, by extracting the model parameters, the operation of the HVAC system was emulated to quantify the potential flexibility. The consumption of HVAC devices was characterized by nominal operating characteristics and environmental (external/internal) operating conditions. Regarding the nominal operating characteristics, Figure 13 indicates the operation of the HVAC system during a two hour-period (HEATING MODE) based on Equation (3). Once the device was turned ON, there was an increase in indoor temperature and an impact in terms of consumption (red curve). This association of consumption-temperature was considered when extracting the model parameters (R and C) of the aforementioned equation.   Accordingly, by extracting the model parameters, the operation of the HVAC system was emulated to quantify the potential flexibility. The consumption of HVAC devices was characterized by nominal operating characteristics and environmental (external/internal) operating conditions. Regarding the nominal operating characteristics, Figure 13 indicates the operation of the HVAC system during a two hour-period (HEATING MODE) based on Equation (3). Once the device was turned ON, there was an increase in indoor temperature and an impact in terms of consumption (red curve). This association of consumption-temperature was considered when extracting the model parameters (R and C) of the aforementioned equation. Accordingly, by extracting the model parameters, the operation of the HVAC system was emulated to quantify the potential flexibility. The consumption of HVAC devices was characterized by nominal operating characteristics and environmental (external/internal) operating conditions. Regarding the nominal operating characteristics, Figure 13 indicates the operation of the HVAC system during a two hour-period (HEATING MODE) based on Equation (3). Once the device was turned ON, there was an increase in indoor temperature and an impact in terms of consumption (red curve). This association of consumption-temperature was considered when extracting the model parameters (R and C) of the aforementioned equation.     According to the methodology, business processes were correlated with the lighting and office devices profiles in the extraction of business process-related demand flexibility. One of the key points was that the consumption of office equipment was directly related to the business processes that took place. The consumption in non-operational hours (off-time consumption-consumption when a business process is not performed) was an indication of energy waste/vampire power load with the margin for energy savings. An analysis for an office device appliance (Online Resource 7) is presented in Figure 15. In this case, there was a clear definition of the different states of the plug device based on Equation (4), where the ON state indicated the nominal phase of the device and the OFF phase and the standby mode were associated with the other discrete states of the device. In a five-day analysis, there were specific phases during each day where the device should have been turned off (during non-working hours, as indicated from BPM analysis), even though they operated in standby (marked in green). This excess of use was transformed into flexibility values for this specific DER.
A similar approach also applied to lighting units ( Figure 16). In a five-day analysis, there were specific phases during each day where the lights should have been turned off (during non-working hours, as indicated from BPM analysis), even though they operated in full mode (marked in green). This excess of use was transformed into flexibility values for this specific DER.  According to the methodology, business processes were correlated with the lighting and office devices profiles in the extraction of business process-related demand flexibility. One of the key points was that the consumption of office equipment was directly related to the business processes that took place. The consumption in non-operational hours (off-time consumption-consumption when a business process is not performed) was an indication of energy waste/vampire power load with the margin for energy savings. An analysis for an office device appliance (Online Resource 7) is presented in Figure 15. In this case, there was a clear definition of the different states of the plug device based on Equation (4), where the ON state indicated the nominal phase of the device and the OFF phase and the standby mode were associated with the other discrete states of the device. In a five-day analysis, there were specific phases during each day where the device should have been turned off (during non-working hours, as indicated from BPM analysis), even though they operated in standby (marked in green). This excess of use was transformed into flexibility values for this specific DER. According to the methodology, business processes were correlated with the lighting and office devices profiles in the extraction of business process-related demand flexibility. One of the key points was that the consumption of office equipment was directly related to the business processes that took place. The consumption in non-operational hours (off-time consumption-consumption when a business process is not performed) was an indication of energy waste/vampire power load with the margin for energy savings. An analysis for an office device appliance (Online Resource 7) is presented in Figure 15. In this case, there was a clear definition of the different states of the plug device based on Equation (4), where the ON state indicated the nominal phase of the device and the OFF phase and the standby mode were associated with the other discrete states of the device. In a five-day analysis, there were specific phases during each day where the device should have been turned off (during non-working hours, as indicated from BPM analysis), even though they operated in standby (marked in green). This excess of use was transformed into flexibility values for this specific DER.
A similar approach also applied to lighting units ( Figure 16). In a five-day analysis, there were specific phases during each day where the lights should have been turned off (during non-working hours, as indicated from BPM analysis), even though they operated in full mode (marked in green). This excess of use was transformed into flexibility values for this specific DER.  A similar approach also applied to lighting units ( Figure 16). In a five-day analysis, there were specific phases during each day where the lights should have been turned off (during non-working hours, as indicated from BPM analysis), even though they operated in full mode (marked in green). This excess of use was transformed into flexibility values for this specific DER.

Demand Flexibility Calculation
The analysis and calculation for flexibility profiles was performed for the individual zones based on the algorithmic processes (Figures 6-8) (Online Resources 6 and 8). The composition of the two approaches contributed to the calculation of the overall flexibility, which was 166 kwh. It could be concluded that most of the flexibility was derived from the research office, zone 1 (mostly due to HVAC usage), with 27.16 kwh, and public transactions office, zone 6 (mostly due to lighting), with 27.44 kwh. The results for all zones are summarized in Table 9.

Discussion and Conclusions
To truly understand how a building uses and consumes energy, one needs to go beyond its structural characteristics and theoretical models that assess its energy performance based on the intrinsic parameters of its envelope and static elements (such as heating, ventilation, and lighting). Business operations (process organization and management) are an inseparable part of overall business services, as well as overall enterprise energy consumption. Apart from building components (architectural, electrical, and mechanical), multiple levels of information such as environmental conditions (outdoor and indoor) and occupant behavior patterns mostly driven by everyday business processes (schedules, loads, and specific business episodes related to occupancy patterns and building operations) are considered to be necessary for the effective and efficient modeling of building energy performance. Given the trend towards low energy buildings, actively engaging

Demand Flexibility Calculation
The analysis and calculation for flexibility profiles was performed for the individual zones based on the algorithmic processes (Figures 6-8) (Online Resources 6 and 8). The composition of the two approaches contributed to the calculation of the overall flexibility, which was 166 kwh. It could be concluded that most of the flexibility was derived from the research office, zone 1 (mostly due to HVAC usage), with 27.16 kwh, and public transactions office, zone 6 (mostly due to lighting), with 27.44 kwh. The results for all zones are summarized in Table 9.

Discussion and Conclusions
To truly understand how a building uses and consumes energy, one needs to go beyond its structural characteristics and theoretical models that assess its energy performance based on the intrinsic parameters of its envelope and static elements (such as heating, ventilation, and lighting). Business operations (process organization and management) are an inseparable part of overall business services, as well as overall enterprise energy consumption. Apart from building components (architectural, electrical, and mechanical), multiple levels of information such as environmental conditions (outdoor and indoor) and occupant behavior patterns mostly driven by everyday business processes (schedules, loads, and specific business episodes related to occupancy patterns and building operations) are considered to be necessary for the effective and efficient modeling of building energy performance. Given the trend towards low energy buildings, actively engaging occupants during the building operation is critical to achieve a high energy efficiency without sacrificing end-users' comfort or productivity.
The aim of this paper was to propose an energy management framework to enable the alignment of fine-grain building energy use data to organizational operational activities in order to extract useful insights about the energy demand flexibility in buildings in order to monitor and control organizational energy performance. The extracted knowledge was derived from correlating fundamental operational aspects (equipment utilization) and environmental conditions (humidity, luminance, and temperature) with occupants' behavior underlying organizational processes and structures. Having multiple sets of data of consumption per business process could result in high energy-consuming business process prioritization. The insights gained from this methodology comprise a knowledge base in order to design and implement appropriate energy efficiency strategies in buildings. The concept of business process integration with energy efficiency acts a tool for business analysts to proceed with process re-engineering with the aim of making processes energy efficient.
Based on the results of the pilot site demo evaluation, the two main points of interest for demand flexibility were found to be HVAC and lighting, which provided the system with maximum values of 7.08% and 19.46% of energy savings, respectively, while there was a maximum of 6.34% saving related to office appliances based on the business process flexibility analysis. Other business process key performance indicators, e.g., lead time, could be also considered in the future. According to the results (Table 9), it can be concluded that:

•
User energy profiles can be used for room and devices arrangement purposes in order to achieve better spatial usage. The cooling-heating unit flexibility is considerably larger in absolute size due to the size of the load in a building arrangement. However, in percentage analysis, the flexibility margin is limited (the thermostat provides a wide range of control to the end-user).

•
The flexibility of the lighting units is considerably larger in percentage by virtue of the load flexibility (when there is a dimming margin) in a building arrangement. There is a need for dimming for greater control flexibility in a building facility.

•
The loss rate is fixed for typical office spaces due to the non-idle operation of the devices in non-operational conditions. • The loss rate for lighting is limited to non-operational modes.
The above list of high-level guidelines is the framework for designing an energy management system based on the extraction of useful insights. When considering comfort demand flexibility, cooling/heating flexibility is useful in the case of demand shifting from peak time periods, where capacity constraints are binding, to off-peak time periods. Meanwhile, the flexibility of lighting units in the case of demand-shedding strategies takes advantage of dimming technologies as opposed to simply ON/OFF strategies.
The implementation of the proposed framework in larger scale can be secured by combining the following characteristics: • Developing more decision-making applications with a focus on automated management in the building environment.
Finally, in terms of organizational structure aspects, insights from business process flexibility can be the first step to applying business process re-engineering (BPR) methods in order to optimize energy consumption related to business processes [25]. A number of optimization practices are available including: (i) the dynamic tying of services delivered by an activity based on their energy consumption performance; (ii) the introduction or removal parallelization of activities to optimize the energy performance of a process as a whole; and (iii) the removal or modification of activities. A way to cut down the energy consumption of Information and communications technology (ICT) devices is to optimize the underlying infrastructure by, e.g., introducing cloud computing techniques that enable operators to decrease energy demand and CO 2 emissions by providing increased server utilization and the provisioning of resources on-demand [26,27].
In general, the extracted knowledge base provides the opportunity to (1) redesign business processes on a more sustainable way, (2) integrate infrastructure optimization and BPR techniques, (3) bypass organizational inefficiencies through the integration of the 'human factor' and promoting behavioral changes towards efficient energy consumption, or even (4) optimize the energy consumption beyond a company's boundary by utilizing externally sourced services.

Conflicts of Interest:
The authors declare that there is no conflict of interest.

Appendix A
Energies 2020, 13, x FOR PEER REVIEW 20 of 24 • Development of additional applications for modeling human behavior in the building environment. • Developing more decision-making applications with a focus on automated management in the building environment.
Finally, in terms of organizational structure aspects, insights from business process flexibility can be the first step to applying business process re-engineering (BPR) methods in order to optimize energy consumption related to business processes [25]. A number of optimization practices are available including: (i) the dynamic tying of services delivered by an activity based on their energy consumption performance; (ii) the introduction or removal parallelization of activities to optimize the energy performance of a process as a whole; and (iii) the removal or modification of activities. A way to cut down the energy consumption of Information and communications technology (ICT) devices is to optimize the underlying infrastructure by, e.g., introducing cloud computing techniques that enable operators to decrease energy demand and CO2 emissions by providing increased server utilization and the provisioning of resources on-demand [26,27].
In general, the extracted knowledge base provides the opportunity to (1) redesign business processes on a more sustainable way, (2) integrate infrastructure optimization and BPR techniques, (3) bypass organizational inefficiencies through the integration of the 'human factor' and promoting behavioral changes towards efficient energy consumption, or even (4) optimize the energy consumption beyond a company's boundary by utilizing externally sourced services.