message_ix_models.model.material.demand.gen_demand_petro

message_ix_models.model.material.demand.gen_demand_petro(scenario: Scenario, chemical: Literal['HVC', 'methanol', 'NH3'], gdp_elasticity_2020: float, gdp_elasticity_2030: float)[source]

Generate petrochemical demand projections based on GDP elasticity.

This function calculates the demand for petrochemicals (HVC, methanol, NH3) using distinct GDP elasticity values for 2020-2030 and post-2030. GDP projections are queried from scenario if available or read from external data file.

Parameters:
  • scenario – The MESSAGEix scenario containing input data.

  • chemical – The petrochemical for which demand is being projected.

  • gdp_elasticity_2020 – GDP elasticity value for the period up to 2020.

  • gdp_elasticity_2030 – GDP elasticity value for the period after 2030.

Returns:

demand parameter data

Return type:

pd.DataFrame