An appendix to Automation and Machine Learning for Grid-Power Use Minimization in Sustainable Residential Architecture

An important component of the current study is a labelled dataset to train, validate, and test the final machine learning control system used to work towards greater energy savings. Since real, relevant datasets are difficult to obtain, a simulated dataset is generated using the nodal building energy simulation engine EnergyPlus. This appendix (A) explains the model built in EnergyPlus for which labelled data is obtained.

Table of Contents

Version/Revision History:

Version/Revision Date Published Details
V00, Rev.01 2021-11-25 Initial Draft
V01, Rev.00 2021-12-23 Midterm Submission

A.1 Introduction

An EnergyPlus shoebox model has been created to generate a dataset demonstrating the dependencies between relevant system parameters over a year. The final model used to obtain the training and validation datasets for this study is a version of a ShoeBox model provided by Evins 1 and Lari 2, altered to meet the current needs. It is the simplest representation of the situation under study—a low-energy-consumption residential home—that preserves all critical elements: solar radiation uptake, buoyancy-driven cooling, and baseboard heating.

Three pieces of software are used in conjunction to create this model:

  • EnergyPlus – the nodal thermal simulation engine.
  • Open Studio – a graphical user interface
  • SketchUp – a computer-aided design (CAD) program used to define and alter the model’s geometry.

A.2 EnergyPlus OpenStudioModel Model Definitions

The subsections bellow are organized to match the organization of EnergyPlus functionality in the Open Studio graphical user interface. For each subsection there is a brief description as well as some screen shots explaining how that functionality was used.

A.2.1 Weather

Historical weather data for Victoria, British Columbia is imported as “.epw” file, which defines the environmental conditions outside of the building for the study period. 2

A.2.2 Schedules

Schedules are defined for occupancy, activity, lighting, electrical equipment, and infiltration. Each of these was imported as a boiler-plate schedule set for commercial office buildings modeled in EnergyPlus.

Cooling and Heating Setpoint schedules were also predefined in the model supplied by Evins 1 and Lari 2.

A schedule to control a Venetian blind covering either window was developed specifically for this study where blinds have an influence on radiative heat flux entering the building. Either Venitian blind can be either open or closed. Accordingly, an on/off schedule type is used to control them. An effort is made to schedule the blinds to be open during the winter daylight hours and closed during what will likely be the hottest daylight hours of the summer, but no ‘hard-and-fast’ rules are applied in defining this schedule. This schedule controls only the south-facing window which is exposed to the most sun.

A.2.3 Construction

Construction is relatively arbitrary for this study. It will impact absolute results but not relative ones between dependant variables. Knowing this, common constructions, predefined by Evins 1 and Lari 2, are left unaltered.

A.2.4 Loads

Loads may be defined for people, lights, internal mass, and various types of equipment. Again, for the sake of this study these parameters have absolute and not relative effects and are left unaltered from Evins’ 1 and Lari’s 2 original model.

A.2.5 Space Types

Space types can be associated with a default construction set, default schedule set, design specification for outdoor air, space infiltration flow rate, and space infiltration effective leakage areas. Evins’ 1 and Lari’s 2 original model is left unaltered, which defined only one office space type with base construction, office schedule set, and office outdoor air.

A.2.6 Geometry

The geometry of a model is defined in the format of a “.idf” file. 2 Although the contents of these text files can be edited directly, it is often easiest to work on the geometry with the CAD software SketchUp.

The dimensions and orientation for the current shoebox model are comprised of two five-meter-long, by five-meter-wide, by three-meter-high (5m l × 5m w × 3m h) boxes stacked one on top of the other. Each has a four-meter-wide, by 1.5-meter-high (4m w × 1.5m h) window centered, one meter of the ground. The window for the lower box is in the south-facing wall, while the window for the upper box is in the north-facing wall. No floor/ceiling separates the lower box from the upper; however, they are defined as separate “thermal zones.”

A.2.7 Facility

The facility function of energy plus is not used for the purposes of this model.

A.2.8 Spaces

The spaces subsection of the OpenStudio EnergyPlus interface allows properties, loads, surfaces, subsurfaces, interior spaces, and shading to be assigned to different spaces. Two relevant specifications made for the two spaces in the current model are to the spaces themselves as well as the window subsurfaces.

In the current model, the first and second storeis are specified as separate spaces, each with its own associated thermal zone, but with the same space type, default construction type, and default schedule set.

The windows are defined as “OperableWindows,” indicating that they are opened and closed throughout study. 2

Likewise, the shading control type for the same windows is defined as “OnIfScheduleAllows,” indicating that the light transmission allowed by the associated Venetian blinds will be controlled by a schedule. 2

Loads remain unaltered from the original shoebox model provided by Evins 1 and Lari 2, and the interior partition functionality is not used.

A.2.9 Thermal Zones

As stated in the ‘Geometry’ sub-section, two thermal zones are defined. This allows the temperature and temperature rate-of-change to be evaluated for both the hypothetical first floor, and the hypothetical second floor.

A.2.10 Output Variables

Note: This part of the EnergyPlus Model is incomplete due to lack of clarity about which EnergyPlus output variables best meet the requirements of the model.

Using Big-Ladder Software’s 3 EnergyPlus Online Documentation, the outputs that corresponding to the relevant parameters being observed have been selected and tabulated below:

Parameter Type Parameter EnergyPlus Output EnergyPlus Output Desc.
Constraint Temperature Setpoint    
Control (Independent) Parameter % closed (window 1)    
Control (Independent) Parameter % blinded (window 1)    
Control (Independent) Parameter % closed (window 1)    
Control (Independent) Parameter % blinded (window 1)    
Dependant Parameter temperature (inside at the elevation of window 1)    
Dependant Parameter temperature rate of change (inside at the elevation of window 1)    
Dependant Parameter temperature (inside at the elevation of window 1)    
Dependant Parameter temperature rate of change (inside at the elevation of window 1)    
Invariraible Parameter Temperature (outside) Zone,Average,Site Outdoor Air Drybulb Temperature [C]  
Invariraible Parameter Temperature rate-of-change (outside)    
Invariraible Parameter Sun angle    
Invariraible Parameter Sun Intensity    
Parameter to be Minimized Artificial Heat Gain (HVAC) HVAC,Average,Zone Air System Sensible Heating Rate [W] HVAC,Average,Zone Air System Sensible Cooling Rate [W]  

A few relevant notes, from Big-Ladder Software 3, about interpreting output variables:

“Zone/HVAC - when the output is produced at the “Zone” timestep (ref: number of timesteps in each hour) or at the “HVAC” aka System timestep (which can vary for each hour). Average/Sum - whether this is a averaged value over the reporting period (such as a temperature or rate) or whether this is a summed value over the reporting period. Reporting periods are specified in the Output:Variable or Output:Meter objects. – The variable name one uses for reporting is displayed (e.g., Site Outdoor Drybulb Temperature) along with the units (e.g., [C]).”

A.2.11 Simulation Settings

The relevant simulation settings are the date ranges and the number of time steps per hour. For this model, a full year with six time steps per hour is specified, resulting in 52560 data points in the final data set.

A.2.12 Measures

Note: This part of the EnergyPlus Model is unresolved. See subsection A.13 for more information.

Measures allow parametric studies to be completed in EnergyPlus by changing paramtedures during a simulation period to mimic real-world applications. 3 They are added to the current model for the purposes of understanding the parametric affects of varied amounts of window opening on the interior temperatures over the study period. This is discussed more in depth in the following subsection (A.13).

A.3 Buoyancy-Driven Cooling

Note: This part of the EnergyPlus Model is unresolved. See https://unmethours.com/question/66159/how-can-windows-be-controlled-so-that-they-allow-buoyancy-driven-cooling-in-a-multi-level-building/ for more information.

An important part of the thermal model for this study is the role of opening windows on the interior environment of the building. It is known that if the windows are opened when the air inside the house is hotter than the air outside, the difference in densities will cause the hot air to rise out of the house and pull cold air from the exterior environment into the house. This phenomenon is referred to as “buoyancy-driven cooling.” 1

No definitive method exists by which to do this, and other researchers have used various approaches to include buoyancy-driven cooling in their thermal models. The consensus among EneryPlus users on Unmet Hours, a well-known EnergyPlus forums, seems to be that “Measures” are the best way to model opening and closing windows. (UnmetHours, 2021)

One particularly relevant approaches to controlling “operable windows” using measures is the following:

“Add Wind and Stack Open Area” Method: https://unmethours.com/question/20051/how-can-i-model-operable-windows-in-open-studio-111-and-its-schedule/

However, multiple other approaches are discussed here as well:

“AirflowNetwork:MultiZone:Component:DetailedOpening” method: https://unmethours.com/question/13/how-do-you-model-operable-windows/

For the purposes of this study, the “Add Wind and Stack Open Area” method is used because it accurately models human bahviour and is well documented. Using this method, a maximum indoor temperature can be set above which the windows will be opened and buoyancy-driven cooling will occur.

References Revisited

  1. Evins, 2021: Building Energy Data for Machine Learning  2 3 4 5 6 7

  2. Lari, 2021: Shaded Window Models Energy Plus  2 3 4 5 6 7 8 9 10

  3. Big-Ladder Software, 2021: Energy Plus Web-Based Documentation  2 3