Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
Pole.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2009 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __PDUMODEL_POLE_IDL__
7#define __PDUMODEL_POLE_IDL__
8
9#include <NumericSensor.idl>
10#include <ResidualCurrentStateSensor.idl>
11
12/**
13 * PDU Model
14 */
15module pdumodel {
16
17 /** Power line */
18 enumeration PowerLine {
19 L1, ///< Line 1
20 L2, ///< Line 2
21 L3, ///< Line 3
22 NEUTRAL, ///< Neutral
23 EARTH, ///< Earth
24 PLUS, ///< Positive (DC)
25 MINUS ///< Negative (DC)
26 };
27
28 /** An inlet or outlet pole */
29 structure Pole {
30 string label; ///< %Pole label
31 PowerLine line; ///< Power line
32 int nodeId; ///< Circuit node id
33 sensors.NumericSensor voltage; ///< RMS voltage sensor, L-L, may be a VoltageMonitoringSensor
34 sensors.NumericSensor voltageLN; ///< RMS voltage sensor, L-N (Wye) or L-PE (Delta), may be a VoltageMonitoringSensor
35 sensors.NumericSensor current; ///< RMS current sensor
36 sensors.NumericSensor peakCurrent; ///< Peak current sensor
37 sensors.NumericSensor activePower; ///< Active power sensor
38 sensors.NumericSensor reactivePower; ///< Reactive power sensor
39 sensors.NumericSensor apparentPower; ///< Apparent power sensor
40 sensors.NumericSensor powerFactor; ///< Power factor sensor
41 sensors.NumericSensor phaseAngle; ///< Phase angle sensor
42 sensors.NumericSensor displacementPowerFactor; ///< Displacement power factor sensor
43 sensors.NumericSensor activeEnergy; ///< Active energy sensor
44 sensors.NumericSensor apparentEnergy; ///< Apparent energy sensor
45 sensors.NumericSensor residualCurrent; ///< Residual current sensor
46 sensors.NumericSensor residualACCurrent; ///< AC Residual current sensor
47 ///< (AC portion of residual operating current)
48 sensors.NumericSensor residualDCCurrent; ///< DC Residual current sensor
49 ///< (DC portion of residual operating current)
50 sensors.NumericSensor crestFactor; ///< Crest factor sensor
51 sensors.NumericSensor voltageThd; ///< Voltage total harmonic distortion sensor
52 sensors.NumericSensor currentThd; ///< Current total harmonic distortion sensor
53 ResidualCurrentStateSensor residualCurrentStatus; ///< Residual current monitor state sensor
54 };
55
56 /** An inlet line pair */
57 structure MeteredLinePair {
58 PowerLine leftLine; ///< Power line of left node
59 PowerLine rightLine; ///< Power line of right node
60 int leftNodeId; ///< Left node id
61 int rightNodeId; ///< Right node id
62 sensors.NumericSensor voltage; ///< RMS voltage sensor, L-L, may be a VoltageMonitoringSensor
63 sensors.NumericSensor current; ///< RMS current sensor
64 sensors.NumericSensor peakCurrent; ///< Peak current sensor
65 sensors.NumericSensor activePower; ///< Active power sensor
66 sensors.NumericSensor reactivePower; ///< Reactive power sensor
67 sensors.NumericSensor apparentPower; ///< Apparent power sensor
68 sensors.NumericSensor powerFactor; ///< Power factor sensor
69 sensors.NumericSensor phaseAngle; ///< Phase angle sensor
70 sensors.NumericSensor displacementPowerFactor; ///< Displacement power factor sensor
71 sensors.NumericSensor activeEnergy; ///< Active energy sensor
72 sensors.NumericSensor apparentEnergy; ///< Apparent energy sensor
73 sensors.NumericSensor crestFactor; ///< Crest factor sensor
74 sensors.NumericSensor voltageThd; ///< Voltage total harmonic distortion sensor
75 sensors.NumericSensor currentThd; ///< Current total harmonic distortion sensor
76 };
77
78 /** for OCP */
79 structure DoublePole {
80 string label; ///< %Pole label
81 PowerLine line; ///< Power line
82 int inNodeId; ///< Upstream (inlet-side) circuit node id
83 int outNodeId; ///< Downstream (outlet-side) circuit node id
84 sensors.NumericSensor voltage; ///< RMS voltage sensor, L-L
85 sensors.NumericSensor voltageLN; ///< RMS voltage sensor, L-N
86 sensors.NumericSensor current; ///< RMS current sensor
87 sensors.NumericSensor peakCurrent; ///< Peak current sensor
88 sensors.NumericSensor activePower; ///< Active power sensor
89 sensors.NumericSensor apparentPower; ///< Apparent power sensor
90 sensors.NumericSensor powerFactor; ///< Power factor sensor
91 sensors.NumericSensor activeEnergy; ///< Active energy sensor
92 sensors.NumericSensor apparentEnergy; ///< Apparent energy sensor
93 };
94
95 /** A pole that can select one of multiple inputs */
96 structure ThrowPole {
97 string label; ///< %Pole label
98 PowerLine line; ///< Power line
99 vector<int> inNodeIds; ///< Upstream node ids
100 int outNodeId; ///< Downstream node id
101 };
102
103}
104
105#endif
Residual current state sensor interface.
A sensor with numeric readings.
PDU Model.
Definition: Ade.idl:12
PowerLine
Power line.
Definition: Pole.idl:18
@ L1
Line 1.
Definition: Pole.idl:19
@ EARTH
Earth.
Definition: Pole.idl:23
@ PLUS
Positive (DC)
Definition: Pole.idl:24
@ NEUTRAL
Neutral.
Definition: Pole.idl:22
@ MINUS
Negative (DC)
Definition: Pole.idl:25
@ L3
Line 3.
Definition: Pole.idl:21
@ L2
Line 2.
Definition: Pole.idl:20
Sensors Model.
sensors::NumericSensor voltage
RMS voltage sensor, L-L.
Definition: Pole.idl:84
sensors::NumericSensor apparentPower
Apparent power sensor.
Definition: Pole.idl:89
sensors::NumericSensor voltageLN
RMS voltage sensor, L-N.
Definition: Pole.idl:85
sensors::NumericSensor activePower
Active power sensor.
Definition: Pole.idl:88
string label
Pole label
Definition: Pole.idl:80
int outNodeId
Downstream (outlet-side) circuit node id.
Definition: Pole.idl:83
sensors::NumericSensor powerFactor
Power factor sensor.
Definition: Pole.idl:90
sensors::NumericSensor apparentEnergy
Apparent energy sensor.
Definition: Pole.idl:92
sensors::NumericSensor current
RMS current sensor.
Definition: Pole.idl:86
sensors::NumericSensor peakCurrent
Peak current sensor.
Definition: Pole.idl:87
sensors::NumericSensor activeEnergy
Active energy sensor.
Definition: Pole.idl:91
int inNodeId
Upstream (inlet-side) circuit node id.
Definition: Pole.idl:82
PowerLine line
Power line.
Definition: Pole.idl:81
An inlet line pair.
Definition: Pole.idl:57
sensors::NumericSensor reactivePower
Reactive power sensor.
Definition: Pole.idl:66
sensors::NumericSensor phaseAngle
Phase angle sensor.
Definition: Pole.idl:69
int rightNodeId
Right node id.
Definition: Pole.idl:61
sensors::NumericSensor current
RMS current sensor.
Definition: Pole.idl:63
int leftNodeId
Left node id.
Definition: Pole.idl:60
sensors::NumericSensor activePower
Active power sensor.
Definition: Pole.idl:65
PowerLine leftLine
Power line of left node.
Definition: Pole.idl:58
sensors::NumericSensor voltageThd
Voltage total harmonic distortion sensor.
Definition: Pole.idl:74
sensors::NumericSensor peakCurrent
Peak current sensor.
Definition: Pole.idl:64
sensors::NumericSensor powerFactor
Power factor sensor.
Definition: Pole.idl:68
sensors::NumericSensor crestFactor
Crest factor sensor.
Definition: Pole.idl:73
sensors::NumericSensor currentThd
Current total harmonic distortion sensor.
Definition: Pole.idl:75
sensors::NumericSensor voltage
RMS voltage sensor, L-L, may be a VoltageMonitoringSensor.
Definition: Pole.idl:62
PowerLine rightLine
Power line of right node.
Definition: Pole.idl:59
sensors::NumericSensor activeEnergy
Active energy sensor.
Definition: Pole.idl:71
sensors::NumericSensor apparentPower
Apparent power sensor.
Definition: Pole.idl:67
sensors::NumericSensor apparentEnergy
Apparent energy sensor.
Definition: Pole.idl:72
sensors::NumericSensor displacementPowerFactor
Displacement power factor sensor.
Definition: Pole.idl:70
An inlet or outlet pole.
Definition: Pole.idl:29
ResidualCurrentStateSensor residualCurrentStatus
Residual current monitor state sensor.
Definition: Pole.idl:53
int nodeId
Circuit node id.
Definition: Pole.idl:32
PowerLine line
Power line.
Definition: Pole.idl:31
sensors::NumericSensor residualACCurrent
AC Residual current sensor.
Definition: Pole.idl:46
sensors::NumericSensor displacementPowerFactor
Displacement power factor sensor.
Definition: Pole.idl:42
sensors::NumericSensor activePower
Active power sensor.
Definition: Pole.idl:37
sensors::NumericSensor phaseAngle
Phase angle sensor.
Definition: Pole.idl:41
sensors::NumericSensor currentThd
Current total harmonic distortion sensor.
Definition: Pole.idl:52
sensors::NumericSensor voltageLN
RMS voltage sensor, L-N (Wye) or L-PE (Delta), may be a VoltageMonitoringSensor.
Definition: Pole.idl:34
sensors::NumericSensor crestFactor
Crest factor sensor.
Definition: Pole.idl:50
sensors::NumericSensor powerFactor
Power factor sensor.
Definition: Pole.idl:40
sensors::NumericSensor peakCurrent
Peak current sensor.
Definition: Pole.idl:36
sensors::NumericSensor residualCurrent
Residual current sensor.
Definition: Pole.idl:45
sensors::NumericSensor reactivePower
Reactive power sensor.
Definition: Pole.idl:38
sensors::NumericSensor residualDCCurrent
DC Residual current sensor.
Definition: Pole.idl:48
string label
Pole label
Definition: Pole.idl:30
sensors::NumericSensor current
RMS current sensor.
Definition: Pole.idl:35
sensors::NumericSensor voltageThd
Voltage total harmonic distortion sensor.
Definition: Pole.idl:51
sensors::NumericSensor voltage
RMS voltage sensor, L-L, may be a VoltageMonitoringSensor.
Definition: Pole.idl:33
sensors::NumericSensor activeEnergy
Active energy sensor.
Definition: Pole.idl:43
sensors::NumericSensor apparentEnergy
Apparent energy sensor.
Definition: Pole.idl:44
sensors::NumericSensor apparentPower
Apparent power sensor.
Definition: Pole.idl:39
A pole that can select one of multiple inputs.
Definition: Pole.idl:96
int outNodeId
Downstream node id.
Definition: Pole.idl:100
string label
Pole label
Definition: Pole.idl:97
vector< int > inNodeIds
Upstream node ids.
Definition: Pole.idl:99
PowerLine line
Power line.
Definition: Pole.idl:98