Opened 11 years ago

Closed 11 years ago

#2515 closed defect (invalid)

Termination of simulation

Reported by: Christian Kral <dr.christian.kral@…> Owned by: Lennart Ochel
Priority: high Milestone: 1.9.1
Component: Code Generation Version: trunk
Keywords: Cc:

Description

I attached an example simulating the acceleration of a cart (mass) caused by three different forces:

  • horse
  • motor
  • inclined ramp (gravity and inclination angle alpha)

The inclined ramp force is modeled by constantforce1. After adding this model the simulation did not terminate properly.

  1. Run the attached simulation model (terminates with error code 252)
  2. Remove constantforce1 and simulate the model: it runs and terminates OK

Support is highly appreciated since the attached model is used by our students for a diploma thesis.

Please update the COMPONENT of the ticket -- I am not sure if I picked it right.

Attachments (1)

Acceleration.mo (2.8 KB ) - added by Christian Kral <dr.christian.kral@…> 11 years ago.
Simulation example demonstrating runtime error

Download all attachments as: .zip

Change History (2)

by Christian Kral <dr.christian.kral@…>, 11 years ago

Attachment: Acceleration.mo added

Simulation example demonstrating runtime error

comment:1 by Christian Kral <dr.christian.kral@…>, 11 years ago

Resolution: invalid
Status: newclosed

This ticket is invalid. The simulation example works fine. The termination of with error code 252 is due to instability of the physical system, not a compiler or runtime problem.

Note: See TracTickets for help on using tickets.