Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Repair Jira Macros

Introduction

A Source scenario must be run in order to produce any useful information. Each scenario run produces a collection of result sets. A result set is a group of related outputs, usually from the same component and is usually, but not always, arranged as a time series.

During a run, each component in the scenario can produce one or more result sets in the form of predicted water flows, volumes and other outputs specific to that component. Some components are capable of producing more than 20 separate result sets. When ownership is not enabled, the model starts at the first node then progresses down the river system in a single pass to compute the water volume and flow rates through each node and link.

Figure 1. Selecting recording parameters

Image Removed

To

Anchor

Running a scenarioRunning a scenarioRunning a scenario

RecordingParameters
RecordingParameters
Recording parameters

When you run a scenario, do the following:

  • Select the model outputs of interest in the Project Hierarchy (Figure 1). Some model outputs are selected by default; you can change which outputs are recorded by default;
  • Click Select Analysis Type on the Simulation toolbar to set the appropriate type of analysis. Depending on the scenario, Source offers several options for analysing your model data, including:
    • Flow calibration analysis, which calibrates a set of rainfall-runoff and flow routing model parameter values so that output from the model is representative of an observed data set;
    • Run w/Warm Up, which seeds the model with the available historical data and prepares for forecasting. This is enabled in River Operations scenarios only;
    • Single analysis, which simulates the river performance for a single set of conditions (as opposed to an iterative analysis which considers several possible outcomes); or
    • Stochastic analysis, which is used to generate flow replicates from stochastically generated rainfall inputs when dealing with stochastic climate data. See also Incorporating uncertainty into climate variability.
  • Click Configure on the Simulation toolbar to select the required time frame for the scenario to run. The resulting window depends on the type of analysis you chose in the previous step. If you chose:
    • Flow Calibration analysis, the Calibration Wizard opens. Refer to Calibration Wizard for catchments;
    • Run w/Warm Up, the Run w/Warm Up window opens (Run w/Warm up);
    • Single analysis, the Single Analysis window opens (Figure 2); or
    • Stochastic analysis, the Stochastic Analysis Tool opens. Refer to Using the stochastic analysis tool.

You can only configure a run time frame that is supported by the time spans in the time series associated with your scenario. A lowest-common-denominator approach is used. For example, if your project contains two time series where the first spans the period 1/1/1900 through 31/12/1990, and the other the period 1/1/1960 through 21/12/2010, the available simulation time frame will be 1/1/1960 through 31/12/1990.

  • Click Begin Analysis (Run) on the Simulation toolbar to start the simulation run.
Figure 2. Configure single analysis

Image Removed

While the scenario is running, you will see a progress bar (Figure 3) displaying the percentage of the scenario completed, estimated time to completion and the current time-step being processed.

Figure 3. Running scenario (progress bar)

Image Removed

Component-level controls

Whether any given result set is produced by any given run of a scenario is controlled by whether the result set’s recording parameter is enabled or disabled for that run. To adjust the state of recording parameters for a component, first select the component within the Project Hierarchy. Then do one of the following:

  • To record all the available parameters for a component, right-click on the component and choose Record All from the contextual menu (Figure 1);
  • To disable the recording of any parameters for a component, right-click on the component and choose Record None from the contextual menu (Figure 1); or
  • To restore the model parameters for a component to their default value, right-click on the component and choose Set to Recording Defaults from the contextual menu (Figure 1).

 

Parameter-level controls

For fine-grained control of individual recordable parameters:

  • Select the component within the Project Hierarchy. Selection causes all of the component’s parameters to be displayed in the Model Parameters area (Figure 4); and
  • Use the contextual menu (right-click) to selectively enable or disable individual parameters or parameter groups, or to restore parameters to their default settings (Figure 4).
Figure 4. Selecting model parameters

Image Removed

Scope of contextual menus

The contextual menus shown in Figure 1 and Figure 4 can be applied at any point within their respective hierarchical displays. If you select an individual component or parameter, the effect will be limited to just that element. Applying a recording choice at an aggregate level propagates the effect to the selected element and all elements below it in the hierarchy.

Setting recording defaults

Choosing Recording Defaults... from the View Type pop-up menu on the Project Explorer toolbar opens a window where you can specify the parameters which should be recorded by default for each kind of component. See also Recording Manager defaults. Changes made in this window persist across invocations of Source.

Recording model outputs

When you run the models in a scenario, every node and link produces results in the form of predicted water flows, volumes and other data outputs.

every node and link produce results in the form of predicted water flows, volumes and other data outputs. To view or save these model outputs after the run, you need to select them to record before you run. When you save a project or make a copy of a scenario, Source automatically saves the list of model outputs selected for recording. There are two ways to select which parameters and model elements to record, using the Project Hierarchy to select model parameters at the component level (eg. links, nodes), or more fine-grained parameter-level control in the Parameter pane. 

Info
iconfalse

Image Added Performance Improvement

Before running the scenario, give consideration to the required output and only record the parameters of interest. Some node or link types can produce more than 20 separate data outputs (eg. storages). In general, the more outputs you record, the longer the simulation will take, though this depends on exactly what you record; recording mass

-

balance is more computationally intensive than recording inflow, for example

.

When you save a project, or make a copy of a scenario, Source automatically saves the list of model outputs selected for recording. There are two ways to select which parameters and model elements to record:

Using the Project Explorer, right-click a node, link or other element in the Project Hierarchy or a model parameter (Figure 4). From the pop-up

Component-level controls

For a given scenario run, you can select which outputs will be recorded using the component's contextual menu or the Record icon in the Project Explorer toolbar:

  • Using the Project Explorer, right-click a group or individual model element  (eg. node, link, function or other element) in the Project Hierarchy (Figure 6). From the contextual menu, select:
    • Image ModifiedRecord all: every All  every parameter at this level and below will be recorded;
    • Image ModifiedRecord none: None no parameters at this level and below will be recorded;
      If the indicator appears as as , this shows that some  some (not all) parameters at this level and below will be recorded. 
  • If you select a model element on the Geographic Editor or Schematic Editor component on the Geographic Editor or Schematic Editor (eg a catchment outlet), then the chosen model element component is highlighted in the the Project Hierarchy. Right-click the element name component's name and select the recording status from the pop-up contextual menu, or click the Record icon in the Project Explorer toolbar.the Record icon in the Project Explorer toolbar.
  • By clicking Image Added button above Project Explorer, this will display the long description area under Parameter window. To get a long description to appear in the long description area, a recorder must be selected in the Parameter window. Hovering over a recorder in the Parameter window will present the long description if there is one. 
Info
iconfalse

Note: Model elements that are not nodes or links are grouped under Miscellaneous. For example, you can record functions and data sources here.


Figure 6. Selecting recording parameters 

Image Added

Parameter-level controls

For fine-grained control of individual recordable parameters (Figure 7):

  • Select the group or model element within the Project Hierarchy. Selection causes all of the group's or element’s parameters to be displayed in the Parameters area; and
  • Use the contextual menu to enable or disable individual parameters or parameter groups. 
Figure 7. Selecting model parameters

Image Added

Info
iconfalse
Note: The contextual menus shown in Figures 6 and 7 can be applied at any point within their respective hierarchical displays. If you select an individual model element, the effect will be limited to just that element. Applying a recording choice to a group propagates the effect to all elements grouped below it in the hierarchy. For example, to record only Downstream Flow for all straight-through routing links, you would select Link » Straight-Through Routing and choose Record None (Figure 6), and then select Downstream Flow in the Parameter pane and selectRecord All (Figure 7).

Anchor
Using the Log Reporter
Using the Log Reporter
Using the Log Reporter

If a scenario run results in errors or warnings, the first indication of those is displayed in the Run completion dialog dialogue by a red or yellow icon next to the Close

Jira Legacy
showSummaryfalse
serverSystem JIRA
serverIda22b5711-2728-3bcc-860f-2832d905a432
keySD-548
button as indicated in Figure 57.

Figure
5
7. Running scenario (error)

You can investigate the causes of errors or warnings using the Log reporter (Figure 68). If the Log Reporter window is not visible, do either or both of the following:

  • Choose View » Log Reporter to make it visible; and/or
  • Make the Log Reporter active by clicking the Log Reporter tab.

Once the Log Reporter is active, you can view all the logs run by Source, from configuring a scenario to running it. To You can clear the log , right-click the Log Reporter window and choose Clear from the contextual menu. To copy log or export its contents to a .csv file , right-click the Log Reporter window and choose Export from using the contextual menu . Table 1 shows what (as shown in Figure 8). Table 1 provides a description of each of the columns stand forin the Log Reporter.

Figure
6
8. Log Reporter

Table 1. Log Reporter, Columns
ColumnDescription
DateThe local date on the computer.
RunThe run number. You can also filter messages based on this number - use the filtering icon.
LevelThe
type of message (similar to notes) - informational, warning or error
notification level associated with the message, which can be one of information, warning, error or fatal. The messages are classified according to the way in which they were generated (see Message Type).
Time StepThe scenario time-step which the message refers to.
NameName of the node or link corresponding to the message.
Model TypeThese are the node and link types – ie. Inflow, Straight Through Routing
MessageDetails of the message.
Message Type

There are three types available:

  • Admin - These are general administration messages and are generally logged from non-runtime sources such as an inability to parse a function;
  • Note - These are user-generated
from the
  • notes added throughout the system; and
  • Run time - These are generated throughout the simulation run. Some of these are user-configurable Assurance Rules.

Anchor
ExecutionOrderRules
ExecutionOrderRules
Execution order rules

During a scenario run, components of the scenario are run in a particular order to ensure that they comply with in-built (inbuilt Simulation phases) and  and execution order rules. 

You can modify the execution order for a scenario as follows:

  • Choose Edit » Execution Order Rules... to open the Execution Order Rules dialog (shown in Figure 7);
  • In the Rules tab, click Add Rule;
  • Specify the first and second nodes using the drop-down menus; and
  • Click OK to activate the rules and close the dialog.

Rules can also be enabled or disabled using the checkboxes.

Figure 7. Execution order rules

Image Removed

Once you have specified the execution order rules, you view them in one of two ways:

  • Use the Execution Order tab (shown in Figure 8). Click Refresh to update the view after changes are made in the Rules tab; or
  • Choose View » Execution Order... to open the Execution Order dialog (similar to Figure 8). While open, this dialog gets updated when changes are made to the scenario in the main Editor window.
Figure 8. Execution order

Image Removed

Info
iconfalse
Note: The execution order is based on leaf node names alphabetically. Thus, renaming a node can change the order.

Execution order rules are now available in Scenario Options: Execution Order Rules

Anchor
Scenario results
Scenario results
Scenario results

Each scenario run creates a distinct collection of result sets. Each collection is represented by a tab in the Recording Manager. The name of each tab is formed by concatenating the name of the scenario with a time-stamp indicating when the scenario was run. For example, Figure 10 shows that "Scenario 1" has been run twice at slightly different times.

Figure 10. Recording Manager

Image Removed

You can use the tools on the Recording Manager toolbar to save a collection of results to a file, export a collection to Microsoft Excel, or delete the currently-selected collection.

Within each of the Recording Manager’s tabs, results are arranged in four columns:

  • Type - Source generic name for node or link (eg Inflow);
  • Name - your name for that component;
  • Attribute - the name of the output parameter as listed in Parameters (eg Additional Inflow); and
  • Values - a link which can be clicked to view a graphical representation of the output parameter.

You can navigate through a list of results using the vertical scroll bar. In addition, clicking on a link or node in the Schematic EditorGeographic Editor or Project Hierarchy automatically selects all of the result sets associated with that component in the Recording Manager.

Right clicking in the Recording Manager, then choosing Save Selected allows you to export the selected time series data as a .csv file. Choosing View Selected opens the Charting Tool for the selected time series data.

One of the key uses of the Recording Manager is to select one or more result sets (rows in the Recording Manager) for display in the Charting Tool. The Charting Tool helps you visualise, analyse and understand scenario results and other data produced by Source. Each time you click a link in the Values column, a copy of the Charting Tool opens to display that result set. Clicking the same link multiple times opens additional copies of the Charting Tool containing the same result set.

You can also use the Chart Recording Manager to view and manage result sets. Refer to Chart Recording Manager for more information.

AnchorIdentifying constraintsIdentifying constraintsIdentifying constraints

When constraints are enforced, there may be a difference between the amount of water ordered and that released. The application of constraints is evident at both the supply point and minimum flow requirement nodes.

To discover where constraints have been applied:

  • Run the model;
  • Select an appropriate supply point or minimum flow requirement node. This selects all of the node’s recording parameters in the Recording Manager; and
  • Inspect the Values column in the Recording Manager and click an Order Details link. This opens a Complex Time Series Form (Figure 11). The Graph tab provides a summary of the differences between the amount ordered and the amount released for the duration of the run. The Constraints column of the Table tab (Figure 12) provides a breakdown per time-step. Hover your mouse cursor over a cell of interest to see its contents presented in a tool-tip.
Figure 11. Complex time series (Orders vs Releases, summary)

Image Removed

 

Figure 12. Complex time series (Orders vs Releases, detail)

Info
iconfalse
Note: Results of a scenario run can be viewed in the Results Manager or using the Recording Manager.

Once run, every scenario generates a result set – a distinct collection of results recorded for that run. Scenario results can be examined and analysed using the Results Manager, which opens when a run completes. Within Results Manager, results can be evaluated graphically in charts, numerically in tables or as statistics, and they can also be filtered and manipulated using transforms. With custom charts, you can also view and statistically analyse multiple results within and between runs, compare results to external data sources and automatically update with the latest results each time a model is run. See Results Manager for more information.

In Results Manager, result sets are listed in the tree menu on the left side. The name of scenario's result set is formed by concatenating the run number from the current session with the name of the scenario. If there are errors or warnings from your run, these are indicated by an appropriate symbol next to the result set's name (see notification level), and are also listed in the Log Reporter (see Using the Log Reporter). For example, Figure 11 shows that in this Source session, Stage C was run first, and had warning(s) associated with it, Stage B was run next and had a fatal error that stopped the run from completing, and Stage A was run third without any warnings or errors.

Figure 11. Results Manager

Image Modified