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
When you try to myFMU = loadFMU(myFMU3CSpath)
of a CS3-FMU, which does not contain values for optional variable attributes (specifically observed for min, max, quantity), you get a warning for each missing attribute, more specifically, it is not a warning about the missing attribute, but about a non-supported type for the attribute, like:
This is because in the respective function a condition like if haskey(node, "initial")... is missing.
This has to be included for all non-required attributes, which are all besides the name, and for clock types besides intervalVariability.
I guess you can easily modify existing FMU-modelDescriptions.xml to reproduce and fix the problem. :-)
And I guess the problem is not restricted to CS, but presumably to 3.
The text was updated successfully, but these errors were encountered:
When you try to
myFMU = loadFMU(myFMU3CSpath)
of a CS3-FMU, which does not contain values for optional variable attributes (specifically observed for
min, max, quantity
), you get a warning for each missing attribute, more specifically, it is not a warning about the missing attribute, but about a non-supported type for the attribute, like:This is because in the respective function a condition like
if haskey(node, "initial")...
is missing.This has to be included for all non-required attributes, which are all besides the
name
, and for clock types besidesintervalVariability
.I guess you can easily modify existing FMU-modelDescriptions.xml to reproduce and fix the problem. :-)
And I guess the problem is not restricted to CS, but presumably to 3.
The text was updated successfully, but these errors were encountered: