Show / Hide Table of Contents

Class BiasingBehavior

Biasing behavior for VoltageSource.

Inheritance
System.Object
ParameterSet
ParameterSetCollection
Behavior
BiasingBehavior
Accept
FrequencyBehavior
Implements
IBiasingBehavior
IBranchedBehavior<System.Double>
IBehavior
IParameterSetCollection
IParameterSet
ICloneable
IParameterized<IndependentSourceParameters>
Inherited Members
Behavior.Name
ParameterSetCollection.GetParameterSet<P>()
ParameterSetCollection.TryGetParameterSet<P>(P)
ParameterSetCollection.SetParameter<P>(String, P)
ParameterSetCollection.TrySetParameter<P>(String, P)
ParameterSetCollection.GetProperty<P>(String)
ParameterSetCollection.TryGetProperty<P>(String, P)
ParameterSetCollection.CreateParameterSetter<P>(String)
ParameterSetCollection.CreatePropertyGetter<P>(String)
ParameterSetCollection.ParameterSets
ParameterSet.Clone()
ParameterSet.ICloneable.Clone()
ParameterSet.CopyFrom(ICloneable)
ParameterSet.ICloneable.CopyFrom(ICloneable)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SpiceSharp.Components.VoltageSources
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(VoltageSource), typeof(IBiasingBehavior))]
public class BiasingBehavior : Behavior, IBiasingBehavior, IBranchedBehavior<double>, IBehavior, IParameterSetCollection, IParameterSet, ICloneable, IParameterized<IndependentSourceParameters>

Constructors

BiasingBehavior(IComponentBindingContext)

Initializes a new instance of the BiasingBehavior class.

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

The context.

Exceptions
Type Condition
System.ArgumentNullException

Thrown if context is null.

Properties

Branch

Gets the branch equation variable.

Declaration
public IVariable<double> Branch { get; }
Property Value
Type Description
IVariable<System.Double>

The branch equation variable.

Current

Gets the DC or instantaneous current through the device.

Declaration
[ParameterName("i")]
[ParameterInfo("Voltage source current")]
public double Current { get; }
Property Value
Type Description
System.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")]
[ParameterInfo("Instantaneous power")]
public double Power { get; }
Property Value
Type Description
System.Double

The DC or instantaneous power dissipation.

Voltage

Gets the DC or instantaneous voltage over the device.

Declaration
[ParameterName("v")]
[ParameterInfo("Instantaneous voltage")]
public double Voltage { get; }
Property Value
Type Description
System.Double

The DC or instantaneous voltage.

Waveform

Gets the waveform.

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

The waveform.

Explicit Interface Implementations

IBiasingBehavior.Load()

Loads the Y-matrix and right hand side vector.

Declaration
void IBiasingBehavior.Load()
Exceptions
Type Condition
SpiceSharpException

Thrown if the behavior can't load the matrix and/or right hand side vector.

Implements

IBiasingBehavior
IBranchedBehavior<T>
IBehavior
IParameterSetCollection
IParameterSet
ICloneable
IParameterized<P>

Extension Methods

Utility.ThrowIfNull<T>(T, String)
Documentation.Parameters(IParameterSetCollection)
Documentation.Parameters(IParameterSet)
Documentation.ParameterValues<T>(IParameterSetCollection, Boolean)
Documentation.ParameterValues<T>(IParameterSet, Boolean)

See Also

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