WASHINGTON — The U.S. Department of Energy (DOE) announced that its EnergyPlus™ software, which models whole-building energy and water use, has been rewritten in the C++ programming language for improved performance. EnergyPlus lets users model the effects of design and operation alternatives — including HVAC system changes — on building energy performance.
For the first 17 years of its existence, EnergyPlus was written in the FORTRAN programming language. Now, DOE is releasing EnergyPlus 8.2.0, the first version written in C++. More modern than FORTRAN, C++ has better built-in features for software development, testing, and maintenance. It also has a larger ecosystem of software libraries and development tools, better access to new high-performance hardware, and a significantly larger developer community. DOE believes that the language change will help spur the evolution of EnergyPlus and its integration into additional applications and services.
The EnergyPlus C++ transition was initiated by Autodesk, while the translation work was performed by Objexx. Objexx used automated tools that translate code without changing its structure or human readability. This combination of automation and human-readable output was essential to this effort as EnergyPlus has more than 700,000 lines of code and is a living, evolving product. In November 2013, Autodesk granted DOE rights to the translated source code. Autodesk and Objexx then worked with DOE’s development team to test the new code to ensure that it is functionally equivalent to the original and would not disrupt users and vendors. The team also worked to improve the code’s execution speed. For many models, version 8.2.0 will be at least 20 percent faster than version 8.1.0. Autodesk and Objexx will continue working with DOE’s team on EnergyPlus runtime performance going forward.
This EnergyPlus update also incorporates new and enhanced modeling features including improved HVAC equipment auto-sizing routines, improved models for ground heat exchange, new models for natural ventilation, and control options for radiant and cooling systems. Version 8.2.0 of EnergyPlus is available for download from the social coding platform GitHub at https://github.com/NREL/EnergyPlusRelease/releases.
To learn more about EnergyPlus and other building energy modeling resources, visit the DOE Office of Energy Efficiency & Renewable Energy’s new Building Energy Modeling website.
Publication date: 10/20/2014
Want more HVAC industry news and information? Join The NEWS on Facebook, Twitter, and LinkedIn today!