message_ix_models.model.material.util.price_fit

message_ix_models.model.material.util.price_fit(df: DataFrame) float[source]

price_ref parameter estimation emulation in MACRO calibration files.

Parameters:

df – DataFrame with required columns: “year” and “lvl”

Returns:

estimated value for price_ref in 2020

Return type:

float