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 keymode-share:
, and region usespath_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.