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
  • » tplehn
  • » Profile

Posts

Posts

Hello,
I have tried different sets of parameters for the same model. If I change the parameters in OMEdit and start the simulation, everything works fine. But if I use the executable compiled from an earlier run of the same simulation with different parameters, chanage the init.txt file at the corresponding place and run the precompiled simulation program, this does not alway work, even if this set of parameters was tested successfully with omedit.
Is there somthing, wich is different in the compiled exe file with different pramaters, are there hard-coded parameters? I thougt the exe would remein the same and only the init.txt file would change.

Jan-14-11 19:14:24
encountered with multibody model

I encountered the above mentioned message with a large multibody model in OmEdit. The simulation seems to take a long time and after a few minutes, connection to server is lost. OMEdit then automatically exits.

Jan-12-11 19:33:57
i am in the process of learning modelica and tried some simple models.

when I am trying to compile some of the examples of multibody in the modelica standard library 3.1, espacially mechanics/multibody/examples/elementary/SpringWithMass,
modelica calculates for a long time, and the message written to log is: system is singular at time t=0.0000, stopped after 50000 iterations.
the same message is shown, if i compile some of my own models, however i do not know which should be the reason for a singularity especially in a model which was supplied by the developers of open modelica

Jan-12-11 12:58:34
i am in the process of learning modelica and tried some simple models.

hello,
does anyone have a suggestion, why the following model iterates without finding a solution, even if it is validated successfully?

model try
  inner Modelica.Mechanics.MultiBody.World world annotation(Placement(visible = true, transformation(origin = {-71.5,15.5}, extent = {{-9.31382,-9.31382},{9.31382,9.31382}}, rotation = 0)));
  Modelica.Mechanics.MultiBody.Forces.Spring spring1(c = 100, s_unstretched = 20) annotation(Placement(visible = true, transformation(origin = {-22.5,15.5}, extent = {{-15,-15},{15,15}}, rotation = 0)));
  Modelica.Mechanics.MultiBody.Parts.PointMass pointmass1(m = 100) annotation(Placement(visible = true, transformation(origin = {16,15}, extent = {{-12.3967,-12.3967},{12.3967,12.3967}}, rotation = 0)));
  Modelica.Mechanics.MultiBody.Forces.WorldForce worldforce1 annotation(Placement(visible = true, transformation(origin = {-9.5,65.5}, extent = {{-15,-15},{15,15}}, rotation = 0)));
  Modelica.Blocks.Sources.Constant[3] constant1(k = {10,0,0}) annotation(Placement(visible = true, transformation(origin = {-71.5,80}, extent = {{10.1526,10.1526},{-10.1526,-10.1526}}, rotation = -180)));

equation
  connect(constant1.y,worldforce1.force) annotation(Line(points = {{-82.6678,80},{-29.5,80},{-29.5,65.5},{-27.5,65.5}}));
  connect(pointmass1.frame_a,worldforce1.frame_b) annotation(Line(points = {{16,15},{16.5,15},{16.5,65.5},{5.5,65.5}}));
  connect(spring1.frame_b,pointmass1.frame_a) annotation(Line(points = {{-7.5,15.5},{15.5,15.5},{15.5,15},{16,15}}));
  connect(spring1.frame_a,world.frame_b) annotation(Line(points = {{-37.5,15.5},{-56.5,15.5},{-56.5,15.5},{-62.1862,15.5}}));
end try;

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