aboutsummaryrefslogtreecommitdiffstats
path: root/examples/van_der_pol/model.modelica
diff options
context:
space:
mode:
Diffstat (limited to 'examples/van_der_pol/model.modelica')
-rw-r--r--examples/van_der_pol/model.modelica8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/van_der_pol/model.modelica b/examples/van_der_pol/model.modelica
new file mode 100644
index 0000000..c1aa99b
--- /dev/null
+++ b/examples/van_der_pol/model.modelica
@@ -0,0 +1,8 @@
+model VanDerPolOscillator
+ parameter Real mu "dampening strength";
+ Real x;
+ Real y;
+equation
+ der(x) = y;
+ der(y) = mu * y * (1 - x^2) - x;
+end VanDerPolOscillator;