Skip to content

Commit

Permalink
Merge pull request #159 from worlddynamics/dev
Browse files Browse the repository at this point in the history
Prepare 0.4.1 release
  • Loading branch information
natema authored Nov 8, 2022
2 parents 7b2e86f + 6dfd4b9 commit 821c5c8
Show file tree
Hide file tree
Showing 30 changed files with 876 additions and 13 deletions.
13 changes: 13 additions & 0 deletions src/World1/World1.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module World1

using WorldDynamics
using ModelingToolkit

include("world1/tables.jl")
include("world1/parameters.jl")
include("world1/initialisations.jl")
include("world1/subsystems.jl")
include("world1/scenarios.jl")
include("world1/plots.jl")

end
9 changes: 9 additions & 0 deletions src/World1/world1/initialisations.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_inits = Dict{Symbol, Float64}(
:pop => 1.65e9,
:nr => 900e9,
:ci => 0.4e9,
:pol => 0.2e9,
:ciaf => 0.5,
)

getinitialisations() = copy(_inits)
18 changes: 18 additions & 0 deletions src/World1/world1/parameters.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
_params = Dict{Symbol, Float64}(
:brn => 0.045,
:brms => 1.0,
:msln => 1.0,
:nrun => 1.0,
:drn => 0.025,
:drms => 1.0,
:la => 135e6,
:pdn => 265,
:cigc => 1.0,
:cidn => 0.025,
:pols => 3.6e9,
:poln => 1.0,
:ciaft => 30.0,
:qls => 1.0,
)

getparameters() = copy(_params)
Loading

0 comments on commit 821c5c8

Please sign in to comment.