Sensors Properties |
[This is preliminary documentation and is subject to change.]
The Sensors type exposes the following members.
Name | Description | |
---|---|---|
AllNames |
Array of strings with all Sensor names in the circuit.
| |
AllocationFactor |
Array of doubles for the allocation factors for each phase.
| |
Count |
Number of Sensor objects in active circuit.
| |
Currents |
Array of doubles for the line current measurements; don't use with kWS and kVARS.
| |
First |
Sets the first Sensor active. Returns 0 if no more.
| |
idx |
Get/set active Sensor by index; index is 1-based: 1..count
| |
IsDelta |
True if measured voltages are line-line. Currents are always line currents.
| |
kVARS |
Array of doubles for Q measurements. Overwrites Currents with a new estimate using kWS.
| |
kVbase |
Voltage base for the sensor measurements. LL for 2 and 3-phase sensors, LN for 1-phase sensors.
| |
kVS |
Array of doubles for the LL or LN (depending on Delta connection) voltage measurements.
| |
kWS |
Array of doubles for P measurements. Overwrites Currents with a new estimate using kVARS.
| |
MeteredElement |
Full Name of the measured element
| |
MeteredTerminal |
Number of the measured terminal in the measured element.
| |
Name |
Sets the active Sensor by Name.
| |
Next |
Sets the next Sensor active. Returns 0 if no more.
| |
PctError |
Assumed percent error in the Sensor measurement. Default is 1.
| |
ReverseDelta |
True if voltage measurements are 1-3, 3-2, 2-1.
| |
Weight |
Weighting factor for this Sensor measurement with respect to other Sensors. Default is 1.
|