VoltageConstant

Voltage Source

    VoltageConstant

Library

Spice/Analog/Basic

Description

The VoltageConstant block is a simple source for modeling an ideal constant voltage (defined as a parameter).

+ and - are the positive and negative nodes. Positive current is assumed to flow from the + to - through the source.

Note: There is no internal resistance modeled.

Parameters

VoltageConstant_0

NameLabelDescriptionData TypeValid Values

sp_V

Voltage Value

Value of the DC voltage source (volts)

Scalar

sp_Spice

Additional Spice Parameters

For more details, see the section
Additional Spice Parameters.

Additional Spice Parameters.

String

VoltageConstant_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