Class Temperature
Temperature behavior for a Resistor.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Resistors
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Resistor))]
[AddBehaviorIfNo(typeof(ITemperatureBehavior))]
public class Temperature : Behavior, ITemperatureBehavior, IBehavior, IParameterSetCollection, IParameterized<Parameters>, IExportPropertySet<double>, IParameterSet
  Constructors
Temperature(IComponentBindingContext)
Initializes a new instance of the Temperature class.
Declaration
public Temperature(IComponentBindingContext context)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IComponentBindingContext | context | The context.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ArgumentNullException | Thrown if   | 
      
Properties
Conductance
Gets the conductance for this resistor.
Declaration
[ParameterName("g")]
[ParameterInfo("The conductance of the resistor.")]
public double Conductance { get; }
  Property Value
| Type | Description | 
|---|---|
| double | The conductance.  | 
      
Parameters
Gets the parameter set.
Declaration
public Parameters Parameters { get; }
  Property Value
| Type | Description | 
|---|---|
| Parameters | The parameter set.  |