Versions Compared

Key

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

Overview

The Insight Replicate Runner is a combination of the Insight Runner and the Replicate Runner. It does performs an Insight run where each population individual is run multiple times using an ensemble of time-series inputsdifferent timeseries inputs generated from the Time Series Cycle Creator (TSCC). The runner can be used, for example, to optimise an eWater Source model with a range of alternative climate data inputs and decision variables.

There are two means of specifying the time series ensembles:

  • Generating variants of an existing time series using the Time Series Cycle Creator (TSCC)
  • Loading

    Note that, it is possible to achieve similar behaviour using the Insight Runner and the Load Time Series option of Insight to load a set of pre-generated

    time-series, using the Insight Runner

    timeseries files.

    eWater Source and Insight Project Setup

    To run a an Insight Replicate job, the eWater Source project must already be created with the time-series timeseries to be cycled loaded in Data Sources . See (see Replicate Runner for details). An Insight configuration file called config.txt file must also be included , (see Configuring an Insight Optimisation Run. Specifying time-series for multiple runs ).

    The Load Time Series option of Insight is not supported by the Insight Replicate Runner as the setting will be overwritten by the generated, cycled time-series timeseries data.

    Once configured, the eWater Source project, CSV (s), the input timeseries csv files (containing the time series files to be replicatedcycled), and the Insight configuration file must be placed in a zip archive file. The Insight configuration file must be renamed "config.txt" if it is saved using a different name in Insight.

    Info

    Note that the Insight config file must be

    placed in a ZIP file.

    in the root of the zip archive and not within a folder. The project setting in the config file must refer to the folder which contains the config file otherwise Source project and timeseries files may not be located correctly and cause the run to fail.

    Example Insight Replicate project zip file

    InsightReplicateExample.zip

    In this example there is a single project, Multi_obj_optimise.rsproj, and there is one input timeseries file, Inflows.csv.

    • InsightReplicateExample.zip
      • config.txt
      • Inflows.csv
      • Multi_obj_optimise.rsproj

    Insight config.txt paths:

    project C:\InsightReplicateExample

    Note the 'timeseries' parameter is not specified. It will automatically be specified by the Insight Replicate Runner, replacing any existing value.

    Info

    The Run Manager Cloud Application is currently configured to use multiple versions of Source and has two plugins available:

    • UrbanDeveloper
    • SubSource

    Before running projects on Run Manager it is always recommended to save the projects using a supported version to avoid needing to upgrade the projects during Source runs.

    Contents

    Table of Contents
    maxLevel3
    excludeContents
    printablefalse

    Job Creation

    Upload Data

    Click "Choose Insight zip" and select the .zip file that contains your Insight Replicate project. It Depending on the size of the file it may take a few seconds moment for the file to upload.

    Once the project has finished being uploaded, the Insight Replicate Runner configuration options will be displayed.

    Configuration

    The configuration is on the Insight Replicate Runner combines the same options as for both the Insight Runner and the Replicate Runner. Please refer to those runners for details about configuration.

    Queue 

    Table 1 lists the queue options for the Insight Replicate Runner.

    Table 1. Queue
    Job ConfigurationSpecify a custom name for the job and, finally, select Queue to add the Replicate Runner
    options.

    Configuration Option

    Description

    Job Name

    The name given to the job when viewed in the Run Manager

    Agent End pointsChoose which type of agents should be used to run the job (will be hidden if Run Manager is configured to only have one type of agent endpoint)
    Source VersionChoose the Source version to use for the Job
    Number of AgentsThe number of agents to be allocated to the job. Note that Insight Jobs must have at least 2 agents (one master and one endpoint). You may specify any number of agents however to minimise the waiting time of agents the number of agents should be a factor of the runs per generation plus one for the Insight master, where runs per generation = (population size × project count × number of replicates), as NSGA-II cannot move onto the next generation until all individuals in the current generation have finished.
    Model Run Estimate (Minutes)(Optional) The user's estimate of how long it will take to run a single individual = (project count × number of replicates)
    Estimate(Optional) Estimates the costs of running the job based on the user's Model Run Estimate, the number of agents, the population size, and the number of generations.
    QueueAdds the job to the queue of jobs to be run

    Results

    The Insight Replicate Runner will provide the following result files in a zip:

    • job.log - Log file containing information and messages generated during the Job
    • results.csv - The Insight results file which can be imported into Insight to be viewed
    • cache.csv - The Insight results cache file which can be imported into Insight to be viewed and used in subsequent runs
    • A folder for each replicate containing replicate input timeseries files used for the run in the same folder structure as provided in the original zip file