FMUComplianceChecker icon indicating copy to clipboard operation
FMUComplianceChecker copied to clipboard

Real discrete input values not read correctly from the input file (v2.0.4)

Open daviddecobee opened this issue 4 years ago • 2 comments

Using a co-simulation with multiple real value inputs that are discrete I have seen that the first value in the input file is copied to all real inputs. For example a model with real discrete variables A, B, C and an input file that using the compliance checker with an input similar to:

"time","A","B","C"
0,1.0,2.0,3.0

The output file (using -f) will show:

"time","A","B","C"
0,1.0,1.0,1.0

If I use integers or continuous no issue.

I originally raised this here: https://github.com/ghorwin/FMICodeGenerator/issues/32

But I believe the issue is not with the code generator but seems to be the compliance checker.

daviddecobee avatar Aug 13 '20 13:08 daviddecobee