Settings of a standalone model application

AnyLogic allows to tune settings of the model exported as a standalone Java application.

You can do it by creating a textual .ini file named com.anylogic.engine.ini and saving it into the exported model's folder.

Into the file you specify values for the model settings you need to tune. The list of the customizable settings is given in the table below.

The file contents example:

flowchartCountersVisible = false

languageId = es

Setting

Description

Possible values

flowchartCountersVisible

This setting defines whether the counters near the process flowchart blocks (showing the numbers of agents who passed through block ports, etc.) should be displayed or not.

true, false

flowchartPortStateAnimated

Defines whether the "block busy" and "agent available" indicators should be shown near ports of flowchart blocks.

true, false.

useProxy

Defines whether the proxy should be used for network connection.

true, false.

proxy

The proxy address.

URL of the proxy host.

proxyPort

The proxy port.

Positive integer number.

proxyLogin

Proxy login.

proxyPassword

Proxy password.

proxyBypassAddresses

Use this setting to specify the hosts that should be accessed without the proxy. 

If you use a proxy to access network (e.g. a GIS map server), but you also need to bypass a proxy to connect to a local server (e.g. a database server), you can specify the local server name in this setting.

By default, all loopback addresses are bypassed.

A list of hosts, separated by the '|' character. Additionally, the wildcard '*' can be used.

parallelWorkersCount

Number of processors (cores) to be used for parallel execution of model runs by experiments with several iterations (e.g. parameter variation, optimization) and also by some libraries (e.g. Pedestrian Library). 

Positive integer number.

standaloneBrowserPath

Path to the browser's executable file.  Use this setting in case you need to use not Chromium but some other browser to run the standalone model. 

The path should not contain single '\' characters, '/' are preferred instead.

standaloneBrowserCommandArguments

Command arguments for custom browser. 

Use $1 to refer to the URL of the running model server.

standaloneServerPort

The port where the server with the running model will start on. This port will be used to run the model in the browser, e.g. setting the port 12345 you make the model run at http://localhost:12345.

Positive integer number not greater than 65535.

Some port values might be reserved by the Operating System or some services, especially values less than 1024. 

languageId

By default the application UI will be in the language that was selected on model export. Here you can change it to any other language from the set of languages supported by AnyLogic: English, Russian, German, Chinese, Spanish, or Portuguese (Brasil).

One of text constants:

en - English

es - Spanish

pt_BR - Portuguese (Brasil)

zh - simplified Chinese

ru - Russian

de - German