- class pywr.core.ScenarioIndex(int global_id, int[:] indices)
A ScenarioIndex is an indexer for a given combination of scenarios.
The ScenarioIndex is used to represent a given combination of scenarios during a simulation. It is given to Parameter instances to allow them to alter their calculations based on each scenario. Instances of this class are generated by Pywr, and users are unlikely to need to instantiate this class.
Read-only global scenario index that this ScenarioIndex refers to.
The indices for each of the Scenarios in this model.
- __init__(*args, **kwargs)