Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
About the command line runner

The riversystem.commandline.exe provides a mechanism to run existing projects without the Source interface. It is possible to modify or change the behaviour of the project from the command line, by changing the values of global expressions. Results can be returned for recorded items or global expressions within the project.

 riversystem.commandline.exe is included with Source.

...

The Metaparameter explorer (Metaparameter Explorer) can be used to attach global expressions directly to model variables for situations where the Function Editor has not been enabled by default.

Working with the command line

This section describes how to load, run, retrieve results, and modifying parameters using the command line.

 

Info
iconfalse

Note: All characters in the command line are case-sensitive.

 

Loading and

...

running

You can run a project in the following modes:

...

Code Block
RiverSystem.CommandLine -m Client -o resultsfilename.csv

Modifying parameters

Several global expressions can be set using When modifying global expressions using the the command line, ensure that your project is setup using functions. This can be done in one of three ways:

Use the -v argument to assign parameter values:

  • Set the values: 

    Code Block
    RiverSystem.CommandLine -m Client -v "$metaParam=2.5" 
  • Set multiple expressions:

...