Opened 5 years ago

Last modified 3 years ago

#5743 new defect

Export of plotted variables broken for parameters

Reported by: Andreas Heuermann Owned by: somebody
Priority: blocker Milestone: 1.19.0
Component: Scripts Version: v.1.15.0-dev
Keywords: csv mat export Cc:

Description

When using OMEdit to export simulation results (saved as .mat) to .csv files values of parameters are wrong.

See for example this CSV snippet with parameters e and g at some values at start time and end time:

"time","der(h)","der(v)","e","g","h","v","v_new"
0,0,-9.81,0.7,9.81,1,0,0
0.002,-0.01962,-9.81,0.7,9.81,0.99998,-0.01962,0
0.004,-0.03924,-9.81,0.35,8.50496e-315,0.999922,-0.03924,0
...
0.982,-2.10336,-9.81,nan,4.45019e-308,0.264509,-2.10336,3.10061
...
1,-2.27994,-9.81,4.24399e-314,1.3907e-307,0.22506,-2.27994,3.10061

Probably the conversion from .mat to .csv is doing something wrong for constant data.

In addition OMEdit can't open the broken csv-files.

Related tickets: #2920, #2876

Attachments (1)

BouncingBallFMI20_ref.csv (29.5 KB ) - added by Andreas Heuermann 5 years ago.
Some exported CSV file from OMEdit for BouncingBall model

Download all attachments as: .zip

Change History (7)

by Andreas Heuermann, 5 years ago

Attachment: BouncingBallFMI20_ref.csv added

Some exported CSV file from OMEdit for BouncingBall model

comment:1 by Francesco Casella, 5 years ago

Priority: normalblocker

This is not really 'normal' priority...

comment:2 by Francesco Casella, 5 years ago

Milestone: 1.15.01.16.0

Release 1.15.0 was scrapped, because replaceable support eventually turned out to be more easily implemented in 1.16.0. Hence, all 1.15.0 tickets are rescheduled to 1.16.0

comment:3 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:4 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Rescheduled to 1.18.0

comment:5 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

comment:6 by Francesco Casella, 3 years ago

Milestone: 1.19.0

1.18.0 blocker tickets moved to 1.19.0

Note: See TracTickets for help on using tickets.