message_ix_models.model.transport.build.structure_from_scenarioinfo

message_ix_models.model.transport.build.structure_from_scenarioinfo(c: Computer, info_key: KeyLike) None[source]

Add tasks to c for structures based on ScenarioInfo.

The following keys/tasks are added only if not already present in c. If, for instance, c is a Reporter prepared from an already-solved Scenario, the existing tasks referring to the Scenario contents are not changed. Otherwise, they are derived from a ScenarioInfo instance found at info_key: