The history of major enhancements and fixes to CONTAM is provided below.
Fixes to ContamW only (ContamX version remains at 188.8.131.52).
Modified PRJ to include multigrid CFD solution variables, but ContamW has not yet been modified to provide access to these variables. The solution method defaults to multigrid, and the PRJ file must be modified using a text editor to change the default solution method and associated values.
Most modifications to version 3.3 relate to bug fixes and coupling with external programs. The only major change related to CONTAM capabilities is the implementation of a multigrid CFD solver. However, the minor version, i.e., “.3” was updated due to changes in the PRJ format. Icon coloring was added to address icons beyond the previous zone and duct icon coloring. An additional icon color field was added for airflow paths, source sinks, simple air handling systems, occupant exposure and annotations. The use of outdoor air and zone humidity ratio was incorporated into the ContamX messaging scheme.
EnergyPlus – Provide the option to create air loops associated with Simple Air Handling Systems that contain a fan to move air through the loop or to incorporate one of two types of thermal conditioning systems within the air loop, i.e., AirLoopHVAC:UnitaryHeatCool or AirLoopHVAC:UnitaryHeatPump:AirToAir system.
TRNSYS – Streamlined coupling process and updated for TRNSYS version 18.
Coupled EnergyPlus-CONTAM and TRNSYS-CONTAM - Enabled coupled simulations to start on date other than Jan 01 and to cross the Dec/Jan end of year.
EnergyPlus-CONTAM Multizone Airflow, Heat Transfer and Contaminant Analysis - This capability includes modifications to ContamX and the creation of a new dynamic link library (DLL) that implements co-simulation between EnergyPlus and ContamX via the Functional Mockup Interface (FMI). This includes the development of ContamFMU.dll and enhancing CONTAM3DExport.exe to enable the creation of EnergyPlus input files for the purposes of performing co-simulation.
Contaminant Exfiltration Result Files - Added the ability to create result files that provide the mass of contaminants that are transported to ambient.
SQLite Database Result Files - Added the ability to create a SQLite database file (.sqlite3) that contains the same results as the simulation results file (.sim).
UVGI Filter - Added an ultra-violet germicidal irradiation filter element.
Direct Scheduling via CVF and DVF Controls - Added the ability to directly schedule items, e.g., source/sinks and airflow paths, via external files without an associated controls networks drawn on the SketchPad.
TRNSYS-CONTAM Multizone Airflow, Heat Transfer and Contaminant Analysis - This capability includes modifications to ContamW and ContamX and the creation of a new TRNSYS Type and the software utilities to provide a new coupling process that enables ContamX to be more directly coupled with TRNSYS Type56.
ContamW Pseudo-geometry - Provide ability to define scaling factor for drawing on the ContamW SketchPad and view wall dimensions on the SketchPad. This feature is an aid to utilities provided for the TRNSYS-CONTAM coupling that create three-dimensional representations for TRNSYS Type56 multizone heat transfer calculation.
ContamW Temperature Plots - Provide ability to plot temperatures in ContamW.
ContamX - Added socket communication messages that provide for the transfer of temperatures and airflow to/from ContamX.
Type98 - Acts as a bridge between ContamX and Type56 for TRNSYS simulations.
Utilities - Created software utilities CONTAM3DExport.exe to extrude scaled CONTAM prj representations to form Trnsys3didf files and Type56-98Coupler.exe to form the linkage between Type56 and Type98.
CVODE - Implemented a variable time step solver for transient contaminant transport calculations. CVODE, is a general-purpose code for solving ordinary differential equations, that provides for variable time steps, high-order integration methods, and automatic error control.
Particle Plots - Provide ability to plot particle distributions when simulating multiple size ranges with ContamW.
Result Mode Toolbar - Provide toolbar buttons to manipulate result time step display.
Simulation Time Step Analysis - Provide ability for user to check schedules and input files (WTH, CTM, DVF, CVF) for maximum time step required to capture all scheduled events.
Program/Project Configuration - Modified ContamW configuration to separate out Program-related options from Project-related options.
Result File Output - Provide user with control over output of simulation result files CSM, LOG, and SRF.
Restart File - Restart (rst) file did not properly account for Deposition/Resuspension source/sinks. Also, modified restart file behavior to only write restart data at the end of each day (24:00:00) and/or at the end of the last day if shorter than 24 hours. User is no longer required to select the time to use when utilizing the restart file, only the date.
PLD File and Duct Terminals - Duct terminals were not being output to the Path Location Data file (PLD).
Results Display Window and Duct Leakage - The results display window was not providing duct leakage airflow results for zones having junctions in them with associated duct leakage.
Self-Regulating Vent - A new airflow element has been added to CONTAM. The self-regulating vent limits the airflow rate in both directions through a flow path with user-defined limiting air pressure differences. CONTAM implements the self-regulating vent as described by Axley 2001 Residential Passive Ventilation Systems: Evaluation and Design.
Surface Node Results File - Added new results file (SRF) for Boundary Layer and Deposition/Resuspension source/sink elements.
New Zone Color Option - Now when revealing the level below there is an option to see the zone colors of the zones on the level below.
Fix - crash could occur when deleting a level.
Fix - enable transient simulation times that span the Dec/Jan transition, i.e., allow simulations to start before December and end after January.
Fix - when replacing a wind pressure profile with the Find & Replace dialog the wall azimuth and wind speed modifier should be set to the defaults.
Fix - allow plotting of results for a simulation that spans the Dec/Jan transition.
Fix - crash occurred when deleting zones having occupancy schedules that referenced them.
Fix - incorrect painting of the toolbar for some Windows themes.
Fix - cubic spline airflow element curves were not plotted correctly if their curves were invalid.
Modification - consolidated variable density airflow calculation parameters.
Fix - Matrix reordering issue when large project files encountered fatal errors when matrix reordering was attempted due to size of index parameter.
Fix - Prevent intermittent program crash when running under Windows 7 64-bit OS.
Fix - Contaminant summary file (.csm) issues: values when working with non-trace boundary layer diffusion and deposition/resuspension source sinks were likely too high due to summation of the source contributions over multiple iterations of the variable density iterations within each time step; combinations of non-trace and trace contaminants could result in trace contaminant-related summations not being accounted for. However, these issue did not affect sim file results.
Fix - Issue related to non-trace contaminant calculations involving Boundary Layer Diffusion and Deposition/Resuspension sources whereby the contribution of mass added to the zone in which these source/sinks were located was incorrectly calculated.
Fix - Issues related to Deposition with Resuspension source/sink element when performing variable density calculations.
Fix - Power Law source/sink model was not utilizing the correct source/sink element function.
Fix - Enable DVF files to handle Dec/Jan transition.
Fix - Issues related to Decaying (exponential decay) source elements: generation rate was not reset when scheduling the source on/off, and the generation rate was being compounded when multiple Decaying sources were being used.
Modification - Improved variable density calculations.
Coupled Multizone/CFD - Implemented the ability to simulate an internal zone using computational fluid dynamics (CFD). Details of this capability are provided via the NIST Multizone Modeling website.
Deposition/Resuspension Source/Sink Element - Added a new source/sink element that accounts for both deposition and resuspension of particle contaminants to/from a surface.
Windows 7 64-bit - ContamX crashed intermittently due to data copy error.
Editing Context Menu - Right mouse button to provide cut, copy and paste functions.
Release Date: October 6, 2008
New control types - Added new mathematical functions: exp, ln, log10, etc.
TCP/IP socket simulation control - Enabled multi-day simulation control.
CONTAM Fonts - ContamW SketchPad now utilizes internal bitmap patterns instead of font files.
HTML Help - The ContamW help system has been converted to HTML help for compatibility with the Windows Vista operating system.
CONTAM Log Files - The contamx2.log and contamw2.log files are now stored in the user's application directory (home directory for Linux version of ContamX).
ContamX Non-Convergence Information - If the ContamX airflow calculation fails to converge, a list of airflow nodes that failed to converge will be provided in the contamx2.log file.
Error List - ContamW generates a list of problem icons that is displayed in the newly implemented Building Check Problems dialog box when a PRJ file does not pass the building check performed prior to a simulation. This includes airflow paths that do not have valid location data when working with WPC files.
Create WPC File Dialog - The WPC dialog box has been modified to enable "manual" generation of PLD files to aid in the creation of WPC files, and the Weather page of the Simulation Parameters property sheet has been modified accordingly.
Recent file list - Added list of recently opened project files to the File menu.
Open Project Input/Output Files - Provided the ability to open CONTAM-related input and output files from the File menu. Files are opened based on file extension associations of Windows.
Result Plotting - Right click on SketchPad icons when viewing results to activate result plotting.
SketchPad Navigator - Display a small icon SketchPad window to simplify navigation of the main SketchPad with larger icons: from main menu select View - SketchPad Navigator.
Duct Results Display - duct velocity calculated based on upstream air density.
CSM File Format - modified CSM file format to provide more detail related to source/sinks.
Cubic Spline Elements - Enabled the use of cubic spline elements in duct segments.
CSM File - WPC file contaminants filtered by envelope flow paths were not being accounted for in the Contaminant Summary File.
DVF and WTH File - WTH file records were being skipped when using both a DVF and a WTH file.
Duct Balancing - After duct balance is performed the flow rates of "mass flow type" fans could be incorrectly set as though they were volume flow types.
Flow Limits - Flow limits of airflow paths were set back to none upon file read.
CVF/DVF Node Selection - Node drop-down list was improperly sorted causing potential for setting of incorrect nodes.
Occupancy Sensor - Added zone occupancy sensor type.
Gage Pressure Sensor - Added gage pressure sensors for zones, duct junctions and terminals.
NRCC Sources - Added powerlaw and peak contaminant source types based on NRCC material emission database.
Super Source/Sinks - Implemented ability to combine multiple source/sink elements into a single super source/sink element.
Enhanced deletion capabilities - Provided ability to delete multiple items from the SketchPad with a single deletion operation.
Results display - Improved control over selection of simulation time for results display.
Wind pressure display - Provided ability to review transient wind pressures resulting from wind data provided by WPC files.
SketchPad dragging - Hold down the mouse wheel to drag the SketchPad when scroll bars are visible.
Library Manager - Use the Ctrl and Shift keys to select multiple items from the element lists and perform copy and delete operations on them.
Number of building components - The limit on the total number of each type of building component (i.e., zones, paths, ducts, sources/sinks, etc.) that can be created within a single project has been increased from 32 767 to 2 147 483 647.
Short time-step method - A new simulation mode that solves contaminant dispersal equations using an explicit solution method.
1D Zones - The ability to simulate selected zones as one-dimensional convection/diffusion zones has been implemented. This provides the ability to more realistically simulate the transport of contaminants through "long" or "tall" zones, e.g., hallways and shafts, better accounting for transport times through these 1D zones.
1D duct model - Implementation of one-dimensional convection/diffusion elements in ductwork, thus providing more realistic contaminant transport results through the duct system. This requires the use of the short time-step method.
Duct temperature calculations - When simulating 1D ducts in the short time-step mode, CONTAM can now calculate duct temperatures based on the "mixing" of air streams at the duct junctions and the source (zone) air temperatures from which air is introduced into the duct system.
Simulation results data - Modified the zone and junction pressures as reported to the simulation results file to more closely resemble gage pressures. Zone pressures are now referenced to the ambient pressure at the level on which the zone is located. Junction static pressure is now referenced to the zone in which the junction is located at the height of the junction within the zone.
Automated duct balancing - Added simulation option to automatically balance duct systems. This will greatly simplify the task of defining detailed duct systems in CONTAM.
Cubic spline airflow elements
Building pressurization test - Simulation option to automatically determine building envelope airtightness based on a simulated fan pressurization test.
Building airflow test - Simulation option that generates a set of data, mostly related to building ventilation, that can be used to gauge the reasonableness of model inputs before beginning analysis of a building.
New filter models - CONTAM has added particle and gaseous filter models that greatly increases the user-s flexibility to create models based on measured filter performance data, e.g., MERV and breakthrough curves.
Filter super elements - enables multiple filter models to be combined into a single filter element, e.g., a particle pre-filter combined with a gaseous filter.
Contaminant summary file - This file is generated when simulating contaminants to provide information related to source/sink contaminant generation and removal, filter loading and breakthrough, and contaminant transport between building zones and ambient.
Deposition sink models - Added Deposition Velocity and Deposition Rate sink models to simplify the definition of sinks based on more familiar deposition terminology.
Control super elements - The task of creating building control systems has been improved by reducing the amount of user input required, increasing the amount of flexibility in defining control systems and enabling the sharing of control elements, e.g., sensors, within and between projects.
TCP/IP socket simulation control - ContamX can be controlled via the TCP/IP Socket communication protocol based on a pre-defined set of messages that include control commands and data exchange. ContamX can also be compiled and run under Linux based operating systems, and a Linux-compatible executable is now available on the NIST web site.
Find - search for items on SketchPad by Name and Number
Find-and-replace - search for and replace properties of building components within a project
Ctrl + arrow key => skip 10 cells in direction of arrow
Shift + arrow key => move to next icon in the direction of arrow
Mouse wheel for scrolling:
Wheel => up/down Shift+Wheel => page up/down
Alt+Wheel => left/right Shift+Alt+Wheel => page left/right
Keyboard icon placement - use keyboard to place icons on the SketchPad
Floating status bar
User-defined zone colors
User-defined duct colors and automated duct tracing/coloring tool
Generate bitmap file (.bmp) of SketchPad
Wind pressure and contaminant fields - The ability to incorporate data from exterior airflow and pollutant transport models, e.g., plume and puff dispersion models, to utilize detailed ambient wind pressure and contaminant data fields to provide boundary conditions on the airflow paths of the envelope of built structures
Control elements - New control elements to simulate time delays associated with spin-up/down of fans and the opening/closing of dampers and to perform integration, peak determination of sensor output over time, maximum, minimum and exponential operations
Particle analysis - Modified contaminant properties to simplify the analysis of airborne particles
Mass release calculation - The calculation of total mass released by contaminant sources during a simulation
Program Documentation - Programming documentation of the software was produced which can be obtained from the NIST website. This documentation includes details of CONTAM input and output file formats [Walton and Dols 2003].
Building controls - Controls include sensors, actuators, modifiers and links. Control actuators can be used to modify various characteristics of building components based on control signals obtained from sensors and even modified by signal modifiers. For example, a sensor can be used to obtain a contaminant concentration within a zone, and a proportional control actuator can be used to adjust supply airflow into the zone based on the sensed concentration.
Scheduled zone temperatures - Zone temperatures can now be varied through the use of user-defined schedules. This allows for the change in zone pressures due simply to the change in temperature within the zone according to the ideal gas relationship.
Non-trace contaminants - You can now account for the impact of contaminant concentrations on the density of the air, e.g., water vapor.
Unlimited number of contaminants - CONTAM no longer restricts the number of contaminants you can simulate. The previous limitation was 10.
Contaminant-related libraries - Contaminant related elements can now be shared through CONTAM library files. These elements include contaminant species, filters, source/sinks and kinetic reactions.
Variable air density - CONTAM now provides the ability to simulate non-flow related processes that can lead to the accumulation/reduction of mass within building zones, e.g., due to non-trace contaminant sources and to variations in the zone pressure due to the change in zone temperature.
Sparse matrix techniques implemented to greatly reduce transient simulation times for large problems.
Separated solver from graphical user interface to provide for batch execution of simulations and directly utilize .PRJ files.
Separate transient weather and contaminant files - Weather files (WTH) no longer contain contaminant concentrations (except for outdoor humidity ratio). This means you don-t have to create different weather files depending on the types of contaminants you are simulating. CONTAM now provides you with the option of simulating transient ambient contaminant concentrations using a contaminant file (CTM).
Weather file creation/conversion software - NIST has developed a software tool that allows you to convert existing weather files to CONTAM 2.0 compatible weather files. You can convert your existing 1.0-compatible files, TMY2 and EnergyPlus weather files.
Longer zone names - Zone names can now be up to 15 characters long.
SketchPad zooming feature - You can now reduce the icon size of the SketchPad to allow the display of larger projects on the screen.
Net inter-zone airflows displayed for highlighted zones in Results Display Window
Airflow direction indicators are now displayed in the Status Bar when viewing airflow path results
Distinct simple air-handling system zones - The implicit zones of multiple simple air-handling system are now distinguished from each other to allow for the plotting of individual system zones