Skip to content

Commit

Permalink
Fix values of yearly variables
Browse files Browse the repository at this point in the history
Related to #59
  • Loading branch information
paulobruno committed Sep 27, 2022
1 parent ddfcf10 commit 56f44a0
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
26 changes: 13 additions & 13 deletions src/World3/population/pop1/plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ function variables_c()
@named br = birth_rate()

variables = [
(br.tf, 0, 15, "tf"),
(br.mtf, 0, 15, "mtf"),
(br.dtf, 0, 15, "dtf"),
(br.dcfs, 0, 15, "dcfs"),
(br.frsn, 0.6, 1.4, "frsn"),
(br.sfsn, 0.75, 1.25, "sfsn"),
(br.cmple, 1, 4, "cmple"),
(br.tf, 0, 15, "tf"),
(br.mtf, 0, 15, "mtf"),
(br.dtf, 0, 15, "dtf"),
(br.dcfs, 0, 15, "dcfs"),
(br.frsn, 0.6, 1.4, "frsn"),
(br.sfsn, 0.75, 1.25, "sfsn"),
(br.cmple, 1, 4, "cmple"),
]

return variables
Expand Down Expand Up @@ -108,7 +108,7 @@ fig_93() = plotvariables(historicalrunsolution(), (t, 1900, 2100), variables_c()

function fig_96()
parameters_2_96 = getparameters()
parameters_2_96[:fcest] = 75
parameters_2_96[:fcest] = 1975

system = historicalrun(params=parameters_2_96)
solution = solve(system, (1900, 2100))
Expand All @@ -118,8 +118,8 @@ end

function fig_97()
parameters_2_97 = getparameters()
parameters_2_97[:fcest] = 75
parameters_2_97[:zpgt] = 75
parameters_2_97[:fcest] = 1975
parameters_2_97[:zpgt] = 1975

system = historicalrun(params=parameters_2_97)
solution = solve(system, (1900, 2100))
Expand All @@ -140,7 +140,7 @@ end
function fig_99()
parameters_2_99 = getparameters()
parameters_2_99[:lt] = 2000
parameters_2_99[:fcest] = 75
parameters_2_99[:fcest] = 1975

system = historicalrun(params=parameters_2_99)
solution = solve(system, (1900, 2100))
Expand All @@ -151,8 +151,8 @@ end
function fig_100()
parameters_2_100 = getparameters()
parameters_2_100[:lt] = 2000
parameters_2_100[:fcest] = 75
parameters_2_100[:zpgt] = 75
parameters_2_100[:fcest] = 1975
parameters_2_100[:zpgt] = 1975

system = historicalrun(params=parameters_2_100)
solution = solve(system, (1900, 2100))
Expand Down
26 changes: 13 additions & 13 deletions src/World3/population/pop15/plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ function variables_c()
@named br = birth_rate()

variables = [
(br.tf, 0, 15, "tf"),
(br.mtf, 0, 15, "mtf"),
(br.dtf, 0, 15, "dtf"),
(br.dcfs, 0, 15, "dcfs"),
(br.frsn, 0.6, 1.4, "frsn"),
(br.sfsn, 0.75, 1.25, "sfsn"),
(br.cmple, 1, 4, "cmple"),
(br.tf, 0, 15, "tf"),
(br.mtf, 0, 15, "mtf"),
(br.dtf, 0, 15, "dtf"),
(br.dcfs, 0, 15, "dcfs"),
(br.frsn, 0.6, 1.4, "frsn"),
(br.sfsn, 0.75, 1.25, "sfsn"),
(br.cmple, 1, 4, "cmple"),
]

return variables
Expand Down Expand Up @@ -133,7 +133,7 @@ fig_94c() = plotvariables(fig94solution(), (t, 1900, 2100), variables_c(); title

function fig_96()
parameters_2_96 = getparameters()
parameters_2_96[:fcest] = 75
parameters_2_96[:fcest] = 1975

system = historicalrun(params=parameters_2_96)
solution = solve(system, (1900, 2100))
Expand All @@ -143,8 +143,8 @@ end

function fig_97()
parameters_2_97 = getparameters()
parameters_2_97[:fcest] = 75
parameters_2_97[:zpgt] = 75
parameters_2_97[:fcest] = 1975
parameters_2_97[:zpgt] = 1975

system = historicalrun(params=parameters_2_97)
solution = solve(system, (1900, 2100))
Expand All @@ -165,7 +165,7 @@ end
function fig_99()
parameters_2_99 = getparameters()
parameters_2_99[:lt] = 2000
parameters_2_99[:fcest] = 75
parameters_2_99[:fcest] = 1975

system = historicalrun(params=parameters_2_99)
solution = solve(system, (1900, 2100))
Expand All @@ -176,8 +176,8 @@ end
function fig_100()
parameters_2_100 = getparameters()
parameters_2_100[:lt] = 2000
parameters_2_100[:fcest] = 75
parameters_2_100[:zpgt] = 75
parameters_2_100[:fcest] = 1975
parameters_2_100[:zpgt] = 1975

system = historicalrun(params=parameters_2_100)
solution = solve(system, (1900, 2100))
Expand Down
26 changes: 13 additions & 13 deletions src/World3/population/pop4/plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ function variables_c()
@named br = birth_rate()

variables = [
(br.tf, 0, 15, "tf"),
(br.mtf, 0, 15, "mtf"),
(br.dtf, 0, 15, "dtf"),
(br.dcfs, 0, 15, "dcfs"),
(br.frsn, 0.6, 1.4, "frsn"),
(br.sfsn, 0.75, 1.25, "sfsn"),
(br.cmple, 1, 4, "cmple"),
(br.tf, 0, 15, "tf"),
(br.mtf, 0, 15, "mtf"),
(br.dtf, 0, 15, "dtf"),
(br.dcfs, 0, 15, "dcfs"),
(br.frsn, 0.6, 1.4, "frsn"),
(br.sfsn, 0.75, 1.25, "sfsn"),
(br.cmple, 1, 4, "cmple"),
]

return variables
Expand Down Expand Up @@ -112,7 +112,7 @@ fig_93() = plotvariables(historicalrunsolution(), (t, 1900, 2100), variables_c()

function fig_96()
parameters_2_96 = getparameters()
parameters_2_96[:fcest] = 75
parameters_2_96[:fcest] = 1975

system = historicalrun(params=parameters_2_96)
solution = solve(system, (1900, 2100))
Expand All @@ -122,8 +122,8 @@ end

function fig_97()
parameters_2_97 = getparameters()
parameters_2_97[:fcest] = 75
parameters_2_97[:zpgt] = 75
parameters_2_97[:fcest] = 1975
parameters_2_97[:zpgt] = 1975

system = historicalrun(params=parameters_2_97)
solution = solve(system, (1900, 2100))
Expand All @@ -144,7 +144,7 @@ end
function fig_99()
parameters_2_99 = getparameters()
parameters_2_99[:lt] = 2000
parameters_2_99[:fcest] = 75
parameters_2_99[:fcest] = 1975

system = historicalrun(params=parameters_2_99)
solution = solve(system, (1900, 2100))
Expand All @@ -155,8 +155,8 @@ end
function fig_100()
parameters_2_100 = getparameters()
parameters_2_100[:lt] = 2000
parameters_2_100[:fcest] = 75
parameters_2_100[:zpgt] = 75
parameters_2_100[:fcest] = 1975
parameters_2_100[:zpgt] = 1975

system = historicalrun(params=parameters_2_100)
solution = solve(system, (1900, 2100))
Expand Down

0 comments on commit 56f44a0

Please sign in to comment.