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)
Change History (4)
comment:1 by , 18 years ago
comment:3 by , 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?
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.