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

Online Help

All Products    Maple    MapleSim


V_pulse

Pulse voltage source

 

Description

Equations

Variables

Connections

Parameters

Modelica Standard Library

Description

The V_pulse component models a periodic pulse source with unlimited number of periods. A single pulse is described by the following table:

time

value

0

V1

TD

V1

TD+TR

V2

TD+TR+PW

V2

TD+TR+PW+TF

V1

TSTOP

V1

Intermediate points are determined by linear interpolation. A pulse it looks like a saw tooth, use this parameters e.g.:

Parameter

Value

V1

0

V2

1

TD

0

TR

1

TF

1

PW

2

PER

1

Note:

• 

All parameters of sources should be set explicitly.

• 

Since TSTEP and TSTOP are not available for modeling in Modelica, differences to SPICE may occur if not all parameters are set.

Equations

i=ip=in

v&equals;vpvn&equals;V1&plus;{0t<TDcounter2&equals;0T0&plus;TfallingttT0V2V1Trisingt<T0&plus;TrisingV2V1t<T0&plus;TwidthT0&plus;TfallingtV2V1TfallingTwidthotherwise

Variables

Name

Units

Description

Modelica ID

v

V

Voltage drop between the two pins vpvn

v

i

A

Current flowing from pin p to pin n

i

Connections

Name

Description

Modelica ID

p

Positive pin

p

n

Negative pin

n

Parameters

Name

Default

Units

Description

Modelica ID

V1

0

V

Initial value

V1

V2

0

V

Pulsed value

V2

TD

0

s

Delay time

TD

TR

 

s

Rise time

TR

TF

TR

s

Fall time

TF

PW

ModelicaConstantsinf

s

Pulse width

PW

PER

ModelicaConstantsinf

s

Period

PER

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

Spice3 Overview

Spice3 Voltage Sources