Class Time
Transient behavior for an Inductor.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Inductors
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Inductor))]
[AddBehaviorIfNo(typeof(ITimeBehavior))]
public class Time : Biasing, ITemperatureBehavior, IParameterized<Parameters>, IBiasingBehavior, IBranchedBehavior<double>, 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
Flux
Gets the flux of the inductor.
Declaration
[ParameterName("flux")]
[ParameterInfo("The flux through the inductor.")]
public double Flux { get; }
Property Value
| Type | Description |
|---|---|
| double | The flux of the inductor. |
Methods
Load()
Loads the Y-matrix and right hand side vector.
Declaration
public override void Load()
Overrides
Exceptions
| Type | Condition |
|---|---|
| SpiceSharpException | Thrown if the behavior can't load the matrix and/or right hand side vector. |
Events
UpdateFlux
Occurs when flux can be updated.
Declaration
public event EventHandler<UpdateFluxEventArgs> UpdateFlux
Event Type
| Type | Description |
|---|---|
| EventHandler<UpdateFluxEventArgs> |
Remarks
This event is used by MutualInductance to couple inductors.