Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
OverCurrentProtector.idl
1/* SPDX-License-Identifier: BSD-3-Clause */
2/*
3 * Copyright 2009 Raritan Inc. All rights reserved.
4 */
5
6#ifndef __PDUMODEL_OVERCURRENTPROTECTOR_IDL__
7#define __PDUMODEL_OVERCURRENTPROTECTOR_IDL__
8
9#include <Nameplate.idl>
10#include <StateSensor.idl>
11#include <NumericSensor.idl>
12#include <ResidualCurrentStateSensor.idl>
13#include <Pole.idl>
14#include <Inlet.idl>
15
16/**
17 * PDU Model
18 */
19module pdumodel {
20
21 /** Overcurrent protector statistics */
23 int tripCnt; ///< Trip count
24 };
25
26 /** Overcurrent protector interface */
27 interface OverCurrentProtector extends EDevice {
28
29 /** Overcurrent protector type */
30 enumeration Type {
31 BREAKER_1POLE, ///< Single-pole circuit breaker
32 BREAKER_2POLE, ///< Two-pole circuit breaker
33 BREAKER_3POLE, ///< Three-pole circuit breaker
34 FUSE, ///< Fuse
35 FUSE_PAIR, ///< Fuse Pair
36 RCBO_2POLE, ///< Two-pole residual-current device including overcurrent protection
37 RCBO_3POLE, ///< Three-pole residual-current device including overcurrent protection
38 RCBO_4POLE ///< Four-pole residual-current device including overcurrent protection
39 };
40
41 /** Overcurrent protector metadata */
42 structure MetaData {
43 string label; ///< OCP label
44 Nameplate namePlate; ///< %Nameplate information
45 Rating rating; ///< Numerical usage ratings
46 Type type; ///< OCP type
47 int maxTripCnt; ///< Maximum trip count
48 };
49
50 /** Overcurrent protector sensors */
51 structure Sensors {
52 sensors.StateSensor trip; ///< Trip sensor (an instance of {@link OverCurrentProtectorTripSensor})
53 sensors.NumericSensor voltage; ///< RMS voltage sensor
54 sensors.NumericSensor current; ///< RMS current sensor
55 sensors.NumericSensor peakCurrent; ///< Peak current sensor
56 sensors.NumericSensor maximumCurrent; ///< Maximum current sensor
57 sensors.NumericSensor activePower; ///< Active power sensor
58 sensors.NumericSensor reactivePower; ///< Reactive power sensor
59 sensors.NumericSensor apparentPower; ///< Apparent power sensor
60 sensors.NumericSensor powerFactor; ///< Power factor sensor
61 sensors.NumericSensor displacementPowerFactor;///< Displacement power factor sensor
62 sensors.NumericSensor crestFactor; ///< Crest factor sensor
63 sensors.NumericSensor activeEnergy; ///< Active energy sensor
64 sensors.NumericSensor apparentEnergy; ///< Apparent energy sensor
65 sensors.NumericSensor phaseAngle; ///< Phase angle sensor
66 sensors.NumericSensor lineFrequency; ///< AC line frequency sensor
67 sensors.NumericSensor residualCurrent; ///< Residual current sensor
68 sensors.NumericSensor residualACCurrent; ///< AC Residual current sensor
69 ///< (AC portion of residual operating current)
70 sensors.NumericSensor residualDCCurrent; ///< DC Residual current sensor
71 ///< (DC portion of residual operating current)
72 ResidualCurrentStateSensor residualCurrentStatus; ///< Residual current monitor state sensor
73 };
74
75 /** Overcurrent protector settings */
76 structure Settings {
77 string name; ///< User-defined name
78 };
79
80 /** Event: Overcurrent protector settings have been changed */
81 valueobject SettingsChangedEvent extends event.UserEvent {
82 Settings oldSettings; ///< Settings before change
83 Settings newSettings; ///< Settings after change
84 };
85
86 /**
87 * Retrieve the OCP metadata.
88 *
89 * @return OCP metadata
90 */
92
93 /**
94 * Get the OCP sensors.
95 *
96 * @return OCP sensors
97 */
99
100 /**
101 * Get the list of OCP poles.
102 *
103 * @return List of OCP poles
104 */
105 vector<DoublePole> getPoles();
106
107 /**
108 * Get the inlet this OCP is connected to
109 *
110 * @return inlet
111 */
113
114 /**
115 * Get parent OCP - next OCP going towards inlet (for cascaded OCPs).
116 *
117 * @return OCP or null
118 */
120
121 /**
122 * Retrieve the OCP settings.
123 *
124 * @return OCP settings
125 */
127
128 /**
129 * Change the OCP settings.
130 *
131 * @param settings New OCP settings
132 *
133 * @return 0 if OK
134 * @return 1 if any parameters are invalid
135 */
136 int setSettings(in Settings settings);
137
138 };
139
140}
141
142#endif
Common base interface for any kind of electrical device that is used in the PDU model,...
Definition: EDevice.idl:27
Inlet interface
Definition: Inlet.idl:22
Overcurrent protector interface.
MetaData getMetaData()
Retrieve the OCP metadata.
OverCurrentProtector getOCP()
Get parent OCP - next OCP going towards inlet (for cascaded OCPs).
Type
Overcurrent protector type.
@ RCBO_3POLE
Three-pole residual-current device including overcurrent protection.
@ BREAKER_3POLE
Three-pole circuit breaker.
@ BREAKER_1POLE
Single-pole circuit breaker.
@ BREAKER_2POLE
Two-pole circuit breaker.
@ RCBO_2POLE
Two-pole residual-current device including overcurrent protection.
Sensors getSensors()
Get the OCP sensors.
Settings getSettings()
Retrieve the OCP settings.
vector< DoublePole > getPoles()
Get the list of OCP poles.
Inlet getInlet()
Get the inlet this OCP is connected to.
int setSettings(in Settings settings)
Change the OCP settings.
Residual current state sensor interface.
A sensor with numeric readings.
Sensor with discrete readings.
Definition: StateSensor.idl:43
PDU Model.
Definition: Ade.idl:12
Sensors Model.
Overcurrent protector statistics.
Component nameplate information.
Definition: Nameplate.idl:23
Nameplate namePlate
Nameplate information
sensors::NumericSensor peakCurrent
Peak current sensor.
sensors::NumericSensor residualCurrent
Residual current sensor.
ResidualCurrentStateSensor residualCurrentStatus
Residual current monitor state sensor.
sensors::NumericSensor activeEnergy
Active energy sensor.
sensors::NumericSensor maximumCurrent
Maximum current sensor.
sensors::NumericSensor powerFactor
Power factor sensor.
sensors::NumericSensor voltage
RMS voltage sensor.
sensors::NumericSensor reactivePower
Reactive power sensor.
sensors::NumericSensor activePower
Active power sensor.
sensors::NumericSensor apparentEnergy
Apparent energy sensor.
sensors::NumericSensor residualACCurrent
AC Residual current sensor.
sensors::NumericSensor phaseAngle
Phase angle sensor.
sensors::NumericSensor displacementPowerFactor
Displacement power factor sensor.
sensors::NumericSensor current
RMS current sensor.
sensors::StateSensor trip
Trip sensor (an instance of OverCurrentProtectorTripSensor)
sensors::NumericSensor residualDCCurrent
DC Residual current sensor.
sensors::NumericSensor crestFactor
Crest factor sensor.
sensors::NumericSensor lineFrequency
AC line frequency sensor.
sensors::NumericSensor apparentPower
Apparent power sensor.
Event: Overcurrent protector settings have been changed.
Numerical usage ratings.
Definition: Nameplate.idl:15