From 6c9ec4f093ecfa48fe3a4a3fa99de16c5676d7dc Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 16 Jan 2017 16:24:09 -0800 Subject: update remaining models --- examples/van_der_pol_oscillator/model.modelica | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/van_der_pol_oscillator/model.modelica (limited to 'examples/van_der_pol_oscillator/model.modelica') diff --git a/examples/van_der_pol_oscillator/model.modelica b/examples/van_der_pol_oscillator/model.modelica new file mode 100644 index 0000000..c1aa99b --- /dev/null +++ b/examples/van_der_pol_oscillator/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; -- cgit v1.2.3