Opened 6 years ago

Last modified 3 years ago

#5330 new defect

csvInput does not handle Integer inputs and needs an extra comma at line end

Reported by: dariomangoni@… Owned by: Lennart Ochel
Priority: normal Milestone:
Component: Run-time Version: v1.14.0-dev-nightly
Keywords: csv csvInput Cc:

Description

the csvInput simulation flag has two big problems:

  • the last column needs an extra comma at the end of the line, otherwise it gets disregarded;
  • Integer inputs are not working at all even if the LOG_SIMULATION seems to to say that they are actually set.

Moreover, if Integer inputs are mixed with Real inputs, also other inputs get corrupted.

Attachments (2)

test_input.mo (1.0 KB ) - added by dariomangoni@… 6 years ago.
trivial example model
myinput.csv (29 bytes ) - added by dariomangoni@… 6 years ago.
csv example file

Download all attachments as: .zip

Change History (7)

by dariomangoni@…, 6 years ago

Attachment: test_input.mo added

trivial example model

by dariomangoni@…, 6 years ago

Attachment: myinput.csv added

csv example file

comment:1 by Francesco Casella, 6 years ago

Component: *unknown*Run-time
Milestone: Future1.14.0
Owner: changed from somebody to Lennart Ochel

comment:2 by Francesco Casella, 5 years ago

Milestone: 1.14.01.16.0

Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is 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

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:5 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.