From fdebceb92fe819cdcfeb9c1288102f3b97ab3ff6 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 16 Sep 2016 20:45:22 -0700 Subject: update format of initial examples --- examples/lotka_volterra/model.modelica | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/lotka_volterra/model.modelica (limited to 'examples/lotka_volterra/model.modelica') 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; -- cgit v1.2.3