Opened 18 years ago

Last modified 18 years ago

#106 closed defect (fixed)

Simulation failure Simple Oscillator (DrModelica section 5.3)

Reported by: Peter Fritzson Owned by: Peter Fritzson
Priority: critical Milestone:
Component: Version:
Keywords: Cc: Peter Fritzson, Adrian Pop

Description


Change History (3)

comment:1 by Peter Fritzson, 18 years ago

Simulation failure Simple Oscillator (DrModelica section 5.3).

Tested nightly build 070214, but the bug has been around
since the fall of 2006. This model worked in the version
early fall 2006.

model Oscillator

Mass mass1(L = 1, s(start = -0.5));
Spring spring1(s_rel0 = 2, c = 10000);
Fixed fixed1(s0 = 1.0);

equation

connect(spring1.flange_b, fixed1.flange_b);
connect(mass1.flange_b, spring1.flange_a);

end Oscillator;

comment:2 by Peter Aronsson, 18 years ago

Could you provide the complete model code and error messages from the compiler,
otherwise it is hard to find the bug.

comment:3 by Peter Aronsson, 18 years ago

This works for me. Perhaps it is related to the libraries. Have you tested it on
trunk?

Note: See TracTickets for help on using tickets.