message_ix_models.model.transport.operator.indexer_scenario
- message_ix_models.model.transport.operator.indexer_scenario(config: dict, *, with_LED: bool) dict[Literal['scenario'], str] [source]
Indexer for the
scenario
dimension.If with_LED and
config.project["LDV"] = True
, then the single label is “LED”. Otherwise it is the short form of thetransport.config.Config.ssp
code, e.g. “SSP1”. In other words, this treats “LDV” as mutually exclusive with an SSP scenario identifier (instead of orthogonal).- Parameters:
config – The genno.Computer “config” dictionary, with a key “transport” mapped to an instance of
transport.Config
.