aboutsummaryrefslogtreecommitdiffstats
path: root/examples/von_bertalanffy_organism_growth/model.modelica
diff options
context:
space:
mode:
Diffstat (limited to 'examples/von_bertalanffy_organism_growth/model.modelica')
-rw-r--r--examples/von_bertalanffy_organism_growth/model.modelica8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/von_bertalanffy_organism_growth/model.modelica b/examples/von_bertalanffy_organism_growth/model.modelica
new file mode 100644
index 0000000..afc6f7f
--- /dev/null
+++ b/examples/von_bertalanffy_organism_growth/model.modelica
@@ -0,0 +1,8 @@
+model VonBertalanffyGrowth
+ "Rate-of-growth model for biological organisms"
+ parameter Real K "growth rate";
+ parameter Real L "asymptotic final length (L infinity)";
+ Real l "length";
+equation
+ der(l) = K * (L - l);
+end VonBertalanffyGrowth;