Class Temperature
Temperature behavior for a Capacitor.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Capacitors
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Capacitor))]
[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
Capacitance
Gets the capacitance.
Declaration
[ParameterName("capacitance")]
[ParameterInfo("The capacitance of the capacitor.")]
public double Capacitance { get; }
Property Value
Type | Description |
---|---|
double | The capacitance. |
Parameters
Gets the parameter set.
Declaration
public Parameters Parameters { get; }
Property Value
Type | Description |
---|---|
Parameters | The parameter set. |