This paper describes the Buildings library, a free open-source library that is implemented in Modelica, an equation-based object-oriented modeling language. The library supports rapid prototyping, as well as design and operation of building energy and control systems.First, we describe the scope of the library, which covers HVAC systems, multi-zone heat transfer and multi-zone airflow and contaminant transport. Next, we describe differentiability requirements and address how we implemented them. We describe the class hierarchy that allows implementing component models by extending partial implementations of base models of heat and mass exchangers, and by instantiating basic models for conservation equations and flow resistances. We also describe associated tools for pre-and post-processing, regression tests, co-simulation and real-time data exchange with building automation systems.The paper closes with an example of a chilled water plant, with and without water-side economizer, in which we analyzed the system-level efficiency for different control setpoints.
This article describes the development and implementation of the Functional Mock-up Unit (FMU) for cosimulation import interface in EnergyPlus. This new capability allows EnergyPlus to conduct co-simulation with various simulation programs that are packaged as FMUs. For example, one can model an innovative Heating, Ventilation, and Air Conditioning (HVAC) system and its controls in Modelica, export the HVAC system and the control algorithm as an FMU, and link it to a model of the building envelope in EnergyPlus for run-time data exchange.The formal of FMUs is specified in the Functional Mock-up Interface (FMI) standard, an open standard designed to enable links between disparate simulation programs. An FMU may contain models, model description, source code, and executable programs for multiple platforms. A master simulator-in this case, EnergyPlusimports and simulates the FMUs, controlling simulation time and coordinating the exchange of data between the different FMUs.This article describes the mathematical basis of the FMI standard, discusses its application to EnergyPlus, and describes the architecture of the EnergyPlus implementation. It then presents a typical workflow, including pre-processing and co-simulation. The article concludes by presenting two use cases in which models of a ventilation system and a shading controller are imported in EnergyPlus as an FMU.
Most of the state-of-the-art building simulation programs implement models in imperative programming languages. This complicates modeling and excludes the use of certain efficient methods for simulation and optimization. In contrast, equation-based modeling languages declare relations among variables, thereby allowing the use of computer algebra to enable much simpler schematic modeling and to generate efficient code for simulation and optimization. We contrast the two approaches in this paper. We explain how such manipulations support new use cases. In the first of two examples, we couple models of the electrical grid, multiple buildings, HVAC systems and controllers to test a controller that adjusts building room temperatures and PV inverter reactive power to maintain power quality. In the second example, we contrast the computing time for solving an optimal control problem for a room-level model predictive controller with and without symbolic manipulations. Exploiting the equation-based language led to 2, 200 times faster solution.
This paper describes the implementation of the room heat transfer model in the free open-source Modelica "Buildings" library. The model can be used as a single room or to compose a multizone building model. We discuss how the model is decomposed into submodels for the individual heat transfer phenomena. We also discuss the main physical assumptions. The room model can be parameterized to use different modeling assumptions, leading to linear or non-linear differential algebraic systems of equations. We present numerical experiments that show how these assumptions affect computing time and accuracy for selected cases of the ANSI/ASHRAE Standard 140-2007 envelop validation tests.
At the Modelica 2009 conference, we introduced the Buildings library, a freely available Modelica library for building energy and control systems [16].This paper reports the updates of the library and presents example applications for a range of heating, ventilation and air conditioning (HVAC) systems. Over the past two years, the library has been further developed. The number of HVAC components models has been doubled and various components have been revised to increase numerical robustness.The paper starts with an overview of the library architecture and a description of the main packages. To demonstrate the features of the Buildings library, applications that include multizone airflow simulation as well as supervisory and local loop control of a variable air volume (VAV) system are briefly described. The paper closes with a discussion of the current development.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.