6#ifndef __PDUMODEL_CIRCUIT_IDL__
7#define __PDUMODEL_CIRCUIT_IDL__
9#include <NumericSensor.idl>
11#include <UserEvent.idl>
23 constant
int ERR_INVALID_PARAM = 1;
24 constant
int ERR_METER_CHANNEL_BUSY = 2;
int setSettings(in Settings settings)
Change the circuit settings.
vector< Pole > getPoles()
Retrieve the list of circuit poles.
Sensors getSensors()
Retrieve the circuit sensors.
@ ONE_PHASE_LL
One-phase line-line.
@ ONE_PHASE_LLN
One-phase line-line-neutral.
@ ONE_PHASE_LN
One-phase line-neutral.
Settings getSettings()
Get the circuit settings.
Config getConfig()
Retrieve the circuit configuration.
A sensor with numeric readings.
int position
Circuit position of first pole.
int meterChannel
Meter channel index; -1 for unmetered poles.
pdumodel::PowerLine line
Power line.
sensors::NumericSensor activeEnergy
Active energy sensor.
sensors::NumericSensor powerFactor
Power factor sensor.
sensors::NumericSensor crestFactor
Crest factor sensor.
sensors::NumericSensor reactivePower
Reactive power sensor.
sensors::NumericSensor activePowerDemand
Active power demand.
sensors::NumericSensor current
RMS current sensor.
sensors::NumericSensor displacementPowerFactor
Displacement power factor.
sensors::NumericSensor unbalancedCurrent
Current unbalance sensor.
sensors::NumericSensor phaseAngle
Phase angle sensor.
sensors::NumericSensor apparentPower
Apparent power sensor.
sensors::NumericSensor activePower
Active power sensor.
Event: Circuit settings have changed.
Settings oldSettings
Settings before change.
Settings newSettings
Settings after change.
vector< PoleSettings > poleSettings
Pole settings (excluding Neutral)
int rating
Circuit current rating.
int ctRating
Current transformer rating.