blockRamp
Generate ramp signal
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Information
The Real output y is a ramp signal:
If parameter duration is set to 0.0, the limiting case of a Step signal is achieved.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | height | 1 | Height of ramps |
| Modelica.Units.SI.Time | duration | Duration of ramp (= 0.0 gives a Step) | |
| Real | offset | 0 | Offset of output signal |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | startTime | 0 | Output = offset for time < startTime |