Class Biasing
DC biasing behavior for a CurrentControlledCurrentSource.
Implements
Inherited Members
Namespace: SpiceSharp.Components.CurrentControlledCurrentSources
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(CurrentControlledCurrentSource))]
[AddBehaviorIfNo(typeof(IBiasingBehavior))]
public class Biasing : Behavior, IBiasingBehavior, IBehavior, IParameterSetCollection, IParameterized<Parameters>, IExportPropertySet<double>, IParameterSet
Constructors
Biasing(ICurrentControlledBindingContext)
Initializes a new instance of the Biasing class.
Declaration
public Biasing(ICurrentControlledBindingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ICurrentControlledBindingContext | context | The context for the behavior. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
| ArgumentException | Thrown if the simulation does not define an IComplexSimulationState. |
| TypeNotFoundException | Thrown if the controlling entity does not have a behavior of type IBranchedBehavior<T>. |
Properties
Current
Gets the DC or instantaneous current through the device.
Declaration
[ParameterName("i")]
[ParameterName("c")]
[ParameterName("i_r")]
[ParameterInfo("Current")]
public double Current { get; }
Property Value
| Type | Description |
|---|---|
| double | The DC or instantaneous current. |
Parameters
Gets the parameter set.
Declaration
public Parameters Parameters { get; }
Property Value
| Type | Description |
|---|---|
| Parameters | The parameter set. |
Power
Gets the DC or instantaneous power dissipation by the device.
Declaration
[ParameterName("p")]
[ParameterName("p_r")]
[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")]
[ParameterName("v_r")]
[ParameterInfo("Voltage")]
public double Voltage { get; }
Property Value
| Type | Description |
|---|---|
| double | The DC or instantaneous voltage. |