Class Frequency
Frequency behavior for a Capacitor.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Capacitors
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Capacitor))]
[AddBehaviorIfNo(typeof(IFrequencyBehavior))]
public class Frequency : Temperature, ITemperatureBehavior, 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 context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Properties
ComplexCurrent
Gets the complex current through the device.
Declaration
[ParameterName("i")]
[ParameterName("c")]
[ParameterInfo("The 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")]
[ParameterInfo("The 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")]
[ParameterInfo("The complex voltage")]
public Complex ComplexVoltage { get; }
Property Value
Type | Description |
---|---|
Complex | The complex voltage. |