Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » rayj
  • » Profile

Posts

Posts

Feb-11-11 03:04:57
Problem running an example for the user guide. OMNotebook won't run.

Thank you.  I used stoptime and it works. 

The example came right out of the user guide.  Please suggest how I might provide feedback so this may be addressed by the authors.

With appreciation,
ray

Feb-10-11 21:16:54
Problem running an example for the user guide. OMNotebook won't run.

I am having difficulty with running an example on my HP notebook with Windows XP, the latest Modelica, and OMNotebook.

I am going through the user manual and I have input the bouncing ball model:
model BouncingBall
parameter Real e=0.7 "coefficient of restitution";
...<snip>
reinit(v, v_new);
end when;
end BouncingBall;

And saved it in a folder 'My exercizes' where I have stored and executed other examples.  This folder is at the same level as bin and lib. 

When I try to run:
simulate(BouncingBall, start=0, end=5s);
I get:
[<interactive>:1:0-1:7:writable] Error: Parser error: Unexpected token near: simulate (IDENT)

From this description, what process should I go through to identify the problem?

Thanks,
ray

  • Index
  • » Users
  • » rayj
  • » Profile
You are here: