Show / Hide Table of Contents

Class Semiconductor

A class with helper methods for semiconductor devices.

Inheritance
object
Semiconductor
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SpiceSharp.Components.Semiconductors
Assembly: SpiceSharp.dll
Syntax
public static class Semiconductor

Methods

LimitJunction(double, double, double, double, ref bool)

Limit the per-iteration change of PN junction voltages Defined as DEVpnjlim in devsup.c

Declaration
public static double LimitJunction(double newVoltage, double oldVoltage, double thermalVoltage, double criticalVoltage, ref bool limited)
Parameters
Type Name Description
double newVoltage

The target voltage.

double oldVoltage

The current voltage.

double thermalVoltage

The thermal voltage.

double criticalVoltage

The critical voltage.

bool limited

If true, the value was limited.

Returns
Type Description
double

The new voltage value, limited if necessary.

Remarks

Taken from ngSpice, where it was fixed by Alan Gillespie's code.

In this article
Back to top Generated by DocFX