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

Another infinite simulation time

Another infinite simulation time

Hi,

I am trying to simulate a system that is able to harvest energy from a rotating device.
The model is a double pendulum with an ac generator attached via the generator chasis to the second joint of the pedulum.
On the generator axel there is a 5 kg mass attached, to counter the motion of the double pendulum.
The output of the generator is attached to a full wave rectifier to convert the AC output of the generator to a DC.
Link to the model code is provided here: https://docs.google.com/folder/d/0B-y_X … ZlMXc/edit

The problem is that the model hangs infinite when I try to simulate it e.g. when I set simulation time > 0.3s.
Can anybody help me with why the simulation hangs?


I think the problem might be related to https://trac.openmodelica.org/OpenModelica/ticket/1866.


Hope someone can help with this issue.

/Klaus

Re: Another infinite simulation time

Hi again,


Ok now I have tried to enter the magic stopTime = 5s, then the simulation works.
Weird though because it does not work for stopTime = 4s and stopTime = 6s

/Klaus

There are 0 guests and 0 other users also viewing this topic
You are here: