message_ix_models.model.material.demand.read_gdp_ppp_from_scen

message_ix_models.model.material.demand.read_gdp_ppp_from_scen(scen: Scenario) DataFrame[source]

Extract GDP (PPP) data from a MESSAGEix scenario.

If GDP (PPP) data is not directly available, it calculates it using GDP (MER) and a MER-to-PPP conversion factor.

Parameters:

scen – The MESSAGEix scenario containing GDP data.

Returns:

A DataFrame containing GDP (PPP) data with the following columns: - year: Year of the data. - region: Region name. - gdp_ppp: GDP (PPP) value.

Return type:

pd.DataFrame