Skip to content

Modelica.Blocks.Discrete.UnitDelay does not delay input #4451

Open
@JayHuLBL

Description

@JayHuLBL

The Modelica.Blocks.Discrete.UnitDelay does not delay the input as described in its documents.

Given an example model as below, where the unitDelay_MSL is the delay block from MSL and the unitDelay_Corrected is the one with correction.
UnitDelayAndSampleBlock
It has the results as:
UnitDelayAndSampleBlock_Res

The unitDelay_MSL.y is the same as the output from the sampling block, while the unitDelay_Corrected .y is the expected one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    L: BlocksIssue addresses Modelica.Blocks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions