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

Online Help

All Products    Maple    MapleSim


Trapezoid Voltage

Trapezoidal voltage source

 

Description

Equations

Variables

Connections

Parameters

Modelica Standard Library

Description

The Trapezoid Voltage source generates a periodic trapezoidal waveform.

Equations

i=ip=in

v&equals;vpvn&equals;V0&plus;Vh{0t<0tTr0t<Tr1Trt<Tr&plus;TwTr&plus;Tw&plus;TftTfTr&plus;Twt<Tr&plus;Tw&plus;Tf0otherwise

t&equals;tT0kT&comma;k&equals;0&comma;1&comma;&comma;n1

Variables

Name

Units

Description

Modelica ID

v

V

Voltage drop between the two pins

v

vx

V

Voltage at pin x, xn&comma;p

x.v

i

A

Current flowing from pin p to pin n

i

ix

A

Current into pin x, xn&comma;p

x.i

Connections

Name

Description

Modelica ID

p

Positive pin

p

n

Negative pin

n

Parameters

Name

Default

Units

Description

Modelica ID

nperiod

−1

 

Number of periods; negative means infinite number of periods)

nperiod

T0

0

s

Time offset

startTime

Tr

0

s

Rising duration of trapezoid

rising

Tw

0.5

s

Width duration of trapezoid

width

Tf

0

s

Falling duration of trapezoid

falling

T

1

s

Time for one period

period

Vh

1

V

Amplitude of trapezoid

V

V0

0

V

Voltage offset

offset

Modelica Standard Library

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

See Also

Analog Components

Electrical Library

Voltage Sources