Variable CPC_post is already average national consumption.
|
#calculate sum of quantile CPC consumption (to calculate consumption shares at later stage) |
|
v.sum_qcpc_post_recycle[t,c] = sum(v.qcpc_post_recycle[t,c,:]) |
|
|
|
# CPC = (sum quantile_pop* quantile_cpc) / population = (population/nb_quantile * (sum quantile_cpc)) / population = (sum quantile_cpc) / nb_quantile |
|
v.CPC_post[t,c] = v.sum_qcpc_post_recycle[t,c] / p.nb_quantile |
It's already used in the updated SCC decomposition.
|
∂_EW_within_equal = marginal_welfare_of_environment(c_within_equal, |
|
E, |
|
l, |
|
$η, |
|
$θ, |
|
$α), |
|
∂_cW_across_equal = marginal_welfare_of_consumption(c_across_equal, |
Removing γ_list = [0., 1.] should divide run times by 2 ⚡️
Variable
CPC_postis already average national consumption.GreenNICE/src/components/quantile_recycle.jl
Lines 127 to 131 in 46f6295
It's already used in the updated SCC decomposition.
GreenNICE/analysis/scc.jl
Lines 162 to 168 in 46f6295
Removing
γ_list = [0., 1.]should divide run times by 2 ⚡️