Ramp

Generate ramp signal

    Ramp

Library

Modelica/Blocks/Sources

Description

The Real output y is a ramp signal:

Ramp.png

If parameter duration is set to 0.0, the limiting case of a Step signal is achieved.

Parameters

Ramp_0

NameLabelDescriptionData TypeValid Values

mo_height

height

Height of ramps

Scalar

mo_duration

duration

Duration of ramp (= 0.0 gives a Step)

Scalar

mo_offset

offset

Offset of output signal y

Scalar

mo_startTime

startTime

Output y = offset for time < startTime

Scalar

Ramp_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

y

implicit

Connector of Real output signal

output

1

See Also