Trapezoid - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Component Library : Signal Blocks : Sources : Real : componentLibrary/signalBlocks/sources/real/Trapezoid

Trapezoid

Generates a real trapezoidal signal

Description

The Trapezoid component generates a trapezoid signal at the output, y, after the time step, T0, during a simulation. Its equations are

y  &equals; &lcub;offset&plus;amplitudeTrtt0tT0 and tt0<Troffset&plus;amplitude         tT0 and Trtt0<woffset&plus;amplitudeTf  wt0&plus;Tf ttT0 and tt0woffsetotherwise

t0&equals;   modtT0&comma; T

Connections

Name

Description

y

Real output signal connection

Parameters

Symbol

Default

Units

Description

Modelica ID

amplitude

1

-

Amplitude of the trapezoid

amplitude

Tr

0

s

Rising duration of trapezoid

rising

w

0.5

s

Width duration of trapezoid

width

Tf

0

s

Falling duration of trapezoid

falling

T

1

s

Time for one period

period

n

1

-

Number of periods (a negative value indicates an infinite number of periods)

nperiod

offset

0

-

Offset of the output signal

offset

T0

0

s

Time offset

startTime

See Also

Real Signal Sources

Boolean Signal Sources

Integer Signal Sources

Signal Blocks Overview

The components described in this topic are from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

 

 

 

 

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam