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