diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-09-16 20:32:37 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-09-16 20:32:37 -0700 |
commit | 7b29df28d3fd18cf6118862ef0cc2a88c1e3c803 (patch) | |
tree | 59e7f9b1475ba96b42071ff02d6959c306d065b0 /examples/lotka_volterra | |
parent | 3009a97b2c5d6f3484a0f7801c0122d255de6e5e (diff) | |
download | modelthing-7b29df28d3fd18cf6118862ef0cc2a88c1e3c803.tar.gz modelthing-7b29df28d3fd18cf6118862ef0cc2a88c1e3c803.zip |
move files around
Diffstat (limited to 'examples/lotka_volterra')
-rw-r--r-- | examples/lotka_volterra/metadata.toml | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/examples/lotka_volterra/metadata.toml b/examples/lotka_volterra/metadata.toml new file mode 100644 index 0000000..7d2cf0d --- /dev/null +++ b/examples/lotka_volterra/metadata.toml @@ -0,0 +1,63 @@ + +[model] +name-en = "Lotka–Volterra equations" +descrption-en = "Predator-Prey Model" +sexprs = [''' + (= + (partial-derivative x t) + (- (* alpha x) + (* beta x y))) + ''',''' + (= + (partial-derivative y t) + (- (* delta x y) + (* gamma y))) + '''] + +[variables] + + [variables.t] + type = 'time' # or "independent"? + + [variables.x] + type = 'state' + + [variables.y] + type = 'state' + + [variables.alpha] + type = 'parameter' + latex = '\alpha' + unicode = 'α' + + [variables.beta] + type = 'parameter' + latex = '\beta' + unicode = 'β' + + [variables.delta] + type = 'parameter' + latex = '\delta' + unicode = 'δ' + + [variables.gamma] + type = 'parameter' + latex = '\gamma' + unicode = 'γ' + +[examples] + + [examples.mathworld] + x = 10 + y = 5 + alpha = 1.5 + beta = 1 + gamma = 1 + t = [0, 20] + +[references] + + [references.url] + "Mathworld" = "http://mathworld.wolfram.com/Lotka-VolterraEquations.html" + "Wikipedia" = "https://en.wikipedia.org/wiki/Lotka%E2%80%93Volterra_equations" + |