Class Mosfet3Model
A model for a Mosfet3
Implements
Inherited Members
Namespace: SpiceSharp.Components
Assembly: SpiceSharp.dll
Syntax
public class Mosfet3Model : Entity<ModelParameters>, IEntity, IParameterSetCollection, IParameterSet, ICloneable<IEntity>, IParameterized<ModelParameters>
  Constructors
Mosfet3Model(string)
Initializes a new instance of the Mosfet3Model class.
Declaration
public Mosfet3Model(string name)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | The name of the device.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ArgumentNullException | Thrown if   | 
      
Mosfet3Model(string, bool)
Initializes a new instance of the Mosfet3Model class.
Declaration
public Mosfet3Model(string name, bool nmos)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | Name.  | 
      
| bool | nmos | True for NMOS transistors, false for PMOS transistors.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ArgumentNullException | Thrown if   | 
      
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.  |