Opened 10 years ago
Closed 10 years ago
#3043 closed defect (fixed)
OMEdit re-simulation issues: Step size is not correctly updated
Reported by: | Jan Kokert | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.9.2 |
Component: | Run-time | Version: | trunk |
Keywords: | update step size | Cc: | Willi Braun, massimo ceraolo |
Description
Open a very simple model and simulate it for "1 s".
Now re-simulate the model and change the stop time to "1000 s" e.g. (by "Re-simulate Setup").
Observation: The simulation will take tremendously longer. Obviously the step size is not correctly updated, given by the number of intervals and the simulation time.
BTW: By clicking [cancel simulation] you will experience #3042
Change History (5)
comment:1 by , 10 years ago
Cc: | added |
---|---|
Component: | OMEdit → Run-time |
Owner: | changed from | to
comment:3 by , 10 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → accepted |
I looked into it again and I think it is OMEdit issue. OMEdit should send the step size to simulation executable based on the above formula. I will fix it soon.
Note:
See TracTickets
for help on using tickets.
OMEdit doesn't set the step size. It is automatically calculated by the solver using,
So for 1s step size is 0.002. I can see this in the model_init.xml file but when we re-simulate for 1000s then the step size should be 2 but this is not the case. Jan's observation is correct.