Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edit through the REST API
Note

This feature is only available for advanced users or developers. If you would like access to this feature, please contact eWater support.

Where a parameter cannot be defined using a function using the main user interface, adding usages manually allows you use a function to define almost any parameter in the model. For example you can make otherwise static parameters change over time like rainfall runoff parameters.

Info
iconfalse
Note: This was formerly called the Metaparameter Explorer.

When a function is used in a model (in an inflow node for example), then that usage is shown in the tree under the function. If a function is used in multiple places, then all usages are shown under the function in the Function Manager tree. 

...

  1. Initially, identify which link or node in the model you want to place the expression function in.
  2. Then, add a function in the node/link feature editor;
  3. Exit the node/link feature editor;
  4. In the Function manager, first assign a value to the function. Right click, then choose Edit function. Note that rainfall-runoff models generally use millimetres for length and day for time-step and the groundwater model uses SI units - metres for length and seconds for time-step.;
  5. Back in the Function manager, right click on the required function again and choose Manually add function usage to open theMetaParameter Explorer; and
  6. Then add the function usage manually to allocate a parameter to the variable (steps outlined in Figure 1). You can now use the Command Line Runner to run the model iteratively while varying the parameter. This is also used for setting up a project to run with Insight: Objective Multi-objective optimisation.
Info
iconfalse
Note: The Function Manager only shows direct uses of a function. For example, if an inflow node has been assigned a function, $ExampleFunction, this is indicated in the Function Manager. If $ExampleFunction is comprised of two separate functions, $ExFn1 and $ExFn2, these two functions will not be part of the Inflow node.
Figure 1. Adding Function Usages Manually in the MetaParameter Explorer