Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
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()