message_ix_models.model.transport.operator
genno
operators for MESSAGEix-Transport.
Module Attributes
Mapping from technology names appearing in the IEA EEI data to those in MESSAGEix-Transport. |
Functions
|
Return a header comment for writing out base model data. |
|
Return base mode shares. |
|
|
|
Broadcast ADVANCE data from native n coords to |
|
Return a Quantity for broadcasting dimension (t) to (c, l) for kind. |
|
Broadcast over coordinates coords along dimension dim. |
|
Return a quantity for broadcasting y to (yv, ya). |
|
Calculate cost of transport [money / distance]. |
|
Return annual driving distance per LDV. |
|
Return annual travel distance per vehicle for non-LDV transport modes. |
|
|
|
Convert |
|
Like |
|
Extend qty along the dimension dim to cover all of y. |
|
Scaling factor for freight activity. |
|
Scaling factor for |
|
Scaling factor for passenger activity. |
|
Return a scaling factor for an SSP realization. |
|
Output efficiency for |
|
Structure for calibration to IEA Extended World Energy Balances (EWEB). |
|
Return a list of groupers for aggregating annual data to MESSAGE periods. |
|
Returns base-year demand for freight from IEA EEI, with dimensions n-c-y. |
|
Indexers for selecting (n, census_division) → n. |
|
Indexers for replacing LDV t and cg with t_new for usage technologies. |
|
Compute probabilities for a logit random utility model. |
|
Like |
|
Select from qty if possible, using |
|
Slightly modified from message_ix_models.util. |
|
Like |
|
Mapping to aggregate e.g. nl="World" from values for child nodes of "World". |
|
Forcibly adjust price units, if necessary. |
|
|
|
Replace dimensions with new ones using label templates. |
Return fractions of current vehicle stock that should be added in prior years. |
|
|
Calculate mode share weights. |
|
Smooth qty (e.g. PRICE_COMMODITY) in the |
|
Reporting operator for |
|
Construct a uniform distribution from value along its \(y\)-dimension. |
|
Calculate value of time multiplier. |