Skip to content

Non-identical duplicate definions of variable in KPIs #1619

Description

@maltelenz

The class AixLib.Utilities.KPIs.IntegralErrorSingleReference.IntegralTimer has a declaration for y:

Modelica.Blocks.Interfaces.RealOutput y(unit="s") "Output signal"

It also extends AixLib.Utilities.KPIs.BaseClasses.PartialIntegratorBase, which also has a declaration for y:

Modelica.Blocks.Interfaces.RealOutput y "Integral error output"

but these are not identical. Duplicated definitions are only allowed if they are identical, and most of the time the reasonable thing is to remove one of the declarations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions