Click or drag to resize

Sensors Class

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

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

Inheritance Hierarchy

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

The Sensors type exposes the following members.

Constructors
  NameDescription
Public methodSensors
Initializes a new instance of the Sensors class
Top
Properties
  NameDescription
Public propertyAllNames
Array of strings with all Sensor names in the circuit.
Public propertyAllocationFactor
Array of doubles for the allocation factors for each phase.
Public propertyCount
Number of Sensor objects in active circuit.
Public propertyCurrents
Array of doubles for the line current measurements; don't use with kWS and kVARS.
Public propertyFirst
Sets the first Sensor active. Returns 0 if no more.
Public propertyidx
Get/set active Sensor by index; index is 1-based: 1..count
Public propertyIsDelta
True if measured voltages are line-line. Currents are always line currents.
Public propertykVARS
Array of doubles for Q measurements. Overwrites Currents with a new estimate using kWS.
Public propertykVbase
Voltage base for the sensor measurements. LL for 2 and 3-phase sensors, LN for 1-phase sensors.
Public propertykVS
Array of doubles for the LL or LN (depending on Delta connection) voltage measurements.
Public propertykWS
Array of doubles for P measurements. Overwrites Currents with a new estimate using kVARS.
Public propertyMeteredElement
Full Name of the measured element
Public propertyMeteredTerminal
Number of the measured terminal in the measured element.
Public propertyName
Sets the active Sensor by Name.
Public propertyNext
Sets the next Sensor active. Returns 0 if no more.
Public propertyPctError
Assumed percent error in the Sensor measurement. Default is 1.
Public propertyReverseDelta
True if voltage measurements are 1-3, 3-2, 2-1.
Public propertyWeight
Weighting factor for this Sensor measurement with respect to other Sensors. Default is 1.
Top
Methods
  NameDescription
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 methodReset
Public methodResetAll
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldapiutil (Inherited from ContextState.)
Protected fieldctx (Inherited from ContextState.)
Top
See Also