lcapy.oneport.Vdc

class lcapy.oneport.Vdc(Vval, **kwargs)

Bases: VoltageSourceBase

DC voltage source

(note a DC voltage source of voltage V has an s domain voltage of V / s).

Parameters:

Vval (int or float or complex) – Voltage value \(V\)

args

Voltage value \(V\)

Type:

tuple[int or float or complex]

v0

Initial Voltage \(v_0\)

Type:

int or float or complex

Methods

__init__(Vval, **kwargs)

Attributes

netkeyword

The netlist keyword to define the voltage source type

voc

Open circuit voltage \(V_{oc}\) of the DC voltage source.

netkeyword = 'dc'

The netlist keyword to define the voltage source type

Type:

str

property voc

Open circuit voltage \(V_{oc}\) of the DC voltage source.

Return type:

Expression for the open circuit voltage \(V_{oc}\).