Class BehavioralVoltageSource
A behavioral voltage source.
Implements
SpiceSharp.Components.IComponent
SpiceSharp.Entities.IEntity
SpiceSharp.ICloneable
SpiceSharp.ParameterSets.IParameterSetCollection
SpiceSharp.ParameterSets.IParameterSet
SpiceSharp.ParameterSets.IParameterized<Parameters>
Inherited Members
Namespace: SpiceSharp.Components
Assembly: SpiceSharpBehavioral.dll
Syntax
public class BehavioralVoltageSource : BehavioralComponent, IComponent, IEntity, ICloneable, IParameterSetCollection, IParameterSet, IParameterized<Parameters>
Constructors
BehavioralVoltageSource(String)
Initializes a new instance of the BehavioralVoltageSource class.
Declaration
public BehavioralVoltageSource(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the entity. |
BehavioralVoltageSource(String, String, String, String)
Initializes a new instance of the BehavioralVoltageSource class.
Declaration
public BehavioralVoltageSource(string name, string pos, string neg, string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.String | pos | The positive node. |
System.String | neg | The negative node. |
System.String | expression | The expression. |
Fields
BehavioralVoltageSourcePinCount
The behavioral voltage source base pin count
Declaration
public const int BehavioralVoltageSourcePinCount = 2
Field Value
Type | Description |
---|---|
System.Int32 |
Implements
SpiceSharp.Components.IComponent
SpiceSharp.Entities.IEntity
SpiceSharp.ICloneable
SpiceSharp.ParameterSets.IParameterSetCollection
SpiceSharp.ParameterSets.IParameterSet
SpiceSharp.ParameterSets.IParameterized<>