Class JFET
A junction field-effect transistor.
Implements
Inherited Members
Namespace: SpiceSharp.Components
Assembly: SpiceSharp.dll
Syntax
[Pin(0, "drain")]
[Pin(1, "gate")]
[Pin(2, "source")]
public class JFET : Component<Parameters>, IComponent, IEntity, IParameterSetCollection, IParameterSet, ICloneable<IEntity>, IRuleSubject, IParameterized<Parameters>
Constructors
JFET(string)
Initializes a new instance of the JFET class.
Declaration
public JFET(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The string of the entity. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
JFET(string, string, string, string, string)
Initializes a new instance of the JFET class.
Declaration
public JFET(string name, string drain, string gate, string source, string model)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the component. |
string | drain | The drain node. |
string | gate | The gate node. |
string | source | The source node. |
string | model | The model name. |
Fields
PinCount
The pin count for JFETs.
Declaration
public const int PinCount = 3
Field Value
Type | Description |
---|---|
int |
Methods
CreateBehaviors(ISimulation)
Creates the behaviors and stores them in the specified container.
Declaration
public override void CreateBehaviors(ISimulation simulation)
Parameters
Type | Name | Description |
---|---|---|
ISimulation | simulation | The simulation. |
Overrides
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
ArgumentException | Thrown if the simulation does not use an IComplexSimulationState. |
TypeNotFoundException | Thrown if a required behavior or parameter set could not be found. |
AmbiguousTypeException | Thrown if a behavior or parameter set could not be resolved unambiguously. |