Class TLineConstants
Unit
Declaration
type TLineConstants = class(TObject)
Description
This class returns a matrix ordered by phases first then remaining conductors Assumes phases are defined first
Hierarchy
- TObject
- TLineConstants
Overview
Fields
![]() |
FNumConds: Integer; |
![]() |
FNPhases: Integer; |
![]() |
FData: pDouble; |
![]() |
FX: pDoubleArray; |
![]() |
FY: pDoubleArray; |
![]() |
FRdc: pDoubleArray; |
![]() |
FRac: pDoubleArray; |
![]() |
FGMR: pDoubleArray; |
![]() |
Fradius: pDoubleArray; |
![]() |
Fcapradius: pDoubleArray; |
![]() |
FZmatrix: TCmatrix; |
![]() |
FYCmatrix: TCmatrix; |
![]() |
FZreduced: TCMatrix; |
![]() |
FYCreduced: TCMatrix; |
![]() |
FFrequency: Double; |
![]() |
Fw: Double; |
![]() |
FrhoEarth: Double; |
![]() |
Fme: Complex; |
![]() |
FRhoChanged: Boolean; |
Methods
![]() |
function Get_GMR(i, units: Integer): Double; |
![]() |
function Get_radius(i, units: Integer): Double; |
![]() |
function Get_Rdc(i, units: Integer): Double; |
![]() |
function Get_Rac(i, units: Integer): Double; |
![]() |
function Get_X(i, units: Integer): Double; |
![]() |
function Get_Y(i, units: Integer): Double; |
![]() |
function Get_YCmatrix(f, Lngth: Double; Units: Integer): Tcmatrix; |
![]() |
function Get_Ze(i, j, EarthModel: Integer): Complex; |
![]() |
function Get_Zint(i, EarthModel: Integer): Complex; |
![]() |
function Get_Zmatrix(f, Lngth: Double; Units, EarthModel: Integer): Tcmatrix; |
![]() |
procedure Set_GMR(i, units: Integer; const Value: Double); |
![]() |
procedure Set_radius(i, units: Integer; const Value: Double); |
![]() |
procedure Set_Rdc(i, units: Integer; const Value: Double); |
![]() |
procedure Set_Rac(i, units: Integer; const Value: Double); |
![]() |
procedure Set_X(i, units: Integer; const Value: Double); |
![]() |
procedure Set_Y(i, units: Integer; const Value: Double); |
![]() |
procedure Set_Frequency(const Value: Double); |
![]() |
procedure Set_Frhoearth(const Value: Double); |
![]() |
function Get_Capradius(i, units: Integer): Double; |
![]() |
procedure Set_Capradius(i, units: Integer; const Value: Double); |
![]() |
procedure set_Nphases(const Value: Integer); |
![]() |
function ConductorsInSameSpace(var ErrorMessage: String): Boolean; VIRTUAL; |
![]() |
procedure Calc(f: Double; EarthModel: Integer); VIRTUAL; |
![]() |
procedure Kron(Norder: Integer); VIRTUAL; |
![]() |
procedure Reduce; |
![]() |
constructor Create(NumConductors: Integer); |
![]() |
destructor Destroy; OVERRIDE; |
Properties
![]() |
property Frequency: Double READ FFrequency WRITE Set_Frequency; |
![]() |
property X[i,units:Integer]: Double READ Get_X WRITE Set_X; |
![]() |
property Y[i,units:Integer]: Double READ Get_Y WRITE Set_Y; |
![]() |
property Rdc[i,units:Integer]: Double READ Get_Rdc WRITE Set_Rdc; |
![]() |
property Rac[i,units:Integer]: Double READ Get_Rac WRITE Set_Rac; |
![]() |
property radius[i,units:Integer]: Double READ Get_radius WRITE Set_radius; |
![]() |
property Capradius[i,units:Integer]: Double Read Get_Capradius Write Set_Capradius; |
![]() |
property GMR[i,units:Integer]: Double READ Get_GMR WRITE Set_GMR; |
![]() |
property Zint[i,EarthModel:Integer]: Complex READ Get_Zint; |
![]() |
property Ze[i,j,EarthModel:Integer]: Complex READ Get_Ze; |
![]() |
property rhoearth: Double READ Frhoearth WRITE Set_Frhoearth; |
![]() |
property Zmatrix[f,Lngth:Double;Units,EarthModel:Integer]: Tcmatrix READ Get_Zmatrix; |
![]() |
property YCmatrix[f,Lngth:Double;Units:Integer]: Tcmatrix READ Get_YCmatrix; |
![]() |
property Nphases: Integer READ FNPhases WRITE set_Nphases; |
![]() |
property Nconductors: Integer READ FNumConds; |
Description
Fields
![]() |
FNumConds: Integer; |
![]() |
FNPhases: Integer; |
![]() |
FData: pDouble; |
![]() |
FX: pDoubleArray; |
Memory for the arrays below is shared in FData above; |
![]() |
FY: pDoubleArray; |
![]() |
FRdc: pDoubleArray; |
![]() |
FRac: pDoubleArray; |
ohms/m |
![]() |
FGMR: pDoubleArray; |
ohms/m |
![]() |
Fradius: pDoubleArray; |
m |
![]() |
Fcapradius: pDoubleArray; |
![]() |
FZmatrix: TCmatrix; |
if different than radius; defaults to radius Primarily for bundled conductors |
![]() |
FYCmatrix: TCmatrix; |
in ohms/m |
![]() |
FZreduced: TCMatrix; |
siemens/m — jwC |
![]() |
FYCreduced: TCMatrix; |
These two do not exist until Kron Reduction |
![]() |
FFrequency: Double; |
is executed |
![]() |
Fw: Double; |
Frequency for which impedances are computed |
![]() |
FrhoEarth: Double; |
2piF |
![]() |
Fme: Complex; |
ohm-m |
![]() |
FRhoChanged: Boolean; |
factor for earth impedance |
Methods
![]() |
function Get_GMR(i, units: Integer): Double; |
![]() |
function Get_radius(i, units: Integer): Double; |
![]() |
function Get_Rdc(i, units: Integer): Double; |
![]() |
function Get_Rac(i, units: Integer): Double; |
![]() |
function Get_X(i, units: Integer): Double; |
![]() |
function Get_Y(i, units: Integer): Double; |
![]() |
function Get_YCmatrix(f, Lngth: Double; Units: Integer): Tcmatrix; |
![]() |
function Get_Ze(i, j, EarthModel: Integer): Complex; |
![]() |
function Get_Zint(i, EarthModel: Integer): Complex; |
![]() |
function Get_Zmatrix(f, Lngth: Double; Units, EarthModel: Integer): Tcmatrix; |
![]() |
procedure Set_GMR(i, units: Integer; const Value: Double); |
![]() |
procedure Set_radius(i, units: Integer; const Value: Double); |
![]() |
procedure Set_Rdc(i, units: Integer; const Value: Double); |
![]() |
procedure Set_Rac(i, units: Integer; const Value: Double); |
![]() |
procedure Set_X(i, units: Integer; const Value: Double); |
![]() |
procedure Set_Y(i, units: Integer; const Value: Double); |
![]() |
procedure Set_Frequency(const Value: Double); |
![]() |
procedure Set_Frhoearth(const Value: Double); |
![]() |
function Get_Capradius(i, units: Integer): Double; |
m This allows you to compute capacitance using a different radius – for bundled conductors |
![]() |
procedure Set_Capradius(i, units: Integer; const Value: Double); |
![]() |
procedure set_Nphases(const Value: Integer); |
![]() |
function ConductorsInSameSpace(var ErrorMessage: String): Boolean; VIRTUAL; |
![]() |
procedure Calc(f: Double; EarthModel: Integer); VIRTUAL; |
![]() |
procedure Kron(Norder: Integer); VIRTUAL; |
force a calc of impedances |
![]() |
procedure Reduce; |
Performs a Kron reduction leaving first Norder rows |
![]() |
constructor Create(NumConductors: Integer); |
![]() |
destructor Destroy; OVERRIDE; |
Properties
![]() |
property Frequency: Double READ FFrequency WRITE Set_Frequency; |
These can only be called privately |
![]() |
property X[i,units:Integer]: Double READ Get_X WRITE Set_X; |
Kron reduce to Numphases only |
![]() |
property Y[i,units:Integer]: Double READ Get_Y WRITE Set_Y; |
![]() |
property Rdc[i,units:Integer]: Double READ Get_Rdc WRITE Set_Rdc; |
![]() |
property Rac[i,units:Integer]: Double READ Get_Rac WRITE Set_Rac; |
![]() |
property radius[i,units:Integer]: Double READ Get_radius WRITE Set_radius; |
![]() |
property Capradius[i,units:Integer]: Double Read Get_Capradius Write Set_Capradius; |
![]() |
property GMR[i,units:Integer]: Double READ Get_GMR WRITE Set_GMR; |
![]() |
property Zint[i,EarthModel:Integer]: Complex READ Get_Zint; |
![]() |
property Ze[i,j,EarthModel:Integer]: Complex READ Get_Ze; |
Internal impedance of i-th conductor for present frequency |
![]() |
property rhoearth: Double READ Frhoearth WRITE Set_Frhoearth; |
Earth return impedance at present frequency for ij element |
![]() |
property Zmatrix[f,Lngth:Double;Units,EarthModel:Integer]: Tcmatrix READ Get_Zmatrix; |
These two properties will auto recalc the impedance matrices if frequency is different Converts to desired units when executed; Returns Pointer to Working Verstion |
![]() |
property YCmatrix[f,Lngth:Double;Units:Integer]: Tcmatrix READ Get_YCmatrix; |
![]() |
property Nphases: Integer READ FNPhases WRITE set_Nphases; |
![]() |
property Nconductors: Integer READ FNumConds; |
Generated by PasDoc 0.16.0.