Class Parameters
Base parameters for a switch.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Switches
Assembly: SpiceSharp.dll
Syntax
public class Parameters : ParameterSet<Parameters>, ICloneable<Parameters>, IImportParameterSet<bool>, IImportParameterSet<double>, IExportPropertySet<double>, IParameterSet
Properties
ParallelMultiplier
Gets or sets the multiplier.
Declaration
[ParameterName("m")]
[ParameterInfo("The parallel multiplier")]
[GreaterThan(0)]
[Finite]
public double ParallelMultiplier { get; set; }
Property Value
Type | Description |
---|---|
double |
ZeroState
Gets or sets initial state.
Declaration
public bool ZeroState { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Methods
SetZeroStateOff(bool)
Sets the switch initially to non-conducting.
Declaration
[ParameterName("off")]
[ParameterInfo("Initially open")]
public void SetZeroStateOff(bool flag)
Parameters
Type | Name | Description |
---|---|---|
bool | flag | If |
SetZeroStateOn(bool)
Sets the switch initially to conducting.
Declaration
[ParameterName("on")]
[ParameterInfo("Initially closed")]
public void SetZeroStateOn(bool flag)
Parameters
Type | Name | Description |
---|---|---|
bool | flag | If |