Class Frequency
Small signal behavior for CurrentControlledVoltageSource.
Implements
Inherited Members
Namespace: SpiceSharp.Components.CurrentControlledVoltageSources
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(CurrentControlledVoltageSource))]
[AddBehaviorIfNo(typeof(IFrequencyBehavior))]
public class Frequency : Biasing, IBiasingBehavior, IBranchedBehavior<double>, IParameterized<Parameters>, IFrequencyBehavior, IBranchedBehavior<Complex>, IBehavior, IParameterSetCollection, IExportPropertySet<Complex>, IExportPropertySet<double>, IParameterSet
Constructors
Frequency(ICurrentControlledBindingContext)
Initializes a new instance of the Frequency class.
Declaration
public Frequency(ICurrentControlledBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
ICurrentControlledBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
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("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. |