A modelling approach for simulation of water and carbon dioxide exchange between multi-species tropical rain forest and the atmosphere