Class Biasing
DC biasing behavior for an Inductor
Implements
Inherited Members
Namespace: SpiceSharp.Components.Inductors
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Inductor))]
[AddBehaviorIfNo(typeof(IBiasingBehavior))]
public class Biasing : Temperature, ITemperatureBehavior, IParameterized<Parameters>, IBiasingBehavior, IBranchedBehavior<double>, 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 |
Properties
Branch
Gets the branch equation variable.
Declaration
public IVariable<double> Branch { get; }
Property Value
Type | Description |
---|---|
IVariable<double> | The branch equation variable. |
Current
Gets the DC or instantaneous current through the device.
Declaration
[ParameterName("i")]
[ParameterName("c")]
[ParameterInfo("Current")]
public double Current { get; }
Property Value
Type | Description |
---|---|
double | The DC or instantaneous current. |
Power
Gets the DC or instantaneous power dissipation by the device.
Declaration
[ParameterName("p")]
[ParameterInfo("Power")]
public double Power { get; }
Property Value
Type | Description |
---|---|
double | The DC or instantaneous power dissipation. |
Voltage
Gets the DC or instantaneous voltage over the device.
Declaration
[ParameterName("v")]
[ParameterInfo("Voltage")]
public double Voltage { get; }
Property Value
Type | Description |
---|---|
double | The DC or instantaneous voltage. |
Methods
Load()
Loads the Y-matrix and right hand side vector.
Declaration
public virtual void Load()
Exceptions
Type | Condition |
---|---|
SpiceSharpException | Thrown if the behavior can't load the matrix and/or right hand side vector. |