Show / Hide Table of Contents

Class FrequencyBehavior

AC behavior for VoltageSource

Inheritance
object
ParameterSet
ParameterSetCollection
Behavior
Biasing
FrequencyBehavior
Implements
IBiasingBehavior
IBranchedBehavior<double>
IParameterized<IndependentSourceParameters>
IFrequencyBehavior
IBranchedBehavior<Complex>
IBehavior
IParameterSetCollection
IExportPropertySet<Complex>
IExportPropertySet<double>
IParameterSet
Inherited Members
Biasing.Parameters
Biasing.Waveform
Biasing.Current
Biasing.Power
Biasing.Voltage
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(IFrequencyBehavior))]
public class FrequencyBehavior : Biasing, IBiasingBehavior, IBranchedBehavior<double>, IParameterized<IndependentSourceParameters>, IFrequencyBehavior, IBranchedBehavior<Complex>, IBehavior, IParameterSetCollection, IExportPropertySet<Complex>, IExportPropertySet<double>, IParameterSet

Constructors

FrequencyBehavior(IComponentBindingContext)

Initializes a new instance of the FrequencyBehavior class.

Declaration
public FrequencyBehavior(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<Complex> Branch { get; }
Property Value
Type Description
IVariable<Complex>

The branch equation variable.

ComplexCurrent

Gets the complex current through the device.

Declaration
[ParameterName("i")]
[ParameterName("i_c")]
[ParameterName("c")]
[ParameterInfo("Complex current")]
public Complex ComplexCurrent { get; }
Property Value
Type Description
Complex

The complex current.

ComplexPower

Gets the complex power dissipation by the device.

Declaration
[ParameterName("p")]
[ParameterName("p_c")]
[ParameterInfo("Complex power")]
public Complex ComplexPower { get; }
Property Value
Type Description
Complex

The complex power dissipation.

ComplexVoltage

Gets the complex voltage over the device.

Declaration
[ParameterName("v")]
[ParameterName("v_c")]
[ParameterInfo("Complex voltage")]
public Complex ComplexVoltage { get; }
Property Value
Type Description
Complex

The complex voltage.

Implements

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

Biasing
IFrequencyBehavior
IBranchedBehavior<T>
In this article
Back to top Generated by DocFX