From 2e48196b375859c508c441186610f0a809ded3d3 Mon Sep 17 00:00:00 2001 From: HOS Date: Fri, 23 May 2025 09:29:40 +0200 Subject: [PATCH] Document how UnitDelay works. --- Modelica/Blocks/Discrete.mo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Modelica/Blocks/Discrete.mo b/Modelica/Blocks/Discrete.mo index 30f4b108e0..24bb1204b0 100644 --- a/Modelica/Blocks/Discrete.mo +++ b/Modelica/Blocks/Discrete.mo @@ -131,8 +131,11 @@ y = --- * u

that is, the output signal y is the input signal u of the -previous sample instant. Before the second sample instant, +previous sample instant. Before the first sample instant, the output y is identical to parameter yStart. + +The block assumes that the input is sampled. +If the input is continuous it will only sample and not create a delay.

"), Icon(