Skip to content

Correct unit delay #4651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

HansOlsson
Copy link
Contributor

Closes #4451

@HansOlsson HansOlsson added the L: Blocks Issue addresses Modelica.Blocks label May 23, 2025
@HansOlsson
Copy link
Contributor Author

This is an alternative to #4650

Only merge one:

@HansOlsson
Copy link
Contributor Author

HansOlsson commented May 23, 2025

Note:
The reference file will need a new reference for unitDelay.y in ModelicaTest.Blocks.Discrete.

However, no need to have a reference for unitDelay1.y as it is asserted that is the same result as unitDelay.y; i.e,, the new UnitDelay-block works the same with and without a preceding Sampler (and with a preceding Sampler it works the same as before).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: Blocks Issue addresses Modelica.Blocks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modelica.Blocks.Discrete.UnitDelay does not delay input
1 participant