Class TEnergyMeterObj
Unit
Declaration
type TEnergyMeterObj = class(TMeterElement)
Description
No description available, ancestor TMeterElement 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
- TMeterElement
- TEnergyMeterObj
Overview
Fields
DI_MHandle: TBytesStream; |
|
PHV_MHandle: TBytesStream; |
|
RegisterNames: array[1..NumEMregisters] of String; |
|
BranchList: TCktTree; |
|
SequenceList: TDSSPointerList; |
|
LoadList: TDSSPointerList; |
|
Registers: TRegisterArray; |
|
Derivatives: TRegisterArray; |
|
TotalsMask: TRegisterArray; |
|
SAIFI: Double; |
|
SAIFIkW: Double; |
|
SAIDI: Double; |
|
CAIDI: Double; |
|
CustInterrupts: Double; |
|
Source_NumInterruptions: Double; |
|
Source_IntDuration: Double; |
|
SectionCount: Integer; |
|
ActiveSection: Integer; |
|
FeederSections: pFeederSections; |
|
ZonePCE: Array of string; |
|
DI_Append: Boolean; |
|
PHV_Append: Boolean; |
Methods
procedure OpenDemandIntervalFile; |
|
procedure WriteDemandIntervalData; |
|
procedure CloseDemandIntervalFile; |
|
procedure AppendDemandIntervalFile; |
|
constructor Create(ParClass: TDSSClass; const EnergyMeterName: String); |
|
destructor Destroy; OVERRIDE; |
|
procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override; |
|
procedure MakeLike(OtherPtr: Pointer); override; |
|
procedure MakePosSequence(); OVERRIDE; |
|
procedure RecalcElementData; OVERRIDE; |
|
procedure CalcYPrim; OVERRIDE; |
|
procedure GetCurrents(Curr: pComplexArray); OVERRIDE; |
|
function CheckBranchList(code: Integer): Boolean; |
|
procedure ResetRegisters; |
|
procedure TakeSample; OVERRIDE; |
|
procedure SaveRegisters; |
|
procedure MakeMeterZoneLists; |
|
procedure ZoneDump; |
|
procedure InterpolateCoordinates; |
|
procedure AllocateLoad; |
|
procedure ReduceZone; |
|
procedure SaveZone(); |
|
procedure GetPCEatZone(const allowEmpty: Boolean = False); |
|
procedure CalcReliabilityIndices(AssumeRestoration: Boolean); |
|
procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE; |
Description
Fields
PHV_MHandle: TBytesStream; |
|
RegisterNames: array[1..NumEMregisters] of String; |
|
BranchList: TCktTree; |
|
SequenceList: TDSSPointerList; |
|
Pointers to all circuit elements in meter's zone |
LoadList: TDSSPointerList; |
|
Pointers to branches in sequence from meter to ends |
Registers: TRegisterArray; |
|
Pointers to Loads in the Meter zone to aid reliability calcs |
Derivatives: TRegisterArray; |
|
TotalsMask: TRegisterArray; |
|
SAIFI: Double; |
|
Reliability data for Head of Zone |
SAIFIkW: Double; |
|
For this Zone - based on number of customers |
SAIDI: Double; |
|
For this Zone - based on kW load |
CAIDI: Double; |
|
CustInterrupts: Double; |
|
Source_NumInterruptions: Double; |
|
Source reliability |
Source_IntDuration: Double; |
|
Annual interruptions for upline circuit |
SectionCount: Integer; |
|
Aver interruption duration of upline circuit |
ActiveSection: Integer; |
|
FeederSections: pFeederSections; |
|
For COM interface to index into FeederSections array |
ZonePCE: Array of string; |
|
DI_Append: Boolean; |
|
*********** Flags for appending Files***************************************** |
PHV_Append: Boolean; |
|
Methods
procedure OpenDemandIntervalFile; |
|
procedure WriteDemandIntervalData; |
|
procedure CloseDemandIntervalFile; |
|
procedure AppendDemandIntervalFile; |
|
constructor Create(ParClass: TDSSClass; const EnergyMeterName: String); |
|
destructor Destroy; OVERRIDE; |
|
procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override; |
|
procedure MakeLike(OtherPtr: Pointer); override; |
|
procedure MakePosSequence(); OVERRIDE; |
|
procedure RecalcElementData; OVERRIDE; |
|
Make a positive Sequence Model, reset nphases |
procedure CalcYPrim; OVERRIDE; |
|
procedure GetCurrents(Curr: pComplexArray); OVERRIDE; |
|
function CheckBranchList(code: Integer): Boolean; |
|
Get present value of terminal Curr |
procedure ResetRegisters; |
|
procedure TakeSample; OVERRIDE; |
|
procedure SaveRegisters; |
|
procedure MakeMeterZoneLists; |
|
procedure ZoneDump; |
|
procedure InterpolateCoordinates; |
|
procedure AllocateLoad; |
|
procedure ReduceZone; |
|
procedure SaveZone(); |
|
Reduce Zone by eliminating buses and merging lines |
procedure GetPCEatZone(const allowEmpty: Boolean = False); |
|
procedure CalcReliabilityIndices(AssumeRestoration: Boolean); |
|
procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE; |
|
Generated by PasDoc 0.16.0.