Qucs-core  0.0.19
Public Member Functions | Data Fields
capacitor Class Reference

#include <capacitor.h>

Inheritance diagram for capacitor:
Inheritance graph
[legend]
Collaboration diagram for capacitor:
Collaboration graph
[legend]

Public Member Functions

 CREATOR (capacitor)
void calcSP (nr_double_t)
 Compute S parameters.
void initDC (void)
void calcAC (nr_double_t)
 AC model.
void initAC (void)
 Init AC model of capacitor.
void calcTR (nr_double_t)
void initTR (void)
void initHB (void)
void calcHB (nr_double_t)

Data Fields

 C
 PROP_COMPONENT
 PROP_NO_SUBSTRATE
 PROP_LINEAR

Detailed Description

Definition at line 144 of file capacitor.cpp.


Member Function Documentation

void capacitor::calcAC ( nr_double_t  frequency) [virtual]

AC model.

Capacitor (capacitance $C$) is modelized by its $Y$ matrix:

\[ Y=\begin{pmatrix} 2j\pi f C & -2j\pi f C \\ -2j\pi f C & 2j\pi f C \end{pmatrix} \]

Parameters:
[in]frequencyfrequency used for AC simulation

Reimplemented from qucs::circuit.

Definition at line 87 of file capacitor.cpp.

void capacitor::calcHB ( nr_double_t  frequency) [virtual]

Reimplemented from qucs::circuit.

Definition at line 133 of file capacitor.cpp.

void capacitor::calcSP ( nr_double_t  frequency) [virtual]

Compute S parameters.

$S$ parameter are computed from admitance, therefore $S$ matrix of a capacitor of capacitance $C$ is:

\[ S=\begin{pmatrix} \frac{1}{1+4j\pi fCZ_0} & \frac{4j\pi fCZ_0}{1+4j\pi fCZ_0} \\ \frac{4j\pi fCZ_0}{1+4j\pi fCZ_0} & \frac{1}{1+4j\pi fCZ_0} \end{pmatrix} \]

Parameters:
[in]frequencyfrequency for S parameters simulation

Reimplemented from qucs::circuit.

Definition at line 60 of file capacitor.cpp.

void capacitor::calcTR ( nr_double_t  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 107 of file capacitor.cpp.

void capacitor::initAC ( void  ) [virtual]

Init AC model of capacitor.

Reimplemented from qucs::circuit.

Definition at line 95 of file capacitor.cpp.

void capacitor::initDC ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 70 of file capacitor.cpp.

void capacitor::initHB ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 129 of file capacitor.cpp.

void capacitor::initTR ( void  ) [virtual]

Reimplemented from qucs::circuit.

Definition at line 102 of file capacitor.cpp.


Field Documentation

Definition at line 145 of file capacitor.cpp.

Definition at line 145 of file capacitor.cpp.

Definition at line 145 of file capacitor.cpp.

Definition at line 145 of file capacitor.cpp.


The documentation for this class was generated from the following files: