<simulation>
<header>
<title lang="english">Damped Oscillator</title>
<title>Oscillateur amorti</title>
<title lang="spanish">Oscilación amortizada</title>
<author>Stéphane Mottelet, Guillaume Barbaud</author>
<keywords>simulation,scilab,xml</keywords>
<keywords lang="spanish">Simulación , Scilab, XML</keywords>
</header>
<notes>
<p>Une simulation très simple montrant la solution d'une équation différentielle linéaire
d'ordre 2 à coefficients constants, modélisant un oscillateur linéaire.
</p>
</notes>
<notes lang="english">
<p>A very simple simulation showing the solution of a second order linear ordinary differential
equation with constant coefficients, modelling a linear oscillator.
</p>
</notes>
<notes lang="spanish">
<p>Una simulacion muy sencilla que da la solucion de una ecuacion diferencial lineal de orden 2 con coeficientes constantes, modelizando un oscilador linear</p>
</notes>
<parameters><section>
<title lang="english">Parameters of the oscillator</title>
<title>Paramètres de l'oscillateur</title>
<title lang="spanish">Parámetros del oscilador</title>
<scalar increment="0.1" label="stiffness" max="5" min="0"><name lang="english">Stiffness Constant</name><name>Constante de raideur</name><name lang="spanish">Constante de rigidez</name><value>0.5</value></scalar>
<scalar increment="0.001" label="damping" max="0.2" min="0"><name lang="english">Damping factor</name><name>Coefficient de frottement</name><name lang="spanish">Coeficiente de roce</name><value>0</value></scalar>
<scalar increment="0.01" label="mass" max="1" min="0.1"><name lang="english">Mass</name><name>Masse</name><name lang="spanish">Masa</name><value>0.1</value></scalar>
</section></parameters>
<compute>
<defdomain1d label="t">
<name lang="english">Time</name>
<name>Temps</name>
<name lang="spanish">Tiempo</name>
<interval steps="256">
<initialvalue>0</initialvalue>
<finalvalue>10</finalvalue>
</interval>
</defdomain1d>
<ode label="ode1">
<refdomain1d ref="t" />
<states>
<state label="x">
<name>Position</name>
<name lang="english">Position</name>
<name lang="spanish">Posición</name>
<derivative>xpoint</derivative>
<initialcondition>0.1</initialcondition>
</state>
<state label="xpoint">
<name>Vitesse</name>
<name lang="english">Velocity</name>
<name lang="spanish">Velocidad</name>
<derivative>-stiffness/mass*x-damping/mass*xpoint</derivative>
<initialcondition>0</initialcondition>
</state>
</states>
</ode>
</compute>
<graphs />
<display>
<window>
<axis2d xmax="10" xmin="0" ymax="0.1" ymin="-0.1">
<drawcurve2d ref="x" />
</axis2d>
</window>
</display>
</simulation>