From FMI2 to FMI3 the capability flag providesDirectionalDerivative has been renamed to providesDirectionalDerivatives.
See https://fmi-standard.org/docs/3.0.2/#common-capability-flags
and table in 4.3.1 of FMI-Specification-2.0.5-2.pdf
Since only the FMI2 spelling is contained in the InterfaceType, the attribute isnt copied from the xml of a FMI3-FMU to the fmpy model description.
|
providesDirectionalDerivative: bool = field(default=False, repr=False) |
Accessing the directional derivatives works fine.
From FMI2 to FMI3 the capability flag
providesDirectionalDerivativehas been renamed toprovidesDirectionalDerivatives.See https://fmi-standard.org/docs/3.0.2/#common-capability-flags
and table in 4.3.1 of FMI-Specification-2.0.5-2.pdf
Since only the FMI2 spelling is contained in the InterfaceType, the attribute isnt copied from the xml of a FMI3-FMU to the fmpy model description.
FMPy/src/fmpy/model_description.py
Line 51 in 637dee0
Accessing the directional derivatives works fine.