MEG (Model Extender for Gepasi): a program for the modelling of complex, heterogeneous, cellular systems. We describe a program for the construction of spatially distributed metabolic models, which may then be simulated using the metabolic simulator Gepasi. This is useful for the modelling of heterogeneous systems whether as liquid cultures or as spatially organised systems with specified interconnections.