RelaxISPlugin_CircuitElement2CalculateImpedance Method |
The function used to calculate the impedance of the single circuit element.
Namespace: RelaxIS_SDK.PluginsAssembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax public abstract Complex CalculateImpedance(
double frequency,
double[] parameters,
int pStartIndex
)
Public MustOverride Function CalculateImpedance (
frequency As Double,
parameters As Double(),
pStartIndex As Integer
) As Complex
Dim instance As RelaxISPlugin_CircuitElement2
Dim frequency As Double
Dim parameters As Double()
Dim pStartIndex As Integer
Dim returnValue As Complex
returnValue = instance.CalculateImpedance(frequency,
parameters, pStartIndex)
Parameters
- frequency Double
- The frequency for which the impedance should be calculated.
- parameters Double
- An array of parameter values for the full model.
- pStartIndex Int32
- The index of the first parameter for this element in the parameters array.
Return Value
ComplexA complex number from the real and imaginary part of the impedance.
Remarks
The values in the
parameters array are in the same order as the
StandardParameters indicates.
The
parameters array contains parameters for the full model not just for this element. The first parameter for this
element is found at
parameters[
pStartIndex].
See Also