Opened 18 years ago

Last modified 17 years ago

#111 closed defect (fixed)

simulation lasts less than specified

Reported by: miguel.prada.sarasola Owned by: miguel.prada.sarasola
Priority: critical Milestone:
Component: Interactive Environment Version: 1.4.5
Keywords: Cc: miguel.prada.sarasola, Adrian Pop

Description

This is now fixed in the subversion repository.

Attachments (1)

PackagesandExamples.onb (72.9 KB ) - added by miguel.prada.sarasola 18 years ago.
omnotebook file

Download all attachments as: .zip

Change History (4)

comment:1 by miguel.prada.sarasola, 18 years ago

there's some issue with simulation of hybrid systems that make the simulation
end before the stopTime specified. it happens to me with any sampled system.

by miguel.prada.sarasola, 18 years ago

Attachment: PackagesandExamples.onb added

omnotebook file

comment:2 by miguel.prada.sarasola, 18 years ago

Created an attachment (id=7)
omnotebook file

comment:3 by Peter Aronsson, 18 years ago

This is most probably because the amount of result data is pre-allocated without
considering the extra amount of data produced for events. To fix this we need to
change the pre-allocation to instead write to file during simulation, or to use
a dynamically sized memory block for storing data. If writing to file during
simulation is chosen this also requires a different storage format, since
current format requires whole time vector before begin saved.

This lies outside my interests, perhaps Håkan is intrested in this?

Note: See TracTickets for help on using tickets.