#include <nonlinear.h>
Inheritance diagram for NonLinear:


Public Member Functions | |
| NonLinear () | |
| virtual bool | isNonLinear () |
| virtual void | update_dc ()=0 |
Protected Member Functions | |
| double | diodeCurrent (double v, double I_S, double Vte) const |
| double | diodeConductance (double v, double I_S, double Vte) const |
| double | diodeVoltage (double v, double V_prev, double Vt, double V_crit) const |
| void | diodeJunction (double v, double I_S, double Vte, double *I, double *g) const |
| double | diodeCriticalVoltage (double I_S, double Vte) const |
Definition at line 20 of file nonlinear.h.
| virtual bool NonLinear::isNonLinear | ( | ) | [inline, virtual] |
Returns true for NonLinear elements that need iteration to converge to a solution as the matrix A is a function of x.
Reimplemented from Element.
Definition at line 25 of file nonlinear.h.
| virtual void NonLinear::update_dc | ( | ) | [pure virtual] |
| double NonLinear::diodeConductance | ( | double | v, | |
| double | I_S, | |||
| double | Vte | |||
| ) | const [protected] |
Conductance of the diode - the derivative of Schockley's approximation.
Definition at line 35 of file nonlinear.cpp.
Referenced by Diode::calcIg().
| double NonLinear::diodeVoltage | ( | double | v, | |
| double | V_prev, | |||
| double | Vt, | |||
| double | V_crit | |||
| ) | const [protected] |
Limits the diode voltage to prevent divergence in the nonlinear iterations.
Definition at line 40 of file nonlinear.cpp.
Referenced by Diode::calc_eq(), and BJT::calc_eq().
1.5.1