Skip to content

General Settings

MIKE OPERATIONS Configuration

The configuration of MIKE OPERATIONS requires relations between GIS feature layers, time series and their thresholds in order to present the results.

All information is saved in spreadsheets in MIKE Workbench. Spreadsheet are maintained in MIKE OPERATIONS, but can also be changed in MIKE Workbench.

The configuration consists of Feature Types. Feature Types are configured from the Application Menu of MIKE OPERATIONS.

General Settings

General settings contain the overall configuration of MIKE OPERATIONS.

Create Configuration

Click on the ‘New’ button to create a new configuration.

Specify a name.

The new configuration can be created as a copy of an existing configuration.

Select the configuration to copy in the ’Copy from’ dropdown.

Real time configurations spreadsheet

When a configuration has been created and saved, the configuration is added to the list of real time configurations in the “Real time configurations” spreadsheet of the spreadsheet manager of MIKE Workbench.

Item Description
Active “Yes” if the configuration is active. “No” if the configuration is not active, hence not displayed in the Configurations dropdown in MIKE OPERATIONS.
Configuration Name The name of the configuration.
Users Comma separated list of users (MO login user) allowed to select the configuration. If no users are specified, all users can see the configuration. The admin user can always see all configurations.
Show On Web Value indicating whether the configuration is available on MIKE OPERATIONS Web.
Index Index in the configurations dropdown.

General

Item Description
Description An optional description of the configuration. ./MIKEOPERATIONS-Configuration1/image5.png
Model Setup Path to the model setup in the Scenario Manager of MIKE Workbench. MIKE OPERATIONS is model independent, so any type of model can be specified here. (for display of observations only without a model included, the Model Setup text box is empty). ./MIKEOPERATIONS-Configuration1/image6.png
Forecast Scenario Forecast Scenario is the scenario of the model setup used in Data & Maps mode. The latest simulation of this scenario is used at startup and refreshed when a new simulation is ready. ./MIKEOPERATIONS-Configuration1/image7.png

Scenario Mode

Item Description
Checkout Scenario Path Path on disk where all scenarios created in scenario mode will be placed. This path must be specified in order to create scenarios in scenario mode. ./MIKEOPERATIONS-Configuration1/image8.png
Run Scenario Host Name of the host to use for running simulations in scenario mode. Host is configured in the Job Manager of MIKE Workbench. If no host is specified, a localhost is used. ./MIKEOPERATIONS-Configuration1/image9.png
Scenario Templates Configure Scenario Templates by clicking on the ‘Templates’ button. The selected spreadsheet contains the configured scenario templates. By default, the spreadsheet is called ‘Scenario Templates’ and is placed in the folder containing the configuration spreadsheet of the current configuration. ./MIKEOPERATIONS-Configuration1/image10.png

Scenario Templates

The scenario templates can be configured from the General Settings page in the backstage view of MIKE OPERATIONS.

Clicking the ‘Templates’ button displays a form where the Scenario Templates can be configured.

Templates can be created, copied, deleted and moved up or down in the list. The order of the templates in the configuration form determines the order the templates will be displayed when applying the templates while creating new scenarios.

The scenario configurations will be saved in a spreadsheet ‘Scenario Templates’ placed in the folder of the current configuration in the spreadsheet manager in MIKE Workbench.

Input time series

Each template defines what input time series should be changed and how it should be changed. The baseline time series of the specified baseline scenario will be the base of the new time series. This means that if no changes to the time series are made, the new input time series will contain the same time steps and values as the baseline time series. If no scenario template is applied, the new scenario will contain a copy of the baseline time series.

The template configuration dialog can be accessed by clicking the ‘Time Series’ button and will contain a tab page for each active dynamic feature layer in the MIKE OPERATIONS configuration containing input time series supporting scenario mode.

Input time series are identified by the tab they are added to (Dynamic Feature Type), the name of the station/catchment/reservoir, and the name of the time series.

Each input time series has a ‘Model Object Name’ and a ‘Model Object Variable Name’ specified in the configuration of the station. ’Model Object Name’ and ’Model Object Variable Name’ is used for identifying the input time series in the model setup.

Time series can be created, copied, changed and deleted, but not ordered. The rows will automatically be ordered by the name of the station and the name of the time series.

Clicking the ‘New’ button will bring up a dialog for selecting the station and the time series.

The ‘Name’ combo box will contain a list of stations/reaches/catchments of the selected feature type (tab).

‘Time series’ contains a list of input time series supporting scenario mode on the feature type selected.

The input time series can be changed by clicking the ‘Details’ button of the time series.

Actions

Each input time series can have a set of actions defining what to change on the baseline time series.

‘New’ will add a new action line in the list view.

’Delete’ will delete the action from the list view.

’Copy’ will copy the action into a new row.

The order of the actions can be changed by clicking ’Move Up’ and ’Move Down’.

The order determines the order that the actions will be applied to the scenario input time series.

Each action can be configured through the ’Details’ button.

This will bring up the action configuration dialog.

The following information can be specified: |Item| Description| |--|--| | Id | The Id of the actions | | Name | The name of the action. | | Description | The description of the action. | | Active | Actions can be deactivated. | | Start | Time span from Time Of Forecast from where the action is applied. The time span should define the number of years, months, days, hours, minutes and seconds. | | End | Time span from Time Of Forecast where the action is active to. The time span should define the number of years, months, days, hours, minutes and seconds. | | Action Type | The type of action.
Constant: A constant value is applied to all time steps in the period of the action.
Factor: A factor is multiplied to all values of the baseline time series in the period of the action.
Offset: A constant is added to all values of the baseline time series in the period of the action.
Interpolation: Interpolation between start and end time. For interpolation, the End Value must be specified.
Script: A script is calculating and updating the input time series. The script must take the following arguments:

  • Scenario Input time series definition | | Value | The value to set, add or multiply to the baseline time steps depending on the Action Type. | | End Value | The end value on the to time step when using the interpolation action type.| | Script | Full path to the script used for setting scenario input time series for Action Type ‘Script’. The script should return an list of time steps and take the following arguments:
  • Scenario Input time series
    See below for a script sample.|

    The script sample below shows how a script body should look for a script used in a scenario template action.

    Publish

    Item Description
    Contacts
    Path to the spreadsheet containing the contacts setup.

    A default contacts spreadsheet ‘Contacts’ are created in the configuration folder.

    Click on the ellipsis button to select an existing contacts spreadsheet.

    Click the ’Create Spreadsheet’ button to create a new spreadsheet.
    ./MIKEOPERATIONS-Configuration1/image20.png
    SMS Batch File Path
    Path to a batch file executed in order to send SMS messages on threshold alerts.

    The batch file will be called with two arguments.
  • Message Text – The text to send.
  • Phone numbers – A semicolon separated string of phone numbers that should receive the SMS message.

    In the batch file, a call to a SMS Gateway must be specified. SMS Gateway Providers usually have their own way of sending SMS messages.

    Please follow the instructions given by the SMS Gateway Provider for sending SMS messages from the command line or using the API of the SMS Gateway Provider.
  • ./MIKEOPERATIONS-Configuration1/image21.png
    Web Publish Script
    Select a script in the script manager, to be executed when the ‘Web’ Button (www) of the ribbon is clicked.

    The script should not have any arguments.

    def PublishToWeb():
    """
    \
    \admin\
    \\
    \ \
    \

    """
    # Write publish code here.
    return;
    ./MIKEOPERATIONS-Configuration1/image22.png ./MIKEOPERATIONS-Configuration1/image23.png

    Layout

    Item Description
    Default Skin
    Layout Skin Colors used in Data & Maps.
    ./MIKEOPERATIONS-Configuration1/image24.png
    Scenario Skin
    Layout Skin Colors used in Scenario Mode.
    ./MIKEOPERATIONS-Configuration1/image25.png
    Background Map Type
    The default background map type shown at startup. Favorite background maps can also be selected here.

    Refer to the MIKE Workbench online help for more information.

    Note that when using Google Maps, there are limits on the number of map loads allowed.

    Please refer to Google Maps usage limits. https://developers.google.com/maps/usagelimits/
    ./MIKEOPERATIONS-Configuration1/image26.png
    Source Coordinate System
    The Source Coordinate System used for the x- and y-coordinates of point features.

    This is the coordinate system used when saving spreadsheets to MIKE Workbench.
    ./MIKEOPERATIONS-Configuration1/image27.png
    Views
    Select the Views available in the current configuration.

    Views not selected will be hidden in the current configuration.

    If no views are selected, all views will be displayed.
    ./MIKEOPERATIONS-Configuration1/image28.png
    Use Tree Navigation
    The navigation panel can show stations as a list view or a tree view.

    To use tree view, check this check box.
    ./MIKEOPERATIONS-Configuration1/image29.png
    Zoom to selection
    When selecting features in the table view or on the map, the map will automatically zoom to the first feature in the selection.
    ./MIKEOPERATIONS-Configuration1/image30.png

    Refresh

    Item Description
    Interval (minutes)
    The refresh interval in minutes.

    If a refresh interval is specified, the entire UI will refresh and load new data and simulations.

    If the refresh interval is set to 0 or less, no refresh is done.
    ./MIKEOPERATIONS-Configuration1/image31.png

    Themes

    Themes allow having different views with different sets of feature types. A feature type can belong to one or more themes.

    When selecting a theme in the ribbon, only feature types belonging to the selected theme will be displayed.

    Themes are created from the General Settings page in the backstage view.

    Themes can be created as main themes selected in the ribbon and as child themes specified on an item e.g. a station.

    Child themes will be displayed when double clicking an item with a child theme specified as “Go to theme”. Note that “go to” child theme will be applied only if the parent theme of the child theme is currently selected in the ribbon.

    None, one or more main themes or child themes can be specified on an item.

    The child themes are displayed depending on the main theme selected in the ribbon.

    This also means that only one child theme per main them should be specified on an item.

    The themes dropdown in the ribbon has a back button.

    The back button is for getting back to the main theme when a child theme has been selected.

    The back button will refresh the main theme if a main them is specified.

    Maintaining Themes

    Themes are created by clicking the Themes button on the General Settings page.

    Click on the ‘Details’ button of the theme row to configure the theme.

    Item Description
    Active
    Activate the theme type by checking this field.
    ./MIKEOPERATIONS-Configuration1/image37.png
    Id
    Id of the theme.

    The id is used as a reference.
    ./MIKEOPERATIONS-Configuration1/image38.png
    Name
    Name of the theme.
    ./MIKEOPERATIONS-Configuration1/image39.png
    Description Description of the theme. ./MIKEOPERATIONS-Configuration1/image40.png
    Parent Theme
    Parent theme (main theme) of a child theme.

    A child theme can be specified on a station, so that the theme is applied when double clicking the station in the navigation view or the map.
    ./MIKEOPERATIONS-Configuration1/image41.png
    Show Background Map
    Check to show the Google or Open Street background map when applying the theme.

    When checked, the background map specified in general settings is shown.
    ./MIKEOPERATIONS-Configuration1/image42.png
    Favorite Background Map
    Specify a favorite map to show as background map when applying the theme.

    Favorite maps should be placed in a group ‘Background Maps’ (case sensitive) in the Favorite Explorer of MIKE Workbench.

    Favorites maps are added from the map view of the GIS Explorer using the context menu of the map.
    ./MIKEOPERATIONS-Configuration1/image43.png ./MIKEOPERATIONS-Configuration1/image44.png ./MIKEOPERATIONS-Configuration1/image45.png
    Views
    Specify the Views visible when applying the theme.

    If no Views are selected, the views currently visible will be displayed.
    ./MIKEOPERATIONS-Configuration1/image46.png
    Filter Groups
    Specify filter groups to show when applying the theme.

    If no filter groups are selected, all groups are shown when applying the theme.
    ./MIKEOPERATIONS-Configuration1/image47.png
    Coordinate System
    Specify the map coordinate system to use when applying the theme.
    ./MIKEOPERATIONS-Configuration1/image48.png

    Create Spreadsheet

    Information about feature types are stored in spreadsheets in MIKE Workbench. To create a spreadsheet, click on the ‘Create Spreadsheet’ button in General Settings.

    Spreadsheets can be created from a GIS Feature Class in MIKE Workbench. In the image above, the dialog shows that the new spreadsheet will be created with features from the Feature Class found in the path ‘/Sava/Reservoirs’ in the GIS Manager in MIKE Workbench.

    Item Description
    Create Empty Spreadsheet
    Check this box to create an empty spreadsheet.

    To create a spreadsheet from a feature class, uncheck ‘Create Empty Spreadsheet’.
    ./MIKEOPERATIONS-Configuration1/image50.png
    Feature Class
    Specify a feature class to create a spreadsheet with all the features in the feature class.

    Use the ellipsis button to select the Feature Class from the list.
    ./MIKEOPERATIONS-Configuration1/image51.png
    Id Attribute
    The attribute of the feature class containing the id of the each feature in the feature class.

    The id must be unique.
    ./MIKEOPERATIONS-Configuration1/image52.png
    Name Attribute
    The attribute of the feature class containing the name of the feature.
    ./MIKEOPERATIONS-Configuration1/image53.png
    Spreadsheet Name
    The name of the spreadsheet to create.

    Use the ellipsis button to find a location of the spreadsheet or even a spreadsheet to overwrite.
    ./MIKEOPERATIONS-Configuration1/image54.png