Class FrequencyBehavior
AC behavior for a VoltageControlledCurrentSource.
Implements
Inherited Members
Namespace: SpiceSharp.Components.VoltageControlledCurrentSources
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(VoltageControlledCurrentSource))]
[AddBehaviorIfNo(typeof(IFrequencyBehavior))]
public class FrequencyBehavior : BiasingBehavior, IBiasingBehavior, IParameterized<Parameters>, IFrequencyBehavior, 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 |
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("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. |