
Code “Endogen_model" contains the main modeling framework used to compute the overall results of the study. It generates energy transition outcomes for different countries under the endogenous learning model. The exogenous model is implemented within the same framework by replacing specific cost-related components. The distinction between the endogenous and exogenous cases lies primarily in the representation of technology cost dynamics.
Code "AR_1" is used to estimate fossil fuel technology costs using an autoregressive (AR) time-series model.
Code "Calculating_learning_rate" calculates technology learning rates based on historical deployment and cost data.
Code "Gompertz_curve" models technology diffusion trajectories for African countries using a Gompertz curve specification. It provides exogenous projections of technology expansion paths under the diffusion-based assumption.
Code "Learning_threshold_model_calculation" computes the threshold parameter used in the learning curve formulation, which determines the activation point of endogenous cost reductions.