From 4fd86a3325762b40962fe10301f8ce93ac99071a Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 29 Nov 2016 23:23:24 -0800 Subject: more examples (fixed syntax) --- examples/von_bertalanffy/model.modelica | 7 +++++++ examples/von_bertalanffy/page.md | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 examples/von_bertalanffy/model.modelica create mode 100644 examples/von_bertalanffy/page.md (limited to 'examples/von_bertalanffy') 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)) -- cgit v1.2.3