Class TLineObj
Unit
Declaration
type TLineObj = class(TPDElement)
Description
No description available, ancestor TPDElement description follows
No description available, ancestor TDSSCktElement description follows
No description available, ancestor TDSSObject description follows
No description available, ancestor TNamedObject description follows
this is a GUID compliant to RFC 4122, v4
Hierarchy
- TObject
- TNamedObject
- TDSSObject
- TDSSCktElement
- TPDElement
- TLineObj
Overview
Fields
FZFrequency: Double; |
|
FLineCodeUnits: Integer; |
|
FUnitsConvert: Double; |
|
FWireDataSize: Integer; |
|
FPhaseChoice: ConductorChoice; |
|
FEarthModel: Integer; |
|
FrhoSpecified: Boolean; |
|
FCapSpecified: Boolean; |
|
SymComponentsChanged: Boolean; |
|
SymComponentsModel: LongBool; |
|
IsSwitch: LongBool; |
|
FLineType: Integer; |
|
UserLengthUnits: Integer; |
|
Zinv: TCMatrix; |
|
Z: TCMatrix; |
|
Yc: TCMatrix; |
|
R1: Double; |
|
X1: Double; |
|
R0: Double; |
|
X0: Double; |
|
C1: Double; |
|
C0: Double; |
|
Len: Double; |
|
LengthUnits: Integer; |
|
Rg: Double; |
|
Xg: Double; |
|
KXg: Double; |
|
rho: Double; |
|
GeneralPlotQuantity: Double; |
|
LineCodeObj: TLineCodeObj; |
|
LineGeometryObj: TLineGeometryObj; |
|
LineSpacingObj: TLineSpacingObj; |
|
FLineWireData: pConductorDataArray; |
Methods
procedure FMakeZFromGeometry(f: Double); |
|
procedure KillGeometrySpecified; |
|
procedure FMakeZFromSpacing(f: Double); |
|
procedure KillSpacingSpecified; |
|
procedure ClearYPrim; |
|
procedure ResetLengthUnits; |
|
function NumConductorData: Integer; |
|
function FetchConductorData(i: Integer): TConductorDataObj; |
|
procedure ReallocZandYcMatrices; |
|
procedure DoLongLine(Frequency: Double); |
|
procedure ConvertZinvToPosSeqR; |
|
procedure GetSeqLosses(var PosSeqLosses, NegSeqLosses, ZeroSeqLosses: complex); OVERRIDE; |
|
constructor Create(ParClass: TDSSClass; const LineName: String); |
|
destructor Destroy; OVERRIDE; |
|
procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override; |
|
procedure MakeLike(OtherPtr: Pointer); override; |
|
procedure RecalcElementData; OVERRIDE; |
|
procedure CalcYPrim; OVERRIDE; |
|
procedure MakePosSequence(); OVERRIDE; |
|
function MergeWith(var Other: TLineObj; Series: Boolean): Boolean; |
|
procedure UpdateControlElements(NewLine, OldLine: TLineObj); |
|
procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE; |
|
procedure FetchLineCode(); |
|
procedure FetchGeometryCode(); |
|
procedure FetchLineSpacing(); |
|
procedure CalcFltRate; OVERRIDE; |
|
function LineCodeSpecified: Boolean; |
|
function GeometrySpecified: Boolean; |
|
function SpacingSpecified: Boolean; |
Properties
property PhaseChoice: ConductorChoice READ FPhaseChoice; |
|
property UnitsConvert: Double READ FUnitsConvert; |
|
property NumConductorsAvailable: Integer READ NumConductorData; |
|
property ConductorData[i:Integer]: TConductorDataObj READ FetchConductorData; |
Description
Fields
FZFrequency: Double; |
|
FLineCodeUnits: Integer; |
|
keep track of last frequency computed for geometry |
FUnitsConvert: Double; |
|
FWireDataSize: Integer; |
|
conversion factor |
FPhaseChoice: ConductorChoice; |
|
FEarthModel: Integer; |
|
FrhoSpecified: Boolean; |
|
FCapSpecified: Boolean; |
|
SymComponentsChanged: Boolean; |
|
To make sure user specifies C in some form |
SymComponentsModel: LongBool; |
|
IsSwitch: LongBool; |
|
FLineType: Integer; |
|
UserLengthUnits: Integer; |
|
Pointer to code for type of line |
Zinv: TCMatrix; |
|
keep track of the user's input length units |
Z: TCMatrix; |
|
Yc: TCMatrix; |
|
Base Frequency Series Z matrix per unit length |
R1: Double; |
|
X1: Double; |
|
R0: Double; |
|
X0: Double; |
|
C1: Double; |
|
C0: Double; |
|
Len: Double; |
|
LengthUnits: Integer; |
|
Rg: Double; |
|
Xg: Double; |
|
KXg: Double; |
|
rho: Double; |
|
GeneralPlotQuantity: Double; |
|
LineCodeObj: TLineCodeObj; |
|
For general circuit plotting |
LineGeometryObj: TLineGeometryObj; |
|
LineSpacingObj: TLineSpacingObj; |
|
FLineWireData: pConductorDataArray; |
|
Methods
procedure FMakeZFromGeometry(f: Double); |
|
procedure KillGeometrySpecified; |
|
make new Z, Zinv, Yc, etc |
procedure FMakeZFromSpacing(f: Double); |
|
procedure KillSpacingSpecified; |
|
make new Z, Zinv, Yc, etc |
procedure ClearYPrim; |
|
procedure ResetLengthUnits; |
|
function NumConductorData: Integer; |
|
function FetchConductorData(i: Integer): TConductorDataObj; |
|
procedure ReallocZandYcMatrices; |
|
procedure DoLongLine(Frequency: Double); |
|
procedure ConvertZinvToPosSeqR; |
|
Long Line Correction for 1=phase |
procedure GetSeqLosses(var PosSeqLosses, NegSeqLosses, ZeroSeqLosses: complex); OVERRIDE; |
|
for GIC analysis, primarily procedure GetLosses(var TotalLosses, LoadLosses, NoLoadLosses: Complex); OVERRIDE; |
constructor Create(ParClass: TDSSClass; const LineName: String); |
|
destructor Destroy; OVERRIDE; |
|
procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override; |
|
procedure MakeLike(OtherPtr: Pointer); override; |
|
procedure RecalcElementData; OVERRIDE; |
|
procedure CalcYPrim; OVERRIDE; |
|
procedure MakePosSequence(); OVERRIDE; |
|
function MergeWith(var Other: TLineObj; Series: Boolean): Boolean; |
|
Make a positive Sequence Model |
procedure UpdateControlElements(NewLine, OldLine: TLineObj); |
|
procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE; |
|
procedure FetchLineCode(); |
|
Public for the COM Interface |
procedure FetchGeometryCode(); |
|
procedure FetchLineSpacing(); |
|
procedure CalcFltRate; OVERRIDE; |
|
Reliability calcs |
function LineCodeSpecified: Boolean; |
|
Calc failure rates for section and buses CIM XML access |
function GeometrySpecified: Boolean; |
|
function SpacingSpecified: Boolean; |
|
Properties
property PhaseChoice: ConductorChoice READ FPhaseChoice; |
|
property UnitsConvert: Double READ FUnitsConvert; |
|
property NumConductorsAvailable: Integer READ NumConductorData; |
|
conversion to present Line units |
property ConductorData[i:Integer]: TConductorDataObj READ FetchConductorData; |
|
Generated by PasDoc 0.16.0.