Table of Contents
Additional User interfaces
Besides the Graphical user interface that is used in GroIMP by default, it is possible to execute models in other ways. This can be useful for specific scenarios such as larger pipelines or remote execution. In general a user interface describes how the user communicates with the software (GroIMP).
For example with the graphical user interface windows and panels are used for this communication:
API
GroIMP can be started as an HTTP API that provides a generalized set of commands allowing interaction from other software. Currently a Python and a R library are provided but any software capable of HTTP requests could interact with GroIMP. This approach can be used to automatically start a simulation and interact with it during the execution.
CLI
GroIMP can be started without its graphical interface, with a CLI. Unlike the Headless mode, the CLI enables interaction with multiple the models during run time including opening and closing models, running simulations, editing RGG files etc. Its a valuable feature especially on remote server or for small changes. It syntax of the commands is oriented on basic linux command.
Headless mode
GroIMP can be started without its graphical interface, in a non interactive headless mode. This mode can either execute a specified model and or a specified GroIMP command and can therefore be used for simple automation or as a base for e.g. the HTTP server.
If a model is started in headless, GroIMP executes it,logs the console output and afterwards shut down. Capturing any feedback from the simulation must be included in the model.
HTTP server
It is possible to start GroIMP as a HTTP server to then send model paths via HTTP for GroIMP to execute. After GroIMP executed the model values can be returned to the HTTP client who send the request. It is possible to send several models in series or in parallel.
GroIMP Server
This Feature is currently not working!!!!
GroIMP can be started as a server. Then, other instances of GroIMP can connect to the GroIMP server. This enables multiple user concurrently accessing a single model from different devices as well as modelling on a powerful remote server.
More information:
Tutorial:
GreenLab
Parts of the GreenLab model were reimplemented in the language XL with additional panels in the GUI. As the basis, the implementation of the GreenLab model in the software GreenScilab, version GreenScilabv1.0_demo, was taken.
More information on the Greenlab plugin:
A tutorial: