Check RM-11340
Metaparameter Explorer
...
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.
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.
- Initially,
...
- identify which link or node in the model you want to place the
...
Figure 23. Calibration Wizard (Metaparameter Explorer)
Finally, to define the value of the variable, m in the Expression Editor, choose View » Expression List... to open the Expression List Viewer (Figure 24). Click on the hyperlink (circled in orange) to open the Expression Editor and set the value of mto 2.
Figure 24. Expression List Viewer (Metaparameter Explorer)
The Metaparameter Explorer allows you to calibrate a variable using an expression. For example, if you want to calibrate a link variable, you can specify this in the Metaparameter Explorer, and then assign it a value using the Function manager.
...
- function in.
- Then,
...
- add a function in the node/link feature editor;
- Exit the node/link feature editor;
- In the Function manager, first assign a value to the function. Right click, then choose Edit function;
- Back in the Function manager, right click on the required function again and choose Manually add function usage to open theMetaParameter Explorer;
- Then add the function usage manually to allocate a parameter to the variable (steps outlined in Figure 1).
...
Figure 1. Calibration Wizard (Metaparameter Explorer)
Finally, to define the value of the variable, m in the Function manager, choose View » Expression List... to open the Expression List Viewer (Figure 2). Click on the hyperlink (circled in orange) to open the Expression Editor and set the value of m to 2.
Figure 2. Expression List Viewer (Metaparameter Explorer)
...
- 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: Multi-objective optimisation.
Figure 1. Adding Function Usages Manually in the MetaParameter Explorer