WOLFRAM SYSTEM MODELER

Ramp

Generate ramp signal

Wolfram Language

In[1]:=
SystemModel["Modelica.Clocked.RealSignals.TimeBasedSources.Ramp"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The block is similar to the block in Modelica.Blocks.Sources.Ramp, but adapted to work in clocked partitions (by internal sampling of the continuous time variable).

The Real output y is a ramp signal:

Ramp.png

Example

See model Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.

Parameters (4)

height

Value: 1

Type: Real

Description: Height of ramps

duration

Value:

Type: Time (s)

Description: Durations of ramp

offset

Value: 0

Type: Real

Description: Offset of output signal

startTime

Value: 0

Type: Time (s)

Description: Output = offset for time < startTime

Connectors (1)

y

Type: RealOutput

Description: Connector of clocked, Real output signal

Used in Examples (1)

TimeBasedRamp

Modelica.Clocked.Examples.Elementary.RealSignals

Example of using the clocked time based Ramp source block