Skip to content
Giorgos Kourakos edited this page Jun 20, 2023 · 6 revisions

Welcome to the Mantis wiki!

Here you can find all the information you need to run and interact with Mantis.

Although the preferred way to run Mantis is via our web interface, we provide the option to run and interact with it locally on a desktop PC.

Mantis is a server type application that requires two types of data. Initialization data and runtime data.

Initialization data

A complete list of the initialization data can be found under the Initialization Data page.

Runtime data

Mantis does nothing until it receives an input message.

The input message has the KEYWORD VALUE format using spaces as separation character.

The input message has to be one line. The end line character \n indicates the end of the message.

Details about the input message options can be found under the Runtime Data page.

Output data

For each input message the server replies with an output message which has the following format

STATUS Nwell Nyr v1 v2 ... vlast ENDMSG\n

where

  • STATUS 1 for success and 0 for failure.
    If the status is 0 then a message will follow instead of the numbers.
    If the status is 1 then the following info is listed:

  • Number of wells Nwell in the selected regions [int]

  • Number of years Nyr number of simulation years [int]

  • BreakThrough Curve values [float]: Repeat this for Nwell x Nyr. The first Nyr values correspond to the BTC of the first well, the next Nyr values correspond to the second well and so on so forth.

  • ENDofMSG\n is appended at the end of the message along with the end line character \n.

Clone this wiki locally