message_ix_models.model.transport.operator.base_shares

message_ix_models.model.transport.operator.base_shares(base: AnyQuantity, nodes: List[str], techs: List[str], y: List[int]) AnyQuantity[source]

Return base mode shares.

The mode shares are read from a file at data/transport/regions/mode-shares/name.csv, where name is from the configuration key mode-share:, and region uses path_fallback().

Labels on the t (technology) dimension must match the demand modes: from the configuration.

If the data lack the n (node, spatial) and/or y (time) dimensions, they are broadcast over these.