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

Overview

Fields

Public FZFrequency: Double;
Public FLineCodeUnits: Integer;
Public FUnitsConvert: Double;
Public FWireDataSize: Integer;
Public FPhaseChoice: ConductorChoice;
Public FEarthModel: Integer;
Public FrhoSpecified: Boolean;
Public FCapSpecified: Boolean;
Public SymComponentsChanged: Boolean;
Public SymComponentsModel: LongBool;
Public IsSwitch: LongBool;
Public FLineType: Integer;
Public UserLengthUnits: Integer;
Public Zinv: TCMatrix;
Public Z: TCMatrix;
Public Yc: TCMatrix;
Public R1: Double;
Public X1: Double;
Public R0: Double;
Public X0: Double;
Public C1: Double;
Public C0: Double;
Public Len: Double;
Public LengthUnits: Integer;
Public Rg: Double;
Public Xg: Double;
Public KXg: Double;
Public rho: Double;
Public GeneralPlotQuantity: Double;
Public LineCodeObj: TLineCodeObj;
Public LineGeometryObj: TLineGeometryObj;
Public LineSpacingObj: TLineSpacingObj;
Public FLineWireData: pConductorDataArray;

Methods

Public procedure FMakeZFromGeometry(f: Double);
Public procedure KillGeometrySpecified;
Public procedure FMakeZFromSpacing(f: Double);
Public procedure KillSpacingSpecified;
Public procedure ClearYPrim;
Public procedure ResetLengthUnits;
Public function NumConductorData: Integer;
Public function FetchConductorData(i: Integer): TConductorDataObj;
Public procedure ReallocZandYcMatrices;
Public procedure DoLongLine(Frequency: Double);
Public procedure ConvertZinvToPosSeqR;
Public procedure GetSeqLosses(var PosSeqLosses, NegSeqLosses, ZeroSeqLosses: complex); OVERRIDE;
Public constructor Create(ParClass: TDSSClass; const LineName: String);
Public destructor Destroy; OVERRIDE;
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
Public procedure MakeLike(OtherPtr: Pointer); override;
Public procedure RecalcElementData; OVERRIDE;
Public procedure CalcYPrim; OVERRIDE;
Public procedure MakePosSequence(); OVERRIDE;
Public function MergeWith(var Other: TLineObj; Series: Boolean): Boolean;
Public procedure UpdateControlElements(NewLine, OldLine: TLineObj);
Public procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE;
Public procedure FetchLineCode();
Public procedure FetchGeometryCode();
Public procedure FetchLineSpacing();
Public procedure CalcFltRate; OVERRIDE;
Public function LineCodeSpecified: Boolean;
Public function GeometrySpecified: Boolean;
Public function SpacingSpecified: Boolean;

Properties

Public property PhaseChoice: ConductorChoice READ FPhaseChoice;
Public property UnitsConvert: Double READ FUnitsConvert;
Public property NumConductorsAvailable: Integer READ NumConductorData;
Public property ConductorData[i:Integer]: TConductorDataObj READ FetchConductorData;

Description

Fields

Public FZFrequency: Double;
 
Public FLineCodeUnits: Integer;

keep track of last frequency computed for geometry

Public FUnitsConvert: Double;
 
Public FWireDataSize: Integer;

conversion factor

Public FPhaseChoice: ConductorChoice;
 
Public FEarthModel: Integer;
 
Public FrhoSpecified: Boolean;
 
Public FCapSpecified: Boolean;
 
Public SymComponentsChanged: Boolean;

To make sure user specifies C in some form

Public SymComponentsModel: LongBool;
 
Public IsSwitch: LongBool;
 
Public FLineType: Integer;
 
Public UserLengthUnits: Integer;

Pointer to code for type of line

Public Zinv: TCMatrix;

keep track of the user's input length units

Public Z: TCMatrix;
 
Public Yc: TCMatrix;

Base Frequency Series Z matrix per unit length

Public R1: Double;
 
Public X1: Double;
 
Public R0: Double;
 
Public X0: Double;
 
Public C1: Double;
 
Public C0: Double;
 
Public Len: Double;
 
Public LengthUnits: Integer;
 
Public Rg: Double;
 
Public Xg: Double;
 
Public KXg: Double;
 
Public rho: Double;
 
Public GeneralPlotQuantity: Double;
 
Public LineCodeObj: TLineCodeObj;

For general circuit plotting

Public LineGeometryObj: TLineGeometryObj;
 
Public LineSpacingObj: TLineSpacingObj;
 
Public FLineWireData: pConductorDataArray;
 

Methods

Public procedure FMakeZFromGeometry(f: Double);
 
Public procedure KillGeometrySpecified;

make new Z, Zinv, Yc, etc

Public procedure FMakeZFromSpacing(f: Double);
 
Public procedure KillSpacingSpecified;

make new Z, Zinv, Yc, etc

Public procedure ClearYPrim;
 
Public procedure ResetLengthUnits;
 
Public function NumConductorData: Integer;
 
Public function FetchConductorData(i: Integer): TConductorDataObj;
 
Public procedure ReallocZandYcMatrices;
 
Public procedure DoLongLine(Frequency: Double);
 
Public procedure ConvertZinvToPosSeqR;

Long Line Correction for 1=phase

Public procedure GetSeqLosses(var PosSeqLosses, NegSeqLosses, ZeroSeqLosses: complex); OVERRIDE;

for GIC analysis, primarily procedure GetLosses(var TotalLosses, LoadLosses, NoLoadLosses: Complex); OVERRIDE;

Public constructor Create(ParClass: TDSSClass; const LineName: String);
 
Public destructor Destroy; OVERRIDE;
 
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
 
Public procedure MakeLike(OtherPtr: Pointer); override;
 
Public procedure RecalcElementData; OVERRIDE;
 
Public procedure CalcYPrim; OVERRIDE;
 
Public procedure MakePosSequence(); OVERRIDE;
 
Public function MergeWith(var Other: TLineObj; Series: Boolean): Boolean;

Make a positive Sequence Model

Public procedure UpdateControlElements(NewLine, OldLine: TLineObj);
 
Public procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE;
 
Public procedure FetchLineCode();

Public for the COM Interface

Public procedure FetchGeometryCode();
 
Public procedure FetchLineSpacing();
 
Public procedure CalcFltRate; OVERRIDE;

Reliability calcs

Public function LineCodeSpecified: Boolean;

Calc failure rates for section and buses CIM XML access

Public function GeometrySpecified: Boolean;
 
Public function SpacingSpecified: Boolean;
 

Properties

Public property PhaseChoice: ConductorChoice READ FPhaseChoice;
 
Public property UnitsConvert: Double READ FUnitsConvert;
 
Public property NumConductorsAvailable: Integer READ NumConductorData;

conversion to present Line units

Public property ConductorData[i:Integer]: TConductorDataObj READ FetchConductorData;
 

Generated by PasDoc 0.16.0.