Class Time
Transient behavior for a Capacitor.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Capacitors
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Capacitor))]
[AddBehaviorIfNo(typeof(ITimeBehavior))]
public class Time : Temperature, ITemperatureBehavior, IParameterized<Parameters>, IBiasingBehavior, ITimeBehavior, IBehavior, IParameterSetCollection, IExportPropertySet<double>, IParameterSet
Constructors
Time(IComponentBindingContext)
Initializes a new instance of the Time class.
Declaration
public Time(IComponentBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
IComponentBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Properties
Current
Gets the DC or instantaneous current through the device.
Declaration
[ParameterName("i")]
[ParameterName("c")]
[ParameterInfo("The instantaneous current")]
public double Current { get; }
Property Value
Type | Description |
---|---|
double | The DC or instantaneous current. |
Power
Gets the DC or instantaneous power dissipation by the device.
Declaration
[ParameterName("p")]
[ParameterInfo("The instantaneous dissipated power")]
public double Power { get; }
Property Value
Type | Description |
---|---|
double | The DC or instantaneous power dissipation. |
Voltage
Gets the DC or instantaneous voltage over the device.
Declaration
[ParameterName("v")]
[ParameterInfo("The instantaneous voltage")]
public double Voltage { get; }
Property Value
Type | Description |
---|---|
double | The DC or instantaneous voltage. |