Show / Hide Table of Contents

Class Biasing

DC biasing behavior for a Diode.

Inheritance
object
ParameterSet
ParameterSetCollection
Behavior
Temperature
Biasing
Dynamic
Implements
ITemperatureBehavior
IParameterized<Parameters>
IConvergenceBehavior
IBiasingBehavior
IBehavior
IParameterSetCollection
IExportPropertySet<double>
IParameterSet
Inherited Members
Temperature.BiasingParameters
Temperature.ModelParameters
Temperature.Parameters
Temperature.ModelTemperature
Temperature.TempJunctionCap
Temperature.TempJunctionPot
Temperature.TempSaturationCurrent
Temperature.TempFactor1
Temperature.TempDepletionCap
Temperature.TempVCritical
Temperature.TempBreakdownVoltage
Temperature.Vt
Temperature.Vte
Behavior.Name
ParameterSetCollection.GetParameterSet<P>()
ParameterSetCollection.TryGetParameterSet<P>(out P)
ParameterSetCollection.ParameterSets
ParameterSetCollection.SetParameter<P>(string, P)
ParameterSetCollection.TrySetParameter<P>(string, P)
ParameterSetCollection.GetProperty<P>(string)
ParameterSetCollection.TryGetProperty<P>(string, out P)
ParameterSetCollection.CreateParameterSetter<P>(string)
ParameterSetCollection.CreatePropertyGetter<P>(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SpiceSharp.Components.Diodes
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Diode))]
[AddBehaviorIfNo(typeof(IBiasingBehavior))]
public class Biasing : Temperature, ITemperatureBehavior, IParameterized<Parameters>, IConvergenceBehavior, IBiasingBehavior, IBehavior, IParameterSetCollection, IExportPropertySet<double>, IParameterSet

Constructors

Biasing(IComponentBindingContext)

Initializes a new instance of the Biasing class.

Declaration
public Biasing(IComponentBindingContext context)
Parameters
Type Name Description
IComponentBindingContext context

The context.

Exceptions
Type Condition
ArgumentNullException

Thrown if context is null.

Fields

Elements

The matrix elements.

Declaration
protected readonly ElementSet<double> Elements
Field Value
Type Description
ElementSet<double>

LocalConductance

The conductance through a single diode (not including paralle or series multipliers).

Declaration
protected double LocalConductance
Field Value
Type Description
double

LocalCurrent

The current through a single diode (not including parallel or series multipliers).

Declaration
protected double LocalCurrent
Field Value
Type Description
double

LocalVoltage

The voltage across a single diode (not including parallel or series multipliers).

Declaration
protected double LocalVoltage
Field Value
Type Description
double

Variables

The variables used by the behavior.

Declaration
protected readonly DiodeVariables<double> Variables
Field Value
Type Description
DiodeVariables<double>

Properties

Conductance

Gets the small-signal conductance.

Declaration
[ParameterName("gd")]
[ParameterInfo("Small-signal conductance")]
public double Conductance { get; }
Property Value
Type Description
double

The small-signal conductance.

Current

Gets the DC or instantaneous current through the device.

Declaration
[ParameterName("i")]
[ParameterName("id")]
[ParameterName("c")]
[ParameterInfo("The complex current through the diode")]
public double Current { get; }
Property Value
Type Description
double

The DC or instantaneous current.

Remarks

If the parallel multiplier is set, then this current is the sum of all currents through all the diodes in parallel.

Power

Gets the DC or instantaneous power dissipation by the device.

Declaration
[ParameterName("p")]
[ParameterName("pd")]
[ParameterInfo("The dissipated power")]
public double Power { get; }
Property Value
Type Description
double

The DC or instantaneous power dissipation.

Remarks

The power does not take into account losses by parasitic series resistors.

Voltage

Gets the DC or instantaneous voltage over the device.

Declaration
[ParameterName("v")]
[ParameterName("vd")]
[ParameterInfo("The voltage across the internal diode")]
public double Voltage { get; }
Property Value
Type Description
double

The DC or instantaneous voltage.

Remarks

If the series multiplier is set, then this voltage is the sum of all voltage drops over all the diodes in series.

Methods

Initialize(out double, out bool)

Initialize the device based on the current iteration state.

Declaration
protected void Initialize(out double vd, out bool check)
Parameters
Type Name Description
double vd
bool check

Load()

Declaration
protected virtual void Load()

Implements

ITemperatureBehavior
IParameterized<P>
IConvergenceBehavior
IBiasingBehavior
IBehavior
IParameterSetCollection
IExportPropertySet<P>
IParameterSet

Extension Methods

Utility.ThrowIfNull<T>(T, string)
Documentation.ParameterValues<T>(IParameterSet, bool)
Documentation.Parameters(IParameterSet)
Documentation.ParameterValues<T>(IParameterSetCollection, bool)
Documentation.Parameters(IParameterSetCollection)

See Also

Temperature
IBiasingBehavior
IConvergenceBehavior
In this article
Back to top Generated by DocFX