Abstract
Recent years, a great number of simulation programs for a HVAC system are developed with the increase of computational capacity. Some of them have a modular structure to improve flexibility and reusability. In this paper, abstract class of HVAC devices was developed to give modules greater independence. Using template method pattern and adopter pattern, new modules were easily added without compiling whole program such as numeric solvers or user interfaces. Three HVAC components written in different programming languages (namely, C#, C++, and Basic) were simultaneously solved. Components from HVACSIM+(J) and TRNSYS written in FORTRAN also worked effectively.
Original language | English |
---|---|
Pages (from-to) | 1377-1382 |
Number of pages | 6 |
Journal | Journal of Environmental Engineering |
Volume | 73 |
Issue number | 634 |
DOIs | |
Publication status | Published - 2008 Dec |
Keywords
- Adopter Pattern
- Cross Language
- Modular Simulation
- Object-Oriented
- Template Method Pattern
ASJC Scopus subject areas
- Environmental Engineering