using DICE
import JuMP
using Ipopt

@static if VERSION < v"0.7.0-DEV.2005"
    using Base.Test
else
    using Test
end

DICE.@base type TestType{T}
    one
    two::Int
    three::T
    four::Vector{T}
end

DICE.@extend type ExtendTest <: TestType
    five::T
end

missing = @macroexpand DICE.@extend type missing <: Missing end

@testset "Abstractions" begin
    @test ExtendTest <: TestType

    etest = ExtendTest(10,10,10,[10],5)
    @test isa(etest, ExtendTest{Int})
    @test fieldnames(etest) == [:one,:two,:three,:four,:five]
    @test isa(etest.one, Int)
    @test isa(etest.two, Int)
    @test isa(etest.three, Int)
    @test isa(etest.four, Vector{Int})
    @test isa(etest.five, Int)

    @test isa(missing.args..., ErrorException)
end

# The tests shouldn't need to converge for long times,
# so dump early and fail rather than wasting resouces on failure.
ipopt = IpoptSolver(print_frequency_iter=500, max_iter=1000);
model = JuMP.Model(solver = ipopt);
modelrr = JuMP.Model(solver = ipopt);
model2016 = JuMP.Model(solver = ipopt);
modelcjl = JuMP.Model(solver = ipopt);
vanilla_opt = options(v2013R());
rr_opt = options(v2013R(RockyRoad));
v2016_opt = options(v2016R());
cjl_opt = options(vCJL());
vanilla_params = DICE.generate_parameters(vanilla_opt);
rr_params = DICE.generate_parameters(rr_opt, modelrr);
v2016_params = DICE.generate_parameters(v2016_opt, model2016);
cjl_params = DICE.generate_parameters(cjl_opt);

@testset "Types Display" begin
    @testset "Flavour" begin
        @test sprint(show, Vanilla) == "Vanilla flavour"
        @test sprint(show, RockyRoad) == "Rocky Road flavour"
    end
    @testset "Version" begin
        @test sprint(show, v2013R()) == "v2013R (Vanilla flavour)"
        @test sprint(show, v2013R(RockyRoad)) == "v2013R (Rocky Road flavour)"
        @test sprint(show, v2016R()) == "v2016R beta"
        @test sprint(show, vCJL()) == "CJL"
    end
    @testset "Scenario" begin
        @test sprint(show, BasePrice) == "Base (current policy) carbon price"
        @test sprint(show, OptimalPrice) == "Optimal carbon price"
        @test sprint(show, Limit2Degrees) == "Limit warming to 2° with damages"
        @test sprint(show, Stern) == "Stern"
        @test sprint(show, SternCalibrated) == "Calibrated Stern"
        @test sprint(show, Copenhagen) == "Copenhagen participation"
    end
    @testset "Default Options and Parameters" begin
        @test sprint(show, "text/plain", vanilla_opt) == "Options for Vanilla 2013R version\nTime step\nN: 60, tstep: 5\nPreferences\nα: 1.45, ρ: 0.015\nPopulation and Technology\nγₑ: 0.3, pop₀: 6838, popadj: 0.134, popasym: 10500, δk: 0.1\nq₀: 63.69, k₀: 135.0, a₀: 3.8, ga₀: 0.079, δₐ: 0.006\nEmissions Parameters\ngσ₁: -0.01, δσ: -0.001, eland₀: 3.3\ndeland: 0.2, e₀: 33.61, μ₀: 0.039\nCarbon Cycle\nmat₀: 830.4, mu₀: 1527.0, ml₀: 10010.0\nmateq: 588.0, mueq: 1350.0, mleq: 10000.0\nFlow Parameters\nϕ₁₂: 0.088, ϕ₂₃: 0.0025\nClimate Model Parameters\nt2xco2: 2.9, fₑₓ0: 0.25, fₑₓ1: 0.7\ntocean₀: 0.0068, tatm₀: 0.8, ξ₁: 0.098\nξ₃: 0.088, ξ₄: 0.025, η: 3.8\nClimate Damage Parameters\nψ₁: 0.0, ψ₂: 0.00267, ψ₃: 2.0\nAbatement Cost\nθ₂: 2.8, pback: 344.0, gback: 0.025, limμ: 1.2\ntnopol: 45.0, cprice₀: 1.0, gcprice: 0.02\nParticipation Parameters\nperiodfullpart: 21.0, partfract2010: 1.0, partfractfull: 1.0\nFossil Fuel Availability\nfosslim: 6000.0\nScaling Parameters\nscale1: 0.016408662, scale2: -3855.106895"
        @test sprint(show, "text/plain", rr_opt) == "Options for Rocky Road 2013R version\nTime step\nN: 60, tstep: 5\nPreferences\nα: 1.45, ρ: 0.015\nPopulation and Technology\nγₑ: 0.3, pop₀: 6838, popadj: 0.134, popasym: 10500, δk: 0.1\nq₀: 63.69, k₀: 135.0, a₀: 3.8, ga₀: 0.079, δₐ: 0.006\nEmissions Parameters\ngσ₁: -0.01, δσ: -0.001, eland₀: 3.3\ndeland: 0.2, e₀: 33.61, μ₀: 0.039\nCarbon Cycle\nmat₀: 830.4, mu₀: 1527.0, ml₀: 10010.0\nmateq: 588.0, mueq: 1350.0, mleq: 10000.0\nFlow Parameters\nϕ₁₂: 0.088, ϕ₂₃: 0.0025\nClimate Model Parameters\nt2xco2: 2.9, fₑₓ0: 0.25, fₑₓ1: 0.7\ntocean₀: 0.0068, tatm₀: 0.8, ξ₁₀: 0.098, ξ₁β: 0.01243\nξ₁: 0.098, ξ₃: 0.088, ξ₄: 0.025, η: 3.8\nClimate Damage Parameters\nψ₁₀: 0.0, ψ₂₀: 0.00267, ψ₁: 0.0, ψ₂: 0.0, ψ₃: 2.0\nAbatement Cost\nθ₂: 2.8, pback: 344.0, gback: 0.025, limμ: 1.2\ntnopol: 45.0, cprice₀: 1.0, gcprice: 0.02\nParticipation Parameters\nperiodfullpart: 21.0, partfract2010: 1.0, partfractfull: 1.0\nFossil Fuel Availability\nfosslim: 6000.0\nScaling Parameters\nscale1: 0.016408662, scale2: -3855.106895"
        @test sprint(show, "text/plain", v2016_opt) == "Options for 2016R beta version\nTime step\nN: 100, tstep: 5\nPreferences\nα: 1.45, ρ: 0.015\nPopulation and Technology\nγₑ: 0.3, pop₀: 7403, popadj: 0.134, popasym: 11500, δk: 0.1\nq₀: 105.5, k₀: 223.0, a₀: 5.115, ga₀: 0.076, δₐ: 0.005\nEmissions Parameters\ngσ₁: -0.0152, δσ: -0.001, eland₀: 2.6\ndeland: 0.115, e₀: 35.85, μ₀: 0.03\nCarbon Cycle\nmat₀: 851.0, mu₀: 460.0, ml₀: 1740.0\nmateq: 588.0, mueq: 360.0, mleq: 1720.0\nFlow Parameters\nϕ₁₂: 0.12, ϕ₂₃: 0.007\nClimate Model Parameters\nt2xco2: 3.1, fₑₓ0: 0.5, fₑₓ1: 1.0\ntocean₀: 0.0068, tatm₀: 0.85, ξ₁: 0.1005\nξ₃: 0.088, ξ₄: 0.025, η: 3.6813\nClimate Damage Parameters\nψ₁₀: 0.0, ψ₁: 0.0, ψ₂: 0.00236, ψ₃: 2.0\nAbatement Cost\nθ₂: 2.6, pback: 550.0, gback: 0.025, limμ: 1.2\ntnopol: 45.0, cprice₀: 2.0, gcprice: 0.02\nFossil Fuel Availability\nfosslim: 6000.0\nScaling Parameters\nscale1: 0.0302455265681763, scale2: -10993.704"
        @test sprint(show, "text/plain", cjl_opt) == "Options for DICE-CJL\nN: 600\nPreferences\nα: 2.0, ρ: 0.015\nPopulation and Technology\nγₑ: 0.3, pop₀: 6514, popadj: 0.035, popasym: 8600, δk: 0.1\nq₀: 61.1, k₀: 137.0, a₀: 0.02722, ga₀: 0.092, δₐ: 0.001\nEmissions Parameters\nσ₀: 0.13418, gσ₁: -0.0073, δσ: 0.003, δσ₂: 0.0, eland₀: 1.1\nCarbon Cycle\nmat₀: 808.9, mu₀: 1255.0, ml₀: 18365.0\nmateq: 587.473, mueq: 1143.894, mleq: 18340.0\nFlow Parameters\nϕ₁₂: 0.0189288, ϕ₂₃: 0.005\nClimate Model Parameters\nt2xco2: 3.0, fₑₓ0: -0.06, fₑₓ1: 0.3\ntocean₀: 0.0068, tatm₀: 0.7307, ξ₁: 0.022\nξ₃: 0.3, ξ₄: 0.005, η: 3.8\nClimate Damage Parameters\nψ₁: 0.0, ψ₂: 0.0028388, ψ₃: 2.0\nAbatement Cost\nθ₂: 2.8, pback: 1.17, gback: 0.005, backrat: 2.0, limμ: 1.0\nFossil Fuel Availability\nfosslim: 6000.0\nScaling Parameters\nscale1: 194.0, scale2: 381800.0\nEmissions control\npartfract1: 1.0, partfract2: 1.0, partfract21: 1.0, dpartfract: 0.0"
        @test sprint(show, "text/plain", vanilla_params) == "Calculated Parameters for Vanilla 2013R\nOptimal savings rate: 0.2582781456953642\nCarbon cycle transition matrix coefficients\nϕ₁₁: 0.912, ϕ₂₁: 0.03832888888888889, ϕ₂₂: 0.9591711111111112, ϕ₃₂: 0.0003375, ϕ₃₃: 0.9996625\n2010 Carbon intensity: 0.5491283628802297\nClimate model parameter: 1.3103448275862069\nBackstop price: [344.0, 335.4, 327.015, 318.84, 310.869, 303.097, 295.519, 288.132, 280.928, 273.905, 267.057, 260.381, 253.871, 247.525, 241.337, 235.303, 229.421, 223.685, 218.093, 212.641, 207.325, 202.141, 197.088, 192.161, 187.357, 182.673, 178.106, 173.653, 169.312, 165.079, 160.952, 156.928, 153.005, 149.18, 145.451, 141.814, 138.269, 134.812, 131.442, 128.156, 124.952, 121.828, 118.782, 115.813, 112.918, 110.095, 107.342, 104.659, 102.042, 99.4912, 97.0039, 94.5788, 92.2143, 89.909, 87.6613, 85.4697, 83.333, 81.2497, 79.2184, 77.238]\nGrowth rate of productivity: [0.079, 0.0766652, 0.0743994, 0.0722006, 0.0700667, 0.0679959, 0.0659863, 0.0640362, 0.0621436, 0.060307, 0.0585246, 0.056795, 0.0551164, 0.0534875, 0.0519067, 0.0503726, 0.0488839, 0.0474392, 0.0460371, 0.0446765, 0.0433561, 0.0420748, 0.0408313, 0.0396245, 0.0384534, 0.037317, 0.0362141, 0.0351438, 0.0341051, 0.0330972, 0.032119, 0.0311697, 0.0302485, 0.0293546, 0.028487, 0.0276451, 0.026828, 0.0260352, 0.0252657, 0.024519, 0.0237943, 0.0230911, 0.0224087, 0.0217464, 0.0211037, 0.02048, 0.0198747, 0.0192873, 0.0187173, 0.0181641, 0.0176273, 0.0171063, 0.0166007, 0.0161101, 0.015634, 0.0151719, 0.0147235, 0.0142884, 0.0138661, 0.0134563]\nEmissions from deforestation: [3.3, 2.64, 2.112, 1.6896, 1.35168, 1.08134, 0.865075, 0.69206, 0.553648, 0.442919, 0.354335, 0.283468, 0.226774, 0.181419, 0.145136, 0.116108, 0.0928867, 0.0743094, 0.0594475, 0.047558, 0.0380464, 0.0304371, 0.0243497, 0.0194798, 0.0155838, 0.012467, 0.00997364, 0.00797891, 0.00638313, 0.0051065, 0.0040852, 0.00326816, 0.00261453, 0.00209162, 0.0016733, 0.00133864, 0.00107091, 0.000856729, 0.000685383, 0.000548307, 0.000438645, 0.000350916, 0.000280733, 0.000224586, 0.000179669, 0.000143735, 0.000114988, 9.19906e-5, 7.35925e-5, 5.8874e-5, 4.70992e-5, 3.76793e-5, 3.01435e-5, 2.41148e-5, 1.92918e-5, 1.54335e-5, 1.23468e-5, 9.87741e-6, 7.90193e-6, 6.32154e-6]\nAvg utility social discout rate: [1.0, 0.92826, 0.861667, 0.799852, 0.74247, 0.689206, 0.639762, 0.593866, 0.551262, 0.511715, 0.475005, 0.440928, 0.409296, 0.379933, 0.352677, 0.327376, 0.30389, 0.282089, 0.261852, 0.243067, 0.225629, 0.209443, 0.194417, 0.18047, 0.167523, 0.155505, 0.144349, 0.133994, 0.124381, 0.115458, 0.107175, 0.0994863, 0.0923492, 0.0857241, 0.0795743, 0.0738657, 0.0685666, 0.0636476, 0.0590816, 0.0548431, 0.0509086, 0.0472565, 0.0438663, 0.0407194, 0.0377982, 0.0350865, 0.0325694, 0.0302329, 0.028064, 0.0260507, 0.0241818, 0.022447, 0.0208367, 0.0193419, 0.0179543, 0.0166663, 0.0154706, 0.0143608, 0.0133305, 0.0123742]\nBase case carbon price: [1.0, 1.10408, 1.21899, 1.34587, 1.48595, 1.64061, 1.81136, 1.99989, 2.20804, 2.43785, 2.69159, 2.97173, 3.28103, 3.62252, 3.99956, 4.41584, 4.87544, 5.38288, 5.94313, 6.5617, 7.24465, 7.99867, 8.83118, 9.75034, 10.7652, 11.8856, 13.1227, 14.4885, 15.9965, 17.6614, 19.4996, 21.5291, 23.7699, 26.2439, 28.9754, 31.9912, 35.3208, 38.9971, 43.0559, 47.5372, 52.4849, 57.9476, 63.9788, 70.6378, 77.9898, 86.107, 95.0691, 104.964, 115.889, 127.951, 141.268, 155.971, 172.205, 190.128, 209.916, 231.765, 255.887, 282.52, 311.925, 344.39]\nPopulation and labour: [6838.0, 7242.49, 7612.06, 7947.31, 8249.55, 8520.56, 8762.43, 8977.44, 9167.89, 9336.08, 9484.22, 9614.42, 9728.61, 9828.59, 9916.01, 9992.34, 10058.9, 10116.9, 10167.4, 10211.4, 10249.6, 10282.8, 10311.6, 10336.7, 10358.4, 10377.3, 10393.6, 10407.8, 10420.1, 10430.8, 10440.0, 10448.1, 10455.0, 10461.0, 10466.2, 10470.8, 10474.7, 10478.1, 10481.0, 10483.5, 10485.7, 10487.7, 10489.3, 10490.7, 10492.0, 10493.1, 10494.0, 10494.8, 10495.5, 10496.1, 10496.6, 10497.1, 10497.5, 10497.8, 10498.1, 10498.4, 10498.6, 10498.8, 10498.9, 10499.1]\nTotal factor productivity: [3.8, 4.12595, 4.46853, 4.82771, 5.2034, 5.59545, 6.00368, 6.42783, 6.8676, 7.32266, 7.79261, 8.27702, 8.77542, 9.2873, 9.81212, 10.3493, 10.8983, 11.4584, 12.0291, 12.6096, 13.1993, 13.7975, 14.4035, 15.0167, 15.6362, 16.2616, 16.8919, 17.5266, 18.165, 18.8064, 19.4502, 20.0956, 20.7421, 21.3891, 22.036, 22.6821, 23.327, 23.9701, 24.6108, 25.2487, 25.8834, 26.5143, 27.141, 27.7631, 28.3803, 28.9921, 29.5983, 30.1985, 30.7924, 31.3797, 31.9603, 32.5337, 33.1, 33.6587, 34.2098, 34.7532, 35.2886, 35.8159, 36.3351, 36.846]\nΔσ: [-0.01, -0.0099501, -0.00990045, -0.00985105, -0.00980189, -0.00975298, -0.00970431, -0.00965589, -0.0096077, -0.00955976, -0.00951206, -0.00946459, -0.00941736, -0.00937037, -0.00932361, -0.00927709, -0.00923079, -0.00918473, -0.0091389, -0.0090933, -0.00904792, -0.00900277, -0.00895785, -0.00891315, -0.00886867, -0.00882442, -0.00878038, -0.00873657, -0.00869297, -0.0086496, -0.00860643, -0.00856349, -0.00852076, -0.00847824, -0.00843593, -0.00839384, -0.00835195, -0.00831027, -0.00826881, -0.00822754, -0.00818649, -0.00814564, -0.00810499, -0.00806455, -0.0080243, -0.00798426, -0.00794442, -0.00790478, -0.00786533, -0.00782609, -0.00778703, -0.00774818, -0.00770951, -0.00767104, -0.00763276, -0.00759468, -0.00755678, -0.00751907, -0.00748155, -0.00744422]\nσ: [0.549128, 0.522347, 0.496996, 0.472992, 0.45026, 0.428725, 0.408319, 0.38898, 0.370647, 0.353262, 0.336774, 0.321132, 0.306289, 0.292201, 0.278827, 0.266126, 0.254064, 0.242604, 0.231715, 0.221365, 0.211526, 0.20217, 0.193271, 0.184806, 0.176751, 0.169084, 0.161786, 0.154837, 0.148219, 0.141914, 0.135908, 0.130183, 0.124727, 0.119525, 0.114564, 0.109832, 0.105318, 0.10101, 0.0968992, 0.0929747, 0.0892276, 0.085649, 0.0822307, 0.078965, 0.0758442, 0.0728615, 0.07001, 0.0672836, 0.0646762, 0.062182, 0.0597958, 0.0575124, 0.0553269, 0.0532348, 0.0512316, 0.0493133, 0.0474758, 0.0457154, 0.0440286, 0.0424121]\nθ₁: [0.0674643, 0.0625697, 0.0580447, 0.0538603, 0.0499898, 0.046409, 0.0430951, 0.0400277, 0.0371875, 0.0345572, 0.0321207, 0.0298631, 0.0277707, 0.025831, 0.0240325, 0.0223644, 0.020817, 0.0193811, 0.0180484, 0.0168112, 0.0156623, 0.0145953, 0.0136041, 0.012683, 0.0118269, 0.0110311, 0.0102911, 0.00960283, 0.00896257, 0.00836683, 0.00781237, 0.00729624, 0.00681566, 0.00636811, 0.0059512, 0.00556277, 0.00520078, 0.00486337, 0.00454879, 0.00425545, 0.00398184, 0.00372659, 0.00348842, 0.00326613, 0.00305862, 0.00286488, 0.00268394, 0.00251493, 0.00235704, 0.00220949, 0.00207158, 0.00194266, 0.00182212, 0.00170939, 0.00160394, 0.00150528, 0.00141296, 0.00132656, 0.00124567, 0.00116994]\nExogenious forcing: [0.25, 0.275, 0.3, 0.325, 0.35, 0.375, 0.4, 0.425, 0.45, 0.475, 0.5, 0.525, 0.55, 0.575, 0.6, 0.625, 0.65, 0.675, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45]\nFraction of emissions in control regieme: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]"
        @test sprint(show, "text/plain", rr_params) == "Calculated Parameters for Rocky Road 2013R\nOptimal savings rate: 0.2582781456953642\nCarbon cycle transition matrix coefficients\nϕ₁₁: 0.912, ϕ₂₁: 0.03832888888888889, ϕ₂₂: 0.9591711111111112, ϕ₃₂: 0.0003375, ϕ₃₃: 0.9996625\n2010 Carbon intensity: 0.5491283628802297\nClimate model parameter: 1.3103448275862069\nTransient TSC Correction: 0.098\nBackstop price: [344.0, 335.4, 327.015, 318.84, 310.869, 303.097, 295.519, 288.132, 280.928, 273.905, 267.057, 260.381, 253.871, 247.525, 241.337, 235.303, 229.421, 223.685, 218.093, 212.641, 207.325, 202.141, 197.088, 192.161, 187.357, 182.673, 178.106, 173.653, 169.312, 165.079, 160.952, 156.928, 153.005, 149.18, 145.451, 141.814, 138.269, 134.812, 131.442, 128.156, 124.952, 121.828, 118.782, 115.813, 112.918, 110.095, 107.342, 104.659, 102.042, 99.4912, 97.0039, 94.5788, 92.2143, 89.909, 87.6613, 85.4697, 83.333, 81.2497, 79.2184, 77.238]\nGrowth rate of productivity: [0.079, 0.0766652, 0.0743994, 0.0722006, 0.0700667, 0.0679959, 0.0659863, 0.0640362, 0.0621436, 0.060307, 0.0585246, 0.056795, 0.0551164, 0.0534875, 0.0519067, 0.0503726, 0.0488839, 0.0474392, 0.0460371, 0.0446765, 0.0433561, 0.0420748, 0.0408313, 0.0396245, 0.0384534, 0.037317, 0.0362141, 0.0351438, 0.0341051, 0.0330972, 0.032119, 0.0311697, 0.0302485, 0.0293546, 0.028487, 0.0276451, 0.026828, 0.0260352, 0.0252657, 0.024519, 0.0237943, 0.0230911, 0.0224087, 0.0217464, 0.0211037, 0.02048, 0.0198747, 0.0192873, 0.0187173, 0.0181641, 0.0176273, 0.0171063, 0.0166007, 0.0161101, 0.015634, 0.0151719, 0.0147235, 0.0142884, 0.0138661, 0.0134563]\nEmissions from deforestation: [3.3, 2.64, 2.112, 1.6896, 1.35168, 1.08134, 0.865075, 0.69206, 0.553648, 0.442919, 0.354335, 0.283468, 0.226774, 0.181419, 0.145136, 0.116108, 0.0928867, 0.0743094, 0.0594475, 0.047558, 0.0380464, 0.0304371, 0.0243497, 0.0194798, 0.0155838, 0.012467, 0.00997364, 0.00797891, 0.00638313, 0.0051065, 0.0040852, 0.00326816, 0.00261453, 0.00209162, 0.0016733, 0.00133864, 0.00107091, 0.000856729, 0.000685383, 0.000548307, 0.000438645, 0.000350916, 0.000280733, 0.000224586, 0.000179669, 0.000143735, 0.000114988, 9.19906e-5, 7.35925e-5, 5.8874e-5, 4.70992e-5, 3.76793e-5, 3.01435e-5, 2.41148e-5, 1.92918e-5, 1.54335e-5, 1.23468e-5, 9.87741e-6, 7.90193e-6, 6.32154e-6]\nAvg utility social discout rate: [1.0, 0.92826, 0.861667, 0.799852, 0.74247, 0.689206, 0.639762, 0.593866, 0.551262, 0.511715, 0.475005, 0.440928, 0.409296, 0.379933, 0.352677, 0.327376, 0.30389, 0.282089, 0.261852, 0.243067, 0.225629, 0.209443, 0.194417, 0.18047, 0.167523, 0.155505, 0.144349, 0.133994, 0.124381, 0.115458, 0.107175, 0.0994863, 0.0923492, 0.0857241, 0.0795743, 0.0738657, 0.0685666, 0.0636476, 0.0590816, 0.0548431, 0.0509086, 0.0472565, 0.0438663, 0.0407194, 0.0377982, 0.0350865, 0.0325694, 0.0302329, 0.028064, 0.0260507, 0.0241818, 0.022447, 0.0208367, 0.0193419, 0.0179543, 0.0166663, 0.0154706, 0.0143608, 0.0133305, 0.0123742]\nBase case carbon price: [1.0, 1.10408, 1.21899, 1.34587, 1.48595, 1.64061, 1.81136, 1.99989, 2.20804, 2.43785, 2.69159, 2.97173, 3.28103, 3.62252, 3.99956, 4.41584, 4.87544, 5.38288, 5.94313, 6.5617, 7.24465, 7.99867, 8.83118, 9.75034, 10.7652, 11.8856, 13.1227, 14.4885, 15.9965, 17.6614, 19.4996, 21.5291, 23.7699, 26.2439, 28.9754, 31.9912, 35.3208, 38.9971, 43.0559, 47.5372, 52.4849, 57.9476, 63.9788, 70.6378, 77.9898, 86.107, 95.0691, 104.964, 115.889, 127.951, 141.268, 155.971, 172.205, 190.128, 209.916, 231.765, 255.887, 282.52, 311.925, 344.39]\nPopulation and labour: [6838.0, 7242.49, 7612.06, 7947.31, 8249.55, 8520.56, 8762.43, 8977.44, 9167.89, 9336.08, 9484.22, 9614.42, 9728.61, 9828.59, 9916.01, 9992.34, 10058.9, 10116.9, 10167.4, 10211.4, 10249.6, 10282.8, 10311.6, 10336.7, 10358.4, 10377.3, 10393.6, 10407.8, 10420.1, 10430.8, 10440.0, 10448.1, 10455.0, 10461.0, 10466.2, 10470.8, 10474.7, 10478.1, 10481.0, 10483.5, 10485.7, 10487.7, 10489.3, 10490.7, 10492.0, 10493.1, 10494.0, 10494.8, 10495.5, 10496.1, 10496.6, 10497.1, 10497.5, 10497.8, 10498.1, 10498.4, 10498.6, 10498.8, 10498.9, 10499.1]\nTotal factor productivity: [3.8, 4.12595, 4.46853, 4.82771, 5.2034, 5.59545, 6.00368, 6.42783, 6.8676, 7.32266, 7.79261, 8.27702, 8.77542, 9.2873, 9.81212, 10.3493, 10.8983, 11.4584, 12.0291, 12.6096, 13.1993, 13.7975, 14.4035, 15.0167, 15.6362, 16.2616, 16.8919, 17.5266, 18.165, 18.8064, 19.4502, 20.0956, 20.7421, 21.3891, 22.036, 22.6821, 23.327, 23.9701, 24.6108, 25.2487, 25.8834, 26.5143, 27.141, 27.7631, 28.3803, 28.9921, 29.5983, 30.1985, 30.7924, 31.3797, 31.9603, 32.5337, 33.1, 33.6587, 34.2098, 34.7532, 35.2886, 35.8159, 36.3351, 36.846]\nΔσ: [-0.01, -0.0099501, -0.00990045, -0.00985105, -0.00980189, -0.00975298, -0.00970431, -0.00965589, -0.0096077, -0.00955976, -0.00951206, -0.00946459, -0.00941736, -0.00937037, -0.00932361, -0.00927709, -0.00923079, -0.00918473, -0.0091389, -0.0090933, -0.00904792, -0.00900277, -0.00895785, -0.00891315, -0.00886867, -0.00882442, -0.00878038, -0.00873657, -0.00869297, -0.0086496, -0.00860643, -0.00856349, -0.00852076, -0.00847824, -0.00843593, -0.00839384, -0.00835195, -0.00831027, -0.00826881, -0.00822754, -0.00818649, -0.00814564, -0.00810499, -0.00806455, -0.0080243, -0.00798426, -0.00794442, -0.00790478, -0.00786533, -0.00782609, -0.00778703, -0.00774818, -0.00770951, -0.00767104, -0.00763276, -0.00759468, -0.00755678, -0.00751907, -0.00748155, -0.00744422]\nσ: [0.549128, 0.522347, 0.496996, 0.472992, 0.45026, 0.428725, 0.408319, 0.38898, 0.370647, 0.353262, 0.336774, 0.321132, 0.306289, 0.292201, 0.278827, 0.266126, 0.254064, 0.242604, 0.231715, 0.221365, 0.211526, 0.20217, 0.193271, 0.184806, 0.176751, 0.169084, 0.161786, 0.154837, 0.148219, 0.141914, 0.135908, 0.130183, 0.124727, 0.119525, 0.114564, 0.109832, 0.105318, 0.10101, 0.0968992, 0.0929747, 0.0892276, 0.085649, 0.0822307, 0.078965, 0.0758442, 0.0728615, 0.07001, 0.0672836, 0.0646762, 0.062182, 0.0597958, 0.0575124, 0.0553269, 0.0532348, 0.0512316, 0.0493133, 0.0474758, 0.0457154, 0.0440286, 0.0424121]\nθ₁: [0.0674643, 0.0625697, 0.0580447, 0.0538603, 0.0499898, 0.046409, 0.0430951, 0.0400277, 0.0371875, 0.0345572, 0.0321207, 0.0298631, 0.0277707, 0.025831, 0.0240325, 0.0223644, 0.020817, 0.0193811, 0.0180484, 0.0168112, 0.0156623, 0.0145953, 0.0136041, 0.012683, 0.0118269, 0.0110311, 0.0102911, 0.00960283, 0.00896257, 0.00836683, 0.00781237, 0.00729624, 0.00681566, 0.00636811, 0.0059512, 0.00556277, 0.00520078, 0.00486337, 0.00454879, 0.00425545, 0.00398184, 0.00372659, 0.00348842, 0.00326613, 0.00305862, 0.00286488, 0.00268394, 0.00251493, 0.00235704, 0.00220949, 0.00207158, 0.00194266, 0.00182212, 0.00170939, 0.00160394, 0.00150528, 0.00141296, 0.00132656, 0.00124567, 0.00116994]\nExogenious forcing: [0.25, 0.275, 0.3, 0.325, 0.35, 0.375, 0.4, 0.425, 0.45, 0.475, 0.5, 0.525, 0.55, 0.575, 0.6, 0.625, 0.65, 0.675, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45, 0.45]\nFraction of emissions in control regieme: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]"
        @test sprint(show, "text/plain", v2016_params) == "Calculated Parameters for 2016R beta\nOptimal savings rate: 0.2582781456953642\nCarbon cycle transition matrix coefficients\nϕ₁₁: 0.88, ϕ₂₁: 0.196, ϕ₂₂: 0.797, ϕ₃₂: 0.0014651162790697675, ϕ₃₃: 0.9985348837209302\n2015 Carbon intensity: 0.35032002736111795\nClimate model parameter: 1.187516129032258\nBackstop price: [550.0, 536.25, 522.844, 509.773, 497.028, 484.603, 472.488, 460.675, 449.158, 437.93, 426.981, 416.307, 405.899, 395.752, 385.858, 376.211, 366.806, 357.636, 348.695, 339.978, 331.478, 323.191, 315.111, 307.234, 299.553, 292.064, 284.762, 277.643, 270.702, 263.935, 257.336, 250.903, 244.63, 238.515, 232.552, 226.738, 221.07, 215.543, 210.154, 204.9, 199.778, 194.783, 189.914, 185.166, 180.537, 176.023, 171.623, 167.332, 163.149, 159.07, 155.093, 151.216, 147.436, 143.75, 140.156, 136.652, 133.236, 129.905, 126.657, 123.491, 120.404, 117.394, 114.459, 111.597, 108.807, 106.087, 103.435, 100.849, 98.3279, 95.8697, 93.4729, 91.1361, 88.8577, 86.6362, 84.4703, 82.3586, 80.2996, 78.2921, 76.3348, 74.4265, 72.5658, 70.7516, 68.9829, 67.2583, 65.5768, 63.9374, 62.339, 60.7805, 59.261, 57.7795, 56.335, 54.9266, 53.5534, 52.2146, 50.9092, 49.6365, 48.3956, 47.1857, 46.0061, 44.8559]\nGrowth rate of productivity: [0.076, 0.0741236, 0.0722934, 0.0705085, 0.0687676, 0.0670698, 0.0654138, 0.0637987, 0.0622235, 0.0606872, 0.0591889, 0.0577275, 0.0563022, 0.0549121, 0.0535563, 0.052234, 0.0509443, 0.0496865, 0.0484597, 0.0472633, 0.0460963, 0.0449582, 0.0438482, 0.0427656, 0.0417097, 0.0406799, 0.0396755, 0.0386959, 0.0377405, 0.0368087, 0.0358999, 0.0350135, 0.034149, 0.0333059, 0.0324835, 0.0316815, 0.0308993, 0.0301364, 0.0293923, 0.0286666, 0.0279588, 0.0272685, 0.0265953, 0.0259386, 0.0252982, 0.0246736, 0.0240644, 0.0234702, 0.0228908, 0.0223256, 0.0217744, 0.0212368, 0.0207124, 0.020201, 0.0197023, 0.0192158, 0.0187414, 0.0182786, 0.0178273, 0.0173872, 0.0169579, 0.0165392, 0.0161308, 0.0157326, 0.0153441, 0.0149653, 0.0145958, 0.0142354, 0.0138839, 0.0135412, 0.0132068, 0.0128807, 0.0125627, 0.0122525, 0.01195, 0.011655, 0.0113672, 0.0110866, 0.0108128, 0.0105459, 0.0102855, 0.0100315, 0.00978385, 0.00954229, 0.00930669, 0.00907691, 0.0088528, 0.00863422, 0.00842104, 0.00821312, 0.00801034, 0.00781257, 0.00761967, 0.00743154, 0.00724806, 0.0070691, 0.00689456, 0.00672434, 0.00655831, 0.00639639]\nEmissions from deforestation: [2.6, 2.301, 2.03639, 1.8022, 1.59495, 1.41153, 1.2492, 1.10554, 0.978407, 0.86589, 0.766313, 0.678187, 0.600195, 0.531173, 0.470088, 0.416028, 0.368185, 0.325843, 0.288371, 0.255209, 0.22586, 0.199886, 0.176899, 0.156556, 0.138552, 0.122618, 0.108517, 0.0960377, 0.0849933, 0.0752191, 0.0665689, 0.0589135, 0.0521384, 0.0461425, 0.0408361, 0.03614, 0.0319839, 0.0283057, 0.0250506, 0.0221698, 0.0196202, 0.0173639, 0.0153671, 0.0135998, 0.0120359, 0.0106517, 0.00942679, 0.00834271, 0.0073833, 0.00653422, 0.00578278, 0.00511776, 0.00452922, 0.00400836, 0.0035474, 0.00313945, 0.00277841, 0.00245889, 0.00217612, 0.00192587, 0.00170439, 0.00150839, 0.00133492, 0.00118141, 0.00104554, 0.000925307, 0.000818897, 0.000724724, 0.000641381, 0.000567622, 0.000502345, 0.000444576, 0.000393449, 0.000348203, 0.000308159, 0.000272721, 0.000241358, 0.000213602, 0.000189038, 0.000167298, 0.000148059, 0.000131032, 0.000115964, 0.000102628, 9.08256e-5, 8.03806e-5, 7.11368e-5, 6.29561e-5, 5.57162e-5, 4.93088e-5, 4.36383e-5, 3.86199e-5, 3.41786e-5, 3.02481e-5, 2.67695e-5, 2.3691e-5, 2.09666e-5, 1.85554e-5, 1.64215e-5, 1.45331e-5]\nAvg utility social discout rate: [1.0, 0.92826, 0.861667, 0.799852, 0.74247, 0.689206, 0.639762, 0.593866, 0.551262, 0.511715, 0.475005, 0.440928, 0.409296, 0.379933, 0.352677, 0.327376, 0.30389, 0.282089, 0.261852, 0.243067, 0.225629, 0.209443, 0.194417, 0.18047, 0.167523, 0.155505, 0.144349, 0.133994, 0.124381, 0.115458, 0.107175, 0.0994863, 0.0923492, 0.0857241, 0.0795743, 0.0738657, 0.0685666, 0.0636476, 0.0590816, 0.0548431, 0.0509086, 0.0472565, 0.0438663, 0.0407194, 0.0377982, 0.0350865, 0.0325694, 0.0302329, 0.028064, 0.0260507, 0.0241818, 0.022447, 0.0208367, 0.0193419, 0.0179543, 0.0166663, 0.0154706, 0.0143608, 0.0133305, 0.0123742, 0.0114865, 0.0106625, 0.00989753, 0.00918749, 0.00852838, 0.00791656, 0.00734862, 0.00682144, 0.00633207, 0.00587781, 0.00545614, 0.00506471, 0.00470137, 0.0043641, 0.00405102, 0.0037604, 0.00349063, 0.00324021, 0.00300776, 0.00279199, 0.00259169, 0.00240576, 0.00223317, 0.00207297, 0.00192425, 0.00178621, 0.00165807, 0.00153912, 0.0014287, 0.00132621, 0.00123107, 0.00114275, 0.00106077, 0.000984669, 0.000914029, 0.000848457, 0.000787589, 0.000731088, 0.00067864, 0.000629954]\nBase case carbon price: [2.0, 2.20816, 2.43799, 2.69174, 2.97189, 3.28121, 3.62272, 3.99978, 4.41608, 4.87571, 5.38318, 5.94346, 6.56206, 7.24505, 7.99912, 8.83167, 9.75088, 10.7658, 11.8863, 13.1234, 14.4893, 15.9973, 17.6624, 19.5007, 21.5303, 23.7712, 26.2453, 28.977, 31.9929, 35.3228, 38.9992, 43.0583, 47.5398, 52.4878, 57.9508, 63.9823, 70.6417, 77.9941, 86.1118, 95.0744, 104.97, 115.895, 127.958, 141.276, 155.98, 172.214, 190.138, 209.928, 231.777, 255.901, 282.535, 311.942, 344.409, 380.256, 419.833, 463.529, 511.774, 565.04, 623.849, 688.78, 760.469, 839.619, 927.007, 1023.49, 1130.02, 1247.63, 1377.48, 1520.85, 1679.15, 1853.91, 2046.87, 2259.91, 2495.12, 2754.82, 3041.54, 3358.11, 3707.62, 4093.51, 4519.57, 4989.97, 5509.33, 6082.74, 6715.84, 7414.83, 8186.57, 9038.64, 9979.39, 11018.0, 12164.8, 13430.9, 14828.8, 16372.2, 18076.3, 19957.7, 22034.9, 24328.3, 26860.4, 29656.0, 32742.7, 36150.6]\nPopulation and labour: [7403.0, 7853.09, 8264.92, 8638.97, 8976.56, 9279.54, 9550.18, 9790.92, 10004.3, 10192.8, 10359.0, 10505.1, 10633.2, 10745.5, 10843.6, 10929.4, 11004.1, 11069.3, 11126.1, 11175.5, 11218.4, 11255.8, 11288.2, 11316.3, 11340.8, 11362.0, 11380.4, 11396.3, 11410.2, 11422.2, 11432.6, 11441.6, 11449.4, 11456.2, 11462.0, 11467.1, 11471.5, 11475.3, 11478.6, 11481.5, 11484.0, 11486.1, 11488.0, 11489.6, 11491.0, 11492.2, 11493.2, 11494.1, 11494.9, 11495.6, 11496.2, 11496.7, 11497.1, 11497.5, 11497.9, 11498.1, 11498.4, 11498.6, 11498.8, 11499.0, 11499.1, 11499.2, 11499.3, 11499.4, 11499.5, 11499.6, 11499.6, 11499.7, 11499.7, 11499.8, 11499.8, 11499.8, 11499.8, 11499.9, 11499.9, 11499.9, 11499.9, 11499.9, 11499.9, 11499.9, 11499.9, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0, 11500.0]\nTotal factor productivity: [5.115, 5.53571, 5.97889, 6.44481, 6.93369, 7.44572, 7.981, 8.53961, 9.12155, 9.72679, 10.3552, 11.0067, 11.681, 12.3779, 13.0971, 13.8382, 14.6009, 15.3846, 16.189, 17.0135, 17.8575, 18.7204, 19.6017, 20.5006, 21.4165, 22.3487, 23.2963, 24.2588, 25.2353, 26.2251, 27.2273, 28.2411, 29.2658, 30.3006, 31.3445, 32.3969, 33.4568, 34.5236, 35.5963, 36.6743, 37.7566, 38.8426, 39.9315, 41.0225, 42.1149, 43.208, 44.3011, 45.3934, 46.4844, 47.5734, 48.6598, 49.7429, 50.8222, 51.8971, 52.9671, 54.0317, 55.0903, 56.1424, 57.1878, 58.2258, 59.2561, 60.2783, 61.292, 62.2969, 63.2926, 64.2789, 65.2555, 66.2221, 67.1784, 68.1242, 69.0594, 69.9836, 70.8968, 71.7988, 72.6894, 73.5686, 74.4361, 75.292, 76.1361, 76.9683, 77.7887, 78.5971, 79.3935, 80.178, 80.9504, 81.7109, 82.4594, 83.1959, 83.9205, 84.6332, 85.334, 86.0231, 86.7005, 87.3662, 88.0203, 88.6629, 89.2941, 89.9141, 90.5228, 91.1204]\nΔσ: [-0.0152, -0.0151242, -0.0150487, -0.0149736, -0.0148989, -0.0148245, -0.0147506, -0.0146769, -0.0146037, -0.0145308, -0.0144583, -0.0143862, -0.0143144, -0.014243, -0.0141719, -0.0141012, -0.0140308, -0.0139608, -0.0138911, -0.0138218, -0.0137528, -0.0136842, -0.0136159, -0.013548, -0.0134804, -0.0134131, -0.0133462, -0.0132796, -0.0132133, -0.0131474, -0.0130818, -0.0130165, -0.0129515, -0.0128869, -0.0128226, -0.0127586, -0.012695, -0.0126316, -0.0125686, -0.0125059, -0.0124435, -0.0123814, -0.0123196, -0.0122581, -0.0121969, -0.0121361, -0.0120755, -0.0120153, -0.0119553, -0.0118957, -0.0118363, -0.0117772, -0.0117185, -0.01166, -0.0116018, -0.0115439, -0.0114863, -0.011429, -0.011372, -0.0113152, -0.0112587, -0.0112026, -0.0111467, -0.011091, -0.0110357, -0.0109806, -0.0109258, -0.0108713, -0.0108171, -0.0107631, -0.0107094, -0.0106559, -0.0106028, -0.0105499, -0.0104972, -0.0104448, -0.0103927, -0.0103409, -0.0102893, -0.0102379, -0.0101868, -0.010136, -0.0100854, -0.0100351, -0.00998501, -0.00993519, -0.00988561, -0.00983628, -0.0097872, -0.00973836, -0.00968977, -0.00964141, -0.0095933, -0.00954543, -0.0094978, -0.00945041, -0.00940325, -0.00935633, -0.00930964, -0.00926318]\nσ: [0.35032, 0.324682, 0.301035, 0.279215, 0.259074, 0.240476, 0.223296, 0.20742, 0.192744, 0.179171, 0.166615, 0.154996, 0.144238, 0.134275, 0.125046, 0.116492, 0.108561, 0.101206, 0.0943825, 0.0880495, 0.08217, 0.0767096, 0.0716365, 0.0669219, 0.0625387, 0.0584624, 0.0546702, 0.051141, 0.0478557, 0.0447962, 0.0419461, 0.0392903, 0.0368146, 0.0345061, 0.0323528, 0.0303437, 0.0284684, 0.0267176, 0.0250823, 0.0235546, 0.0221268, 0.0207921, 0.019544, 0.0183764, 0.0172839, 0.0162614, 0.015304, 0.0144073, 0.0135673, 0.01278, 0.012042, 0.0113501, 0.010701, 0.010092, 0.00952047, 0.00898391, 0.00848005, 0.00800675, 0.00756203, 0.00714405, 0.00675109, 0.00638154, 0.00603392, 0.00570683, 0.00539897, 0.00510913, 0.00483619, 0.00457908, 0.00433682, 0.00410849, 0.00389323, 0.00369025, 0.00349878, 0.00331812, 0.00314763, 0.00298669, 0.00283471, 0.00269117, 0.00255556, 0.00242741, 0.00230628, 0.00219175, 0.00208344, 0.00198099, 0.00188404, 0.00179229, 0.00170543, 0.00162319, 0.00154529, 0.00147149, 0.00140155, 0.00133527, 0.00127243, 0.00121283, 0.00115631, 0.00110268, 0.00105179, 0.00100348, 0.000957617, 0.000914064]\ncumtree: [100.0, 103.546, 106.684, 109.462, 111.92, 114.095, 116.02, 117.724, 119.232, 120.566, 121.747, 122.792, 123.717, 124.536, 125.26, 125.902, 126.469, 126.971, 127.416, 127.809, 128.157, 128.465, 128.738, 128.979, 129.192, 129.381, 129.549, 129.697, 129.828, 129.944, 130.046, 130.137, 130.217, 130.288, 130.351, 130.407, 130.456, 130.5, 130.539, 130.573, 130.603, 130.63, 130.653, 130.674, 130.693, 130.709, 130.724, 130.737, 130.748, 130.758, 130.767, 130.775, 130.782, 130.788, 130.794, 130.798, 130.803, 130.806, 130.81, 130.813, 130.815, 130.818, 130.82, 130.822, 130.823, 130.825, 130.826, 130.827, 130.828, 130.829, 130.83, 130.83, 130.831, 130.832, 130.832, 130.832, 130.833, 130.833, 130.833, 130.834, 130.834, 130.834, 130.834, 130.834, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835, 130.835]\nθ₁: [0.0741062, 0.0669657, 0.0605362, 0.0547447, 0.0495259, 0.0448213, 0.0405787, 0.0367512, 0.0332971, 0.0301786, 0.0273622, 0.0248176, 0.0225177, 0.0204384, 0.0185576, 0.0168559, 0.0153157, 0.0139211, 0.012658, 0.0115134, 0.010476, 0.00953533, 0.00868211, 0.00790794, 0.00720525, 0.00656722, 0.0059877, 0.00546114, 0.00498255, 0.00454741, 0.00415164, 0.00379156, 0.00346383, 0.00316547, 0.00289374, 0.00264618, 0.00242058, 0.00221491, 0.00202737, 0.00185628, 0.00170017, 0.00155768, 0.00142756, 0.00130873, 0.00120015, 0.00110092, 0.0010102, 0.000927233, 0.00085134, 0.000781892, 0.000718324, 0.00066012, 0.000606811, 0.000557971, 0.000513212, 0.000472181, 0.000434556, 0.000400045, 0.000368379, 0.000339317, 0.000312637, 0.000288135, 0.000265629, 0.000244949, 0.000225941, 0.000208467, 0.000192397, 0.000177614, 0.000164012, 0.000151492, 0.000139966, 0.000129352, 0.000119574, 0.000110565, 0.000102262, 9.46074e-5, 8.75486e-5, 8.10375e-5, 7.50302e-5, 6.94861e-5, 6.43681e-5, 5.96424e-5, 5.52777e-5, 5.12453e-5, 4.75191e-5, 4.40748e-5, 4.08904e-5, 3.79454e-5, 3.52212e-5, 3.27007e-5, 3.03679e-5, 2.82084e-5, 2.62088e-5, 2.43568e-5, 2.26411e-5, 2.10512e-5, 1.95776e-5, 1.82115e-5, 1.69447e-5, 1.57697e-5]\nExogenious forcing: [0.5, 0.529412, 0.558824, 0.588235, 0.617647, 0.647059, 0.676471, 0.705882, 0.735294, 0.764706, 0.794118, 0.823529, 0.852941, 0.882353, 0.911765, 0.941176, 0.970588, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]"
        @test sprint(show, "text/plain", cjl_params) == "Calculated Parameters for DICE-CJL\nCarbon cycle transition matrix coefficients\nϕ₁₁: 0.9810712, ϕ₂₁: 0.009721319390083345, ϕ₂₂: 0.9852786806099166, ϕ₃₂: 0.00031185768811341333, ϕ₃₃: 0.9996881423118866\n2015 Carbon intensity: 0.13418\nClimate model parameter: 1.2666666666666666\nGrowth rate of productivity: [0.092, 0.091908, 0.0918162, 0.0917244, 0.0916327, 0.0915411, 0.0914497, 0.0913582, 0.0912669, 0.0911757, 0.0910846, 0.0909935, 0.0909026, 0.0908117, 0.090721, 0.0906303, 0.0905397, 0.0904492, 0.0903588, 0.0902685, 0.0901783, 0.0900881, 0.0899981, 0.0899081, 0.0898183, 0.0897285, 0.0896388, 0.0895492, 0.0894597, 0.0893703, 0.089281, 0.0891918, 0.0891026, 0.0890135, 0.0889246, 0.0888357, 0.0887469, 0.0886582, 0.0885696, 0.0884811, 0.0883926, 0.0883043, 0.088216, 0.0881278, 0.0880398, 0.0879518, 0.0878639, 0.087776, 0.0876883, 0.0876007, 0.0875131, 0.0874256, 0.0873383, 0.087251, 0.0871638, 0.0870766, 0.0869896, 0.0869027, 0.0868158, 0.086729, 0.0866423, 0.0865557, 0.0864692, 0.0863828, 0.0862965, 0.0862102, 0.086124, 0.086038, 0.085952, 0.0858661, 0.0857802, 0.0856945, 0.0856088, 0.0855233, 0.0854378, 0.0853524, 0.0852671, 0.0851819, 0.0850967, 0.0850117, 0.0849267, 0.0848418, 0.084757, 0.0846723, 0.0845877, 0.0845031, 0.0844187, 0.0843343, 0.08425, 0.0841658, 0.0840817, 0.0839976, 0.0839137, 0.0838298, 0.083746, 0.0836623, 0.0835787, 0.0834952, 0.0834117, 0.0833283, 0.083245, 0.0831618, 0.0830787, 0.0829957, 0.0829127, 0.0828299, 0.0827471, 0.0826644, 0.0825817, 0.0824992, 0.0824167, 0.0823344, 0.0822521, 0.0821699, 0.0820877, 0.0820057, 0.0819237, 0.0818418, 0.08176, 0.0816783, 0.0815967, 0.0815151, 0.0814336, 0.0813523, 0.0812709, 0.0811897, 0.0811086, 0.0810275, 0.0809465, 0.0808656, 0.0807848, 0.080704, 0.0806234, 0.0805428, 0.0804623, 0.0803819, 0.0803015, 0.0802213, 0.0801411, 0.080061, 0.079981, 0.079901, 0.0798212, 0.0797414, 0.0796617, 0.0795821, 0.0795025, 0.079423, 0.0793437, 0.0792644, 0.0791851, 0.079106, 0.0790269, 0.0789479, 0.078869, 0.0787902, 0.0787114, 0.0786328, 0.0785542, 0.0784757, 0.0783972, 0.0783189, 0.0782406, 0.0781624, 0.0780843, 0.0780062, 0.0779283, 0.0778504, 0.0777726, 0.0776948, 0.0776172, 0.0775396, 0.0774621, 0.0773847, 0.0773073, 0.07723, 0.0771529, 0.0770757, 0.0769987, 0.0769217, 0.0768449, 0.0767681, 0.0766913, 0.0766147, 0.0765381, 0.0764616, 0.0763852, 0.0763088, 0.0762326, 0.0761564, 0.0760802, 0.0760042, 0.0759282, 0.0758523, 0.0757765, 0.0757008, 0.0756251, 0.0755495, 0.075474, 0.0753986, 0.0753232, 0.0752479, 0.0751727, 0.0750976, 0.0750225, 0.0749476, 0.0748726, 0.0747978, 0.074723, 0.0746484, 0.0745738, 0.0744992, 0.0744248, 0.0743504, 0.0742761, 0.0742018, 0.0741276, 0.0740536, 0.0739795, 0.0739056, 0.0738317, 0.0737579, 0.0736842, 0.0736106, 0.073537, 0.0734635, 0.0733901, 0.0733167, 0.0732434, 0.0731702, 0.0730971, 0.073024, 0.072951, 0.0728781, 0.0728053, 0.0727325, 0.0726598, 0.0725872, 0.0725146, 0.0724422, 0.0723698, 0.0722974, 0.0722252, 0.072153, 0.0720809, 0.0720088, 0.0719368, 0.0718649, 0.0717931, 0.0717214, 0.0716497, 0.0715781, 0.0715065, 0.071435, 0.0713636, 0.0712923, 0.0712211, 0.0711499, 0.0710788, 0.0710077, 0.0709367, 0.0708658, 0.070795, 0.0707243, 0.0706536, 0.0705829, 0.0705124, 0.0704419, 0.0703715, 0.0703012, 0.0702309, 0.0701607, 0.0700906, 0.0700205, 0.0699506, 0.0698806, 0.0698108, 0.069741, 0.0696713, 0.0696017, 0.0695321, 0.0694626, 0.0693932, 0.0693238, 0.0692545, 0.0691853, 0.0691162, 0.0690471, 0.0689781, 0.0689091, 0.0688402, 0.0687714, 0.0687027, 0.068634, 0.0685654, 0.0684969, 0.0684284, 0.06836, 0.0682917, 0.0682235, 0.0681553, 0.0680872, 0.0680191, 0.0679511, 0.0678832, 0.0678154, 0.0677476, 0.0676799, 0.0676122, 0.0675446, 0.0674771, 0.0674097, 0.0673423, 0.067275, 0.0672078, 0.0671406, 0.0670735, 0.0670064, 0.0669395, 0.0668726, 0.0668057, 0.0667389, 0.0666722, 0.0666056, 0.066539, 0.0664725, 0.0664061, 0.0663397, 0.0662734, 0.0662072, 0.066141, 0.0660749, 0.0660088, 0.0659429, 0.0658769, 0.0658111, 0.0657453, 0.0656796, 0.065614, 0.0655484, 0.0654829, 0.0654174, 0.065352, 0.0652867, 0.0652215, 0.0651563, 0.0650911, 0.0650261, 0.0649611, 0.0648962, 0.0648313, 0.0647665, 0.0647018, 0.0646371, 0.0645725, 0.064508, 0.0644435, 0.0643791, 0.0643147, 0.0642504, 0.0641862, 0.0641221, 0.064058, 0.063994, 0.06393, 0.0638661, 0.0638023, 0.0637385, 0.0636748, 0.0636111, 0.0635476, 0.063484, 0.0634206, 0.0633572, 0.0632939, 0.0632306, 0.0631674, 0.0631043, 0.0630412, 0.0629782, 0.0629152, 0.0628524, 0.0627895, 0.0627268, 0.0626641, 0.0626015, 0.0625389, 0.0624764, 0.0624139, 0.0623516, 0.0622892, 0.062227, 0.0621648, 0.0621026, 0.0620406, 0.0619786, 0.0619166, 0.0618547, 0.0617929, 0.0617311, 0.0616694, 0.0616078, 0.0615462, 0.0614847, 0.0614233, 0.0613619, 0.0613005, 0.0612393, 0.0611781, 0.0611169, 0.0610558, 0.0609948, 0.0609338, 0.0608729, 0.0608121, 0.0607513, 0.0606906, 0.0606299, 0.0605693, 0.0605088, 0.0604483, 0.0603879, 0.0603275, 0.0602672, 0.060207, 0.0601468, 0.0600867, 0.0600266, 0.0599667, 0.0599067, 0.0598468, 0.059787, 0.0597273, 0.0596676, 0.0596079, 0.0595483, 0.0594888, 0.0594294, 0.05937, 0.0593106, 0.0592514, 0.0591921, 0.059133, 0.0590739, 0.0590148, 0.0589558, 0.0588969, 0.058838, 0.0587792, 0.0587205, 0.0586618, 0.0586032, 0.0585446, 0.0584861, 0.0584276, 0.0583692, 0.0583109, 0.0582526, 0.0581944, 0.0581362, 0.0580781, 0.05802, 0.0579621, 0.0579041, 0.0578462, 0.0577884, 0.0577307, 0.057673, 0.0576153, 0.0575577, 0.0575002, 0.0574427, 0.0573853, 0.057328, 0.0572707, 0.0572134, 0.0571562, 0.0570991, 0.057042, 0.056985, 0.0569281, 0.0568712, 0.0568143, 0.0567575, 0.0567008, 0.0566441, 0.0565875, 0.056531, 0.0564745, 0.056418, 0.0563616, 0.0563053, 0.056249, 0.0561928, 0.0561366, 0.0560805, 0.0560245, 0.0559685, 0.0559125, 0.0558566, 0.0558008, 0.055745, 0.0556893, 0.0556337, 0.0555781, 0.0555225, 0.055467, 0.0554116, 0.0553562, 0.0553009, 0.0552456, 0.0551904, 0.0551352, 0.0550801, 0.0550251, 0.0549701, 0.0549151, 0.0548602, 0.0548054, 0.0547506, 0.0546959, 0.0546412, 0.0545866, 0.054532, 0.0544775, 0.0544231, 0.0543687, 0.0543144, 0.0542601, 0.0542058, 0.0541517, 0.0540975, 0.0540435, 0.0539894, 0.0539355, 0.0538816, 0.0538277, 0.0537739, 0.0537202, 0.0536665, 0.0536128, 0.0535593, 0.0535057, 0.0534522, 0.0533988, 0.0533454, 0.0532921, 0.0532389, 0.0531856, 0.0531325, 0.0530794, 0.0530263, 0.0529733, 0.0529204, 0.0528675, 0.0528146, 0.0527619, 0.0527091, 0.0526564, 0.0526038, 0.0525512, 0.0524987, 0.0524462, 0.0523938, 0.0523414, 0.0522891, 0.0522369, 0.0521847, 0.0521325, 0.0520804, 0.0520283, 0.0519763, 0.0519244, 0.0518725, 0.0518206, 0.0517688, 0.0517171, 0.0516654, 0.0516138, 0.0515622, 0.0515106, 0.0514592, 0.0514077, 0.0513563, 0.051305, 0.0512537, 0.0512025, 0.0511513, 0.0511002, 0.0510491, 0.0509981, 0.0509471, 0.0508962, 0.0508453, 0.0507945, 0.0507438, 0.050693, 0.0506424, 0.0505918, 0.0505412]\nEmissions from deforestation: [1.1, 1.089, 1.07811, 1.06733, 1.05666, 1.04609, 1.03563, 1.02527, 1.01502, 1.00487, 0.99482, 0.984872, 0.975023, 0.965273, 0.95562, 0.946064, 0.936604, 0.927238, 0.917965, 0.908785, 0.899698, 0.890701, 0.881794, 0.872976, 0.864246, 0.855603, 0.847047, 0.838577, 0.830191, 0.821889, 0.81367, 0.805534, 0.797478, 0.789504, 0.781609, 0.773792, 0.766055, 0.758394, 0.75081, 0.743302, 0.735869, 0.72851, 0.721225, 0.714013, 0.706873, 0.699804, 0.692806, 0.685878, 0.679019, 0.672229, 0.665507, 0.658852, 0.652263, 0.64574, 0.639283, 0.63289, 0.626561, 0.620296, 0.614093, 0.607952, 0.601872, 0.595854, 0.589895, 0.583996, 0.578156, 0.572375, 0.566651, 0.560984, 0.555374, 0.549821, 0.544323, 0.538879, 0.533491, 0.528156, 0.522874, 0.517645, 0.512469, 0.507344, 0.502271, 0.497248, 0.492276, 0.487353, 0.482479, 0.477654, 0.472878, 0.468149, 0.463468, 0.458833, 0.454245, 0.449702, 0.445205, 0.440753, 0.436346, 0.431982, 0.427662, 0.423386, 0.419152, 0.41496, 0.410811, 0.406703, 0.402636, 0.398609, 0.394623, 0.390677, 0.38677, 0.382902, 0.379073, 0.375283, 0.37153, 0.367815, 0.364136, 0.360495, 0.35689, 0.353321, 0.349788, 0.34629, 0.342827, 0.339399, 0.336005, 0.332645, 0.329318, 0.326025, 0.322765, 0.319537, 0.316342, 0.313179, 0.310047, 0.306946, 0.303877, 0.300838, 0.29783, 0.294851, 0.291903, 0.288984, 0.286094, 0.283233, 0.280401, 0.277597, 0.274821, 0.272073, 0.269352, 0.266658, 0.263992, 0.261352, 0.258738, 0.256151, 0.253589, 0.251054, 0.248543, 0.246058, 0.243597, 0.241161, 0.238749, 0.236362, 0.233998, 0.231658, 0.229342, 0.227048, 0.224778, 0.22253, 0.220305, 0.218102, 0.215921, 0.213761, 0.211624, 0.209508, 0.207413, 0.205338, 0.203285, 0.201252, 0.19924, 0.197247, 0.195275, 0.193322, 0.191389, 0.189475, 0.18758, 0.185704, 0.183847, 0.182009, 0.180189, 0.178387, 0.176603, 0.174837, 0.173089, 0.171358, 0.169644, 0.167948, 0.166268, 0.164606, 0.162959, 0.16133, 0.159717, 0.158119, 0.156538, 0.154973, 0.153423, 0.151889, 0.15037, 0.148866, 0.147378, 0.145904, 0.144445, 0.143, 0.14157, 0.140155, 0.138753, 0.137366, 0.135992, 0.134632, 0.133286, 0.131953, 0.130633, 0.129327, 0.128034, 0.126753, 0.125486, 0.124231, 0.122989, 0.121759, 0.120541, 0.119336, 0.118142, 0.116961, 0.115791, 0.114633, 0.113487, 0.112352, 0.111229, 0.110116, 0.109015, 0.107925, 0.106846, 0.105777, 0.10472, 0.103672, 0.102636, 0.101609, 0.100593, 0.0995874, 0.0985915, 0.0976056, 0.0966295, 0.0956632, 0.0947066, 0.0937595, 0.0928219, 0.0918937, 0.0909748, 0.090065, 0.0891644, 0.0882727, 0.08739, 0.0865161, 0.0856509, 0.0847944, 0.0839465, 0.083107, 0.0822759, 0.0814532, 0.0806387, 0.0798323, 0.0790339, 0.0782436, 0.0774612, 0.0766866, 0.0759197, 0.0751605, 0.0744089, 0.0736648, 0.0729282, 0.0721989, 0.0714769, 0.0707621, 0.0700545, 0.0693539, 0.0686604, 0.0679738, 0.0672941, 0.0666211, 0.0659549, 0.0652954, 0.0646424, 0.063996, 0.063356, 0.0627225, 0.0620952, 0.0614743, 0.0608595, 0.060251, 0.0596484, 0.059052, 0.0584614, 0.0578768, 0.0572981, 0.0567251, 0.0561578, 0.0555962, 0.0550403, 0.0544899, 0.053945, 0.0534055, 0.0528715, 0.0523428, 0.0518193, 0.0513011, 0.0507881, 0.0502802, 0.0497774, 0.0492797, 0.0487869, 0.048299, 0.047816, 0.0473379, 0.0468645, 0.0463958, 0.0459319, 0.0454726, 0.0450178, 0.0445677, 0.044122, 0.0436808, 0.0432439, 0.0428115, 0.0423834, 0.0419596, 0.04154, 0.0411246, 0.0407133, 0.0403062, 0.0399031, 0.0395041, 0.0391091, 0.038718, 0.0383308, 0.0379475, 0.037568, 0.0371923, 0.0368204, 0.0364522, 0.0360877, 0.0357268, 0.0353695, 0.0350158, 0.0346657, 0.034319, 0.0339758, 0.0336361, 0.0332997, 0.0329667, 0.032637, 0.0323107, 0.0319876, 0.0316677, 0.031351, 0.0310375, 0.0307271, 0.0304199, 0.0301157, 0.0298145, 0.0295164, 0.0292212, 0.028929, 0.0286397, 0.0283533, 0.0280698, 0.0277891, 0.0275112, 0.0272361, 0.0269637, 0.0266941, 0.0264271, 0.0261629, 0.0259012, 0.0256422, 0.0253858, 0.0251319, 0.0248806, 0.0246318, 0.0243855, 0.0241416, 0.0239002, 0.0236612, 0.0234246, 0.0231904, 0.0229585, 0.0227289, 0.0225016, 0.0222766, 0.0220538, 0.0218333, 0.0216149, 0.0213988, 0.0211848, 0.0209729, 0.0207632, 0.0205556, 0.02035, 0.0201465, 0.0199451, 0.0197456, 0.0195482, 0.0193527, 0.0191591, 0.0189676, 0.0187779, 0.0185901, 0.0184042, 0.0182202, 0.018038, 0.0178576, 0.017679, 0.0175022, 0.0173272, 0.0171539, 0.0169824, 0.0168126, 0.0166444, 0.016478, 0.0163132, 0.0161501, 0.0159886, 0.0158287, 0.0156704, 0.0155137, 0.0153586, 0.015205, 0.0150529, 0.0149024, 0.0147534, 0.0146058, 0.0144598, 0.0143152, 0.014172, 0.0140303, 0.01389, 0.0137511, 0.0136136, 0.0134775, 0.0133427, 0.0132093, 0.0130772, 0.0129464, 0.0128169, 0.0126888, 0.0125619, 0.0124363, 0.0123119, 0.0121888, 0.0120669, 0.0119462, 0.0118268, 0.0117085, 0.0115914, 0.0114755, 0.0113607, 0.0112471, 0.0111347, 0.0110233, 0.0109131, 0.0108039, 0.0106959, 0.0105889, 0.0104831, 0.0103782, 0.0102744, 0.0101717, 0.01007, 0.00996928, 0.00986959, 0.00977089, 0.00967318, 0.00957645, 0.00948069, 0.00938588, 0.00929202, 0.0091991, 0.00910711, 0.00901604, 0.00892588, 0.00883662, 0.00874825, 0.00866077, 0.00857416, 0.00848842, 0.00840354, 0.0083195, 0.00823631, 0.00815394, 0.0080724, 0.00799168, 0.00791176, 0.00783264, 0.00775432, 0.00767678, 0.00760001, 0.00752401, 0.00744877, 0.00737428, 0.00730054, 0.00722753, 0.00715526, 0.0070837, 0.00701287, 0.00694274, 0.00687331, 0.00680458, 0.00673653, 0.00666917, 0.00660247, 0.00653645, 0.00647109, 0.00640637, 0.00634231, 0.00627889, 0.0062161, 0.00615394, 0.0060924, 0.00603147, 0.00597116, 0.00591145, 0.00585233, 0.00579381, 0.00573587, 0.00567851, 0.00562173, 0.00556551, 0.00550986, 0.00545476, 0.00540021, 0.00534621, 0.00529275, 0.00523982, 0.00518742, 0.00513555, 0.00508419, 0.00503335, 0.00498301, 0.00493318, 0.00488385, 0.00483501, 0.00478666, 0.0047388, 0.00469141, 0.0046445, 0.00459805, 0.00455207, 0.00450655, 0.00446148, 0.00441687, 0.0043727, 0.00432897, 0.00428568, 0.00424283, 0.0042004, 0.00415839, 0.00411681, 0.00407564, 0.00403489, 0.00399454, 0.00395459, 0.00391505, 0.0038759, 0.00383714, 0.00379877, 0.00376078, 0.00372317, 0.00368594, 0.00364908, 0.00361259, 0.00357646, 0.0035407, 0.00350529, 0.00347024, 0.00343554, 0.00340118, 0.00336717, 0.0033335, 0.00330016, 0.00326716, 0.00323449, 0.00320214, 0.00317012, 0.00313842, 0.00310704, 0.00307597, 0.00304521, 0.00301475, 0.00298461, 0.00295476, 0.00292521, 0.00289596, 0.002867, 0.00283833, 0.00280995, 0.00278185, 0.00275403, 0.00272649, 0.00269922, 0.00267223]\nAvg utility social discout rate: [1.0, 0.985222, 0.970662, 0.956317, 0.942184, 0.92826, 0.914542, 0.901027, 0.887711, 0.874592, 0.861667, 0.848933, 0.836387, 0.824027, 0.811849, 0.799852, 0.788031, 0.776385, 0.764912, 0.753607, 0.74247, 0.731498, 0.720688, 0.710037, 0.699544, 0.689206, 0.679021, 0.668986, 0.659099, 0.649359, 0.639762, 0.630308, 0.620993, 0.611816, 0.602774, 0.593866, 0.58509, 0.576443, 0.567924, 0.559531, 0.551262, 0.543116, 0.535089, 0.527182, 0.519391, 0.511715, 0.504153, 0.496702, 0.489362, 0.48213, 0.475005, 0.467985, 0.461069, 0.454255, 0.447542, 0.440928, 0.434412, 0.427992, 0.421667, 0.415435, 0.409296, 0.403247, 0.397288, 0.391417, 0.385632, 0.379933, 0.374318, 0.368787, 0.363337, 0.357967, 0.352677, 0.347465, 0.34233, 0.337271, 0.332287, 0.327376, 0.322538, 0.317771, 0.313075, 0.308448, 0.30389, 0.299399, 0.294975, 0.290615, 0.286321, 0.282089, 0.27792, 0.273813, 0.269767, 0.26578, 0.261852, 0.257982, 0.25417, 0.250414, 0.246713, 0.243067, 0.239475, 0.235936, 0.232449, 0.229014, 0.225629, 0.222295, 0.21901, 0.215773, 0.212585, 0.209443, 0.206348, 0.203298, 0.200294, 0.197334, 0.194417, 0.191544, 0.188714, 0.185925, 0.183177, 0.18047, 0.177803, 0.175175, 0.172587, 0.170036, 0.167523, 0.165047, 0.162608, 0.160205, 0.157838, 0.155505, 0.153207, 0.150943, 0.148712, 0.146514, 0.144349, 0.142216, 0.140114, 0.138044, 0.136004, 0.133994, 0.132013, 0.130063, 0.12814, 0.126247, 0.124381, 0.122543, 0.120732, 0.118948, 0.11719, 0.115458, 0.113752, 0.112071, 0.110414, 0.108783, 0.107175, 0.105591, 0.104031, 0.102493, 0.100979, 0.0994863, 0.0980161, 0.0965676, 0.0951405, 0.0937345, 0.0923492, 0.0909845, 0.0896399, 0.0883151, 0.08701, 0.0857241, 0.0844573, 0.0832091, 0.0819794, 0.0807679, 0.0795743, 0.0783983, 0.0772397, 0.0760983, 0.0749736, 0.0738657, 0.0727741, 0.0716986, 0.070639, 0.0695951, 0.0685666, 0.0675533, 0.0665549, 0.0655714, 0.0646023, 0.0636476, 0.062707, 0.0617803, 0.0608673, 0.0599678, 0.0590816, 0.0582084, 0.0573482, 0.0565007, 0.0556657, 0.0548431, 0.0540326, 0.0532341, 0.0524474, 0.0516723, 0.0509086, 0.0501563, 0.0494151, 0.0486848, 0.0479653, 0.0472565, 0.0465581, 0.0458701, 0.0451922, 0.0445243, 0.0438663, 0.043218, 0.0425794, 0.0419501, 0.0413301, 0.0407194, 0.0401176, 0.0395247, 0.0389406, 0.0383651, 0.0377982, 0.0372396, 0.0366892, 0.036147, 0.0356128, 0.0350865, 0.034568, 0.0340572, 0.0335539, 0.033058, 0.0325694, 0.0320881, 0.0316139, 0.0311467, 0.0306864, 0.0302329, 0.0297861, 0.0293459, 0.0289123, 0.028485, 0.028064, 0.0276493, 0.0272407, 0.0268381, 0.0264415, 0.0260507, 0.0256657, 0.0252864, 0.0249127, 0.0245446, 0.0241818, 0.0238245, 0.0234724, 0.0231255, 0.0227838, 0.022447, 0.0221153, 0.0217885, 0.0214665, 0.0211493, 0.0208367, 0.0205288, 0.0202254, 0.0199265, 0.019632, 0.0193419, 0.019056, 0.0187744, 0.018497, 0.0182236, 0.0179543, 0.017689, 0.0174276, 0.01717, 0.0169163, 0.0166663, 0.01642, 0.0161773, 0.0159382, 0.0157027, 0.0154706, 0.015242, 0.0150168, 0.0147948, 0.0145762, 0.0143608, 0.0141485, 0.0139395, 0.0137335, 0.0135305, 0.0133305, 0.0131335, 0.0129394, 0.0127482, 0.0125598, 0.0123742, 0.0121913, 0.0120112, 0.0118337, 0.0116588, 0.0114865, 0.0113167, 0.0111495, 0.0109847, 0.0108224, 0.0106625, 0.0105049, 0.0103496, 0.0101967, 0.010046, 0.00989753, 0.00975126, 0.00960716, 0.00946518, 0.0093253, 0.00918749, 0.00905171, 0.00891794, 0.00878615, 0.0086563, 0.00852838, 0.00840234, 0.00827817, 0.00815583, 0.0080353, 0.00791656, 0.00779956, 0.0076843, 0.00757074, 0.00745885, 0.00734862, 0.00724002, 0.00713303, 0.00702761, 0.00692376, 0.00682144, 0.00672063, 0.00662131, 0.00652346, 0.00642705, 0.00633207, 0.00623849, 0.0061463, 0.00605547, 0.00596598, 0.00587781, 0.00579094, 0.00570536, 0.00562105, 0.00553798, 0.00545614, 0.0053755, 0.00529606, 0.0052178, 0.00514069, 0.00506471, 0.00498987, 0.00491613, 0.00484347, 0.00477189, 0.00470137, 0.0046319, 0.00456344, 0.004496, 0.00442956, 0.0043641, 0.0042996, 0.00423606, 0.00417346, 0.00411179, 0.00405102, 0.00399115, 0.00393217, 0.00387406, 0.00381681, 0.0037604, 0.00370483, 0.00365008, 0.00359614, 0.00354299, 0.00349063, 0.00343905, 0.00338822, 0.00333815, 0.00328882, 0.00324021, 0.00319233, 0.00314515, 0.00309867, 0.00305288, 0.00300776, 0.00296331, 0.00291952, 0.00287637, 0.00283387, 0.00279199, 0.00275073, 0.00271007, 0.00267002, 0.00263057, 0.00259169, 0.00255339, 0.00251565, 0.00247848, 0.00244185, 0.00240576, 0.00237021, 0.00233518, 0.00230067, 0.00226667, 0.00223317, 0.00220017, 0.00216766, 0.00213562, 0.00210406, 0.00207297, 0.00204233, 0.00201215, 0.00198241, 0.00195312, 0.00192425, 0.00189582, 0.0018678, 0.0018402, 0.001813, 0.00178621, 0.00175981, 0.0017338, 0.00170818, 0.00168294, 0.00165807, 0.00163356, 0.00160942, 0.00158564, 0.0015622, 0.00153912, 0.00151637, 0.00149396, 0.00147188, 0.00145013, 0.0014287, 0.00140759, 0.00138679, 0.00136629, 0.0013461, 0.00132621, 0.00130661, 0.0012873, 0.00126827, 0.00124953, 0.00123107, 0.00121287, 0.00119495, 0.00117729, 0.00115989, 0.00114275, 0.00112586, 0.00110922, 0.00109283, 0.00107668, 0.00106077, 0.00104509, 0.00102965, 0.00101443, 0.000999439, 0.000984669, 0.000970117, 0.000955781, 0.000941656, 0.00092774, 0.000914029, 0.000900522, 0.000887213, 0.000874102, 0.000861184, 0.000848457, 0.000835918, 0.000823565, 0.000811394, 0.000799403, 0.000787589, 0.00077595, 0.000764483, 0.000753185, 0.000742054, 0.000731088, 0.000720284, 0.000709639, 0.000699152, 0.000688819, 0.00067864, 0.000668611, 0.00065873, 0.000648995, 0.000639404, 0.000629954, 0.000620645, 0.000611473, 0.000602436, 0.000593533, 0.000584762, 0.00057612, 0.000567606, 0.000559217, 0.000550953, 0.000542811, 0.000534789, 0.000526886, 0.000519099, 0.000511428, 0.00050387, 0.000496424, 0.000489087, 0.000481859, 0.000474738, 0.000467722, 0.00046081, 0.000454, 0.000447291, 0.000440681, 0.000434168, 0.000427752, 0.00042143, 0.000415202, 0.000409066, 0.000403021, 0.000397065, 0.000391197, 0.000385416, 0.00037972, 0.000374109, 0.00036858, 0.000363133, 0.000357766, 0.000352479, 0.00034727, 0.000342138, 0.000337082, 0.0003321, 0.000327192, 0.000322357, 0.000317593, 0.0003129, 0.000308276, 0.00030372, 0.000299231, 0.000294809, 0.000290452, 0.00028616, 0.000281931, 0.000277765, 0.00027366, 0.000269615, 0.000265631, 0.000261705, 0.000257838, 0.000254027, 0.000250273, 0.000246575, 0.000242931, 0.000239341, 0.000235804, 0.000232319, 0.000228885, 0.000225503, 0.00022217, 0.000218887, 0.000215652, 0.000212465, 0.000209325, 0.000206232, 0.000203184, 0.000200181, 0.000197223, 0.000194308, 0.000191437, 0.000188608, 0.00018582, 0.000183074, 0.000180369, 0.000177703, 0.000175077, 0.00017249, 0.000169941, 0.000167429, 0.000164955, 0.000162517, 0.000160115, 0.000157749, 0.000155418, 0.000153121, 0.000150858, 0.000148629, 0.000146432, 0.000144268, 0.000142136, 0.000140036, 0.000137966, 0.000135927, 0.000133919]\nPopulation and labour: [6514.0, 6585.75, 6655.03, 6721.92, 6786.52, 6848.89, 6909.12, 6967.28, 7023.44, 7077.66, 7130.02, 7180.58, 7229.4, 7276.54, 7322.06, 7366.02, 7408.46, 7449.44, 7489.01, 7527.23, 7564.12, 7599.75, 7634.15, 7667.37, 7699.45, 7730.43, 7760.33, 7789.21, 7817.1, 7844.03, 7870.03, 7895.14, 7919.38, 7942.79, 7965.39, 7987.22, 8008.3, 8028.65, 8048.3, 8067.28, 8085.6, 8103.29, 8120.38, 8136.87, 8152.8, 8168.18, 8183.03, 8197.38, 8211.22, 8224.6, 8237.51, 8249.98, 8262.01, 8273.64, 8284.86, 8295.7, 8306.17, 8316.28, 8326.03, 8335.46, 8344.56, 8353.34, 8361.83, 8370.02, 8377.93, 8385.57, 8392.94, 8400.06, 8406.94, 8413.58, 8419.99, 8426.18, 8432.16, 8437.93, 8443.51, 8448.89, 8454.09, 8459.11, 8463.95, 8468.63, 8473.15, 8477.51, 8481.73, 8485.79, 8489.72, 8493.52, 8497.18, 8500.71, 8504.13, 8507.43, 8510.61, 8513.68, 8516.65, 8519.52, 8522.29, 8524.96, 8527.54, 8530.03, 8532.44, 8534.76, 8537.01, 8539.17, 8541.27, 8543.29, 8545.24, 8547.12, 8548.94, 8550.7, 8552.39, 8554.03, 8555.61, 8557.14, 8558.61, 8560.04, 8561.41, 8562.74, 8564.02, 8565.26, 8566.45, 8567.61, 8568.72, 8569.8, 8570.83, 8571.84, 8572.81, 8573.74, 8574.64, 8575.52, 8576.36, 8577.17, 8577.96, 8578.71, 8579.45, 8580.15, 8580.84, 8581.5, 8582.13, 8582.75, 8583.34, 8583.91, 8584.47, 8585.0, 8585.52, 8586.01, 8586.5, 8586.96, 8587.41, 8587.84, 8588.26, 8588.66, 8589.05, 8589.43, 8589.79, 8590.14, 8590.48, 8590.81, 8591.13, 8591.43, 8591.73, 8592.01, 8592.29, 8592.55, 8592.81, 8593.06, 8593.29, 8593.52, 8593.75, 8593.96, 8594.17, 8594.37, 8594.56, 8594.75, 8594.93, 8595.11, 8595.27, 8595.44, 8595.59, 8595.75, 8595.89, 8596.03, 8596.17, 8596.3, 8596.43, 8596.55, 8596.67, 8596.78, 8596.9, 8597.0, 8597.1, 8597.2, 8597.3, 8597.39, 8597.48, 8597.57, 8597.65, 8597.73, 8597.81, 8597.89, 8597.96, 8598.03, 8598.1, 8598.16, 8598.23, 8598.29, 8598.35, 8598.4, 8598.46, 8598.51, 8598.56, 8598.61, 8598.66, 8598.71, 8598.75, 8598.79, 8598.83, 8598.87, 8598.91, 8598.95, 8598.99, 8599.02, 8599.06, 8599.09, 8599.12, 8599.15, 8599.18, 8599.21, 8599.23, 8599.26, 8599.29, 8599.31, 8599.33, 8599.36, 8599.38, 8599.4, 8599.42, 8599.44, 8599.46, 8599.48, 8599.5, 8599.51, 8599.53, 8599.55, 8599.56, 8599.58, 8599.59, 8599.61, 8599.62, 8599.63, 8599.65, 8599.66, 8599.67, 8599.68, 8599.69, 8599.7, 8599.71, 8599.72, 8599.73, 8599.74, 8599.75, 8599.76, 8599.77, 8599.78, 8599.78, 8599.79, 8599.8, 8599.8, 8599.81, 8599.82, 8599.82, 8599.83, 8599.84, 8599.84, 8599.85, 8599.85, 8599.86, 8599.86, 8599.87, 8599.87, 8599.88, 8599.88, 8599.88, 8599.89, 8599.89, 8599.9, 8599.9, 8599.9, 8599.91, 8599.91, 8599.91, 8599.92, 8599.92, 8599.92, 8599.92, 8599.93, 8599.93, 8599.93, 8599.93, 8599.94, 8599.94, 8599.94, 8599.94, 8599.94, 8599.95, 8599.95, 8599.95, 8599.95, 8599.95, 8599.96, 8599.96, 8599.96, 8599.96, 8599.96, 8599.96, 8599.96, 8599.96, 8599.97, 8599.97, 8599.97, 8599.97, 8599.97, 8599.97, 8599.97, 8599.97, 8599.97, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.98, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8599.99, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0, 8600.0]\nTotal factor productivity: [0.02722, 0.029978, 0.033012, 0.0363495, 0.0400204, 0.0440575, 0.0484969, 0.0533784, 0.0587452, 0.0646452, 0.0711306, 0.0782587, 0.0860926, 0.0947012, 0.10416, 0.114552, 0.125969, 0.13851, 0.152284, 0.167411, 0.184022, 0.202262, 0.222287, 0.244271, 0.268403, 0.294889, 0.323957, 0.355856, 0.390857, 0.429258, 0.471386, 0.517598, 0.568284, 0.623872, 0.684832, 0.751674, 0.82496, 0.905303, 0.993374, 1.08991, 1.1957, 1.31164, 1.43868, 1.57788, 1.73037, 1.89742, 2.0804, 2.2808, 2.50026, 2.74057, 3.0037, 3.29177, 3.60713, 3.95232, 4.33013, 4.7436, 5.19605, 5.69112, 6.23276, 6.82531, 7.47347, 8.18242, 8.95776, 9.80565, 10.7328, 11.7465, 12.8547, 14.0661, 15.3902, 16.8374, 18.419, 20.1472, 22.0356, 24.0986, 26.3524, 28.8142, 31.503, 34.4396, 37.6464, 41.148, 44.971, 49.1447, 53.7008, 58.6738, 64.1014, 70.0247, 76.4881, 83.5405, 91.2347, 99.6284, 108.784, 118.771, 129.662, 141.539, 154.49, 168.611, 184.005, 200.786, 219.078, 239.015, 260.742, 284.418, 310.217, 338.324, 368.945, 402.301, 438.633, 478.203, 521.295, 568.22, 619.313, 674.939, 735.495, 801.413, 873.161, 951.246, 1036.22, 1128.69, 1229.3, 1338.75, 1457.83, 1587.35, 1728.22, 1881.44, 2048.05, 2229.22, 2426.2, 2640.36, 2873.17, 3126.22, 3401.27, 3700.19, 4025.02, 4377.99, 4761.5, 5178.14, 5630.75, 6122.39, 6656.37, 7236.29, 7866.06, 8549.89, 9292.36, 10098.4, 10973.5, 11923.3, 12954.2, 14073.1, 15287.2, 16604.7, 18034.2, 19585.0, 21267.4, 23092.3, 25071.6, 27218.3, 29546.3, 32070.6, 34807.6, 37775.0, 40991.9, 44478.9, 48258.4, 52354.7, 56793.9, 61604.2, 66816.3, 72463.2, 78580.7, 85207.5, 92385.4, 1.00159e5, 1.08579e5, 1.17696e5, 1.27567e5, 1.38255e5, 1.49827e5, 1.62353e5, 175911.0, 1.90586e5, 2.06468e5, 2.23654e5, 2.42252e5, 2.62373e5, 2.84143e5, 3.07693e5, 3.33168e5, 3.60722e5, 3.90522e5, 422749.0, 457598.0, 4.95279e5, 5.36019e5, 5.80062e5, 627672.0, 6.79134e5, 7.34756e5, 7.94868e5, 8.59828e5, 9.3002e5, 1.00586e6, 1.0878e6, 1.17631e6, 1.27193e6, 1.3752e6, 1.48674e6, 1.60719e6, 1.73727e6, 1.87772e6, 2.02936e6, 2.19307e6, 2.36979e6, 2.56055e6, 2.76644e6, 2.98865e6, 3.22844e6, 3.4872e6, 3.76639e6, 4.06762e6, 4.39258e6, 4.74312e6, 5.12123e6, 5.52904e6, 5.96885e6, 6.44313e6, 6.95455e6, 7.50596e6, 8.10046e6, 8.74134e6, 9.43219e6, 1.01768e7, 1.09794e7, 1.18443e7, 1.27764e7, 1.37807e7, 1.48628e7, 1.60286e7, 1.72844e7, 1.86373e7, 2.00944e7, 2.16638e7, 2.33539e7, 2.51739e7, 2.71336e7, 2.92436e7, 3.15153e7, 3.39608e7, 3.65932e7, 3.94266e7, 4.2476e7, 4.57579e7, 4.92894e7, 5.30895e7, 5.71781e7, 6.15768e7, 6.63089e7, 7.13991e7, 7.68741e7, 8.27627e7, 8.90955e7, 9.59055e7, 1.03228e8, 1.11101e8, 1.19566e8, 1.28666e8, 1.38448e8, 1.48962e8, 1.60262e8, 1.72407e8, 1.85458e8, 1.99482e8, 2.1455e8, 2.30739e8, 2.4813e8, 2.66813e8, 2.8688e8, 3.08434e8, 3.31582e8, 3.5644e8, 3.83134e8, 4.11795e8, 4.42568e8, 4.75605e8, 5.11069e8, 5.49138e8, 5.89998e8, 6.33851e8, 6.80913e8, 7.31415e8, 7.85605e8, 8.43746e8, 9.06124e8, 9.73042e8, 1.04482e9, 1.12182e9, 1.2044e9, 1.29296e9, 1.38794e9, 1.48978e9, 1.59898e9, 1.71605e9, 1.84156e9, 1.97611e9, 2.12033e9, 2.27492e9, 2.44059e9, 2.61814e9, 2.8084e9, 3.01227e9, 3.23071e9, 3.46473e9, 3.71544e9, 3.984e9, 4.27167e9, 4.57977e9, 4.90974e9, 5.26311e9, 5.64151e9, 6.04667e9, 6.48047e9, 6.94489e9, 7.44207e9, 7.97426e9, 8.5439e9, 9.15358e9, 9.80607e9, 1.05043e10, 1.12515e10, 1.20509e10, 1.29063e10, 1.38214e10, 1.48003e10, 1.58474e10, 1.69674e10, 1.81652e10, 1.94463e10, 2.08162e10, 2.22811e10, 2.38474e10, 2.5522e10, 2.73123e10, 2.92261e10, 3.12718e10, 3.34584e10, 3.57953e10, 3.82929e10, 4.09618e10, 4.38137e10, 4.68608e10, 5.01165e10, 5.35945e10, 5.731e10, 6.12788e10, 6.5518e10, 7.00455e10, 7.48807e10, 8.00442e10, 8.55579e10, 9.1445e10, 9.77305e10, 1.04441e11, 1.11604e11, 1.19251e11, 1.27413e11, 1.36124e11, 1.45421e11, 1.55342e11, 1.65928e11, 1.77224e11, 1.89276e11, 2.02134e11, 2.15851e11, 2.30483e11, 2.4609e11, 2.62737e11, 2.8049e11, 2.99423e11, 3.19612e11, 3.41139e11, 3.64092e11, 3.88563e11, 4.14651e11, 4.4246e11, 4.72104e11, 5.03699e11, 5.37373e11, 5.7326e11, 6.11503e11, 6.52253e11, 6.95673e11, 7.41933e11, 7.91218e11, 8.4372e11, 8.99646e11, 9.59216e11, 1.02266e12, 1.09023e12, 1.16219e12, 1.23882e12, 1.32041e12, 1.40729e12, 1.49978e12, 1.59824e12, 1.70306e12, 1.81463e12, 1.93338e12, 2.05977e12, 2.19429e12, 2.33743e12, 2.48975e12, 2.65182e12, 2.82425e12, 3.00771e12, 3.20287e12, 3.41048e12, 3.6313e12, 3.86618e12, 4.11598e12, 4.38164e12, 4.66414e12, 4.96454e12, 5.28395e12, 5.62354e12, 5.98458e12, 6.36838e12, 6.77636e12, 7.21002e12, 7.67095e12, 8.16081e12, 8.68141e12, 9.23462e12, 9.82247e12, 1.04471e13, 1.11107e13, 1.18157e13, 1.25646e13, 1.33602e13, 1.42053e13, 1.51028e13, 1.60561e13, 1.70684e13, 1.81434e13, 1.9285e13, 2.0497e13, 2.17839e13, 2.31501e13, 2.46004e13, 2.614e13, 2.77741e13, 2.95086e13, 3.13495e13, 3.33031e13, 3.53763e13, 3.75761e13, 3.99103e13, 4.23869e13, 4.50144e13, 4.78017e13, 5.07585e13, 5.38949e13, 5.72216e13, 6.07498e13, 6.44916e13, 6.84597e13, 7.26674e13, 7.7129e13, 8.18596e13, 8.68749e13, 9.21919e13, 9.78283e13, 1.03803e14, 1.10136e14, 1.16848e14, 1.23961e14, 1.315e14, 1.39489e14, 1.47954e14, 1.56923e14, 1.66425e14, 1.76493e14, 1.87158e14, 1.98456e14, 2.10423e14, 2.23098e14, 2.36523e14, 2.5074e14, 2.65795e14, 2.81738e14, 2.9862e14, 3.16493e14, 3.35417e14, 3.55451e14, 3.76659e14, 3.99108e14, 4.2287e14, 4.48021e14, 4.74639e14, 5.02808e14, 5.32618e14, 5.64162e14, 5.97538e14, 6.32852e14, 6.70213e14, 7.09738e14, 7.51549e14, 7.95777e14, 8.42558e14, 8.92036e14, 9.44365e14, 9.99705e14, 1.05823e15, 1.12011e15, 1.18554e15, 1.25472e15, 1.32785e15, 1.40517e15, 1.48691e15, 1.57331e15, 1.66463e15, 1.76115e15, 1.86316e15, 1.97096e15, 2.08488e15, 2.20526e15, 2.33246e15, 2.46684e15, 2.60882e15, 2.75882e15, 2.91727e15, 3.08464e15, 3.26143e15, 3.44815e15, 3.64535e15, 3.85362e15, 4.07355e15, 4.30578e15, 4.55099e15, 4.8099e15, 5.08325e15, 5.37182e15, 5.67646e15, 5.99803e15, 6.33746e15, 6.69572e15, 7.07383e15, 7.47287e15, 7.89398e15, 8.33835e15, 8.80723e15, 9.30197e15, 9.82394e15, 1.03746e16, 1.09555e16, 1.15684e16, 1.22148e16, 1.28966e16, 1.36157e16, 1.43741e16, 1.51739e16, 1.60173e16, 1.69067e16, 1.78444e16, 1.88331e16, 1.98755e16, 2.09745e16, 2.21329e16, 2.33541e16, 2.46413e16, 2.5998e16, 2.74278e16, 2.89348e16, 3.05228e16, 3.21963e16, 3.39596e16, 3.58176e16, 3.77751e16, 3.98374e16, 4.20101e16, 4.42988e16, 4.67096e16, 4.9249e16, 5.19237e16, 5.47406e16, 5.77071e16, 6.08312e16, 6.41209e16, 6.75849e16, 7.12322e16, 7.50722e16, 7.9115e16, 8.3371e16, 8.78513e16, 9.25673e16, 9.75313e16, 1.02756e17, 1.08255e17, 1.14042e17, 1.20131e17, 1.2654e17, 1.33283e17]\nCumulative improvement of energy efficiency: [-0.0073, -0.00727813, -0.00725633, -0.00723459, -0.00721292, -0.00719132, -0.00716978, -0.0071483, -0.00712689, -0.00710554, -0.00708425, -0.00706303, -0.00704187, -0.00702078, -0.00699975, -0.00697878, -0.00695788, -0.00693703, -0.00691625, -0.00689554, -0.00687488, -0.00685429, -0.00683376, -0.00681328, -0.00679288, -0.00677253, -0.00675224, -0.00673201, -0.00671185, -0.00669174, -0.0066717, -0.00665171, -0.00663179, -0.00661192, -0.00659212, -0.00657237, -0.00655268, -0.00653305, -0.00651348, -0.00649397, -0.00647452, -0.00645512, -0.00643579, -0.00641651, -0.00639729, -0.00637813, -0.00635902, -0.00633997, -0.00632098, -0.00630205, -0.00628317, -0.00626435, -0.00624558, -0.00622687, -0.00620822, -0.00618962, -0.00617108, -0.0061526, -0.00613417, -0.00611579, -0.00609747, -0.00607921, -0.006061, -0.00604284, -0.00602474, -0.00600669, -0.0059887, -0.00597076, -0.00595288, -0.00593504, -0.00591726, -0.00589954, -0.00588187, -0.00586425, -0.00584668, -0.00582917, -0.00581171, -0.0057943, -0.00577694, -0.00575964, -0.00574238, -0.00572518, -0.00570803, -0.00569093, -0.00567389, -0.00565689, -0.00563995, -0.00562305, -0.00560621, -0.00558941, -0.00557267, -0.00555598, -0.00553933, -0.00552274, -0.0055062, -0.0054897, -0.00547326, -0.00545686, -0.00544052, -0.00542422, -0.00540797, -0.00539177, -0.00537562, -0.00535952, -0.00534347, -0.00532746, -0.0053115, -0.00529559, -0.00527973, -0.00526391, -0.00524814, -0.00523242, -0.00521675, -0.00520112, -0.00518554, -0.00517001, -0.00515452, -0.00513908, -0.00512369, -0.00510834, -0.00509304, -0.00507778, -0.00506257, -0.00504741, -0.00503229, -0.00501721, -0.00500218, -0.0049872, -0.00497226, -0.00495736, -0.00494252, -0.00492771, -0.00491295, -0.00489823, -0.00488356, -0.00486893, -0.00485435, -0.0048398, -0.00482531, -0.00481085, -0.00479644, -0.00478207, -0.00476775, -0.00475347, -0.00473923, -0.00472503, -0.00471088, -0.00469677, -0.0046827, -0.00466867, -0.00465469, -0.00464074, -0.00462684, -0.00461298, -0.00459916, -0.00458539, -0.00457165, -0.00455796, -0.0045443, -0.00453069, -0.00451712, -0.00450359, -0.0044901, -0.00447665, -0.00446324, -0.00444987, -0.00443654, -0.00442325, -0.00441, -0.00439679, -0.00438362, -0.00437049, -0.00435739, -0.00434434, -0.00433133, -0.00431835, -0.00430542, -0.00429252, -0.00427966, -0.00426684, -0.00425406, -0.00424132, -0.00422861, -0.00421595, -0.00420332, -0.00419073, -0.00417817, -0.00416566, -0.00415318, -0.00414074, -0.00412834, -0.00411597, -0.00410364, -0.00409135, -0.00407909, -0.00406687, -0.00405469, -0.00404254, -0.00403044, -0.00401836, -0.00400632, -0.00399432, -0.00398236, -0.00397043, -0.00395854, -0.00394668, -0.00393486, -0.00392307, -0.00391132, -0.0038996, -0.00388792, -0.00387627, -0.00386466, -0.00385309, -0.00384154, -0.00383004, -0.00381856, -0.00380713, -0.00379572, -0.00378435, -0.00377301, -0.00376171, -0.00375044, -0.00373921, -0.00372801, -0.00371684, -0.00370571, -0.00369461, -0.00368354, -0.00367251, -0.00366151, -0.00365054, -0.0036396, -0.0036287, -0.00361783, -0.00360699, -0.00359619, -0.00358542, -0.00357468, -0.00356397, -0.00355329, -0.00354265, -0.00353204, -0.00352146, -0.00351091, -0.00350039, -0.0034899, -0.00347945, -0.00346903, -0.00345864, -0.00344828, -0.00343795, -0.00342765, -0.00341738, -0.00340714, -0.00339694, -0.00338676, -0.00337662, -0.0033665, -0.00335642, -0.00334636, -0.00333634, -0.00332635, -0.00331638, -0.00330645, -0.00329654, -0.00328667, -0.00327682, -0.00326701, -0.00325722, -0.00324746, -0.00323774, -0.00322804, -0.00321837, -0.00320873, -0.00319912, -0.00318953, -0.00317998, -0.00317045, -0.00316096, -0.00315149, -0.00314205, -0.00313263, -0.00312325, -0.00311389, -0.00310457, -0.00309527, -0.003086, -0.00307675, -0.00306754, -0.00305835, -0.00304919, -0.00304005, -0.00303094, -0.00302187, -0.00301281, -0.00300379, -0.00299479, -0.00298582, -0.00297688, -0.00296796, -0.00295907, -0.0029502, -0.00294137, -0.00293256, -0.00292377, -0.00291501, -0.00290628, -0.00289758, -0.0028889, -0.00288024, -0.00287161, -0.00286301, -0.00285444, -0.00284589, -0.00283736, -0.00282886, -0.00282039, -0.00281194, -0.00280352, -0.00279512, -0.00278675, -0.0027784, -0.00277007, -0.00276178, -0.0027535, -0.00274526, -0.00273703, -0.00272883, -0.00272066, -0.00271251, -0.00270438, -0.00269628, -0.00268821, -0.00268015, -0.00267213, -0.00266412, -0.00265614, -0.00264818, -0.00264025, -0.00263234, -0.00262446, -0.0026166, -0.00260876, -0.00260094, -0.00259315, -0.00258538, -0.00257764, -0.00256992, -0.00256222, -0.00255455, -0.00254689, -0.00253926, -0.00253166, -0.00252407, -0.00251651, -0.00250898, -0.00250146, -0.00249397, -0.0024865, -0.00247905, -0.00247162, -0.00246422, -0.00245684, -0.00244948, -0.00244214, -0.00243482, -0.00242753, -0.00242026, -0.00241301, -0.00240578, -0.00239857, -0.00239139, -0.00238423, -0.00237708, -0.00236996, -0.00236286, -0.00235579, -0.00234873, -0.00234169, -0.00233468, -0.00232769, -0.00232071, -0.00231376, -0.00230683, -0.00229992, -0.00229303, -0.00228616, -0.00227931, -0.00227249, -0.00226568, -0.00225889, -0.00225213, -0.00224538, -0.00223865, -0.00223195, -0.00222526, -0.0022186, -0.00221195, -0.00220532, -0.00219872, -0.00219213, -0.00218556, -0.00217902, -0.00217249, -0.00216598, -0.00215949, -0.00215303, -0.00214658, -0.00214015, -0.00213374, -0.00212734, -0.00212097, -0.00211462, -0.00210828, -0.00210197, -0.00209567, -0.00208939, -0.00208314, -0.0020769, -0.00207067, -0.00206447, -0.00205829, -0.00205212, -0.00204597, -0.00203985, -0.00203374, -0.00202764, -0.00202157, -0.00201551, -0.00200948, -0.00200346, -0.00199746, -0.00199147, -0.00198551, -0.00197956, -0.00197363, -0.00196772, -0.00196182, -0.00195595, -0.00195009, -0.00194425, -0.00193842, -0.00193262, -0.00192683, -0.00192105, -0.0019153, -0.00190956, -0.00190384, -0.00189814, -0.00189245, -0.00188679, -0.00188113, -0.0018755, -0.00186988, -0.00186428, -0.00185869, -0.00185313, -0.00184758, -0.00184204, -0.00183652, -0.00183102, -0.00182554, -0.00182007, -0.00181462, -0.00180918, -0.00180376, -0.00179836, -0.00179297, -0.0017876, -0.00178225, -0.00177691, -0.00177158, -0.00176628, -0.00176099, -0.00175571, -0.00175045, -0.00174521, -0.00173998, -0.00173477, -0.00172957, -0.00172439, -0.00171923, -0.00171408, -0.00170894, -0.00170382, -0.00169872, -0.00169363, -0.00168856, -0.0016835, -0.00167846, -0.00167343, -0.00166842, -0.00166342, -0.00165843, -0.00165347, -0.00164851, -0.00164358, -0.00163865, -0.00163374, -0.00162885, -0.00162397, -0.00161911, -0.00161426, -0.00160942, -0.0016046, -0.00159979, -0.001595, -0.00159022, -0.00158546, -0.00158071, -0.00157598, -0.00157125, -0.00156655, -0.00156186, -0.00155718, -0.00155251, -0.00154786, -0.00154322, -0.0015386, -0.00153399, -0.0015294, -0.00152482, -0.00152025, -0.0015157, -0.00151116, -0.00150663, -0.00150212, -0.00149762, -0.00149313, -0.00148866, -0.0014842, -0.00147975, -0.00147532, -0.0014709, -0.00146649, -0.0014621, -0.00145772, -0.00145335, -0.001449, -0.00144466, -0.00144033, -0.00143602, -0.00143172, -0.00142743, -0.00142315, -0.00141889, -0.00141464, -0.0014104, -0.00140618, -0.00140196, -0.00139776, -0.00139358, -0.0013894, -0.00138524, -0.00138109, -0.00137695, -0.00137283, -0.00136872, -0.00136462, -0.00136053, -0.00135645, -0.00135239, -0.00134834, -0.0013443, -0.00134027, -0.00133626, -0.00133226, -0.00132827, -0.00132429, -0.00132032, -0.00131637, -0.00131242, -0.00130849, -0.00130457, -0.00130066, -0.00129677, -0.00129288, -0.00128901, -0.00128515, -0.0012813, -0.00127746, -0.00127363, -0.00126982, -0.00126602, -0.00126222, -0.00125844, -0.00125467, -0.00125091, -0.00124717, -0.00124343, -0.00123971, -0.00123599, -0.00123229, -0.0012286, -0.00122492, -0.00122125, -0.00121759, -0.00121394, -0.00121031]\nCO₂-equivalent-emissions output ratio: [0.13418, 0.13321, 0.132251, 0.131301, 0.130361, 0.12943, 0.128508, 0.127596, 0.126693, 0.1258, 0.124915, 0.124039, 0.123171, 0.122312, 0.121462, 0.12062, 0.119787, 0.118962, 0.118145, 0.117336, 0.116534, 0.115741, 0.114956, 0.114178, 0.113407, 0.112644, 0.111889, 0.111141, 0.1104, 0.109666, 0.108939, 0.108219, 0.107506, 0.1068, 0.106101, 0.105408, 0.104722, 0.104042, 0.103369, 0.102702, 0.102041, 0.101387, 0.100738, 0.100096, 0.0994597, 0.0988293, 0.0982049, 0.0975862, 0.0969732, 0.0963659, 0.0957642, 0.095168, 0.0945773, 0.0939921, 0.0934121, 0.0928375, 0.0922681, 0.0917039, 0.0911448, 0.0905908, 0.0900417, 0.0894977, 0.0889585, 0.0884241, 0.0878946, 0.0873698, 0.0868497, 0.0863342, 0.0858233, 0.0853169, 0.0848151, 0.0843176, 0.0838246, 0.0833359, 0.0828515, 0.0823713, 0.0818954, 0.0814236, 0.0809559, 0.0804923, 0.0800327, 0.0795771, 0.0791255, 0.0786777, 0.0782338, 0.0777938, 0.0773575, 0.0769249, 0.0764961, 0.0760709, 0.0756493, 0.0752313, 0.0748169, 0.074406, 0.0739985, 0.0735945, 0.0731939, 0.0727967, 0.0724027, 0.0720121, 0.0716248, 0.0712407, 0.0708598, 0.070482, 0.0701074, 0.0697359, 0.0693674, 0.069002, 0.0686396, 0.0682802, 0.0679237, 0.0675702, 0.0672195, 0.0668717, 0.0665267, 0.0661846, 0.0658452, 0.0655085, 0.0651746, 0.0648433, 0.0645147, 0.0641888, 0.0638655, 0.0635448, 0.0632266, 0.0629109, 0.0625978, 0.0622872, 0.061979, 0.0616733, 0.0613699, 0.061069, 0.0607704, 0.0604742, 0.0601803, 0.0598887, 0.0595994, 0.0593124, 0.0590275, 0.0587449, 0.0584645, 0.0581863, 0.0579102, 0.0576362, 0.0573643, 0.0570945, 0.0568268, 0.0565612, 0.0562976, 0.0560359, 0.0557763, 0.0555187, 0.055263, 0.0550092, 0.0547574, 0.0545075, 0.0542594, 0.0540132, 0.0537689, 0.0535264, 0.0532857, 0.0530468, 0.0528096, 0.0525743, 0.0523407, 0.0521088, 0.0518786, 0.0516502, 0.0514234, 0.0511983, 0.0509748, 0.050753, 0.0505328, 0.0503142, 0.0500973, 0.0498818, 0.049668, 0.0494557, 0.049245, 0.0490357, 0.048828, 0.0486218, 0.0484171, 0.0482138, 0.048012, 0.0478116, 0.0476127, 0.0474152, 0.0472191, 0.0470243, 0.046831, 0.046639, 0.0464484, 0.0462592, 0.0460712, 0.0458846, 0.0456993, 0.0455153, 0.0453326, 0.0451512, 0.044971, 0.0447921, 0.0446144, 0.044438, 0.0442628, 0.0440888, 0.043916, 0.0437444, 0.0435739, 0.0434047, 0.0432366, 0.0430696, 0.0429038, 0.0427391, 0.0425756, 0.0424131, 0.0422518, 0.0420916, 0.0419324, 0.0417743, 0.0416173, 0.0414613, 0.0413064, 0.0411525, 0.0409997, 0.0408478, 0.040697, 0.0405472, 0.0403984, 0.0402506, 0.0401038, 0.0399579, 0.039813, 0.039669, 0.039526, 0.039384, 0.0392429, 0.0391027, 0.0389634, 0.038825, 0.0386875, 0.038551, 0.0384153, 0.0382805, 0.0381466, 0.0380135, 0.0378813, 0.0377499, 0.0376194, 0.0374898, 0.0373609, 0.0372329, 0.0371058, 0.0369794, 0.0368538, 0.036729, 0.0366051, 0.0364819, 0.0363595, 0.0362379, 0.036117, 0.0359969, 0.0358776, 0.035759, 0.0356411, 0.035524, 0.0354076, 0.035292, 0.0351771, 0.0350629, 0.0349494, 0.0348366, 0.0347245, 0.0346131, 0.0345024, 0.0343924, 0.034283, 0.0341743, 0.0340663, 0.033959, 0.0338523, 0.0337463, 0.0336409, 0.0335361, 0.033432, 0.0333286, 0.0332257, 0.0331235, 0.0330219, 0.0329209, 0.0328205, 0.0327208, 0.0326216, 0.032523, 0.032425, 0.0323276, 0.0322308, 0.0321346, 0.0320389, 0.0319438, 0.0318493, 0.0317553, 0.0316619, 0.0315691, 0.0314768, 0.031385, 0.0312938, 0.0312031, 0.0311129, 0.0310233, 0.0309342, 0.0308456, 0.0307576, 0.03067, 0.030583, 0.0304965, 0.0304105, 0.0303249, 0.0302399, 0.0301553, 0.0300713, 0.0299877, 0.0299046, 0.029822, 0.0297399, 0.0296582, 0.029577, 0.0294963, 0.029416, 0.0293362, 0.0292569, 0.029178, 0.0290995, 0.0290215, 0.0289439, 0.0288668, 0.0287901, 0.0287138, 0.028638, 0.0285625, 0.0284876, 0.028413, 0.0283388, 0.0282651, 0.0281918, 0.0281189, 0.0280463, 0.0279742, 0.0279025, 0.0278312, 0.0277603, 0.0276898, 0.0276197, 0.0275499, 0.0274805, 0.0274116, 0.027343, 0.0272747, 0.0272069, 0.0271394, 0.0270723, 0.0270055, 0.0269392, 0.0268731, 0.0268075, 0.0267422, 0.0266772, 0.0266126, 0.0265483, 0.0264844, 0.0264209, 0.0263577, 0.0262948, 0.0262322, 0.02617, 0.0261081, 0.0260466, 0.0259854, 0.0259245, 0.0258639, 0.0258037, 0.0257438, 0.0256842, 0.0256249, 0.0255659, 0.0255072, 0.0254489, 0.0253908, 0.0253331, 0.0252756, 0.0252185, 0.0251617, 0.0251051, 0.0250489, 0.0249929, 0.0249373, 0.0248819, 0.0248268, 0.024772, 0.0247175, 0.0246633, 0.0246093, 0.0245557, 0.0245023, 0.0244492, 0.0243963, 0.0243438, 0.0242915, 0.0242394, 0.0241877, 0.0241362, 0.0240849, 0.024034, 0.0239832, 0.0239328, 0.0238826, 0.0238326, 0.0237829, 0.0237335, 0.0236843, 0.0236354, 0.0235867, 0.0235382, 0.02349, 0.0234421, 0.0233943, 0.0233469, 0.0232996, 0.0232526, 0.0232058, 0.0231593, 0.023113, 0.0230669, 0.0230211, 0.0229755, 0.0229301, 0.0228849, 0.02284, 0.0227952, 0.0227507, 0.0227065, 0.0226624, 0.0226185, 0.0225749, 0.0225315, 0.0224883, 0.0224453, 0.0224025, 0.02236, 0.0223176, 0.0222754, 0.0222335, 0.0221918, 0.0221502, 0.0221089, 0.0220677, 0.0220268, 0.021986, 0.0219455, 0.0219052, 0.021865, 0.021825, 0.0217853, 0.0217457, 0.0217063, 0.0216671, 0.0216281, 0.0215893, 0.0215506, 0.0215122, 0.0214739, 0.0214358, 0.0213979, 0.0213602, 0.0213226, 0.0212852, 0.0212481, 0.021211, 0.0211742, 0.0211375, 0.021101, 0.0210647, 0.0210286, 0.0209926, 0.0209568, 0.0209211, 0.0208856, 0.0208503, 0.0208152, 0.0207802, 0.0207454, 0.0207107, 0.0206762, 0.0206419, 0.0206077, 0.0205737, 0.0205398, 0.0205061, 0.0204726, 0.0204392, 0.0204059, 0.0203729, 0.0203399, 0.0203071, 0.0202745, 0.020242, 0.0202097, 0.0201775, 0.0201455, 0.0201136, 0.0200818, 0.0200502, 0.0200188, 0.0199875, 0.0199563, 0.0199253, 0.0198944, 0.0198637, 0.019833, 0.0198026, 0.0197722, 0.0197421, 0.019712, 0.0196821, 0.0196523, 0.0196226, 0.0195931, 0.0195637, 0.0195345, 0.0195054, 0.0194764, 0.0194475, 0.0194188, 0.0193902, 0.0193617, 0.0193333, 0.0193051, 0.019277, 0.019249, 0.0192212, 0.0191934, 0.0191658, 0.0191384, 0.019111, 0.0190837, 0.0190566, 0.0190296, 0.0190027, 0.018976, 0.0189493, 0.0189228, 0.0188964, 0.0188701, 0.0188439, 0.0188178, 0.0187919, 0.0187661, 0.0187403, 0.0187147, 0.0186892, 0.0186638, 0.0186385, 0.0186134, 0.0185883, 0.0185633, 0.0185385, 0.0185138, 0.0184891, 0.0184646, 0.0184402, 0.0184159, 0.0183917, 0.0183675, 0.0183435, 0.0183196, 0.0182958, 0.0182722, 0.0182486, 0.0182251, 0.0182017, 0.0181784, 0.0181552, 0.0181321, 0.0181091, 0.0180862, 0.0180634, 0.0180407, 0.0180181, 0.0179956, 0.0179732, 0.0179508, 0.0179286, 0.0179065, 0.0178845, 0.0178625, 0.0178407, 0.0178189, 0.0177972, 0.0177756, 0.0177542]\nAdjusted cost for backstop: [0.0560681, 0.0555241, 0.054987, 0.0544566, 0.0539328, 0.0534155, 0.0529047, 0.0524002, 0.0519019, 0.0514097, 0.0509237, 0.0504436, 0.0499693, 0.0495009, 0.0490382, 0.0485812, 0.0481297, 0.0476837, 0.0472431, 0.0468078, 0.0463778, 0.0459529, 0.0455332, 0.0451185, 0.0447087, 0.0443039, 0.0439038, 0.0435085, 0.0431179, 0.042732, 0.0423506, 0.0419737, 0.0416012, 0.0412331, 0.0408693, 0.0405098, 0.0401545, 0.0398033, 0.0394562, 0.0391131, 0.038774, 0.0384389, 0.0381075, 0.03778, 0.0374563, 0.0371363, 0.0368199, 0.0365071, 0.0361979, 0.0358922, 0.03559, 0.0352912, 0.0349958, 0.0347037, 0.0344149, 0.0341294, 0.033847, 0.0335678, 0.0332917, 0.0330187, 0.0327488, 0.0324818, 0.0322178, 0.0319567, 0.0316985, 0.0314431, 0.0311905, 0.0309407, 0.0306937, 0.0304493, 0.0302076, 0.0299685, 0.029732, 0.0294981, 0.0292667, 0.0290378, 0.0288113, 0.0285873, 0.0283657, 0.0281465, 0.0279296, 0.027715, 0.0275028, 0.0272927, 0.0270849, 0.0268793, 0.0266758, 0.0264745, 0.0262753, 0.0260782, 0.0258832, 0.0256902, 0.0254992, 0.0253102, 0.0251232, 0.0249381, 0.0247549, 0.0245736, 0.0243942, 0.0242166, 0.0240409, 0.0238669, 0.0236947, 0.0235243, 0.0233556, 0.0231887, 0.0230234, 0.0228598, 0.0226978, 0.0225375, 0.0223788, 0.0222217, 0.0220662, 0.0219122, 0.0217598, 0.0216088, 0.0214594, 0.0213115, 0.021165, 0.02102, 0.0208764, 0.0207342, 0.0205934, 0.020454, 0.020316, 0.0201793, 0.020044, 0.0199099, 0.0197772, 0.0196457, 0.0195156, 0.0193867, 0.019259, 0.0191325, 0.0190073, 0.0188833, 0.0187604, 0.0186388, 0.0185182, 0.0183989, 0.0182806, 0.0181635, 0.0180475, 0.0179326, 0.0178188, 0.017706, 0.0175943, 0.0174837, 0.0173741, 0.0172655, 0.0171579, 0.0170513, 0.0169457, 0.0168411, 0.0167374, 0.0166347, 0.016533, 0.0164322, 0.0163323, 0.0162333, 0.0161352, 0.0160381, 0.0159418, 0.0158463, 0.0157518, 0.0156581, 0.0155652, 0.0154732, 0.015382, 0.0152917, 0.0152021, 0.0151134, 0.0150254, 0.0149382, 0.0148518, 0.0147662, 0.0146813, 0.0145972, 0.0145138, 0.0144311, 0.0143492, 0.014268, 0.0141875, 0.0141077, 0.0140286, 0.0139503, 0.0138725, 0.0137955, 0.0137191, 0.0136434, 0.0135683, 0.0134939, 0.0134202, 0.013347, 0.0132745, 0.0132026, 0.0131313, 0.0130607, 0.0129906, 0.0129211, 0.0128522, 0.0127839, 0.0127162, 0.012649, 0.0125825, 0.0125164, 0.012451, 0.012386, 0.0123216, 0.0122578, 0.0121945, 0.0121317, 0.0120694, 0.0120077, 0.0119464, 0.0118857, 0.0118254, 0.0117657, 0.0117064, 0.0116477, 0.0115894, 0.0115316, 0.0114742, 0.0114173, 0.0113609, 0.011305, 0.0112495, 0.0111944, 0.0111398, 0.0110856, 0.0110319, 0.0109786, 0.0109257, 0.0108732, 0.0108212, 0.0107695, 0.0107183, 0.0106675, 0.0106171, 0.0105671, 0.0105175, 0.0104682, 0.0104194, 0.0103709, 0.0103229, 0.0102752, 0.0102278, 0.0101809, 0.0101343, 0.010088, 0.0100422, 0.00999664, 0.00995147, 0.00990664, 0.00986217, 0.00981803, 0.00977423, 0.00973077, 0.00968764, 0.00964484, 0.00960236, 0.00956021, 0.00951838, 0.00947686, 0.00943566, 0.00939477, 0.00935418, 0.0093139, 0.00927393, 0.00923425, 0.00919487, 0.00915579, 0.00911699, 0.00907849, 0.00904027, 0.00900234, 0.00896468, 0.0089273, 0.0088902, 0.00885338, 0.00881682, 0.00878053, 0.00874451, 0.00870875, 0.00867326, 0.00863802, 0.00860304, 0.00856831, 0.00853384, 0.00849961, 0.00846563, 0.0084319, 0.00839841, 0.00836516, 0.00833215, 0.00829938, 0.00826684, 0.00823453, 0.00820246, 0.00817061, 0.00813899, 0.00810759, 0.00807642, 0.00804547, 0.00801473, 0.00798421, 0.00795391, 0.00792382, 0.00789394, 0.00786427, 0.00783481, 0.00780556, 0.0077765, 0.00774765, 0.007719, 0.00769055, 0.0076623, 0.00763424, 0.00760637, 0.0075787, 0.00755122, 0.00752393, 0.00749682, 0.0074699, 0.00744316, 0.00741661, 0.00739023, 0.00736404, 0.00733802, 0.00731218, 0.00728652, 0.00726103, 0.00723571, 0.00721056, 0.00718558, 0.00716076, 0.00713612, 0.00711164, 0.00708732, 0.00706317, 0.00703917, 0.00701534, 0.00699166, 0.00696814, 0.00694478, 0.00692157, 0.00689851, 0.00687561, 0.00685286, 0.00683025, 0.0068078, 0.00678549, 0.00676333, 0.00674131, 0.00671943, 0.0066977, 0.00667611, 0.00665466, 0.00663334, 0.00661217, 0.00659113, 0.00657023, 0.00654946, 0.00652883, 0.00650833, 0.00648796, 0.00646772, 0.0064476, 0.00642762, 0.00640777, 0.00638804, 0.00636843, 0.00634895, 0.0063296, 0.00631036, 0.00629125, 0.00627226, 0.00625338, 0.00623463, 0.00621599, 0.00619747, 0.00617907, 0.00616078, 0.0061426, 0.00612454, 0.00610659, 0.00608875, 0.00607102, 0.0060534, 0.00603589, 0.00601849, 0.0060012, 0.00598401, 0.00596692, 0.00594995, 0.00593307, 0.0059163, 0.00589963, 0.00588306, 0.0058666, 0.00585023, 0.00583396, 0.0058178, 0.00580173, 0.00578575, 0.00576988, 0.00575409, 0.00573841, 0.00572281, 0.00570732, 0.00569191, 0.0056766, 0.00566137, 0.00564624, 0.0056312, 0.00561625, 0.00560139, 0.00558661, 0.00557192, 0.00555732, 0.00554281, 0.00552838, 0.00551403, 0.00549977, 0.0054856, 0.0054715, 0.00545749, 0.00544356, 0.00542972, 0.00541595, 0.00540226, 0.00538866, 0.00537513, 0.00536168, 0.00534831, 0.00533501, 0.0053218, 0.00530865, 0.00529559, 0.0052826, 0.00526968, 0.00525684, 0.00524407, 0.00523137, 0.00521875, 0.0052062, 0.00519372, 0.00518131, 0.00516897, 0.0051567, 0.0051445, 0.00513237, 0.00512031, 0.00510832, 0.00509639, 0.00508453, 0.00507274, 0.00506101, 0.00504935, 0.00503776, 0.00502623, 0.00501476, 0.00500336, 0.00499202, 0.00498074, 0.00496953, 0.00495838, 0.00494729, 0.00493626, 0.00492529, 0.00491438, 0.00490354, 0.00489275, 0.00488202, 0.00487135, 0.00486074, 0.00485019, 0.00483969, 0.00482925, 0.00481887, 0.00480855, 0.00479828, 0.00478807, 0.00477791, 0.00476781, 0.00475776, 0.00474776, 0.00473782, 0.00472794, 0.0047181, 0.00470832, 0.00469859, 0.00468892, 0.00467929, 0.00466972, 0.0046602, 0.00465073, 0.00464131, 0.00463194, 0.00462262, 0.00461334, 0.00460412, 0.00459495, 0.00458582, 0.00457675, 0.00456772, 0.00455873, 0.0045498, 0.00454091, 0.00453207, 0.00452328, 0.00451453, 0.00450583, 0.00449717, 0.00448855, 0.00447999, 0.00447146, 0.00446299, 0.00445455, 0.00444616, 0.00443781, 0.00442951, 0.00442124, 0.00441302, 0.00440485, 0.00439671, 0.00438862, 0.00438057, 0.00437256, 0.00436459, 0.00435666, 0.00434877, 0.00434092, 0.00433311, 0.00432535, 0.00431762, 0.00430993, 0.00430228, 0.00429466, 0.00428709, 0.00427956, 0.00427206, 0.0042646, 0.00425718, 0.00424979, 0.00424244, 0.00423513, 0.00422786, 0.00422062, 0.00421342, 0.00420625, 0.00419912, 0.00419203, 0.00418497, 0.00417795, 0.00417096, 0.004164, 0.00415708, 0.0041502, 0.00414335, 0.00413653, 0.00412974, 0.00412299, 0.00411627, 0.00410959, 0.00410294, 0.00409632, 0.00408973, 0.00408318, 0.00407665, 0.00407016, 0.0040637, 0.00405727, 0.00405088, 0.00404451, 0.00403818, 0.00403187, 0.0040256, 0.00401936, 0.00401314, 0.00400696, 0.00400081, 0.00399468, 0.00398859, 0.00398253, 0.00397649, 0.00397048, 0.00396451, 0.00395856, 0.00395264, 0.00394674, 0.00394088, 0.00393504, 0.00392923, 0.00392345, 0.0039177, 0.00391197, 0.00390627, 0.0039006, 0.00389495]\nExogenious forcing: [-0.06, -0.0564, -0.0528, -0.0492, -0.0456, -0.042, -0.0384, -0.0348, -0.0312, -0.0276, -0.024, -0.0204, -0.0168, -0.0132, -0.0096, -0.006, -0.0024, 0.0012, 0.0048, 0.0084, 0.012, 0.0156, 0.0192, 0.0228, 0.0264, 0.03, 0.0336, 0.0372, 0.0408, 0.0444, 0.048, 0.0516, 0.0552, 0.0588, 0.0624, 0.066, 0.0696, 0.0732, 0.0768, 0.0804, 0.084, 0.0876, 0.0912, 0.0948, 0.0984, 0.102, 0.1056, 0.1092, 0.1128, 0.1164, 0.12, 0.1236, 0.1272, 0.1308, 0.1344, 0.138, 0.1416, 0.1452, 0.1488, 0.1524, 0.156, 0.1596, 0.1632, 0.1668, 0.1704, 0.174, 0.1776, 0.1812, 0.1848, 0.1884, 0.192, 0.1956, 0.1992, 0.2028, 0.2064, 0.21, 0.2136, 0.2172, 0.2208, 0.2244, 0.228, 0.2316, 0.2352, 0.2388, 0.2424, 0.246, 0.2496, 0.2532, 0.2568, 0.2604, 0.264, 0.2676, 0.2712, 0.2748, 0.2784, 0.282, 0.2856, 0.2892, 0.2928, 0.2964, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36, 0.36]\nFraction of emissions in control regime: [0.25372, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]"
    end
end

#Use same limits for RR case for simplicity
μ_ubound = [if t < 30 1.0 else vanilla_opt.limμ*vanilla_params.partfract[t] end for t in 1:vanilla_opt.N];
vanilla_vars = DICE.model_vars(v2013R(), model, vanilla_opt.N, vanilla_opt.fosslim, μ_ubound, vanilla_params.cpricebase);
rr_vars = DICE.model_vars(v2013R(RockyRoad), modelrr, vanilla_opt.N, vanilla_opt.fosslim, μ_ubound, fill(Inf, vanilla_opt.N));

vanilla_eqs = DICE.model_eqs(model, vanilla_opt, vanilla_params, vanilla_vars);
rr_eqs = DICE.model_eqs(modelrr, rr_opt, rr_params, rr_vars);

v2016_vars = DICE.model_vars(v2016R(), model2016, v2016_opt.N, v2016_opt.fosslim, [if t < 30 1.0 else v2016_opt.limμ end for t in 1:v2016_opt.N], fill(Inf, v2016_opt.N));
v2016_eqs = DICE.model_eqs(model2016, v2016_opt, v2016_params, v2016_vars);
@testset "Model Construction" begin
    @testset "Variables" begin
        @test typeof(vanilla_vars) <: DICE.VariablesV2013
        @test typeof(rr_vars) <: DICE.VariablesV2013
        @test supertype(typeof(vanilla_vars)) == supertype(typeof(rr_vars))
        @test typeof(v2016_vars) <: DICE.VariablesV2016
        @test all(x->supertype(typeof(x)) <: DICE.Variables, [vanilla_vars,rr_vars,v2016_vars])
    end
    @testset "Equations" begin
        @test typeof(vanilla_eqs) <: DICE.VanillaEquations
        @test typeof(rr_eqs) <: DICE.RockyRoadEquations
        @test supertype(typeof(vanilla_eqs)) == supertype(typeof(rr_eqs))
        @test typeof(v2016_eqs) <: DICE.EquationsV2016
        @test all(x->supertype(typeof(x)) <: DICE.Equations, [vanilla_eqs,rr_eqs,v2016_eqs])
    end
    @testset "Scenarios" begin
        @testset "2013R (Vanilla)" begin
            @test DICE.assign_scenario(BasePrice, vanilla_opt, vanilla_params) == vanilla_params.cpricebase
            vanilla_optimal_price = DICE.assign_scenario(OptimalPrice, vanilla_opt, vanilla_params);
            @test all(x->(vanilla_optimal_price[x] ≈ 1000.0), Int(vanilla_opt.tnopol+1):vanilla_opt.N)
        end
        @testset "2013R (Rocky Road)" begin
            DICE.assign_scenario(BasePrice, modelrr, rr_opt, rr_params, rr_vars);
            @test all(x->isfinite.(JuMP.getupperbound(rr_vars.CPRICE)[x]), 1:Int(rr_opt.tnopol))
            DICE.assign_scenario(OptimalPrice, modelrr, rr_opt, rr_params, rr_vars);
            @test JuMP.getupperbound(rr_vars.μ[1]) == rr_opt.μ₀
            DICE.assign_scenario(Limit2Degrees, modelrr, rr_opt, rr_params, rr_vars);
            @test JuMP.getupperbound(rr_vars.Tₐₜ[1]) ≈ 2.0
            DICE.assign_scenario(Stern, modelrr, rr_opt, rr_params, rr_vars);
            @test JuMP.getvalue(rr_params.α) ≈ 1.01
            DICE.assign_scenario(SternCalibrated, modelrr, rr_opt, rr_params, rr_vars);
            @test JuMP.getvalue(rr_params.α) ≈ 2.1
            DICE.assign_scenario(Copenhagen, modelrr, rr_opt, rr_params, rr_vars);
            @test JuMP.getvalue(rr_params.partfract[2]) ≈ 0.390423082
            @test JuMP.getlowerbound(rr_vars.μ[3]) ≈ 0.110937151
            @test JuMP.getupperbound(rr_vars.μ[3]) ≈ 0.110937151
        end
        @testset "2016R beta" begin
            DICE.assign_scenario(BasePrice, model2016, v2016_opt, v2016_params, v2016_vars);
            @test all(x->isfinite.(JuMP.getupperbound(v2016_vars.CPRICE)[x]), 1:Int(v2016_opt.tnopol))
            DICE.assign_scenario(OptimalPrice, model2016, v2016_opt, v2016_params, v2016_vars);
            @test JuMP.getupperbound(v2016_vars.μ[1]) == v2016_opt.μ₀
        end
    end
    @testset "Invalid Scenarios" begin
        @test_throws ErrorException solve(Limit2Degrees, v2013R())
        @test_throws ErrorException solve(Stern, v2013R())
        @test_throws ErrorException solve(SternCalibrated, v2013R())
        @test_throws ErrorException solve(Copenhagen, v2013R())
        @test_throws ErrorException solve(Limit2Degrees, v2016R())
        @test_throws ErrorException solve(Stern, v2016R())
        @test_throws ErrorException solve(SternCalibrated, v2016R())
        @test_throws ErrorException solve(Copenhagen, v2016R())
    end
end

# Optimisation tests.
base = solve(BasePrice, v2013R(), solver = ipopt);
@testset "Utility" begin
    @testset "2013R (Vanilla)" begin
        @test base.results.UTILITY ≈ 2670.2779245830334
        result = solve(OptimalPrice, v2013R(), solver = ipopt);
        #For some unknown reason, the optimal solution becomes infeasable on travis.
        # See issue #8.
        if get(ENV, "TRAVIS", "false") == "true"
            @test_broken result.results.UTILITY ≈ 2690.244712873159
        else
            @test result.results.UTILITY ≈ 2690.244712873159
        end
    end
    @testset "2013R (RockyRoad)" begin
        #NOTE: None of these values have been verified yet.
        # See issue #3. Have set some to broken to remember this.
        result = solve(BasePrice, v2013R(RockyRoad), solver = ipopt);
        @test result.results.UTILITY ≈ 2670.362568216809
        result = solve(OptimalPrice, v2013R(RockyRoad), solver = ipopt);
        @test result.results.UTILITY ≈ 2741.230618094657
        result = solve(Limit2Degrees, v2013R(RockyRoad), solver = ipopt);
        @test result.results.UTILITY ≈ 2695.487309594252
        result = solve(Stern, v2013R(RockyRoad), solver = ipopt);
        @test result.results.UTILITY ≈ 124390.42213103821
        result = solve(SternCalibrated, v2013R(RockyRoad), solver = ipopt);
        @test_broken result.results.UTILITY ≈ 9001.0
        result = solve(Copenhagen, v2013R(RockyRoad), solver = ipopt);
        @test result.results.UTILITY ≈ 2725.414606616763
    end
    @testset "2016R beta" begin
        result = solve(BasePrice, v2016R(), solver = ipopt);
        @test result.results.UTILITY ≈ 4493.8420532623495
        result = solve(OptimalPrice, v2016R(), solver = ipopt);
        @test result.results.UTILITY ≈ 4522.257183520258
    end
end

#Show model
@testset "Display" begin
    @test sprint(show, "text/plain", base) == "Base (current policy) carbon price scenario using v2013R (Vanilla flavour).\nMaximization problem with:\n * 731 linear constraints\n * 240 quadratic constraints\n * 479 nonlinear constraints\n * 1561 variables\nSolver is Ipopt"
end
