Most simulation models in ecological and environmental research are implemented as computer programs in a conventional programming language. This brief paper argues for a radically different approach, based on the representation of the model structure, relationships and equations in a declarative format (e.g. XML). Simulation code can then be generated from this, but in addition the model can be displayed and processed in a wide range of useful ways, greatly increasing the efficiency and effectiveness of the modelling process