skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: A Computationally Efficient, High-Fidelity Testbed for Building Climate Control
Abstract Advanced building climate control systems have the potential to significantly reduce greenhouse gas emissions and energy costs, but more research is needed to bring these systems to market. A key component of building control research is testing algorithms through simulation. Many high-fidelity simulation testbeds exist, but they tend to be complex and opaque to users. Simpler, more transparent testbeds also exist, but they tend to neglect important nonlinearities and disturbances encountered in practice. In this paper, we develop a simulation testbed that is computationally efficient, transparent and high fidelity. We validate the testbed empirically, then demonstrate its use through the examples of system identification, online state and parameter estimation, and model predictive control (MPC). The testbed is intended to enable rapid, reliable analysis of building control algorithms, thereby accelerating progress toward reducing greenhouse gas emissions at scale. We call the resulting testbed and supporting functions the bldg toolbox, which is free, open source, and available online.  more » « less
Award ID(s):
1711546
PAR ID:
10304047
Author(s) / Creator(s):
 ;  ;  
Date Published:
Journal Name:
ASME Journal of Engineering for Sustainable Buildings and Cities
Volume:
2
Issue:
1
ISSN:
2642-6641
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. null (Ed.)
    Our world today increasingly relies on the orchestration of digital and physical systems to ensure the successful operations of many complex and critical infrastructures. Simulation-based testbeds are useful tools for engineering those cyber-physical systems and evaluating their efficiency, security, and resilience. In this article, we present a cyber-physical system testing platform combining distributed physical computing and networking hardware and simulation models. A core component is the distributed virtual time system that enables the efficient synchronization of virtual clocks among distributed embedded Linux devices. Virtual clocks also enable high-fidelity experimentation by interrupting real and emulated cyber-physical applications to inject offline simulation data. We design and implement two modes of the distributed virtual time: periodic mode for scheduling repetitive events like sensor device measurements, and dynamic mode for on-demand interrupt-based synchronization. We also analyze the performance of both approaches to synchronization including overhead, accuracy, and error introduced from each approach. By interconnecting the embedded devices’ general purpose IO pins, they can coordinate and synchronize with low overhead, under 50 microseconds for eight processes across four embedded Linux devices. Finally, we demonstrate the usability of our testbed and the differences between both approaches in a power grid control application. 
    more » « less
  2. Process systems engineering research often utilizes virtual testbeds consisting of physicsbased process models. As machine learning and image processing become more relevant sensing frameworks for control, it becomes important to address how process systems engineers can research the development of control and analysis frameworks that utilize images of physical processes. One method for achieving this is to develop experimental systems; another is to use software that integrates the visualization of systems, as well as modeling of the physics, such as three-dimensional graphics software. The prior work in our group analyzed image-based control for the small-scale example of level in a tank and hinted at some of its potential extensions, using Blender as the graphics software and programming the physics of the tank level via the Python programming interface. The present work focuses on exploring more practical applications of image-based control. Specifically, in this work, we first utilize Blender to demonstrate how a process like zinc flotation, where images of the froth can play a key role in assessing the quality of the process, can be modeled in graphics software through the integration of visualization and programming of the process physics. Then, we demonstrate the use of Blender for testing image-based controllers applied to two other processes: (1) control of the stochastic motion of a nanorod as a precursor simulation toward image-based control of colloidal self-assembly using a virtual testbed; and (2) controller updates based on environment recognition to modify the controller behavior in the presence of different levels of sunlight to reduce the impacts of environmental disturbances on the controller performance. Throughout, we discuss both the setup used in Blender for these systems, as well as some of the features when utilizing Blender for such simulations, including highlighting cases where non-physical parameters of the graphics software would need to be assumed or tuned to the needs of a given process for the testbed simulation. These studies highlight benefits and limitations of this framework as a testbed for image-based controllers and discuss how it can be used to derive insights on image-based control functionality without the development of an experimental testbed. 
    more » « less
  3. The transformation of innovative research ideas to production systems is highly dependent on the capability of performing realistic and reproducible network experiments. In this work, we present a network testbed consisting of container-based network emulation and physical devices to advocate high fidelity and reproducible networking experiments. The testbed integrates network emulators (Mininet), a distributed control environment (ONOS), and physical switches (Pica8). The testbed (1) offers functional fidelity through unmodified code execution in emulated networks, (2) supports large-scale network experiments using lightweight OS-level virtualization techniques and capable of running across distributed physical machines, (3) provides the topology flexibility, and (4) enhances the repeatability and reproducibility of network experiments. We validate the testbed fidelity through extensive experiments under different network conditions (e.g., varying topology and traffic pattern). We also use the testbed to reproduce key results from published network experiments, such as Hedera, a scalable and adaptive network traffic flow scheduling system. 
    more » « less
  4. Abstract Terrestrial organic matter (tOM) plays a critical role in aquatic ecosystems, influencing carbon processes and greenhouse gas emissions. Here, we investigate the impact of tOM on methane production in littoral and pelagic sediments from the Mississippi River headwaters using a microcosm approach. Contrary to our expectations, tOM addition universally increased methane production across lentic sediments, with no significant difference between littoral and pelagic zones. Methane production was influenced by select sediment microorganisms, primarily methanogens and lignocellulose degrading bacteria, which responded similarly across different sediment habitats. The study highlights the role of cytochrome-containing methanogens and their syntrophic relationships with fermentative bacteria, emphasizing the significance of microbial community structure in sediment methane dynamics. Our findings suggest that increasing tOM loads to freshwater systems could have broader implications for methane emissions, driven by specific microbial interactions. Author Contribution StatementHMS and TLH conceived the study and obtained the funds. HMS led fieldwork and microcosm set-up. HMS and LAD analyzed gas samples and HMS performed the data analysis and graphical representation of the results. HMS wrote the first draft of the manuscript, and all authors contributed significantly to the preparation of the final draft. Scientific Significance StatementAs human activities and climate change increase the amount of organic material entering lakes and rivers, understanding the effects this has on greenhouse gas emissions is crucial. Our study reveals that adding terrestrial organic matter to freshwater sediments universally boosts methane production, a potent greenhouse gas. Through the exploration of microbial communities responsible for this process, our research highlights how changes in terrestrial organic matter export to aquatic systems could increase methane emissions from sediments. Data Availability StatementAdditional Supporting Information can be found in the online version of this article, including an extended version of methods and supplementary tables. Sequencing data associated with this paper is available on NCBI, BioProject PRJNA1164797. 
    more » « less
  5. Recent research has highlighted the effectiveness of advanced building controls in reducing the energy consumption of heating, ventilation, and air-conditioning (HVAC) systems. Among advanced building control strategies, deep reinforcement learning control (DRL) shows the potential to achieve energy savings for HVAC systems and has emerged as a promising strategy. However, training DRL requires an interactive environment for the agent, which is challenging to achieve with real buildings due to time and response speed constraints. To address this challenge, a simulation environment serving as a training environment is needed, even though the DRL algorithm does not necessarily need a model. The error between the model and the real building is inevitable in this process, which may influence the efficiency of the DRL controller. To investigate the impact of model error, a virtual testbed was established. A high- fidelity Modelica-based model is developed serving as the virtual building. Three reduced-order models (ROMs) (i.e., 3R2C, Light Gradient Boosting Machine (LightGBM) and artificial neural network (ANN) models) were trained with the historical data generated from the virtual building and were embedded in the training environments of DRL. The sensitivity of ROMs and the Modelica model to random and periodical actions were tested and compared. Deploying the policy trained based on a ROM-based environment, which stands for a surrogate model in reality, into the Modelica-based virtual building testing environment, which stands for real-building, is a practical approach to implementing the DRL control. The performance of the practical DRL controller is compared with rule-based control (RBC) and an ideal DRL controller which was trained and deployed both in the virtual building environment. In the final episode with best rewards of the case study, the 3R2C, LightGBM, and ANN-based DRL outperform the RBC by 7.4%, 14.4%, and 11.4%, respectively in terms of the reward, comprising the weighted sum of energy cost, temperature violations, and the slew rate of the control signal, but falls short of the ideal Modelica-based DRL controller which outperforms RBC by 29.5%. The DRL controllers based on data-driven models are highly unstable with higher maximum rewards but much lower average rewards which might be caused by the significant prediction defect in certain action regions of the data-driven model. 
    more » « less