message_ix_models.model.transport.demand.TASKS
- message_ix_models.model.transport.demand.TASKS = [(('whour:', 'quantity_from_config', 'config'), {'name': 'work_hours'}), (('lambda:', 'quantity_from_config', 'config'), {'name': 'lamda'}), (('y::conv', 'quantity_from_config', 'config'), {'name': 'year_convergence'}), (<mode share:n-t-y:base>, 'base_shares', 'mode share:n-t:ref', 'n::ex world', 't::transport modes', 'y::model'), (<GDP:n-y:PPP>, <GDP:n-y>), (<GDP:n-y:PPP+capita>, 'div', <GDP:n-y:PPP>, <population:n-y>), (<pdt:n-y:total>, 'mul', <pdt:n-y:capita+adj>, <population:n-y>), ('votm:n-y', 'votm', <GDP:n-y:PPP+capita>), ((<PRICE_COMMODITY:n-c-y:transport+raw units>, 'select', <PRICE_COMMODITY:n-c-y>), {'indexers': {'c': 'transport'}, 'drop': True}), (<PRICE_COMMODITY:n-c-y:transport>, 'price_units', <PRICE_COMMODITY:n-c-y:transport+raw units>), (<PRICE_COMMODITY:n-c-y:transport+smooth>, 'smooth', <PRICE_COMMODITY:n-c-y:transport>), (('speed:scenario-n-t-y:0', 'interpolate', 'speed:scenario-n-t-y:exo', 'y::coords'), {'kwargs': {'fill_value': 'extrapolate'}}), ('speed:n-t-y', 'select', 'speed:scenario-n-t-y:0', 'indexers:scenario'), (<cost:n-y-c-t>, 'cost', <PRICE_COMMODITY:n-c-y:transport+smooth>, <GDP:n-y:PPP+capita>, 'whour:', 'speed:n-t-y', 'votm:n-y', 'y::model'), (<share weight:n-t-y>, 'share_weight', <mode share:n-t-y:base>, <GDP:n-y:PPP+capita>, <cost:n-y-c-t>, 'lambda:', 't::transport modes', 'y::model', 'config'), ((<mode share:n-t-y>, 'logit', <cost:n-y-c-t>, <share weight:n-t-y>, 'lambda:', 'y::model'), {'dim': 't'}), (<pdt:n-y-t:0>, 'mul', <pdt:n-y:total>, <mode share:n-t-y>), ('pdt factor:n-y-t', 'factor_pdt', 'n::ex world', 'y::model', 't::transport modes', 'config'), (('ldv pdt factor:n-y', 'select', 'pdt factor:n-y-t'), {'indexers': {'t': 'LDV'}, 'drop': True}), (<pdt:n-y-t>, 'mul', <pdt:n-y-t:0>, 'pdt factor:n-y-t'), (<pdt:n-y-t:capita+post>, 'div', <pdt:n-y-t>, <population:n-y>), ((<pdt ldv:n-y:ref>, 'select', <pdt:n-y-t>), {'indexers': {'t': 'LDV'}, 'drop': True}), (<pdt ldv:n-y:total>, 'mul', <pdt ldv:n-y:ref>, 'ldv pdt factor:n-y'), (<pdt ldv:n-y-cg>, 'mul', <pdt ldv:n-y:total>, <cg share:n-y-cg>), ('fv:n-t:historical', 'mul', 'freight mode share:n-t:ref', 'freight activity:n:ref'), (<GDP:n-y:PPP+capita+index>, 'index_to', <GDP:n-y:PPP>, literal<type=str>, 'y0'), (<freight activity:n-t-y:0>, 'mul', 'fv:n-t:historical', <GDP:n-y:PPP+capita+index>), ('fv factor:n-t-y', 'factor_fv', 'n::ex world', 'y::model', 'config'), (<freight activity:n-t-y:1>, 'mul', <freight activity:n-t-y:0>, 'fv factor:n-t-y'), ((<freight activity:n-t-y:2>, 'select', <freight activity:n-t-y:1>), {'indexers': {'t': ['ROAD']}}), ((<freight activity:c-n-y>, 'relabel2', <freight activity:n-t-y:2>), {'new_dims': {'c': 'transport freight {t.lower()}'}}), ('t demand freight::ixmp', 'as_message_df', <freight activity:c-n-y>, 'demand', {'commodity': 'c', 'node': 'n', 'year': 'y'}, {'level': 'useful', 'time': 'year'}), ((<pdt:n-y-t:1>, 'select', <pdt:n-y-t>), {'indexers': {'t': ['LDV']}, 'inverse': True}), ((<pdt:n-y-c:0>, 'relabel2', <pdt:n-y-t:1>), {'new_dims': {'c': 'transport pax {t.lower()}'}}), (<pdt:n-y-c>, 'convert_units', <pdt:n-y-c:0>, 'Gp km / a'), ('t demand pax non-ldv::ixmp', 'as_message_df', <pdt:n-y-c>, 'demand', {'commodity': 'c', 'node': 'n', 'year': 'y'}, {'level': 'useful', 'time': 'year'}), ((<pdt ldv:c-n-y:0>, 'relabel2', <pdt ldv:n-y-cg>), {'new_dims': {'c': 'transport pax {cg}'}}), (<pdt ldv:c-n-y>, 'convert_units', <pdt ldv:c-n-y:0>, 'Gp km / a'), ('t demand pax ldv::ixmp', 'as_message_df', <pdt ldv:c-n-y>, 'demand', {'commodity': 'c', 'node': 'n', 'year': 'y'}, {'level': 'useful', 'time': 'year'}), ('t demand dummy::ixmp', <function dummy>, 'c::transport', 'nodes::ex world', 'y::model', 'config'), ('transport demand::ixmp', 'merge_data', 't demand pax ldv::ixmp', 't demand pax non-ldv::ixmp', 't demand freight::ixmp', 't demand dummy::ixmp')]
Task for computing and adding demand data; inputs to
Computer.add_queue()
.