lcapy.oneport.Vac

class lcapy.oneport.Vac(V, phi=None, omega=None, **kwargs)

Bases: VoltageSourceBase

AC voltage source.

Parameters:
  • V (int or float) – Voltage value \(V\)

  • phi (int or float) – Phase angle \(\phi\)

  • omega (int or float) – Angular frequency \(\omega\)

args

A tuple containing Voltage value \(V\), phase angle \(\phi\), and angular frequency \(\omega\)

v0

Initial Voltage \(v_0\)

omega

Angular frequency \(\omega\)

phi

Phase angle \(\phi\)

Methods

__init__(V[, phi, omega])

Attributes

netkeyword

The netlist keyword to define the voltage source type

voc

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

netkeyword = 'ac'

The netlist keyword to define the voltage source type

Type:

str

property voc

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

Return type:

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