Click or drag to resize

Meters Class

[This is preliminary documentation and is subject to change.]

[Missing <summary> documentation for "T:dss_sharp.Meters"]

Inheritance Hierarchy

Namespace:  dss_sharp
Assembly:  dss_sharp (in dss_sharp.dll) Version: 1.0.0
public class Meters : ContextState

The Meters type exposes the following members.

Public methodMeters
Initializes a new instance of the Meters class
Public propertyAllBranchesInZone
Wide string list of all branches in zone of the active energymeter object.
Public propertyAllEndElements
Array of names of all zone end elements.
Public propertyAllNames
Array of strings with all Meter names in the circuit.
Public propertyAllocFactors
Array of doubles: set the phase allocation factors for the active meter.
Public propertyAvgRepairTime
Average Repair time in this section of the meter zone
Public propertyCalcCurrent
Set the magnitude of the real part of the Calculated Current (normally determined by solution) for the Meter to force some behavior on Load Allocation
Public propertyCount
Number of Meter objects in active circuit.
Public propertyCountBranches
Number of branches in Active energymeter zone. (Same as sequencelist size)
Public propertyCountEndElements
Number of zone end elements in the active meter zone.
Public propertyCustInterrupts
Total customer interruptions for this Meter zone based on reliability calcs.
Public propertyDIFilesAreOpen
Global Flag in the DSS to indicate if Demand Interval (DI) files have been properly opened.
Public propertyFaultRateXRepairHrs
Sum of Fault Rate time Repair Hrs in this section of the meter zone
Public propertyFirst
Sets the first Meter active. Returns 0 if no more.
Public propertyidx
Get/set active Meter by index; index is 1-based: 1..count
Public propertyMeteredElement
Set Name of metered element
Public propertyMeteredTerminal
set Number of Metered Terminal
Public propertyName
Sets the active Meter by Name.
Public propertyNext
Sets the next Meter active. Returns 0 if no more.
Public propertyNumSectionBranches
Number of branches (lines) in this section
Public propertyNumSectionCustomers
Number of Customers in the active section.
Public propertyNumSections
Number of feeder sections in this meter's zone
Public propertyOCPDeviceType
Type of OCP device. 1=Fuse; 2=Recloser; 3=Relay
Public propertyPeakcurrent
Array of doubles to set values of Peak Current property
Public propertyRegisterNames
Array of strings containing the names of the registers.
Public propertyRegisterValues
Array of all the values contained in the Meter registers for the active Meter.
Public propertySAIDI
SAIDI for this meter's zone. Execute DoReliabilityCalc first.
Public propertySAIFI
Returns SAIFI for this meter's Zone. Execute Reliability Calc method first.
Public propertySAIFIKW
SAIFI based on kW rather than number of customers. Get after reliability calcs.
Public propertySectSeqIdx
SequenceIndex of the branch at the head of this section
Public propertySectTotalCust
Total Customers downline from this section
Public propertySeqListSize
Size of Sequence List
Public propertySequenceIndex
Get/set Index into Meter's SequenceList that contains branch pointers in lexical order. Earlier index guaranteed to be upline from later index. Sets PDelement active.
Public propertySumBranchFltRates
Sum of the branch fault rates in this section of the meter's zone
Public propertyTotalCustomers
Total Number of customers in this zone (downline from the EnergyMeter)
Public propertyTotals
Totals of all registers of all meters
Public propertyZonePCE
Returns the list of all PCE within the area covered by the energy meter
Protected methodCheckForError (Inherited from ContextState.)
Public methodCloseAllDIFiles
Public methodDoReliabilityCalc
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetContextHandle
Returns the low-level handle of the current OpenDSS/DSS-CAPI instance.
(Inherited from ContextState.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOpenAllDIFiles
Public methodReset
Public methodResetAll
Public methodSample
Public methodSampleAll
Public methodSave
Public methodSaveAll
Public methodSetActiveSection
Public methodToString (Inherited from Object.)
Protected fieldapiutil (Inherited from ContextState.)
Protected fieldctx (Inherited from ContextState.)
See Also