Pole.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2009 Raritan Inc. All rights reserved.
*/
#ifndef __PDUMODEL_POLE_IDL__
#define __PDUMODEL_POLE_IDL__
#include <NumericSensor.idl>
#include <ResidualCurrentStateSensor.idl>
/**
* PDU Model
*/
module pdumodel {
/** Power line */
enumeration PowerLine_2_0_0 {
L1, ///< Line 1
L2, ///< Line 2
L3, ///< Line 3
NEUTRAL, ///< Neutral
EARTH ///< Earth
};
/** An inlet or outlet pole */
structure Pole_5_0_0 {
string label; ///< %Pole label
PowerLine_2_0_0 line; ///< Power line
int nodeId; ///< Circuit node id
sensors.NumericSensor_4_0_3 voltage; ///< RMS voltage sensor, L-L
sensors.NumericSensor_4_0_3 voltageLN; ///< RMS voltage sensor, L-N
sensors.NumericSensor_4_0_3 current; ///< RMS current sensor
sensors.NumericSensor_4_0_3 peakCurrent; ///< Peak current sensor
sensors.NumericSensor_4_0_3 activePower; ///< Active power sensor
sensors.NumericSensor_4_0_3 reactivePower; ///< Reactive power sensor
sensors.NumericSensor_4_0_3 apparentPower; ///< Apparent power sensor
sensors.NumericSensor_4_0_3 powerFactor; ///< Power factor sensor
sensors.NumericSensor_4_0_3 phaseAngle; ///< Phase angle sensor
sensors.NumericSensor_4_0_3 displacementPowerFactor; ///< Displacement power factor sensor
sensors.NumericSensor_4_0_3 activeEnergy; ///< Active energy sensor
sensors.NumericSensor_4_0_3 apparentEnergy; ///< Apparent energy sensor
sensors.NumericSensor_4_0_3 residualCurrent; ///< RMS current sensor
sensors.NumericSensor_4_0_3 residualDCCurrent; ///< DC Residual current sensor
sensors.NumericSensor_4_0_3 crestFactor; ///< Crest factor sensor
ResidualCurrentStateSensor_2_0_3 residualCurrentStatus; ///< Residual current monitor state sensor
};
/** for OCP */
structure DoublePole_5_0_0 {
string label; ///< %Pole label
PowerLine_2_0_0 line; ///< Power line
int inNodeId; ///< Upstream (inlet-side) circuit node id
int outNodeId; ///< Downstream (outlet-side) circuit node id
sensors.NumericSensor_4_0_3 voltage; ///< RMS voltage sensor, L-L
sensors.NumericSensor_4_0_3 voltageLN; ///< RMS voltage sensor, L-N
sensors.NumericSensor_4_0_3 current; ///< RMS current sensor
sensors.NumericSensor_4_0_3 peakCurrent; ///< Peak current sensor
sensors.NumericSensor_4_0_3 activePower; ///< Active power sensor
sensors.NumericSensor_4_0_3 apparentPower; ///< Apparent power sensor
sensors.NumericSensor_4_0_3 powerFactor; ///< Power factor sensor
sensors.NumericSensor_4_0_3 activeEnergy; ///< Active energy sensor
sensors.NumericSensor_4_0_3 apparentEnergy; ///< Apparent energy sensor
};
/** A pole that can select one of multiple inputs */
structure ThrowPole_2_0_0 {
string label; ///< %Pole label
PowerLine_2_0_0 line; ///< Power line
vector<int> inNodeIds; ///< Upstream node ids
int outNodeId; ///< Downstream node id
};
}
#endif
pdumodel::Pole_5_0_0
An inlet or outlet pole.
Definition: Pole.idl:27
pdumodel::DoublePole_5_0_0::activeEnergy
sensors::NumericSensor_4_0_3 activeEnergy
Active energy sensor.
Definition: Pole.idl:62
pdumodel::NEUTRAL
Neutral.
Definition: Pole.idl:22
pdumodel::Pole_5_0_0::current
sensors::NumericSensor_4_0_3 current
RMS current sensor.
Definition: Pole.idl:33
pdumodel::Pole_5_0_0::activeEnergy
sensors::NumericSensor_4_0_3 activeEnergy
Active energy sensor.
Definition: Pole.idl:41
pdumodel::DoublePole_5_0_0::outNodeId
int outNodeId
Downstream (outlet-side) circuit node id.
Definition: Pole.idl:54
pdumodel::Pole_5_0_0::crestFactor
sensors::NumericSensor_4_0_3 crestFactor
Crest factor sensor.
Definition: Pole.idl:45
pdumodel::Pole_5_0_0::activePower
sensors::NumericSensor_4_0_3 activePower
Active power sensor.
Definition: Pole.idl:35
pdumodel::Pole_5_0_0::voltage
sensors::NumericSensor_4_0_3 voltage
RMS voltage sensor, L-L.
Definition: Pole.idl:31
pdumodel::Pole_5_0_0::voltageLN
sensors::NumericSensor_4_0_3 voltageLN
RMS voltage sensor, L-N.
Definition: Pole.idl:32
pdumodel::ThrowPole_2_0_0::label
string label
Pole label
Definition: Pole.idl:68
pdumodel::Pole_5_0_0::label
string label
Pole label
Definition: Pole.idl:28
pdumodel::PowerLine_2_0_0
PowerLine_2_0_0
Power line.
Definition: Pole.idl:18
pdumodel::DoublePole_5_0_0::activePower
sensors::NumericSensor_4_0_3 activePower
Active power sensor.
Definition: Pole.idl:59
pdumodel::L2
Line 2.
Definition: Pole.idl:20
pdumodel::Pole_5_0_0::line
PowerLine_2_0_0 line
Power line.
Definition: Pole.idl:29
pdumodel::Pole_5_0_0::apparentPower
sensors::NumericSensor_4_0_3 apparentPower
Apparent power sensor.
Definition: Pole.idl:37
pdumodel::Pole_5_0_0::phaseAngle
sensors::NumericSensor_4_0_3 phaseAngle
Phase angle sensor.
Definition: Pole.idl:39
pdumodel::Pole_5_0_0::apparentEnergy
sensors::NumericSensor_4_0_3 apparentEnergy
Apparent energy sensor.
Definition: Pole.idl:42
pdumodel::L3
Line 3.
Definition: Pole.idl:21
pdumodel::L1
Line 1.
Definition: Pole.idl:19
pdumodel::Pole_5_0_0::residualDCCurrent
sensors::NumericSensor_4_0_3 residualDCCurrent
DC Residual current sensor.
Definition: Pole.idl:44
pdumodel::Pole_5_0_0::nodeId
int nodeId
Circuit node id.
Definition: Pole.idl:30
pdumodel::ResidualCurrentStateSensor_2_0_3
Residual current state sensor interface.
Definition: ResidualCurrentStateSensor.idl:17
pdumodel::Pole_5_0_0::displacementPowerFactor
sensors::NumericSensor_4_0_3 displacementPowerFactor
Displacement power factor sensor.
Definition: Pole.idl:40
pdumodel::DoublePole_5_0_0::voltageLN
sensors::NumericSensor_4_0_3 voltageLN
RMS voltage sensor, L-N.
Definition: Pole.idl:56
pdumodel::ThrowPole_2_0_0::line
PowerLine_2_0_0 line
Power line.
Definition: Pole.idl:69
pdumodel::Pole_5_0_0::powerFactor
sensors::NumericSensor_4_0_3 powerFactor
Power factor sensor.
Definition: Pole.idl:38
pdumodel::EARTH
Earth.
Definition: Pole.idl:23
pdumodel::DoublePole_5_0_0::peakCurrent
sensors::NumericSensor_4_0_3 peakCurrent
Peak current sensor.
Definition: Pole.idl:58
pdumodel::DoublePole_5_0_0::powerFactor
sensors::NumericSensor_4_0_3 powerFactor
Power factor sensor.
Definition: Pole.idl:61
sensors
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
pdumodel::DoublePole_5_0_0::voltage
sensors::NumericSensor_4_0_3 voltage
RMS voltage sensor, L-L.
Definition: Pole.idl:55
pdumodel
PDU Model.
Definition: Ade.idl:12
pdumodel::Pole_5_0_0::residualCurrentStatus
ResidualCurrentStateSensor_2_0_3 residualCurrentStatus
Residual current monitor state sensor.
Definition: Pole.idl:46
pdumodel::DoublePole_5_0_0::current
sensors::NumericSensor_4_0_3 current
RMS current sensor.
Definition: Pole.idl:57
pdumodel::ThrowPole_2_0_0
A pole that can select one of multiple inputs.
Definition: Pole.idl:67
pdumodel::DoublePole_5_0_0
for OCP
Definition: Pole.idl:50
pdumodel::ThrowPole_2_0_0::outNodeId
int outNodeId
Downstream node id.
Definition: Pole.idl:71
sensors::NumericSensor_4_0_3
A sensor with numeric readings.
Definition: NumericSensor.idl:17
pdumodel::Pole_5_0_0::peakCurrent
sensors::NumericSensor_4_0_3 peakCurrent
Peak current sensor.
Definition: Pole.idl:34
pdumodel::DoublePole_5_0_0::inNodeId
int inNodeId
Upstream (inlet-side) circuit node id.
Definition: Pole.idl:53
pdumodel::DoublePole_5_0_0::line
PowerLine_2_0_0 line
Power line.
Definition: Pole.idl:52
pdumodel::ThrowPole_2_0_0::inNodeIds
vector< int > inNodeIds
Upstream node ids.
Definition: Pole.idl:70
pdumodel::DoublePole_5_0_0::apparentPower
sensors::NumericSensor_4_0_3 apparentPower
Apparent power sensor.
Definition: Pole.idl:60
pdumodel::DoublePole_5_0_0::apparentEnergy
sensors::NumericSensor_4_0_3 apparentEnergy
Apparent energy sensor.
Definition: Pole.idl:63
pdumodel::Pole_5_0_0::reactivePower
sensors::NumericSensor_4_0_3 reactivePower
Reactive power sensor.
Definition: Pole.idl:36
pdumodel::DoublePole_5_0_0::label
string label
Pole label
Definition: Pole.idl:51
pdumodel::Pole_5_0_0::residualCurrent
sensors::NumericSensor_4_0_3 residualCurrent
RMS current sensor.
Definition: Pole.idl:43