26-03-2024, 06:48 PM
Dear forum,
I have been trying to implement a UC to constrain the share of low-carbon primary energy over time in TIAM-FR (a global model). I defined Commodity Sets to represent low-carbon primary energy with
- PRIBIO including bioenergies,
- PRIRNW including intermittent renewables, nuclear and hydro
- PRICCS including fossil fuel commodites that are used in processes equipped with carbon capture thus capturing fossil carbon CPT*N (PSet_CO = CPT*N)
- PRIFOS including all primary fossil fuel commodities
With this UC, I want to force the model to ensure a global minimum low-carbon share of primary energy over time (L_t) such that
I attach the formulation of the UC in a screenshot. In rows 15 to 18, I set UC_IRE on commodities that can be traded as the constraint should not include the flows of commodities traded. The constraint is only applied as of 2030 and the model starts in 2018.
I have two issues with this contraint:
1) dummy imports for the base year while the constraint is only effective in 2030 onwards (UC_RHST~0=5)
2) the constraint is satisfied unless the UC_IRE (row 15-18) are activated
Do you have an idea on how to fix these issues? I made sure the Browser was reading the constraint properly.
Thanks,
Lucas
I have been trying to implement a UC to constrain the share of low-carbon primary energy over time in TIAM-FR (a global model). I defined Commodity Sets to represent low-carbon primary energy with
- PRIBIO including bioenergies,
- PRIRNW including intermittent renewables, nuclear and hydro
- PRICCS including fossil fuel commodites that are used in processes equipped with carbon capture thus capturing fossil carbon CPT*N (PSet_CO = CPT*N)
- PRIFOS including all primary fossil fuel commodities
With this UC, I want to force the model to ensure a global minimum low-carbon share of primary energy over time (L_t) such that
Code:
$$ Var_COMCON(PRIBIO) + Var_COMCON(PRIRNW) + Var_flo(PRICCS,PSet_CO = CPT*N) > L_t \cdot (Var_COMCON(PRIBIO) + Var_COMCON(PRIRNW) + Var_COMCON(PRIFOS)$$
$$ (1-L_t) \cdot (Var_COMCON(PRIBIO) + Var_COMCON(PRIRNW)) + Var_flo(PRICCS,PSet_CO = CPT*N) - L_t \cdot Var_COMCON(PRIFOS) > 0$$
I attach the formulation of the UC in a screenshot. In rows 15 to 18, I set UC_IRE on commodities that can be traded as the constraint should not include the flows of commodities traded. The constraint is only applied as of 2030 and the model starts in 2018.
I have two issues with this contraint:
1) dummy imports for the base year while the constraint is only effective in 2030 onwards (UC_RHST~0=5)
2) the constraint is satisfied unless the UC_IRE (row 15-18) are activated
Do you have an idea on how to fix these issues? I made sure the Browser was reading the constraint properly.
Thanks,
Lucas