Show / Hide Table of Contents

Class Biasing

Biasing behavior for VoltageSource.

Inheritance
object
ParameterSet
ParameterSetCollection
Behavior
Biasing
Accept
FrequencyBehavior
Implements
IBiasingBehavior
IBranchedBehavior<double>
IBehavior
IParameterSetCollection
IParameterized<IndependentSourceParameters>
IExportPropertySet<double>
IParameterSet
Inherited Members
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.VoltageSources
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(VoltageSource))]
[AddBehaviorIfNo(typeof(IBiasingBehavior))]
public class Biasing : Behavior, IBiasingBehavior, IBranchedBehavior<double>, IBehavior, IParameterSetCollection, IParameterized<IndependentSourceParameters>, 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.

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")]
[ParameterName("i_r")]
[ParameterInfo("Voltage source current")]
public double Current { get; }
Property Value
Type Description
double

The DC or instantaneous current.

Parameters

Gets the parameter set.

Declaration
public IndependentSourceParameters Parameters { get; }
Property Value
Type Description
IndependentSourceParameters

The parameter set.

Power

Gets the DC or instantaneous power dissipation by the device.

Declaration
[ParameterName("p")]
[ParameterName("p_r")]
[ParameterInfo("Instantaneous 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("Instantaneous voltage")]
public double Voltage { get; }
Property Value
Type Description
double

The DC or instantaneous voltage.

Waveform

Gets the waveform.

Declaration
protected IWaveform Waveform { get; }
Property Value
Type Description
IWaveform

The waveform.

Implements

IBiasingBehavior
IBranchedBehavior<T>
IBehavior
IParameterSetCollection
IParameterized<P>
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

Behavior
IBranchedBehavior<T>
IBiasingBehavior
IParameterized<P>
IndependentSourceParameters
In this article
Back to top Generated by DocFX