- Index
- » Users
- » Matveev.Vitaliy
- » Profile
Posts
Posts
Page Start Prev 1 Next End
Thanks a lot!!!
Everything works as at the picture http://dev.openmodelica.org/~marsj/forums/vanderpol.png
Only one question remains - How can I link a picture to my post?
Thanks a lot, BUT the result is not as it is expected
Code:
model VanderPol "Van der Pol oscilator model"
Real x(start = 1) "Descriptive string for x";
// x starts at 1
Real y(start = 1) "Descriptive string for y";
// y starts at 1
parameter Real lambda = 0.3;
equation
der(x) = y;
// this is the first equation
der(y) = -x + lambda * (1 - x * x) * y;
/*The 2nd differencial equation*/
end VanderPol;
And after that book says that I should type the following:
Code:
simulate (VanderPol, stoptime=25)
plotParametric(x,y, stoptime=25)
and get some kind of spiraloid. Insead of that I get only a simple plot. Iа I change the time of simulation, nothing happens.
Hello everybody!
I have a problem with command
Code:
plotParametric
:
Code:
lotParametric(x,y, stoptime=25)
Error: Class plotParametric not found in scope <global scope> (looking for a function or record).
Page Start Prev 1 Next End
- Index
- » Users
- » Matveev.Vitaliy
- » Profile