Class ComplexVoltageExport
A class that exports complex voltages.
Inherited Members
Namespace: SpiceSharp.Simulations
Assembly: SpiceSharp.dll
Syntax
public class ComplexVoltageExport : Export<IFrequencySimulation, Complex>, IExport<Complex>
Constructors
ComplexVoltageExport(IFrequencySimulation, Reference, Reference)
Initializes a new instance of the ComplexVoltageExport class.
Declaration
public ComplexVoltageExport(IFrequencySimulation simulation, Reference posNode, Reference refNode = default)
Parameters
Type | Name | Description |
---|---|---|
IFrequencySimulation | simulation | The simulation. |
Reference | posNode | The positive node (can be a string or a string array for a path). |
Reference | refNode | The reference/negative node (can be a string or a string array for a path). |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
ArgumentException | Thrown if |
Properties
Decibels
Gets the amplitude in decibels (dB).
Declaration
public double Decibels { get; }
Property Value
Type | Description |
---|---|
double |
Phase
Gets the phase in radians.
Declaration
public double Phase { get; }
Property Value
Type | Description |
---|---|
double |
Positive
Gets the positive node.
Declaration
public Reference Positive { get; }
Property Value
Type | Description |
---|---|
Reference |
Reference
Gets the reference node.
Declaration
public Reference Reference { get; }
Property Value
Type | Description |
---|---|
Reference |
Methods
Initialize(object, EventArgs)
Initializes the export.
Declaration
protected override void Initialize(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
object | sender | The object (simulation) sending the event. |
EventArgs | e | The EventArgs instance containing the event data. |
Overrides
ToString()
Converts the export to a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The string. |
Overrides
Implements
Extension Methods
See Also
Export<S, T>