blockStaircase
Generate staircase signal
Extends from Modelica.Blocks.Interfaces.DiscreteBlock (Base class of discrete control blocks).
Information
The Real output y is a staircase signal, i.e. summed up steps.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | height | 1 | Height of each step |
| Real | offset | 0 | Offset of output signal y |
| Integer | nperiod | -1 | Number of periods (< 0 means infinite number of periods) |
| SI.Time | samplePeriod (from DiscreteBlock) | Sample period of component | |
| SI.Time | startTime (from DiscreteBlock) | 0 | First sample time instant |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | y |