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 | ||
---|---|---|
| ||
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:
- Using the Function manager;
- Using the Metaparameter Explorer; or
- The Calibration Wizard can be used to add functions in the project. Refer to Working with metaparameters for more information.
Use the -v argument to assign parameter values:
Set the values:
Code Block RiverSystem.CommandLine -m Client -v "$metaParam=2.5"
- Set multiple expressions:
...