Documentation


Model.singleScenarioModel()

singleScenarioModel ( )

Capture a single scenario from a multi-scenario model. Use the ScenarioNumber parameter to indicate which scenario to capture.

The model on which this method is invoked must be a multi-scenario model, and the result will be a single-scenario model.

Return value:

Model for a single scenario.

Example usage:

  model.params.ScenarioNumber = 0
  s = model.singleScenarioModel()