Skip to content

Remove γ_list = [0., 1.] #115

Description

@rturquier

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.

GreenNICE/analysis/scc.jl

Lines 162 to 168 in 46f6295

∂_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 ⚡️

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions