Class Frequency
Small-signal (AC) behavior for a CurrentSource.
Implements
Inherited Members
Namespace: SpiceSharp.Components.CurrentSources
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(CurrentSource))]
[AddBehaviorIfNo(typeof(IFrequencyBehavior))]
public class Frequency : Biasing, IBiasingBehavior, IParameterized<Parameters>, IFrequencyBehavior, IBehavior, IParameterSetCollection, IExportPropertySet<Complex>, IExportPropertySet<double>, IParameterSet
Constructors
Frequency(IComponentBindingContext)
Initializes a new instance of the Frequency class.
Declaration
public Frequency(IComponentBindingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| IComponentBindingContext | context | The binding context. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |
Properties
ComplexCurrent
Gets the complex current through the device.
Declaration
[ParameterName("i")]
[ParameterName("c")]
[ParameterName("i_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. |