message_ix_models.model.transport.build.STRUCTURE_STATIC

message_ix_models.model.transport.build.STRUCTURE_STATIC: tuple[tuple, ...] = (('add transport data', []), ('transport all', []), ('info', <function <lambda>>, 'context'), ('transport info', <function <lambda>>, 'context'), (<demand:c-h-l-n-y:base>, functools.partial(<function data_for_quantity>, 'par', 'demand', 'value'), 'scenario', 'config'), ('dry_run', <function <lambda>>, 'context'), ('e::codelist', functools.partial(<functools._lru_cache_wrapper object>, 'emission')), ('groups::iea eweb', 'groups_iea_eweb', 't::transport'), ('groups::iea to transport', operator.itemgetter(0), 'groups::iea eweb'), ('groups::transport to iea', operator.itemgetter(1), 'groups::iea eweb'), ('indexers::iea to transport', operator.itemgetter(2), 'groups::iea eweb'), ('indexers:scenario', functools.partial(<function indexer_scenario>, with_LED=False), 'config'), ('indexers:scenario:LED', functools.partial(<function indexer_scenario>, with_LED=True), 'config'), ('indexers::usage', 'indexers_usage', 't::transport'), ('n::ex world', 'nodes_ex_world', 'n'), ('n:n:ex world', <function <lambda>>, 'n::ex world'), ('n::ex world+code', 'nodes_ex_world', 'nodes'), ('nl::world agg', 'nodes_world_agg', 'config'), ('scenario::all', 'scenario_codes'))

genno tasks for model structure information that are ‘static’—that is, do not change based on Config settings. See add_structure().

These include:

  • add transport data: an empty list. The prepare_computer() functions in individual modules listed by transport.Config.modules can append keys.

  • key.report.all: same, but for reporting.

  • info: transport.Config.base_model_info, an instance of ScenarioInfo.

  • transport info: the logical union of base_model_info and the Spec.add member of Config.spec. This includes all set elements that will be present in the build model.

  • dry_run: Config.dry_run.

  • e::codelist: get_codelist() for Emission species (emission.yaml).

  • groups::iea to transport, groups::transport to iea, indexers::iea to transport: the 3 outputs of groups_iea_eweb(), for use with IEA Extended World Energy Balances data.

  • n::ex world: \(n\) as list of str, excluding “World”. See nodes_ex_world().

  • n::ex world+code: \(n\) as list` of Code, excluding “World”.

  • n:n:ex world: a 1-dimensional Quantity for broadcasting (values all 1).

  • nl::world agg: dict mapping to aggregate “World” from individual \(n\). See nodes_world_agg().