Unit EnergyMeter

Description

 

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Record TFeederSection  
Class TSystemMeter  
Class TEnergyMeter  
Class TEnergyMeterObj  

Types

TEnergyMeterProp = (...);
TRegisterArray = array[1..NumEMregisters] of Double;
pFeederSections = ˆFeederSectionArray;
FeederSectionArray = array[0..100] of TFeederSection;

Constants

NumEMVbase = 7;
NumEMRegisters = 32 + 5 * NumEMVbase;
Reg_kWh = 1;
Reg_kvarh = 2;
Reg_MaxkW = 3;
Reg_MaxkVA = 4;
Reg_ZonekWh = 5;
Reg_Zonekvarh = 6;
Reg_ZoneMaxkW = 7;
Reg_ZoneMaxkVA = 8;
Reg_OverloadkWhNorm = 9;
Reg_OverloadkWhEmerg = 10;
Reg_LoadEEN = 11;
Reg_LoadUE = 12;
Reg_ZoneLosseskWh = 13;
Reg_ZoneLosseskvarh = 14;
Reg_LossesMaxkW = 15;
Reg_LossesMaxkvar = 16;
Reg_LoadLosseskWh = 17;
Reg_LoadLosseskvarh = 18;
Reg_NoLoadLosseskWh = 19;
Reg_NoLoadLosseskvarh = 20;
Reg_MaxLoadLosses = 21;
Reg_MaxNoLoadLosses = 22;
Reg_LineLosseskWh = 23;
Reg_TransformerLosseskWh = 24;
Reg_LineModeLineLoss = 25;
Reg_ZeroModeLineLoss = 26;
Reg_3_phaseLineLoss = 27;
Reg_1_phaseLineLoss = 28;
Reg_GenkWh = 29;
Reg_Genkvarh = 30;
Reg_GenMaxkW = 31;
Reg_GenMaxkVA = 32;
Reg_VBaseStart = 32;

Description

Types

TEnergyMeterProp = (...);

anchor for the voltage base loss registers

Values
  • INVALID = 0
  • element = 1
  • terminal = 2
  • action = 3
  • option = 4
  • kVAnormal = 5
  • kVAemerg = 6
  • peakcurrent = 7
  • Zonelist = 8
  • LocalOnly = 9
  • Mask = 10
  • Losses = 11
  • LineLosses = 12
  • XfmrLosses = 13
  • SeqLosses = 14
  • __3phaseLosses = 15
  • VbaseLosses = 16
  • PhaseVoltageReport = 17: segregate losses by voltage base
  • Int_Rate = 18: Compute Avg phase voltages in zone
  • Int_Duration = 19
  • SAIFI = 20
  • SAIFIkW = 21: Read only
  • SAIDI = 22: Read only
  • CAIDI = 23: Read only
  • CustInterrupts = 24: Read only
TRegisterArray = array[1..NumEMregisters] of Double;

Read only

pFeederSections = ˆFeederSectionArray;
 
FeederSectionArray = array[0..100] of TFeederSection;
 

Constants

NumEMVbase = 7;
 
NumEMRegisters = 32 + 5 * NumEMVbase;
 
Reg_kWh = 1;

Total Number of energy meter registers Fixed Registers

Reg_kvarh = 2;
 
Reg_MaxkW = 3;
 
Reg_MaxkVA = 4;
 
Reg_ZonekWh = 5;
 
Reg_Zonekvarh = 6;
 
Reg_ZoneMaxkW = 7;
 
Reg_ZoneMaxkVA = 8;
 
Reg_OverloadkWhNorm = 9;
 
Reg_OverloadkWhEmerg = 10;

Max overload

Reg_LoadEEN = 11;
 
Reg_LoadUE = 12;
 
Reg_ZoneLosseskWh = 13;

Energy served below normal voltage

Reg_ZoneLosseskvarh = 14;
 
Reg_LossesMaxkW = 15;
 
Reg_LossesMaxkvar = 16;
 
Reg_LoadLosseskWh = 17;
 
Reg_LoadLosseskvarh = 18;
 
Reg_NoLoadLosseskWh = 19;
 
Reg_NoLoadLosseskvarh = 20;
 
Reg_MaxLoadLosses = 21;
 
Reg_MaxNoLoadLosses = 22;
 
Reg_LineLosseskWh = 23;
 
Reg_TransformerLosseskWh = 24;
 
Reg_LineModeLineLoss = 25;
 
Reg_ZeroModeLineLoss = 26;

for 3-phase feeder lines

Reg_3_phaseLineLoss = 27;
 
Reg_1_phaseLineLoss = 28;
 
Reg_GenkWh = 29;
 
Reg_Genkvarh = 30;
 
Reg_GenMaxkW = 31;
 
Reg_GenMaxkVA = 32;
 
Reg_VBaseStart = 32;
 

Generated by PasDoc 0.16.0.