Canadian Forest Service Publications

A component object model strategy for reusing ecosystem models. 2002. Liu, J.; Peng, C.; Dang, Q.; Apps, M.J.; Jiang, H. Computers and Electronics in Agriculture 35: 17-33.

Year: 2002

Issued by: Pacific Forestry Centre

Catalog ID: 23768

Language: English

CFS Availability: PDF (download)

Mark record


Most ecosystem simulation models are large monolithic simulation programs that are machine dependent and difficult to reuse by other modelers. One way to effectively reuse existing ecosystem models is to break the models into smaller functional parts. These parts are then reconstructed into standardized model components which can be pieced together to form a new model with the desired characteristics. TRIPLEX is a flexible and customizable prototype model for forest ecosystem simulation that was constructed using three existing models: 3-PG, TREEDYN3, and CENTURY 4.0. Well-established parts of these models were rebuilt as Component Object Model (COM) objects with BORLAND C++ Builder. These components can be integrated through TRIPLEX’s intuitive user interface to form a customized new model. Model developers from different modeling environments (such as VISUAL BASIC, VISUAL C++, and DELPHI) can easily reuse these COM objects. TRIPLEX features a public information unit that supports various components working together. In contrast with most existing models, TRIPLEX also supports component overload, where two or more components that have the same or a similar role in the customized model, can work together. This further increases the flexibility of model reuse.