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.

VL - 18 IS - 7 ER - TY - JOUR T1 - Co-simulation of innovative integrated HVAC systems in buildings JF - Journal of Building Performance Simulation Y1 - 2009 A1 - Marija Trcka A1 - Jan Hensen A1 - Michael Wetter KW - building performance simulation KW - co-simulation KW - hvac simulation KW - innovative building system modelling and simulation AB -Integrated 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.

VL - 2 UR - http://www.informaworld.com/smpp/section?content=a913244253&fulltext=713240928 IS - 3 ER - TY - Generic T1 - An implementation of co-simulation for performance prediction of innovative integrated HVAC systems in buildings T2 - Proc. of the 11th IBPSA Conference Y1 - 2009 A1 - Marija Trcka A1 - Michael Wetter A1 - Jan Hensen AB - 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. JF - Proc. of the 11th IBPSA Conference CY - Glasgow, Scotland UR - http://www.ibpsa.org/proceedings/BS2009/BS09_0724_731.pdf ER - TY - CONF T1 - Comparison of Co-Simulation Approaches for Building and HVAC/R System Simulation T2 - Proc. Building Simulation 2007 Y1 - 2007 A1 - Marija Trcka A1 - Michael Wetter A1 - Jan Hensen JF - Proc. Building Simulation 2007 CY - Beijing, China ER - TY - Generic T1 - Comparison of co-simulation approaches for building and HVAC/R system simulation. T2 - Proc. of the 10th IBPSA Conference Y1 - 2007 A1 - Marija Trcka A1 - Michael Wetter A1 - Jan Hensen AB - 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. JF - Proc. of the 10th IBPSA Conference CY - Beijing, China UR - http://www.ibpsa.org/proceedings/BS2007/p503_final.pdf ER - TY - Generic T1 - Comparison of a generalized pattern search and a genetic algorithm optimization method T2 - Proc. of the 8th IBPSA Conference Y1 - 2003 A1 - Michael Wetter A1 - Jonathan A. Wright ED - Godfried Augenbroe ED - Jan Hensen AB -Building 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.

JF - Proc. of the 8th IBPSA Conference CY - Eindhoven, Netherlands VL - III UR - http://www.ibpsa.org/proceedings/BS2003/BS03_1401_1408.pdf ER - TY - Generic T1 - A convergent optimization method using pattern search algorithms with adaptive precision simulation T2 - Proceedings of the 8th IBPSA Conference Y1 - 2003 A1 - Michael Wetter A1 - Elijah Polak ED - Godfried Augenbroe ED - Jan Hensen KW - coordinate search KW - direct search KW - genetic algorithm KW - hooke–jeeves KW - optimization KW - particle swarm optimization AB -In 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.

JF - Proceedings of the 8th IBPSA Conference CY - Eindhoven, Netherlands VL - III ER - TY - Generic T1 - GenOpt - A Generic Optimization Program T2 - Proc. of the 7th IBPSA Conference Y1 - 2001 A1 - Michael Wetter ED - Roberto Lamberts ED - Cezar O. R. Negrão ED - Jan Hensen AB -The 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.

JF - Proc. of the 7th IBPSA Conference CY - Rio de Janeiro VL - I UR - http://www.ibpsa.org/proceedings/BS2001/BS01_0601_608.pdf U2 - LBNL-48371 ER -