blockPulse
Generate pulse signal of type Integer
Information
Block that outputs a pulse signal as shown below.
The pulse signal is generated an infinite number of times, and aligned with time=shift.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | amplitude | 1 | Amplitude of pulse |
| Real | width | 0.5 | Width of pulse in fraction of period |
| Real | period | Time for one period | |
| Real | shift | 0 | Shift time for output |
| Integer | offset | 0 | Offset of output signals |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.IntegerOutput | y | Output connector with pulse value |
Revisions
-
December 03, 2020, by Milica Grahovac:
Renameddelayparameter toshift.
This is for Buildings, issue 2282. -
November 12, 2020, by Michael Wetter:
Reformulated to remove dependency toModelica.Units.SI.
This is for Buildings, issue 2243. -
October 19, 2020, by Michael Wetter:
Refactored implementation, avoided state events.
This is for Buildings, issue 2170. -
September 8, 2020, by Milica Grahovac:
First implementation, based on the implementation ofRealpulse.