Class Frequency
Frequency behavior for a LosslessTransmissionLine.
Implements
Inherited Members
Namespace: SpiceSharp.Components.LosslessTransmissionLines
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(LosslessTransmissionLine))]
[AddBehaviorIfNo(typeof(IFrequencyBehavior))]
public class Frequency : Biasing, IBiasingBehavior, IParameterized<Parameters>, IFrequencyBehavior, IBehavior, IParameterSetCollection, IExportPropertySet<Complex>, IExportPropertySet<double>, IParameterSet
Constructors
Frequency(IComponentBindingContext)
Initializes a new instance of the Frequency class.
Declaration
public Frequency(IComponentBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
IComponentBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Properties
Branch1
Gets the left-side branch.
Declaration
protected IVariable<Complex> Branch1 { get; }
Property Value
Type | Description |
---|---|
IVariable<Complex> | The left branch. |
Branch2
Gets the right-side branch.
Declaration
protected IVariable<Complex> Branch2 { get; }
Property Value
Type | Description |
---|---|
IVariable<Complex> | The right branch. |
ComplexCurrent1
Gets the current on side 1.
Declaration
[ParameterName("i1")]
[ParameterName("c1")]
[ParameterName("i1_r")]
[ParameterInfo("Current 1")]
public Complex ComplexCurrent1 { get; }
Property Value
Type | Description |
---|---|
Complex | The current on side 1. |
ComplexCurrent2
Gets the current on side 2.
Declaration
[ParameterName("i2")]
[ParameterName("c2")]
[ParameterName("i2_r")]
[ParameterInfo("Current 2")]
public Complex ComplexCurrent2 { get; }
Property Value
Type | Description |
---|---|
Complex | The current on side 2. |
ComplexPower1
Gets the power on side 1.
Declaration
[ParameterName("p1")]
[ParameterName("p1_r")]
[ParameterInfo("Power 1")]
public Complex ComplexPower1 { get; }
Property Value
Type | Description |
---|---|
Complex | The power on side 1. |
ComplexPower2
Gets the power on side 2.
Declaration
[ParameterName("p2")]
[ParameterName("p2_r")]
[ParameterInfo("Power 2")]
public Complex ComplexPower2 { get; }
Property Value
Type | Description |
---|---|
Complex | The power on side 2. |
ComplexVoltage1
Gets the voltage on side 1.
Declaration
[ParameterName("v1")]
[ParameterName("v1_r")]
[ParameterInfo("Voltage 1")]
public Complex ComplexVoltage1 { get; }
Property Value
Type | Description |
---|---|
Complex | The voltage on side 1. |
ComplexVoltage2
Gets the voltage on side 2.
Declaration
[ParameterName("v2")]
[ParameterName("v2_r")]
[ParameterInfo("Voltage 2")]
public Complex ComplexVoltage2 { get; }
Property Value
Type | Description |
---|---|
Complex | The voltage on side 2. |
Internal1
Gets the left-side internal node.
Declaration
protected IVariable<Complex> Internal1 { get; }
Property Value
Type | Description |
---|---|
IVariable<Complex> | The left internal node. |
Internal2
Gets the right-side internal node.
Declaration
protected IVariable<Complex> Internal2 { get; }
Property Value
Type | Description |
---|---|
IVariable<Complex> | The right internal node. |