The Mobius2 model building language

Introduction

The Mobius2 language is a language for specifying models that can be run by the Mobius2 framework. Models are just-in-time compiled to machine code (using LLVM) when they are loaded by one of the Mobius2 binaries (e.g. MobiView2 or mobipy).

The goal of the language is to be minimalistic and fast to write. It should flexible enough to allow you to specify a large range of model structures while still requiring minimal programming and letting the framework take care of most of the heavy lifting.

This allows you to quickly write new models and test new processes. The integration with MobiView2 allows you to visualize the model results and compute goodness-of-fit statistics during the entire design process and incorporate what you learn from this in a dynamic way.

Build your model with the Mobius2 language!

Whether you are a researcher who want to develop models to handle new research questions or a student learning about biogeochemical modelling, Mobius2 offers an easy way for you to focus on the specification of the models without having to do the nitty-gritty implementation details or having to use a full programming language.

The framework offers a simple language syntax to quickly get new models up and running, and offers a user-friendly graphical user interface and data format for all models written in the language.

Still, models run as fast as in any other compiled language, and can be complex enough to suit most research and management questions. Mobius models are already operational in many projects.

Existing models and modules covering a large range of systems can be used as a basis for modification or inspiration.

The Guide is a good place to start to learn the language.


Table of contents


© Norsk Institutt for Vannforskning (The Norwegian Institute for Water Research), NIVA 2024.