%0 Journal Article %K Transport %K Contam %K Buildings %K Simulation %K Contaminant %K CVODE %K Pollutant %A David M Lorenzetti %A W. W Stuart Dols %A Andrew K Persily %A Michael D Sohn %B Building and Environment %D 2013 %P 260 - 264 %R 10.1016/j.buildenv.2013.05.008 %T A stiff, variable time step transport solver for CONTAM %V 67 %2 LBNL-186793 %8 09/2013 %! Building and Environment %X

We describe the implementation of a new transport solver for CONTAM, a whole-building airflow and contaminant transport model developed by the National Institute of Standards and Technology. Based on CVODE, a general-purpose code for ordinary differential equations, the new solver features variable time steps, high-order integration methods, and automatic error control. These techniques can make CONTAM more accurate when simulating fast transport mechanisms such as high air change rates, sorption, and chemical reactions. We present the relevant theory, then describe the modeling decisions needed to integrate CVODE into CONTAM. Testing with two realistic building models shows that CVODE can run faster than the legacy solvers.