message_ix_models.model.transport.build.add_structure

message_ix_models.model.transport.build.add_structure(c: Computer)[source]

Add keys to c for structures required by transport.build computations.

This uses transport.Config.base_model_info and transport.Config.spec to mock the contents that would be reported from an already-populated Scenario for sets “node”, “year”, and “cat_year”. It also adds many other keys.