6#ifndef __PDUMODEL_TRANSFERSWITCH_IDL__
7#define __PDUMODEL_TRANSFERSWITCH_IDL__
10#include <Nameplate.idl>
12#include <StateSensor.idl>
13#include <TransferSwitchBypassStateSensor.idl>
14#include <Waveform.idl>
35 [unknown_fallback(
"REASON_UNKNOWN")]
Common base interface for any kind of electrical device that is used in the PDU model,...
Overcurrent protector trip sensor interface.
Transfer switch interface.
Type
Transfer switch type.
@ HTS
Hybrid transfer switch (relays plus SCRs)
@ ATS
Asynchronous transfer switch (using relays)
@ STS
Static transfer switch (using SCRs as switch technology)
constant int OPERATIONAL_STATE_STANDBY
Active inlet and preferred inlet are different.
constant int OPERATIONAL_STATE_OFF
Both inlets are off.
constant int SWITCH_FAULT_I1_OPEN
Inlet 1 switch is permanently open.
constant int SWITCH_FAULT_I2_SHORT
Inlet 2 switch is permanently closed.
constant int ERR_INVALID_PARAM
Invalid parameters.
TransferReason getLastTransferReason()
Get the reason for the last transfer.
constant int OPERATIONAL_STATE_NON_REDUNDANT
Active inlet equals preferred inlet, standby power critical.
constant int SWITCH_FAULT_I2_OPEN
Inlet 2 switch is permanently open.
Settings getSettings()
Retrieve the transfer switch settings.
constant int ERR_SWITCH_PREVENTED
Switching failed due to an alarm that may be overridden.
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.
constant int OPERATIONAL_STATE_NORMAL
Active inlet equals preferred inlet.
constant int ERR_SWITCH_FAILED
Switching failed, no override possible.
Sensors getSensors()
Get the transfer switch sensors.
constant int OPERATIONAL_STATE_BYPASSED
Both inlets are off, but bypass is active.
constant int SWITCH_FAULT_I1_SHORT
Inlet 1 switch is permanently closed.
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.
vector< ThrowPole > getPoles()
Get the list of transfer switch poles.
@ REASON_STARTUP
Startup or return to normal conditions.
@ REASON_BYPASS_ACTIVE
Switched off due to active bypass.
@ REASON_POWER_QUALITY
New inlet provided better power quality.
@ REASON_INTERNAL_FAILURE
Transferred because of hardware failure (e.g. switch fault)
@ REASON_UNKNOWN
Transfer reason unknown.
@ REASON_OVERLOAD
Switched off due to overload alarm.
@ REASON_MANUAL_TRANSFER
Manual transfer.
@ REASON_POWER_FAILURE
Previous inlet power failed.
@ REASON_OVERHEAT
Switched off due to overheat alarm.
@ REASON_AUTO_RETRANSFER
Automatic retransfer.
int setSettings(in Settings settings)
Change the transfer switch settings.
vector< TransferLogEntry > getTransferLog()
Retrieve the transfer log.
A sensor with numeric readings.
Sensor with discrete readings.
Component nameplate information.
sensors::StateSensor outputStatus
Output voltage status (ok, fault)
sensors::StateSensor installFaultAlarm
Install fault alarm.
sensors::StateSensor operationalState
Operational state sensor (off, normal, standby)
sensors::StateSensor switchFault
Switch fault (ok, open, short)
sensors::StateSensor overloadAlarm
Overload alarm.
sensors::StateSensor phaseSyncAlarm
Source phases out of sync.
sensors::NumericSensor sourceVoltagePhaseSyncAngle
Maximum phase difference between two sources.
sensors::StateSensor selectedSource
Selected source sensor.
Event: Transfer switch settings have been changed.
Settings oldSettings
Settings before change.
Settings newSettings
Settings after change.
Transfer switch settings.
boolean autoRetransfer
Enable automatic retransfer if power on active inlet is restored.
boolean phaseSyncSensorEnabled
False to force the 'phaseSyncAlarm' sensor to unavailable.
string name
User-defined name.
int preferredSource
Preferred inlet.
int autoRetransferWaitTime
Time (in s) to delay retransfer after power restoration.
boolean manualTransferEnabled
Enable state of 'manual transfer' front panel button.
boolean noAutoRetransferIfPhaseFault
Don't automatically retransfer if inlet phases are out of sync.
Transfer switch statistics.
int totalTransferTime
Total time in us for last transfer.
int transferCount
Number of transfers since device startup.
int powerFailDetectTime
Detection time in us for the last inlet power failure.
int relayOpenTime
Time in us until all relays have opened during the last transfer.
Waveform waveform
Voltage and current waveforms.
int oldInlet
Active inlet before transfer (0 for none)
int switchFault
Switch fault status.
int newInlet
Active inlet after transfer (0 for none)
TransferReason reason
Transfer reason.
time timestamp
Time of the transfer (UNIX timestamp, UTC)
Statistics statistics
Transfer statistics.