Ramp - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Ramp

Generate ramp signal

 

Description

Equations

Connections

Parameters

Description

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.

Equations

If Smooth corners is false, the output signal is

If Smooth corners is true, it is

with

Connections

Name

Description

Modelica ID

Real output signal

y

Parameters

Name

Default

Units

Description

Modelica ID

 

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