message_ix_models.model.material.demand.format_to_demand_par

message_ix_models.model.material.demand.format_to_demand_par(df: DataFrame, material: str)[source]

Format given dataframe to MESSAGEix demand parameter.

Parameters:
  • df – DataFrame containing columns: [region, year, demand_tot]

  • material – commodity code