Ramp
Generate ramp signal
Description
Equations
Connections
Parameters
The Ramp component generates a continuous, real, ramp signal.
The boolean parameter Smooth corners selects whether the corners are smoothed, the smoothness parameter, which can be varied from 0 to 1, determine the smoothness. If smoothness is greater than 0, the output signal has a continuous derivative. The smoothing interval is equal to the smoothness factor times half the ramp time.
If Smooth corners is false, the output signal is
If Smooth corners is true, it is
with
Name
Modelica ID
Real output signal
y
Default
Units
Height of ramp
height
Durations of ramp
duration
Smooth corners
True means enable the smoothness factor
smoothCorners
Smoothness factor (0: sharpest, 1: smoothest)
smoothness
Offset of output signal
offset
Output = offset for time < startTime
startTime
See Also
Real Sources
Signal Blocks
Signal Sources
Download Help Document