blockStack
Generate discrete real signal in stack on pulse input
Extends from Modelica.Blocks.Interfaces.SignalSource (Base class for continuous signal source).
Information
The Real output y is a pulse signal:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | offset (from SignalSource) | 0 | Offset of output signal y |
| SI.Time | startTime (from SignalSource) | 0 | Output y = offset for time < startTime |
| Real[:] | outputVector | {-1, 1, 2} |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal | |
| Modelica.Blocks.Interfaces.BooleanInput | u | Connector of Boolean input signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | count | Period count | |
| Integer | wat | size(outputVector, 1) |