modelDoubleRamp
Ramp going up and down
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Information
Block generating the sum of two ramps.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | offset | 1 | Offset of ramps |
| SI.Time | startTime | 0.2 | StartTime of 1st ramp |
| SI.Time | interval | 0.2 | Interval between end of 1st and beginning of 2nd ramp |
| Ramp 1 | |||
| Real | height_1 | -1 | Height of ramp |
| SI.Time | duration_1 | 0.2 | Duration of ramp |
| Ramp 2 | |||
| Real | height_2 | 1 | Height of ramp |
| SI.Time | duration_2 | 0.2 | Duration of ramp |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Sources.Ramp | ramp1 | ||
| Modelica.Blocks.Sources.Ramp | ramp2 |