Class ModelTemperature
Temperature behavior for switches.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Switches
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(CurrentSwitchModel))]
[BehaviorFor(typeof(VoltageSwitchModel))]
[AddBehaviorIfNo(typeof(ITemperatureBehavior))]
public class ModelTemperature : Behavior, IParameterized<ModelParameters>, ITemperatureBehavior, IBehavior, IParameterSetCollection, IExportPropertySet<double>, IParameterSet
Constructors
ModelTemperature(IBindingContext)
Initializes a new instance of the ModelTemperature class.
Declaration
public ModelTemperature(IBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
IBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Properties
Hysteresis
Gets the hysteresis parameter.
Declaration
public double Hysteresis { get; }
Property Value
Type | Description |
---|---|
double | The hysteresis value. |
OffConductance
Gets the off conductance.
Declaration
[ParameterName("goff")]
[ParameterInfo("The conductance when off.")]
public double OffConductance { get; }
Property Value
Type | Description |
---|---|
double | The off conductance. |
OnConductance
Gets the on conductance.
Declaration
[ParameterName("gon")]
[ParameterInfo("The conductance when on.")]
public double OnConductance { get; }
Property Value
Type | Description |
---|---|
double | The on conductance. |
Parameters
Gets the parameter set.
Declaration
public ModelParameters Parameters { get; }
Property Value
Type | Description |
---|---|
ModelParameters | The parameter set. |
Methods
Temperature()
Perform temperature-dependent calculations.
Declaration
public void Temperature()