Skip to content

ScenarioRun Life Cycle

Vincent Carluer edited this page Apr 21, 2021 · 4 revisions

A ScenarioRun follow this life cycle:

  1. FetchingDatasets
  2. FetchingScenarioParameters
  3. ApplyingScenarioParameters
  4. ValidatingScenarioData
  5. SendingScenarioDataToDataWarehouse
  6. PreRun
  7. Running
  8. PostRun
  9. Success
  10. Failed

Every life cycle steps except Running are optionals.

Queued

The ScenarioRun is queued in Platform Compute Cluster and is waiting for execution.

FetchingDataset

The ScenarioRun is fetching every declared Dataset by running their associated Connector.

FetchingScenarioParameters

The ScenarioRun is fetching the Scenario Parameters values from the Platform.

ApplyingScenarioParameters

The ScenarioRun is running the Solution container with the handle-parameters action to apply the input parameters with the scripts declared in parametersHandlerResource.

ValidatingScenarioData

The ScenarioRun is running the Solution container with the validate action to validate the input data with the scripts declared in datasetValidatorResource.

SendingScenarioDataToDataWarehouse

The ScenarioRun is sending Input Parameters values and modified Scenario Data to the DataWarehouse.

PreRun

The ScenarioRun is running the Solution container with the prerun action to run the scripts declared in preRunResource.

Running

The ScenarioRun is running the Solution container with the standard main Simulator or the scripts declared in engineResource.

PostRun

The ScenarioRun is running the Solution container with the postrun action to run the scripts declared in postRunResource.

Success

The ScenarioRun finished succesfully.

Failed

The ScenarioRun failed.

Clone this wiki locally