RT-WDF  0.0.1
Real-time Wave Digital Filter Framework
npnEmModel Class Reference

#include <rt-wdf_nlModels.h>

Inheritance diagram for npnEmModel:

Public Member Functions

 npnEmModel ()
 
void calculate (vec *fNL, mat *JNL, vec *x, int *currentPort)
 
int getNumPorts ()
 

Constructor & Destructor Documentation

§ npnEmModel()

npnEmModel::npnEmModel ( )

Ebers-Moll npn-transistor model class.

Transistor Models using Ebers-Moll equations ("Large-signal behavior of junction transistors")

Member Function Documentation

§ calculate()

void npnEmModel::calculate ( vec *  fNL,
mat *  JNL,
vec *  x,
int *  currentPort 
)
virtual

Calculate the non-linear current and it's Jacobian according to an input voltage.

Parameters
*fNLis a pointer to store result of fNL(x). This is a current.
*JNLis a pointer to store the result of the Jacobian of fNL(x).
*xis a pointer to read the input value x. This is a voltage.
*currentPortis a pointer to the first reading / writing position in fNL, JNL and x.

Implements nlModel.

§ getNumPorts()

int nlModel::getNumPorts ( )
inherited

Function which returns the number of ports on an NL model for memory house- keeping

Returns
the number of ports implemented in a particular NL model.

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