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

Overview

Fields

Public DI_MHandle: TBytesStream;
Public PHV_MHandle: TBytesStream;
Public RegisterNames: array[1..NumEMregisters] of String;
Public BranchList: TCktTree;
Public SequenceList: TDSSPointerList;
Public LoadList: TDSSPointerList;
Public Registers: TRegisterArray;
Public Derivatives: TRegisterArray;
Public TotalsMask: TRegisterArray;
Public SAIFI: Double;
Public SAIFIkW: Double;
Public SAIDI: Double;
Public CAIDI: Double;
Public CustInterrupts: Double;
Public Source_NumInterruptions: Double;
Public Source_IntDuration: Double;
Public SectionCount: Integer;
Public ActiveSection: Integer;
Public FeederSections: pFeederSections;
Public ZonePCE: Array of string;
Public DI_Append: Boolean;
Public PHV_Append: Boolean;

Methods

Protected procedure OpenDemandIntervalFile;
Protected procedure WriteDemandIntervalData;
Protected procedure CloseDemandIntervalFile;
Protected procedure AppendDemandIntervalFile;
Public constructor Create(ParClass: TDSSClass; const EnergyMeterName: String);
Public destructor Destroy; OVERRIDE;
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
Public procedure MakeLike(OtherPtr: Pointer); override;
Public procedure MakePosSequence(); OVERRIDE;
Public procedure RecalcElementData; OVERRIDE;
Public procedure CalcYPrim; OVERRIDE;
Public procedure GetCurrents(Curr: pComplexArray); OVERRIDE;
Public function CheckBranchList(code: Integer): Boolean;
Public procedure ResetRegisters;
Public procedure TakeSample; OVERRIDE;
Public procedure SaveRegisters;
Public procedure MakeMeterZoneLists;
Public procedure ZoneDump;
Public procedure InterpolateCoordinates;
Public procedure AllocateLoad;
Public procedure ReduceZone;
Public procedure SaveZone();
Public procedure GetPCEatZone(const allowEmpty: Boolean = False);
Public procedure CalcReliabilityIndices(AssumeRestoration: Boolean);
Public procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE;

Description

Fields

Public DI_MHandle: TBytesStream;

******************************************************************************** * Nomenclature: * * OV_ Overloads * * VR_ Voltage report * * DI_ Demand interval * * SI_ System Demand interval * * TDI_ DI Totals * * FM_ Meter Totals * * SM_ System Mater * * EMT_ Energy Meter Totals * * PHV_ Phase Voltage Report * * These prefixes are applied to the variables of each file mapped into * * Memory using the MemoryMap_Lib * ********************************************************************************

Public PHV_MHandle: TBytesStream;
 
Public RegisterNames: array[1..NumEMregisters] of String;
 
Public BranchList: TCktTree;
 
Public SequenceList: TDSSPointerList;

Pointers to all circuit elements in meter's zone

Public LoadList: TDSSPointerList;

Pointers to branches in sequence from meter to ends

Public Registers: TRegisterArray;

Pointers to Loads in the Meter zone to aid reliability calcs

Public Derivatives: TRegisterArray;
 
Public TotalsMask: TRegisterArray;
 
Public SAIFI: Double;

Reliability data for Head of Zone

Public SAIFIkW: Double;

For this Zone - based on number of customers

Public SAIDI: Double;

For this Zone - based on kW load

Public CAIDI: Double;
 
Public CustInterrupts: Double;
 
Public Source_NumInterruptions: Double;

Source reliability

Public Source_IntDuration: Double;

Annual interruptions for upline circuit

Public SectionCount: Integer;

Aver interruption duration of upline circuit

Public ActiveSection: Integer;
 
Public FeederSections: pFeederSections;

For COM interface to index into FeederSections array

Public ZonePCE: Array of string;
 
Public DI_Append: Boolean;

*********** Flags for appending Files*****************************************

Public PHV_Append: Boolean;
 

Methods

Protected procedure OpenDemandIntervalFile;
 
Protected procedure WriteDemandIntervalData;
 
Protected procedure CloseDemandIntervalFile;
 
Protected procedure AppendDemandIntervalFile;
 
Public constructor Create(ParClass: TDSSClass; const EnergyMeterName: String);
 
Public destructor Destroy; OVERRIDE;
 
Public procedure PropertySideEffects(Idx: Integer; previousIntVal: Integer = 0); override;
 
Public procedure MakeLike(OtherPtr: Pointer); override;
 
Public procedure MakePosSequence(); OVERRIDE;
 
Public procedure RecalcElementData; OVERRIDE;

Make a positive Sequence Model, reset nphases

Public procedure CalcYPrim; OVERRIDE;
 
Public procedure GetCurrents(Curr: pComplexArray); OVERRIDE;
 
Public function CheckBranchList(code: Integer): Boolean;

Get present value of terminal Curr

Public procedure ResetRegisters;
 
Public procedure TakeSample; OVERRIDE;
 
Public procedure SaveRegisters;
 
Public procedure MakeMeterZoneLists;
 
Public procedure ZoneDump;
 
Public procedure InterpolateCoordinates;
 
Public procedure AllocateLoad;
 
Public procedure ReduceZone;
 
Public procedure SaveZone();

Reduce Zone by eliminating buses and merging lines

Public procedure GetPCEatZone(const allowEmpty: Boolean = False);
 
Public procedure CalcReliabilityIndices(AssumeRestoration: Boolean);
 
Public procedure DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boolean = False); OVERRIDE;
 

Generated by PasDoc 0.16.0.