diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-09-16 20:45:22 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-09-16 20:45:22 -0700 |
commit | fdebceb92fe819cdcfeb9c1288102f3b97ab3ff6 (patch) | |
tree | fde73c0ddf13becc2dc686c6703e34ad69785cef /examples/lotka_volterra/model.modelica | |
parent | 7b29df28d3fd18cf6118862ef0cc2a88c1e3c803 (diff) | |
download | modelthing-fdebceb92fe819cdcfeb9c1288102f3b97ab3ff6.tar.gz modelthing-fdebceb92fe819cdcfeb9c1288102f3b97ab3ff6.zip |
update format of initial examples
Diffstat (limited to 'examples/lotka_volterra/model.modelica')
-rw-r--r-- | examples/lotka_volterra/model.modelica | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/lotka_volterra/model.modelica b/examples/lotka_volterra/model.modelica new file mode 100644 index 0000000..6f011a2 --- /dev/null +++ b/examples/lotka_volterra/model.modelica @@ -0,0 +1,11 @@ +model LotkaVolterra + parameter Real alpha; + parameter Real beta; + parameter Real delta; + parameter Real gamma; + Real x; + Real y; +equation + der(x) = (alpha * x) - (beta * x * y) + der(y) = (delta * x * y) - (gamma * y) +end LotkaVolterra; |