co2¶
This module contains the constraints and expressions related to carbon emissions. The model computes the carbon emissions for each year, based on the sum of carbon emissions from each zone, and from each technology as follows:
The calculated carbon emission for each year lower than its upper bound, as follows:
- class prepshot._model.co2.AddCo2EmissionConstraints(model)[源代码]¶
基类:
objectClass for carbon emission constraints and calculations.
- 参数
model (object) --
- __init__(model)[源代码]¶
Initialize the class.
- 参数
model (object) -- Model object depending on the solver.
- 返回类型
None
- carbon_breakdown(y, z, te)[源代码]¶
Carbon emission cost breakdown.
- 参数
y (int) -- Year.
z (str) -- Zone.
te (str) -- Technology.
- 返回
The expression of the model.
- 返回类型
poi.ExprBuilder
- carbon_offset_limit_rule(y, z)[源代码]¶
Limit purchased carbon offsets to a fraction of raw zonal emissions.
carbon_offset[y,z] <= rate * raw_emissions[y,z]where
raw_emissions = carbon_capacity + carbon_offset(i.e. the emissions before offsets are deducted).- 参数
y (int) -- Planned year.
z (str) -- Zone.
- 返回
A constraint of the model.
- 返回类型
poi.ConstraintIndex