Class Frequency
Frequency behavior for a VoltageDelay.
Implements
Inherited Members
Namespace: SpiceSharp.Components.VoltageDelays
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(VoltageDelay))]
[AddBehaviorIfNo(typeof(IFrequencyBehavior))]
public class Frequency : Biasing, IBiasingBehavior, IBranchedBehavior<double>, IParameterized<Parameters>, IFrequencyBehavior, IBranchedBehavior<Complex>, 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 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. |