Project Website: http://lbl-srg.github.io/soep/, http://www.iea-annex60.org/, and https://ibpsa.github.io/project1/
-- Lawrence Berkeley National Lab – Berkeley, CA
-- National Renewable Energy Lab – Golden, CO
-- Modelon Inc. – Glastonbury, CT
-- Objexx Engineering Inc. – Needham, MA
-- Big Ladder Software, LLC – Denver, CO
Partners: IBPSA-World and 42 organizations participating in IEA EBC Annex 60 and IBPSA Project 1
DOE Funding: $1,800,000 in FY20; $10,010,000 overall
Cost Share: In kind contributions from IEA Annex 60 and IBPSA Project 1 participants
Project Term: 2012 –
Funding Opportunity: Emerging Technologies Core Funding
Related Projects: EnergyPlus, OpenStudio, Open Building Control, Data Center Toolkit, BOPTEST, URBANopt
Control of HVAC, lighting, and other building systems plays a significant role in building energy performance. Advanced control algorithms have been shown to reduce annual energy use by over 30%.
Many modern BEM engines including EnergyPlus are not well-suited to evaluating advanced control sequences and are not well integrated with control applications and workflows in general. The split between control and BEM workflows creates significant friction and dampens the adoption of advanced control as design engineers struggle to find traditional algorithms that approximate advanced control or use workarounds, while control engineers must interpret and re-implement control sequences that are implicit in energy models.
Spawn-of-EnergyPlus (Spawn) is a next-generation engine intended to bridges the worlds of BEM and control workflows. The intent is for Spawn and EnergyPlus to live side-by-side, with the OpenStudio software development kit providing access to both and, to the extent possible, insulating users and client vendors from implementation differences.
Spawn reuses the EnergyPlus modules for lighting, building envelope, and loads but re-implements the HVAC and controls modules in the equation-based modeling language Modelica. In equation-based modeling, domain (BEM) experts can focus on write the governing equations of the system to be simulated. These equations can then be simulated by domain-agnostic tools. Whereas EnergyPlus uses quasi-static load-based simulation of thermal loads and HVAC response, Spawn uses fully dynamic state-based simulation. Whereas EnergyPlus retroactively interprets and applies the actions of control sequences within the timestep, Spawn interprets and executes control sequences as they are implemented in physical building controllers.
The ability to directly simulate physical control sequences creates a bridge that allows simulated sequences to be directly ported to implementation. A companion project, Open Building Control, is fleshing out this connection on the control workflow side.
The use of the Modelica language separates domain-specific model development from domain-agnostic model compilation and numerical solution, allowing the project to leverage these overlapping but largely separate areas of expertise. Since 2012, BTO has supported the development of the Modelica Buildings Library, an international effort aimed at creating modular models of building components and physical phenomena. Library development significantly advanced through the International Energy Agency (IEA) Annex 60 “New generation computational tools for building and community energy systems based on the Modelica and Functional Mockup Interface standards”. Development coordination has now transitioned to the International Building Performance Simulation Association (IBPSA) where 20 organizations contribute to IBPSA Project 1 “BIM/GIS and Modelica Framework for building and community energy system design and operation”.
The Modelica Buildings Library provides the domain-specific content for Spawn. BTO is working with commercial partners to provide domain-agnostic pieces like a Modelica translator and a simulation manager. As of spring 2018, BTO has an "alpha" prototype of a Spawn executable which combines EnergyPlus, Modelica Buildings Library components, the JModelica compiler, the g++ C++ compiler and the pyFMI simulator and can simulate simple buildings. A beta system is expected sometime in 2020 or 2021.
Spawn gains additional leverage by heavily leveraging the Functional Mockup Interface (FMI) standard for co-simulation, i.e., for simulation component and engine coordination. The use of FMI will allow Spawn to to integrate with other simulation engines that support the FMI standard, a number that currently stands at 89 and is growing. It will also allow Spawn to incorporate proprietary equipment models from manufacturers. Current solver-based BEM tools have to reverse-engineer models for new equipment or fit specific equipment performance characteristics to generic models, both approaches are costly and time consuming. FMI allows manufacturers to plug in-house component models into larger simulation frameworks without compromising intellectual property or competitive advantage.
The use of the Modelica and FMI standards provides a stable platform for buildings industry investment, and allows it to leverage technologies, tools, and investments from other related domains.
DOE Technology Manager: Amir Roth
Principal Investigator: Michael Wetter, LBNL
- Wangda Zuo, Michael Wetter, Wei Tian, Dan Li, Mingang Jin and Qingyan Chen. Coupling indoor airflow, HVAC, control and building envelope heat transfer in the Modelica Buildings library. Journal of Building Performance Simulation, 9(4), p. 366-381, 2016.
- Michael Wetter, Marco Bonvini and Thierry S. Nouidui. Equation-based languages - A new paradigm for building energy modeling, simulation and optimization. Energy and Buildings, 117(1), p. 290-300, 2016. Also available as LBNL Technical Report LBNL-1003383.
- Michael Wetter, Wangda Zuo, Thierry S. Nouidui and Xiufeng Pang. Modelica Buildings library. Journal of Building Performance Simulation, 7(4):253-270, 2014. Limited number of free e-prints.
- Michael Wetter. Modelica-based Modeling and Simulation to Support Research and Development in Building Energy and Control Systems. Journal of Building Performance Simulation, 2(2):143-161, 2009. Also available as LBNL Technical Report LBNL-2740E.pdf.
- Michael Wetter. A View on Future Building System Modeling and Simulation. Published in Building Performance Simulation for Design and Operation, 2011, Jan L. M. Hensen and Roberto Lamberts (editors), Routledge, UK, ISBN: 978-0-415-47414-6.
- Michael Wetter, Thierry S. Nouidui, David Lorenzetti, Edward A. Lee and Amir Roth. Prototyping the next generation EnergyPlus simulation engine. Proc. of the 14th IBPSA Conference, p. 403--410, Hyderabad, India, December 2015.
- Michael Wetter, Marcus Fuchs, Pavel Grozman, Lieve Helsen, Filip Jorissen, Moritz Lauster, Dirk Müller, Christoph Nytsch-Geusen, Damien Picard, Per Sahlin and Matthis Thorade. IEA EBC Annex 60 Modelica Library - An international collaboration to develop a free open-source model library for buildings and community energy systems. Proc. of the 14th IBPSA Conference, p. 395--402, Hyderabad, India, December 2015.
- Michael Wetter, Marco Bonvini, Thierry S. Nouidui, Wei Tian, and Wangda Zuo. Modelica Buildings library 2.0.
Proc. of the 14th IBPSA Conference, p. 387--394, Hyderabad, India, December 2015.
- Marco Bonvini, Michael Wetter and Thierry Stephane Nouidui. A Modelica package for building-to-electrical grid integration.
Proc. of 5th BauSim Conference, p. 6-13, Aachen, Germany, September 2014.
- Wangda Zuo, Michael Wetter, Dan Li, Mingang Jin, Wei Tian and Qingyan Chen. Coupled Simulation of Indoor Environment, HVAC and Control System by Using Fast Fluid Dynamics and the Modelica Buildings Library. Proc. of ASHRAE/IBPSA-USA Building Simulation Conference, p. 56-63, Atlanta, GA, September 2014.
- David H. Blum and Leslie K. Norford. Dynamic Simulation of Regulation Demand Response by VAV HVAC Systems.
Proc. of ASHRAE/IBPSA-USA Building Simulation Conference, p. 402-409, Atlanta, GA, September 2014.
- Michael Wetter. Fan and pump model that has a unique solution for any pressure boundary condition and control signal.
Proc. of the 13th IBPSA Conference, p. 3505-3512, Chambéry, France, August 2013.
- Xiufeng Pang, Raj Dye, Thierry Stephane Nouidui, Michael Wetter, and Joseph J. Deringer. Linking interactive Modelica simulations to HTML5 using the Functional Mockup Interface for the LearnHPB platform. Proc. of the 13th IBPSA Conference, p. 2823--2829, Chambéry, France, August 2013.
- Donghun Kim, Wangda Zuo, James E. Braun, and Michael Wetter. Comparisons of building system modeling approaches for control system design. Proc. of the 13th IBPSA Conference, p. 3267-3274, Chambéry, France, August 2013.
- Thierry Stephane Nouidui, Kaustubh Phalak Wangda Zuo, and Michael Wetter. Validation and Application of the Room Model of the Modelica Buildings library. Proc. of the 9th International Modelica Conference, Munich, Germany, September 2012.
- Gregory Provan and Alberto Venturini. Stochastic Simulation and Interference using Modelica.
Proc. of the 9th International Modelica Conference, Munich, Germany, September 2012.
- Roberta Ansuini, Roberto Larghetti, Massimo Vaccarini, Alessandro Carbonari, Alberto Giretti, Sara Ruffini, Hongliang Guo, and Sian Lun Lau. Hybrid Modeling for Energy Saving in Subway Stations. Proc. of the First Building Simulation and Optimization Conference, Loughborough, UK, September 2012.
- Thierry Stephane Nouidui, Michael Wetter, and Wangda Zuo. Validation of the Window Model of the Modelica Buildings library.
Proc. of the 5th SimBuild Conference, Madison, WI, USA, August 2012.
- Bryan Eisenhower, Kazimir Gasljevic, and Igor Mezic. Control-Oriented Modeling and Calibration of Building Energy Models Using Modelica. Proc. of the 5th SimBuild Conference, Madison, WI, USA, August 2012.
- Michael Wetter, Wangda Zuo, and Thierry Stephane Nouidui. Modeling of heat transfer in rooms in the Modelica "Buildings" library.
Proc. of the 12th IBPSA Conference, p. 1096--1103. Sydney, Australia, November 2011.
- Michael Wetter, Wangda Zuo, and Thierry Stephane Nouidui. Recent developments of the Modelica buildings library for building energy and control systems. Proc. of the 8th International Modelica Conference. Dresden, Germany, March 2011.
- Michael Wetter. Modelica Library for Building Heating, Ventilation and Air-Conditioning Systems. Proc. of the 7th International Modelica Conference. Como, Italy, September 2009.
- Michael Wetter. A Modelica-based model library for building energy and control systems. Proc. of the 11th IBPSA Conference, p. 652--659. Glasgow, Scotland, July 2009.
- Michael Wetter. Multizone Airflow Model in Modelica. Proc. of the 5th International Modelica Conference, p. 431--440. Vienna, Austria, September 2006. (The models that are described in this paper have been implemented in Buildings library in the package Buildings.Airflow.)