Integrated performance simulation of buildings and heating, ventilation and air-conditioning (HVAC) systems can help in reducing energy consumption and increasing occupant comfort. However, no single building performance simulation (BPS) tool offers sufficient capabilities and flexibilities to analyze integrated building systems and to enable rapid prototyping of innovative building and system technologies. One way to alleviate this problem is to use co-simulation to integrate different BPS tools. Co-simulation approach represents a particular case of simulation scenario where at least two simulators solve coupled differential-algebraic systems of equations and exchange data that couples these equations during the time integration.

This article analyzes how co-simulation influences consistency, stability and accuracy of the numerical approximation to the solution. Consistency and zero-stability are studied for a general class of the problem, while a detailed consistency and absolute stability analysis is given for a simple two-body problem. Since the accuracy of the numerical approximation to the solution is reduced in co-simulation, the article concludes by discussing ways for how to improve accuracy.

%B Simulation Modelling Practice and Theory %V 18 %P 957-970 %8 08/2010 %G eng %N 7 %& 957 %R 10.1016/j.simpat.2010.02.011 %0 Journal Article %J Journal of Building Performance Simulation %D 2009 %T Co-simulation of innovative integrated HVAC systems in buildings %A Marija Trcka %A Jan Hensen %A Michael Wetter %K building performance simulation %K co-simulation %K hvac simulation %K innovative building system modelling and simulation %XIntegrated performance simulation of buildings HVAC systems can help in reducing energy consumption and increasing occupant comfort. However, no single building performance simulation (BPS) tool offers sufficient capabilities and flexibilities to analyze integrated building systems and to enable rapid prototyping of innovative building and system technologies. One way to alleviate this problem is to use co-simulation, as an integrated approach to simulation. This article elaborates on issues important for co-simulation realization and discusses multiple possibilities to justify the particular approach implemented in the here described co-simulation prototype. The prototype is validated with the results obtained from the traditional simulation approach. It is further used in a proof-of-concept case study to demonstrate the applicability of the method and to highlight its benefits. Stability and accuracy of different coupling strategies are analyzed to give a guideline for the required coupling time step.

%B Journal of Building Performance Simulation %V 2 %P 209-230 %G eng %U http://www.informaworld.com/smpp/section?content=a913244253&fulltext=713240928 %N 3 %& 209 %R 10.1080/19401490903051959 %0 Conference Proceedings %B Proc. of the 11th IBPSA Conference %D 2009 %T An implementation of co-simulation for performance prediction of innovative integrated HVAC systems in buildings %A Marija Trcka %A Michael Wetter %A Jan Hensen %X Integrated performance simulation of buildings and heating, ventilation and air-conditioning (HVAC)systems can help reducing energy consumption and increasing level of occupant comfort. However, no singe building performance simulation (BPS) tool offers sufficient capabilities and flexibilities to accommodate the ever-increasing complexity and rapid innovations in building and system technologies. One way to alleviate this problem is to use co-simulation. The co-simulation approach represents a particular case of simulation scenario where at least two simulators solve coupled differential-algebraic systems of equations and exchange data that couples these equations during the time integration. This paper elaborates on issues important for co-simulation realization and discusses multiple possibilities to justify the particular approach implemented in a co-simulation prototype. The prototype is verified and validated against the results obtained from the traditional simulation approach. It is further used in a case study for the proof-of-concept, to demonstrate the applicability of the method and to highlight its benefits. Stability and accuracy of different coupling strategies are analyzed to give a guideline for the required coupling frequency. The paper concludes by defining requirements and recommendations for generic co-simulation implementations. %B Proc. of the 11th IBPSA Conference %C Glasgow, Scotland %P 724-731 %8 07/2009 %G eng %U http://www.ibpsa.org/proceedings/BS2009/BS09_0724_731.pdf %0 Conference Paper %B Proc. Building Simulation 2007 %D 2007 %T Comparison of Co-Simulation Approaches for Building and HVAC/R System Simulation %A Marija Trcka %A Michael Wetter %A Jan Hensen %B Proc. Building Simulation 2007 %C Beijing, China %8 09/2007 %G eng %0 Conference Proceedings %B Proc. of the 10th IBPSA Conference %D 2007 %T Comparison of co-simulation approaches for building and HVAC/R system simulation. %A Marija Trcka %A Michael Wetter %A Jan Hensen %X Appraisal of modern performance-based energy codes, as well as heating, ventilation, air- conditioning and refrigeration (HVAC/R) system*design require use of an integrated building and system performance simulation program. However, the required scope of the modeling library of such integrated tools often goes beyond those offered in available simulation programs. One remedy for this situation would be to develop the required models in an existing simulation program. However, due to the lack of model interoperability, the model would not be available in other simulation programs. We suggest co-simulation for HVAC/R system simulation as an approach to alleviate the above issues. In co-simulation, each subsystem is modeled and simulated in the appropriate simulation program, potentially on different computers, and intermediate results are communicated over the network during execution time. We discuss different co-simulation approaches and give insights into specific prototypes. Based on the prototypes, we compare the approaches in terms of accuracy, stability and execution time, using a simple case study. We finish with results discussions and recommendations on how to perform co-simulation to maintain the required accuracy of simulation results. %B Proc. of the 10th IBPSA Conference %C Beijing, China %P 1418-1425 %8 09/2007 %G eng %U http://www.ibpsa.org/proceedings/BS2007/p503_final.pdf %0 Conference Proceedings %B Proc. of the 8th IBPSA Conference %D 2003 %T Comparison of a generalized pattern search and a genetic algorithm optimization method %A Michael Wetter %A Jonathan A. Wright %E Godfried Augenbroe %E Jan Hensen %XBuilding and HVAC system design can significantly improve if numerical optimization is used. However, if a cost function that is smooth in the design parameter is evaluated by a building energy simulation program, it usually becomes replaced with a numerical approximation that is discontinuous in the design parameter. Moreover, many building simulation programs do not allow obtaining an error bound for the numerical approximations to the cost function. Thus, if a cost function is evaluated by such a program, optimization algorithms that depend on smoothness of the cost function can fail far from a minimum.

For such problems it is unclear how the Hooke-Jeeves Generalized Pattern Search optimization algorithm and the simple Genetic Algorithm perform. The Hooke-Jeeves algorithm depends on smoothness of the cost function, whereas the simple Genetic Algorithm may not even converge if the cost function is smooth. Therefore, we are interested in how these algorithms perform if used in conjunction with a cost function evaluated by a building energy simulation program.

In this paper we show what can be expected from the two algorithms and compare their performance in minimizing the annual primary energy consumption of an office building in three locations. The problem has 13 design parameters and the cost function has large discontinuities. The optimization algorithms reduce the energy consumption by 7% to 32%, depending on the building location. Given the short labor time to set up the optimization problems, such reductions can yield considerable economic gains.

%B Proc. of the 8th IBPSA Conference %C Eindhoven, Netherlands %V III %P 1401-1408 %G eng %U http://www.ibpsa.org/proceedings/BS2003/BS03_1401_1408.pdf %0 Conference Proceedings %B Proceedings of the 8th IBPSA Conference %D 2003 %T A convergent optimization method using pattern search algorithms with adaptive precision simulation %A Michael Wetter %A Elijah Polak %E Godfried Augenbroe %E Jan Hensen %K coordinate search %K direct search %K genetic algorithm %K hooke–jeeves %K optimization %K particle swarm optimization %XIn solving optimization problems for building design and control, the cost function is often evaluated using a detailed building simulation program. These programs contain code features that cause the cost function to be discontinuous. Optimization algorithms that require smoothness can fail on such problems. Evaluating the cost function is often so time-consuming that stochastic optimization algorithms are run using only a few simulations, which decreases the probability of getting close to a minimum. To show how applicable direct search, stochastic, and gradient-based optimization algorithms are for solving such optimization problems, we compare the performance of these algorithms in minimizing cost functions with different smoothness. We also explain what causes the large discontinuities in the cost functions.

%B Proceedings of the 8th IBPSA Conference %C Eindhoven, Netherlands %V III %P 1393-1400 %G eng %0 Conference Proceedings %B Proc. of the 7th IBPSA Conference %D 2001 %T GenOpt - A Generic Optimization Program %A Michael Wetter %E Roberto Lamberts %E Cezar O. R. Negrão %E Jan Hensen %XThe potential offered by computer simulation is often not realized: Due to the interaction of system variables, simulation users rarely know how to choose input parameter settings that lead to optimal performance of a given system. Thus, a program called GenOpt® that automatically determines optimal parameter settings has been developed.

GenOpt is a generic optimization program. It minimizes an objective function with respect to multiple parameters. The objective function is evaluated by a simulation program that is iteratively called by GenOpt. In thermal building simulation — which is the main target of GenOpt — the simulation program usually has text-based I/O. The paper shows how GenOpt's simulation program interface allows the coupling of any simulation program with text based I/O by simply editing a configuration file, avoiding code modification of the simulation program. By using object-oriented programming, a high-level interface for adding minimization algorithms to GenOpt's library has been developed. We show how the algorithm interface separates the minimization algorithms and GenOpt's kernel, which allows implementing additional algorithms without being familiar with the kernel or having to recompile it. The algorithms can access utility classes that are commonly used for minimization, such as optimality check, line-search, etc.

GenOpt has successfully solved various optimization problems in thermal building simulation. We show an example of minimizing source energy consumption of an office building using EnergyPlus, and of minimizing auxiliary electric energy of a solar domestic hot water system using TRNSYS. For both examples, the time required to set up the optimization was less than one hour, and the energy savings are about 15%, together with better daylighting usage or lower investment costs, respectively.

%B Proc. of the 7th IBPSA Conference %C Rio de Janeiro %V I %P 601-608 %G eng %U http://www.ibpsa.org/proceedings/BS2001/BS01_0601_608.pdf %2 LBNL-48371