Skip to content

Engine Execution Service Providers

MIKE OPERATIONS support executing scenarios using external engine execution service providers.

When engine execution service providers have been configured, the providers can be selected in on any scenario property of model setups based on engine types supported by the service provider.

The service providers can be configured from the root node of the Scenario Explorer.

In the connection definition dialog, specify:

  • Provider
    Select the engine execution provider service from the list of providers loaded.
  • Connection
    Specify the connection string of the provider.
  • Alias
    Alias used when selecting the service provider.
    For MIKE Cloud, the connection string should have the following format separated by a semi colon ;.
  • Environment (Prod, Dev, Test)
    Default is Prod (production). If the environment is not specified, Prod is used.
    Refer to the Platform documentation for information about environments.
    • Prod - Production Environment
    • Dev - Development Environment
    • Test - Test Environment
  • API key
    The API key (a GUID) can be generated in the MIKE Cloud Data Admin. The API key is not required when using DHI single sign-on.
    The API key is associated with an API access account in MIKE Cloud. The API access accounts can be associated to one or more MIKE Cloud projects in MIKE Cloud Data Access.
    Refer to the Platform Documentation on APIKeys for more information.

Sample connection strings:

  • Prod;6B21CC83-3B5A-4B8E-9318-26C87FB6A070 - Use the production with the specified API key.
  • 6B21CC83-3B5A-4B8E-9318-26C87FB6A070 - API key using the default environment (production).
  • Dev;DD52CDC1-0191-4894-87DE-127DB909DC01 - Use the development environment with the specified key.

By default, the connection string is empty. This means that the Production environment is used, and that DHI single sign-on is used.

DHI single sign-on requires a login and is not suitable when using e.g., the job service of MIKE OPERATIONS for running simulations. In this case using an API key is required.

Tip

If the connection fails, you should clear the cache by deleting the file (for Prod):
%localappdata%\DHI.oidccache.bin