cost module

class ezclimate.cost.Cost[source]

Bases: object

Abstract Cost class for the EZ-Climate model.

cost()[source]
price()[source]
class ezclimate.cost.DLWCost(tree, emit_at_0, g, a, join_price, max_price, tech_const, tech_scale, cons_at_0)[source]

Bases: ezclimate.cost.Cost

Class to evaluate the cost curve for the EZ-Climate model.

Parameters:
  • tree (TreeModel object) – tree structure used
  • emit_at_0 (float) – initial GHG emission level
  • g (float) – intital scale of the cost function
  • a (float) – curvature of the cost function
  • join_price (float) – price at which the cost curve is extended
  • max_price (float) – price at which carbon dioxide can be removed from atmosphere in unlimited scale
  • tech_const (float) –
    determines the degree of exogenous technological improvement over time. A number
    of 1.0 implies 1 percent per yer lower cost
  • tech_scale (float) – determines the sensitivity of technological change to previous mitigation
  • cons_at_0 (float) – intital consumption. Default $30460bn based on US 2010 values.
tree

TreeModel object – tree structure used

g

float – intital scale of the cost function

a

float – curvature of the cost function

max_price

float – price at which carbon dioxide can be removed from atmosphere in unlimited scale

tech_const

float

determines the degree of exogenous technological improvement over time. A number
of 1.0 implies 1 percent per yer lower cost
tech_scale

float – determines the sensitivity of technological change to previous mitigation

cons_at_0

float – intital consumption. Default $30460bn based on US 2010 values.

cbs_level

float – constant

cbs_deriv

float – constant

cbs_b

float – constant

cbs_k

float – constant

cons_per_ton

float – constant

cost(period, mitigation, ave_mitigation)[source]

Calculates the mitigation cost for the period. For details about the cost function see DLW-paper.

Parameters:
  • period (int) – period in tree for which mitigation cost is calculated
  • mitigation (ndarray) – current mitigation values for period
  • ave_mitigation (ndarray) – average mitigation up to this period for all nodes in the period
Returns:

cost

Return type:

ndarray

price(years, mitigation, ave_mitigation)[source]

Inverse of the cost function. Gives emissions price for any given degree of mitigation, average_mitigation, and horizon.

Parameters:
  • years (int y) – years of technological change so far
  • mitigation (float) – mitigation value in node
  • ave_mitigation (float) – average mitigation up to this period
Returns:

the price.

Return type:

float