- Index
- » Users
- » galileog
- » Profile
Posts
Posts
Dear Mr Adrian Pop:
I started using this editor with the following example of an RL circuit
http://yma7xa.bay.livefilestore.com/y1p … png?psid=1
and the simulation of it was
http://yma7xa.bay.livefilestore.com/y1p … png?psid=1
the same simulation with Shell OpenModelica us results in a zero current at the beginning.
Which the reason for this difference in response?
Yours sincerely,
Eduardo Ghershman
Estimated OpenModelica Forum
I performed the following simulation,
http://ymauxa.bay.livefilestore.com/y1p … png?psid=1
corresponding to the picture below,
http://ymauxa.bay.livefilestore.com/y1p … png?psid=1
the code is,
model mecanico4
Modelica.Mechanics.Translational.Fixed fixed1 ;
Modelica.Mechanics.Translational.Fixed fixed2 ;
Modelica.Mechanics.Translational.SlidingMass slidingMass1(L=0, s(start=0.1));
Modelica.Mechanics.Translational.SlidingMass slidingMass2(L=0, s(start=0.6));
Modelica.Mechanics.Translational.Spring spring1 (c=1000) ;
Modelica.Mechanics.Translational.Spring spring2 (c=15);
Modelica.Mechanics.Translational.Spring spring3 (c=1000) ;
equation
connect(spring1.flange_b,fixed1.flange_b) ;
connect(slidingMass1.flange_b,spring1.flange_a) ;
connect(slidingMass1.flange_a,spring2.flange_b) ;
connect(slidingMass2.flange_b,spring2.flange_a) ;
connect(slidingMass2.flange_a,spring3.flange_b) ;
connect(spring3.flange_a,fixed2.flange_b) ;
end mecanico4;
if I make the simulation for 10 seconds, the graph is,
http://ymauxa.bay.livefilestore.com/y1p … png?psid=1
if the simulation up to 80 seconds, the system behaves as expected,
http://ymauxa.bay.livefilestore.com/y1p … png?psid=1
when it reaches a simulation time of 100 seconds, the behavior is different,
http://ymauxa.bay.livefilestore.com/y1p … png?psid=1
may be due to this, or is correct?
I say goodbye to you carefully
Eduardo Ghershman
- Index
- » Users
- » galileog
- » Profile