aboutsummaryrefslogtreecommitdiffstats
path: root/examples/von_bertalanffy
diff options
context:
space:
mode:
Diffstat (limited to 'examples/von_bertalanffy')
-rw-r--r--examples/von_bertalanffy/model.modelica7
-rw-r--r--examples/von_bertalanffy/page.md5
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/von_bertalanffy/model.modelica b/examples/von_bertalanffy/model.modelica
new file mode 100644
index 0000000..4eb45f6
--- /dev/null
+++ b/examples/von_bertalanffy/model.modelica
@@ -0,0 +1,7 @@
+model VonBertalanffyGrowth
+ parameter Real K "growth rate";
+ parameter Real L "asymptotic final size";
+ Real l "length";
+equation
+ der(l) = K * (L - l);
+end VonBertalanffyGrowth;
diff --git a/examples/von_bertalanffy/page.md b/examples/von_bertalanffy/page.md
new file mode 100644
index 0000000..ea6e9f1
--- /dev/null
+++ b/examples/von_bertalanffy/page.md
@@ -0,0 +1,5 @@
+
+
+An alternative/solve variant is:
+
+ l = L * (1 - e^(-K * t))