A MODEL OF METABOLIC PROCESSES IN A HETEROGENEOUS MILIEU: FUNCTIONAL AND NUMERICAL SOLUTIONS