Class Mosfet2Model
A model for a Mosfet2.
Implements
Inherited Members
Namespace: SpiceSharp.Components
Assembly: SpiceSharp.dll
Syntax
public class Mosfet2Model : Entity<ModelParameters>, IEntity, IParameterSetCollection, IParameterSet, ICloneable<IEntity>, IParameterized<ModelParameters>
Constructors
Mosfet2Model(string)
Initializes a new instance of the Mosfet2Model class.
Declaration
public Mosfet2Model(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the device. |
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. |