Versions Compared

Key

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

A MUSICX model consists of two parts - a project and one or more scenarios. A project is a collection of one or more scenarios. It identifies the project name (also the file name), description, and any scenarios associated with the project. You can only have one project file open at a time, and you should not open the same project file using more than one copy of MUSICX.

 A scenario is the representation of a node-link network in MUSICX and , describes the major processes in a catchment that are modelled.  You can create multiple scenarios to:

...

  • The scenario name. Once again, provide a meaningful name or accept the default. All the scenarios in a project must have unique names;
  • Choose the desired kind of scenario (refer to Scenario  Scenario Types for the different types options available); and
  • Click OK.


Anchor
Scenario Types
Scenario Types
Scenario types

  • MUSICX: This option creates a standard MUSICX scenario
  • MUSIC-link: This option creates a MUSIC model with embedded guidelines approved by local authorities. Please see here.
  • MUSIC-MSF Importer: This option is to import existing MUSIC model (MSF files) into MUSICX. Further details are here.

Saving a project

To save an open project, choose File » Save. This saves a project file with the extension *.mxproj.  If it is the first time you are saving your project, the Save As dialog opens and gives allows you the opportunity to choose the location and name of your project file. By default, the name of the file is the name of your project. If you wish to save a different version of your file, choose File » Save As... 

Note: Despite the *.mxproj file extension, MUSICX project files are *.zip archives. Because of this, you should be careful when sending project files as email attachments , or when downloading project files from web-based sources using the HTTP protocol. Email filters often do not allow *.zip files when they cannot interpret the contents, and both servers and browsers often unpack *.zip archives after downloading them.

...

To close an open project, choose File » Close project. This closes the current project and prompts you to save your work (Figure below). Click the appropriate button.

...

You can duplicate existing projects by copying them. In your local machine's File Explorer, select the desired project, right-click and choose Copy. In the target location, right-click and choose Paste.

Scenarios

...

Four scenarios have been described in this guide:

  • A schematic scenario is primarily concerned with modelling longer time-scales;
  • An operations scenario is primarily concerned with shorter time-scales. It utilises facilities for forecasting and working with unaccounted differences, and typically makes heavy use of the Tabular Editor; and
  • A catchments scenario which deals with the management of upland catchment processes. It is usually constructed using the Geographic Wizard for catchments which is a structured sequence of steps that guides you through the construction process.
  • A single catchment scenario builder allows to build a simple catchment scenario to be used for testing purposes. 

It is important to choose the correct type of scenario before you start building your model. Although a project can contain several scenarios, a scenario type is fixed once it is created and cannot be changed later. Note that scenarios are independent of each other; a change in one scenario does not impact another scenario.

...

...

Working with scenarios

Scenario management

Various menu items allow you to manage scenarios at a high-level.

  • When running different scenarios, you can use scenario input sets to set values for input parameters. Choose Edit »  Scenario Input Sets... to open the dialog;
  • Tools » Export summary... allows you to save a text archive of the chosen scenario to a .csv file; and
  • Feature Table (accessible via Edit » Feature Table...) provides an overview of the selected scenario, and can be used to edit component parameters.

Creating a scenario

Note: You can only create a schematic or catchments scenario using the method outlined below. To create a forecasting scenario, refer to Forecast scenarios.A project must contain at least one scenario. Whenever you create a new project, you You are also prompted to create a scenario whenever you create a new project. You can create additional scenarios using any of the following methods:

  • Choose File » New » Scenario...;
  • Click New Scenario on the File toolbar; or
  • Click New Scenario (by menu) on the Project Explorer toolbar.

...

  • .

Opening a scenario

When a project only contains one scenario, that scenario is opened automatically when you open the project. However, you must open each scenario individually when a project contains more than one scenario, you must open each scenario individually. To view a scenario that is contained within a project, double click the scenario name from the list in the Project Hierarchy. This opens the appropriate editor for the selected scenario, and changes the scenario name to a bold appearance so that you know it is the current, or active scenario.

You can also select a scenario from the list of loaded scenarios on the View menu. Selecting a scenario from the list makes it active

Source supports backward compatibility for projects created in Source after v3.1.0.

Note: You must upgrade a project if it was created in Source v3.1.0 or earlier. If you open these projects in later versions of Source, an error message (shown in Figure 5) will appear prompting you to save in v3.1.0. Follow the steps outlined in the dialog to automatically upgrade the project to the current version of Source.

...

.

...

Image Removed

 

Copying a scenario

You can duplicate existing scenarios, provided they are part of the same project. You may want to do this if you wish to experiment with variations without affecting your original scenario.
Note: To copy only certain network elements, refer to Copying network elements.To duplicate a scenario, click Copy Scenario on the Project Explorer toolbar. Source makes  MUSICX makes a copy of the current scenario and asks you to name the copy (as shown in Figure 6below). You can either accept the proposed name or supply one of your own. Keep in mind that scenario names must be unique within a project.

The new (copied) scenario will be a duplicate of the original at the time of the copy. 

Figure 6. Copy Scenario

Image RemovedImage Added

Renaming a scenario

Source automatically MUSICX automatically gives new scenarios the default name of "Scenario #n" , where n is a number. To rename a scenario:

  • Select the scenario in the Project Hierarchy; and
  • Once the scenario name is selected, pause then click again. When the entry is highlighted, you can enter a new name. Remember that scenario names must be unique within a project.

Linking scenarios

...

  • .

...

 Comparing Scenarios

The full version of Source has functionality for determining the difference between scenarios. For more information please see Troubleshooting and Debugging

Copying network elements

When copying a partial scenario, the effect on each network element is different, see Nodes and Links - Copying and pasting.

Audit Log

 The audit log keeps track of the changes made to a project over time. This is particularly important for projects that are worked on by multiple people.  It contains a combination of software generated information on model changes and provides an opportunity for users to annotate the purpose of those changes with a commit message when the project is saved.

Figure 7.  Audit Log Commit Message

Image Removed

Commit messages are used to group software generated logs in a way that makes sense to users working on the project. If the same issue is being worked on in multiple concurrent sessions, you can select Merge with current task to group the logs under the previous commit message.

Figure 8. Audit Log Viewer

Image Removed

A large audit log attached to a project can become a processing burden, especially in the case of large projects. Audit logging is on by default, but can be disabled in Edit »Project Options» Audit Log Settings by toggling off Enable Logging.  

Figure 9. Project Options, Audit Log Settings

...