blockRamp
Generate ramp signal based on counted clock ticks
Extends from Interfaces.PartialClockedSO (Block with clocked single output Real signal).
Information
The Real output y is a ramp signal. The signal is defined in terms of clock ticks instead of simulation time:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | height | 1 | Height of ramp |
| Integer | durationTicks | 1 | Durations of ramp in number of clock ticks |
| Real | offset | 0 | Offset of output signal |
| Integer | startTick | 1 | Output y = offset for clock tick < startTick |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialClockedSO) | Connector of clocked, Real output signal |