Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

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.

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. 

Suppose you want to calibrate the storage routing exponent (m) on one of the reaches in a Source model.

  1. Initially, identify which link or node in the model you want to place the expression 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;
  5. Back in the Function manager, right click on the required function again and choose Manually add function usage; 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 optimisation.
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

  • No labels