Semi-empirical modelling of ecosystem respiration