aboutsummaryrefslogtreecommitdiffstats
path: root/examples/von_bertalanffy_organism_growth/model.modelica
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-01-16 16:24:09 -0800
committerbnewbold <bnewbold@robocracy.org>2017-01-16 16:28:35 -0800
commit6c9ec4f093ecfa48fe3a4a3fa99de16c5676d7dc (patch)
tree09402fb4b41e36473bba33ca1604a07d0d2c6ea3 /examples/von_bertalanffy_organism_growth/model.modelica
parent6ab08f6b19734ac925ab9cafd567cb2f7735af6b (diff)
downloadmodelthing-6c9ec4f093ecfa48fe3a4a3fa99de16c5676d7dc.tar.gz
modelthing-6c9ec4f093ecfa48fe3a4a3fa99de16c5676d7dc.zip
update remaining models
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;