VoltagePWL

Voltage Source

    VoltagePWL

Library

Spice/Analog/Basic

Description

The Voltage PWL block generates a voltage source by linear interpolation in a PieceWise Linear table (PWL).

The time points and voltage values are defined as paired values, where the first given parameter contains the first time point and the second contains the data for the first voltage to be interpolated.

The table interpolation has the following properties:

- The time points need to be monotonically increasing.

- The values outside of the table range are not computed by extrapolation through the last or first two points of the table, but from the last given point.

Parameters

VoltagePWL_0

NameLabelDescriptionData TypeValid Values

sp_PWL

PWL

String

sp_R

Repeat sequence

Repeat sequence checkbox allows to repeat the signal until the end of the simulation.

Number

0
1

sp_timepoints

Pair values of Time Voltage.

Paired values of Time - Voltage. <p>
Should be filled as : T0,V0;T1,V1; .. Tn,Vn R (R only needed if you need to repeat a sequence)</p>

R only needed to repeat a sequence.

Matrix of size Mx2

sp_Spice

Additional Spice Parameters

For more details, see the section
Additional Spice Parameters.

Additional Spice Parameters.

String

VoltagePWL_1

NameLabelDescriptionData TypeValid Values

use_ac

Use AC

Check this parameter to set the AC parameters

Number

0
1

ac_magnitude

AC Magnitude

Value of the AC voltage source

Scalar

ac_phase

AC Phase

Value of the AC phase

Scalar

Ports

NameTypeDescriptionIO TypeNumber

V+

implicit

Positive pin

input

1

V-

implicit

Negative pin

input

2