This package contains examples for the use of models that can be found in Buildings.Controls.Discrete.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).| Name | Description |
|---|---|
| Example model for boolean delay |
Buildings.Controls.Discrete.Examples.BooleanDelay
Example that demonstrates the use of the boolean delay block. The output signal of the block is delayed by one sampling interval to produce a response as shown in the figure below in which the sampling interval is 0.1 second, as indicated by the markers.
model BooleanDelay "Example model for boolean delay" extends Modelica.Icons.Example;Buildings.Controls.Discrete.BooleanDelay del(samplePeriod=0.1); Modelica.Blocks.Sources.BooleanPulse booleanPulse(period=0.25); equationconnect(booleanPulse.y, del.u); end BooleanDelay;