Class Dynamic
Common logic for dynamic (time-dependent) parameters of a Diode.
Inheritance
Dynamic
Implements
Inherited Members
Namespace: SpiceSharp.Components.Diodes
Assembly: SpiceSharp.dll
Syntax
public abstract class Dynamic : Biasing, ITemperatureBehavior, IParameterized<Parameters>, IConvergenceBehavior, IBiasingBehavior, IBehavior, IParameterSetCollection, IExportPropertySet<double>, IParameterSet
Constructors
Dynamic(IComponentBindingContext)
Initializes a new instance of the Dynamic class.
Declaration
protected Dynamic(IComponentBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
IComponentBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Fields
LocalCapCharge
The charge on the junction capacitance of a single diode (not including parallel or series multipliers).
Declaration
protected double LocalCapCharge
Field Value
Type | Description |
---|---|
double |
LocalCapacitance
The junction capacitance of a single diode (not including parallel or series multipliers).
Declaration
protected double LocalCapacitance
Field Value
Type | Description |
---|---|
double |
Properties
CapCharge
Gets or sets the capacitor charge.
Declaration
[ParameterName("charge")]
[ParameterInfo("Diode capacitor charge")]
public double CapCharge { get; }
Property Value
Type | Description |
---|---|
double | The capacitor charge. |
Capacitance
Diode capacitance
Declaration
[ParameterName("cd")]
[ParameterInfo("Diode capacitance")]
public double Capacitance { get; }
Property Value
Type | Description |
---|---|
double | The capacitance. |
Methods
CalculateCapacitance(double)
Calculates the capacitance based on the current voltage.
Declaration
protected void CalculateCapacitance(double vd)
Parameters
Type | Name | Description |
---|---|---|
double | vd | The diode voltage. |