VoltageConstant
Voltage Source
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
Name | Label | Description | Data Type | Valid 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 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
use_ac | Use AC | Check this parameter to set the AC parameters | Number | 0 |
ac_magnitude | AC Magnitude | Value of the AC voltage source | Scalar | |
ac_phase | AC Phase | Value of the AC phase | Scalar |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
V+ | implicit | Positive pin. | input | 1 |
V- | implicit | Negative pin. | input | 2 |