6 #ifndef __PDUMODEL_TRANSFERSWITCH_IDL__
7 #define __PDUMODEL_TRANSFERSWITCH_IDL__
10 #include <Nameplate.idl>
12 #include <StateSensor.idl>
13 #include <Waveform.idl>
23 constant
int ERR_INVALID_PARAM = 1;
24 constant
int ERR_SWITCH_PREVENTED = 2;
25 constant
int ERR_SWITCH_FAILED = 3;
43 REASON_INTERNAL_FAILURE
56 constant
int OPERATIONAL_STATE_OFF = 0;
57 constant
int OPERATIONAL_STATE_NORMAL = 1;
58 constant
int OPERATIONAL_STATE_STANDBY = 2;
59 constant
int OPERATIONAL_STATE_NON_REDUNDANT = 3;
62 constant
int SWITCH_FAULT_I1_SHORT = 1;
63 constant
int SWITCH_FAULT_I1_OPEN = 2;
64 constant
int SWITCH_FAULT_I2_SHORT = 4;
65 constant
int SWITCH_FAULT_I2_OPEN = 8;
Common base interface for any kind of electrical device that is used in the PDU model,...
Definition: EDevice.idl:27
Transfer switch interface.
Definition: TransferSwitch.idl:21
Type
Transfer switch type.
Definition: TransferSwitch.idl:28
@ ATS
Asynchronous transfer switch (using relays)
Definition: TransferSwitch.idl:30
@ STS
Static transfer switch (using SCRs as switch technology)
Definition: TransferSwitch.idl:29
TransferReason getLastTransferReason()
Get the reason for the last transfer.
Settings getSettings()
Retrieve the transfer switch settings.
Statistics getStatistics()
Retrieve the transfer switch statistics.
int setParameters(in Parameters parameters)
Update one or more transfer switch parameters.
Parameters getParameters()
Retrieve the transfer switch parameters.
vector< ThrowPole > getPoles()
Get the list of transfer switch poles.
Sensors getSensors()
Get the transfer switch sensors.
int transferToSource(in int source, in boolean faultOverride)
Select the active inlet.
Waveform getLastTransferWaveform()
Get the voltage and current waveforms during the last transfer.
MetaData getMetaData()
Retrieve the transfer switch metadata.
map< string, int > Parameters
Transfer switch parameter map.
Definition: TransferSwitch.idl:206
TransferReason
Definition: TransferSwitch.idl:34
@ REASON_STARTUP
Startup or return to normal conditions.
Definition: TransferSwitch.idl:36
@ REASON_POWER_QUALITY
New inlet provided better power quality.
Definition: TransferSwitch.idl:40
@ REASON_UNKNOWN
Transfer reason unknown.
Definition: TransferSwitch.idl:35
@ REASON_OVERLOAD
Switched off due to overload alarm.
Definition: TransferSwitch.idl:41
@ REASON_MANUAL_TRANSFER
Manual transfer.
Definition: TransferSwitch.idl:37
@ REASON_POWER_FAILURE
Previous inlet power failed.
Definition: TransferSwitch.idl:39
@ REASON_OVERHEAT
Switched off due to overheat alarm.
Definition: TransferSwitch.idl:42
@ REASON_AUTO_RETRANSFER
Automatic retransfer.
Definition: TransferSwitch.idl:38
vector< TransferLogEntry > getTransferLog()
Retrieve the transfer log.
int setSettings(in Settings settings)
Change the transfer switch settings.
A sensor with numeric readings.
Definition: NumericSensor.idl:17
Sensor with discrete readings.
Definition: StateSensor.idl:43
PDU Model.
Definition: Ade.idl:12
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
Component nameplate information.
Definition: Nameplate.idl:23
Numerical usage ratings.
Definition: Nameplate.idl:15
Transfer switch sensors.
Definition: TransferSwitch.idl:68
sensors::StateSensor operationalState
Operational state sensor (off, normal, standby)
Definition: TransferSwitch.idl:70
sensors::StateSensor switchFault
Switch fault (ok, open, short)
Definition: TransferSwitch.idl:75
sensors::StateSensor overloadAlarm
Overload alarm.
Definition: TransferSwitch.idl:73
sensors::StateSensor selectedBypassSource
Selected source in bypass module.
Definition: TransferSwitch.idl:76
sensors::StateSensor phaseSyncAlarm
Source phases out of sync.
Definition: TransferSwitch.idl:74
sensors::NumericSensor sourceVoltagePhaseSyncAngle
Maximum phase difference between two sources.
Definition: TransferSwitch.idl:71
sensors::StateSensor selectedSource
Selected source sensor.
Definition: TransferSwitch.idl:69
Event: Transfer switch settings have been changed.
Definition: TransferSwitch.idl:101
Settings oldSettings
Settings before change.
Definition: TransferSwitch.idl:102
Settings newSettings
Settings after change.
Definition: TransferSwitch.idl:103
Transfer switch settings.
Definition: TransferSwitch.idl:81
boolean autoRetransfer
Enable automatic retransfer if power on active inlet is restored.
Definition: TransferSwitch.idl:85
boolean phaseSyncSensorEnabled
False to force the 'phaseSyncAlarm' sensor to unavailable.
Definition: TransferSwitch.idl:89
string name
User-defined name.
Definition: TransferSwitch.idl:82
int preferredSource
Preferred inlet.
Definition: TransferSwitch.idl:84
int autoRetransferWaitTime
Time (in s) to delay retransfer after power restoration.
Definition: TransferSwitch.idl:87
boolean manualTransferEnabled
Enable state of 'manual transfer' front panel button.
Definition: TransferSwitch.idl:88
boolean noAutoRetransferIfPhaseFault
Don't automatically retransfer if inlet phases are out of sync.
Definition: TransferSwitch.idl:86
Transfer switch statistics.
Definition: TransferSwitch.idl:93
int totalTransferTime
Total time in us for last transfer.
Definition: TransferSwitch.idl:97
int transferCount
Number of transfers since device startup.
Definition: TransferSwitch.idl:94
int powerFailDetectTime
Detection time in us for the last inlet power failure.
Definition: TransferSwitch.idl:95
int relayOpenTime
Time in us until all relays have opened during the last transfer.
Definition: TransferSwitch.idl:96
Transfer log entry.
Definition: TransferSwitch.idl:182
Waveform waveform
Voltage and current waveforms.
Definition: TransferSwitch.idl:187
int oldInlet
Active inlet before transfer (0 for none)
Definition: TransferSwitch.idl:184
int switchFault
Switch fault status.
Definition: TransferSwitch.idl:189
int newInlet
Active inlet after transfer (0 for none)
Definition: TransferSwitch.idl:185
TransferReason reason
Transfer reason.
Definition: TransferSwitch.idl:186
time timestamp
Time of the transfer (UNIX timestamp, UTC)
Definition: TransferSwitch.idl:183
Statistics statistics
Transfer statistics.
Definition: TransferSwitch.idl:188