Show / Hide Table of Contents

Class ModelTemperature

Temperature behavior for switches.

Inheritance
object
ParameterSet
ParameterSetCollection
Behavior
ModelTemperature
Implements
IParameterized<ModelParameters>
ITemperatureBehavior
IBehavior
IParameterSetCollection
IExportPropertySet<double>
IParameterSet
Inherited Members
Behavior.Name
ParameterSetCollection.GetParameterSet<P>()
ParameterSetCollection.TryGetParameterSet<P>(out P)
ParameterSetCollection.ParameterSets
ParameterSetCollection.SetParameter<P>(string, P)
ParameterSetCollection.TrySetParameter<P>(string, P)
ParameterSetCollection.GetProperty<P>(string)
ParameterSetCollection.TryGetProperty<P>(string, out P)
ParameterSetCollection.CreateParameterSetter<P>(string)
ParameterSetCollection.CreatePropertyGetter<P>(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 context is null.

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()

Implements

IParameterized<P>
ITemperatureBehavior
IBehavior
IParameterSetCollection
IExportPropertySet<P>
IParameterSet

Extension Methods

Utility.ThrowIfNull<T>(T, string)
Documentation.ParameterValues<T>(IParameterSet, bool)
Documentation.Parameters(IParameterSet)
Documentation.ParameterValues<T>(IParameterSetCollection, bool)
Documentation.Parameters(IParameterSetCollection)

See Also

Behavior
IParameterized<P>
ITemperatureBehavior
VoltageModelParameters
In this article
Back to top Generated by DocFX