SawTooth

Generate saw tooth signal

    SawTooth

Library

Modelica/Blocks/Sources

Description

The Real output y is a saw tooth signal:

SawTooth.png

Parameters

SawTooth_0

NameLabelDescriptionData TypeValid Values

mo_amplitude

amplitude

Amplitude of saw tooth

Scalar

mo_period

period

Time for one period

Scalar

mo_nperiod

nperiod

Number of periods (< 0 means infinite number of periods)

Scalar

mo_offset

offset

Offset of output signal y

Scalar

mo_startTime

startTime

Output y = offset for time < startTime

Scalar

mo_T_start

T_start

T_start

Structure

mo_T_start/fixed

fixed

Cell of scalars

true
false

mo_T_start/start

start

Cell of scalars

SawTooth_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

'count'

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