Click or drag to resize

PDElements Class

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

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

Inheritance Hierarchy

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

The PDElements type exposes the following members.

Constructors
  NameDescription
Public methodPDElements
Initializes a new instance of the PDElements class
Top
Properties
  NameDescription
Public propertyAccumulatedL
accummulated failure rate for this branch on downline
Public propertyAllCplxSeqCurrents
Complex double array of Sequence Currents for all conductors of all terminals, for each PD elements. (API Extension)
Public propertyAllCurrents
Complex array of currents for all conductors, all terminals, for each PD element. (API Extension)
Public propertyAllCurrentsMagAng
Complex array (magnitude and angle format) of currents for all conductors, all terminals, for each PD element. (API Extension)
Public propertyAllNames
Array of strings consisting of all PD element names. (API Extension)
Public propertyAllNumConductors
Integer array listing the number of conductors of all PD elements (API Extension)
Public propertyAllNumPhases
Integer array listing the number of phases of all PD elements (API Extension)
Public propertyAllNumTerminals
Integer array listing the number of terminals of all PD elements (API Extension)
Public propertyAllPowers
Complex array of powers into each conductor of each terminal, for each PD element. (API Extension)
Public propertyAllSeqCurrents
Double array of the symmetrical component currents into each 3-phase terminal, for each PD element. (API Extension)
Public propertyAllSeqPowers
Double array of sequence powers into each 3-phase teminal, for each PD element (API Extension)
Public propertyCount
Number of PD elements (including disabled elements)
Public propertyFaultRate
Get/Set Number of failures per year. For LINE elements: Number of failures per unit length per year.
Public propertyFirst
Set the first enabled PD element to be the active element. Returns 0 if none found.
Public propertyFromTerminal
Number of the terminal of active PD element that is on the "from" side. This is set after the meter zone is determined.
Public propertyIsShunt
Boolean indicating of PD element should be treated as a shunt element rather than a series element. Applies to Capacitor and Reactor elements in particular.
Public propertyLambda
Failure rate for this branch. Faults per year including length of line.
Public propertyName
Get/Set name of active PD Element. Returns null string if active element is not PDElement type.
Public propertyNext
Advance to the next PD element in the circuit. Enabled elements only. Returns 0 when no more elements.
Public propertyNumcustomers
Number of customers, this branch
Public propertyParentPDElement
Sets the parent PD element to be the active circuit element. Returns 0 if no more elements upline.
Public propertypctPermanent
Get/Set percent of faults that are permanent (require repair). Otherwise, fault is assumed to be transient/temporary.
Public propertyRepairTime
Average repair time for this element in hours
Public propertySectionID
Integer ID of the feeder section that this PDElement branch is part of
Public propertyTotalcustomers
Total number of customers from this branch to the end of the zone
Public propertyTotalMiles
Total miles of line from this element to the end of the zone. For recloser siting algorithm.
Top
Methods
  NameDescription
Public methodAllMaxCurrents
Array of doubles with the maximum current across the conductors, for each PD element. By default, only the *first terminal* is used for the maximum current, matching the behavior of the "export capacity" command. Pass `true` to force the analysis to all terminals. See also: https://sourceforge.net/p/electricdss/discussion/beginners/thread/da5b93ca/ (API Extension)
Public methodAllPctEmerg
Array of doubles with the maximum current across the conductors as a percentage of the Emergency Ampere Rating, for each PD element. By default, only the *first terminal* is used for the maximum current, matching the behavior of the "export capacity" command. Pass `true` to force the analysis to all terminals. See also: https://sourceforge.net/p/electricdss/discussion/beginners/thread/da5b93ca/ (API Extension)
Public methodAllPctNorm
Array of doubles with the maximum current across the conductors as a percentage of the Normal Ampere Rating, for each PD element. By default, only the *first terminal* is used for the maximum current, matching the behavior of the "export capacity" command. Pass `true` to force the analysis to all terminals. See also: https://sourceforge.net/p/electricdss/discussion/beginners/thread/da5b93ca/ (API Extension)
Protected methodCheckForError (Inherited from ContextState.)
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 methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldapiutil (Inherited from ContextState.)
Protected fieldctx (Inherited from ContextState.)
Top
See Also