aboutsummaryrefslogtreecommitdiffstats
path: root/examples/van_der_pol_oscillator/model.modelica
blob: c1aa99bffbc795c4b2c208e179663c8732a11be2 (plain)
1
2
3
4
5
6
7
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;