Opened 4 years ago

Last modified 3 years ago

#6092 new defect

Wrong time display for parameter for simulation not starting at 0

Reported by: Andreas Heuermann Owned by: Adeel Asghar
Priority: low Milestone:
Component: OMEdit Version: v1.16.0-dev
Keywords: mat, oarameter Cc:

Description

When simulating this simple model

model paramTime
  parameter Real x = 1;
equation
annotation(
    experiment(StartTime=1, StopTime=2, Tolerance=1e-6, Interval=0.002));
end paramTime;

from StartTime=1 OMEdit will display the time axis in the plot window starting at time=0 and not starting from 1.

This only happens for mat-files, since we don't export parameters to CSV anyway (see #2876).
I guess we save parameters only at one time point and that this point is not startTime but 0.

Change History (2)

comment:1 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:2 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.