You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
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:
It should be enough to change fmi2_input_reader.c:152: indata->interpData[i] = *v1; -> indata->interpData[i] = v1[i]; (and same for FMI 1 corresponding file).
I'll fix this, but also want to add some tests which might take a bit longer. I'll open PR though.
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:
The output file (using -f) will show:
If I use integers or continuous no issue.
I originally raised this here:
ghorwin/FMICodeGenerator#32
But I believe the issue is not with the code generator but seems to be the compliance checker.
The text was updated successfully, but these errors were encountered: