Click or drag to resize

Circuit Properties

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

The Circuit type exposes the following members.

Properties
  NameDescription
Public propertyAllBusDistances
Returns distance from each bus to parent EnergyMeter. Corresponds to sequence in AllBusNames.
Public propertyAllBusNames
Array of strings containing names of all buses in circuit (see AllNodeNames).
Public propertyAllBusVmag
Array of magnitudes (doubles) of voltages at all buses
Public propertyAllBusVmagPu
Double Array of all bus voltages (each node) magnitudes in Per unit
Public propertyAllBusVolts
Complex array of all bus, node voltages from most recent solution
Public propertyAllElementLosses
Array of total losses (complex) in each circuit element
Public propertyAllElementNames
Array of strings containing Full Name of all elements.
Public propertyAllNodeDistances
Returns an array of distances from parent EnergyMeter for each Node. Corresponds to AllBusVMag sequence.
Public propertyAllNodeNames
Array of strings containing full name of each node in system in same order as returned by AllBusVolts, etc.
Public propertyLineLosses
Complex total line losses in the circuit
Public propertyLosses
Total losses in active circuit, complex number (two-element array of double).
Public propertyName
Name of the active circuit.
Public propertyNumBuses
Total number of Buses in the circuit.
Public propertyNumCktElements
Number of CktElements in the circuit.
Public propertyNumNodes
Total number of nodes in the circuit.
Public propertyParentPDElement
Sets Parent PD element, if any, to be the active circuit element and returns index>0; Returns 0 if it fails or not applicable.
Public propertySubstationLosses
Complex losses in all transformers designated to substations.
Public propertySystemY
System Y matrix (after a solution has been performed). This is deprecated as it returns a dense matrix. Only use it for small systems. For large scale systems, prefer YMatrix.GetCompressedYMatrix.
Public propertyTotalPower
Total power, kW delivered to the circuit
Public propertyYCurrents
Array of doubles containing complex injection currents for the present solution. Is is the "I" vector of I=YV
Public propertyYNodeOrder
Array of strings containing the names of the nodes in the same order as the Y matrix
Public propertyYNodeVarray
Complex array of actual node voltages in same order as SystemY matrix.
Top
See Also