Trapezoid

Generates a real trapezoidal signal

Description

The Trapezoid component generates a trapezoid signal at the output, $y$, after the time step, ${T}_{0}$, during a simulation. Its equations are

Connections

 Name Description $y$ Real output signal connection

Parameters

 Symbol Default Units Description Modelica ID $\mathrm{amplitude}$ $1$ - Amplitude of the trapezoid amplitude ${T}_{r}$ $0$ $s$ Rising duration of trapezoid rising $w$ $0.5$ $s$ Width duration of trapezoid width ${T}_{f}$ $0$ $s$ Falling duration of trapezoid falling $T$ $1$ $s$ Time for one period period $n$ $-1$ - Number of periods (a negative value indicates an infinite number of periods) nperiod $\mathrm{offset}$ $0$ - Offset of the output signal offset ${T}_{0}$ $0$ $s$ Time offset startTime