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
the resulting solution is hard to handle.
When using the CSV export the resulting list of names is a bit strange / difficult to work with.
When you have alias variables a=b the CSV file contains one entry
"[""a"", ""b""]"
1
2
3
4
I can see that this will save disk space, but it's difficult to work with. To retrieve the value of a I need to know all alias variables and the order of them.
df =DataFrame(CSV.read("solution.csv", DataFrame))
df[!, "a"]
ERROR: ArgumentError: column name :a not found in the data frame
Expected Behavior
I would suggest to flatten this. If the user want's to record alias variables by providing recordValues=["a", "b"] to simulate then the resulting CSV should contain them as well.
"a", "b"
1, 1
2, 2
3, 3
4, 4
Version
OS: Ubuntu Focal
Julia Version 1.9.1
[14a09403] FMI v0.12.3
The text was updated successfully, but these errors were encountered:
The MAT solution writer won't save b at all. I guess it is possible to define references in the mat format, so you don't need to save the result twice.
Description
After simulating an FMU
the resulting solution is hard to handle.
When using the CSV export the resulting list of names is a bit strange / difficult to work with.
When you have alias variables
a=b
the CSV file contains one entryI can see that this will save disk space, but it's difficult to work with. To retrieve the value of
a
I need to know all alias variables and the order of them.Expected Behavior
I would suggest to flatten this. If the user want's to record alias variables by providing
recordValues=["a", "b"]
tosimulate
then the resulting CSV should contain them as well.Version
The text was updated successfully, but these errors were encountered: