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