Impedance Modeling

<Impedance R1="0.0016842" R2="0.001337" R3="0.0016673" R4="0.0013447" R5="0.001337" R6="0.0016842" X1="0.016655" X2="0.0079151" X3="0.016676" X4="0.0068129" X5="0.0079151" X6="0.016655" G1="0" G2="0" G3="0" G4="0" G5="0" G6="0" B1="0.570752" B2="-0.14096" B3="0.58482" B4="-0.0662" B5="-0.14096" B6="0.570752" />

using SynchrophasorAnalytics.Modeling; 

//...

// Creates new impedance using default constructor with all parameters equal to zero
Impedance emptyImpedance = new Impedance();

using SynchrophasorAnalytics.Modeling;
using System.Numerics; 

//...

// Creates a new impedance with only parameters needed for positive 
// sequence state estimation using their complex setter methods.
Impedance positiveSequenceImpedanceUsingComplexSetters = new Impedance()
{
     Z1 = new Complex(resistance, reactance),
     Y1 = new Complex(conductance, susceptance)
};

using SynchrophasorAnalytics.Modeling; 

//...

// Creates a new impedance with only parameters needed for positive
// sequence state estimation using individual parameters
Impedance positiveSequenceImpedanceUsingRawParameters = new Impedance()
{
     R1 = resistance,
     R3 = resistance,
     R6 = resistance,
     X1 = reactance,
     X3 = reactance,
     X6 = reactance,
     G1 = conductance,
     G3 = conductance,
     G6 = conductance,
     B1 = susceptance,
     B3 = susceptance,
     B6 = susceptance
};

Last edited Sep 16, 2014 at 12:20 AM by kevinjones, version 1