Skip to content

FMI3 capability flag providesDirectionalDerivatives not supported #878

Description

@CarstenOldemeyer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions