Ramp

Generates a real ramp signal

Description

The Ramp component starts with an offset signal, $\mathrm{offset}$, in the output, $y$. When the set time offset, ${T}_{0}$, is reached, the output gradually rises to the level $\mathrm{offset}+\mathrm{height}$ within the given duration, $\mathrm{duration}$. The equation of this component is

 $y={\begin{array}{cc}\mathrm{offset}& t\le {T}_{0}\\ \frac{\mathrm{height}}{\mathrm{duration}}\cdot t+\mathrm{offset}& {T}_{0}

Connections

 Name Description $y$ Real output signal connection

Parameters

 Symbol Default Units Description Modelica ID $\mathrm{height}$ $1$ - Height of the ramp height ${T}_{r}$ $2$ $s$ Duration of the ramp duration $\mathrm{offset}$ $0$ - Offset of the output signal offset ${T}_{0}$ $0$ $s$ Time offset startTime