Package CIM14 :: Package IEC61970 :: Package Wires :: Module Switch' :: Class Switch
[hide private]
[frames] | no frames]

Class Switch

                           object --+                    
                                    |                    
                     Element'.Element --+                
                                        |                
  Core.IdentifiedObject'.IdentifiedObject --+            
                                            |            
Core.PowerSystemResource'.PowerSystemResource --+        
                                                |        
                        Core.Equipment'.Equipment --+    
                                                    |    
        Core.ConductingEquipment'.ConductingEquipment --+
                                                        |
                                                       Switch
Known Subclasses:

A generic device designed to close, or open, or both, one or more electric circuits.

Instance Methods [hide private]
 
__init__(self, switchOnCount=0, switchOnDate='', retained=False, normalOpen=False, SwitchingOperations=None, CompositeSwitch=None, ConnectDisconnectFunctions=None, SwitchSchedules=None, *args, **kw_args)
Initialises a new 'Switch' instance.
 
addConnectDisconnectFunctions(self, *ConnectDisconnectFunctions)
 
addSwitchSchedules(self, *SwitchSchedules)
 
addSwitchingOperations(self, *SwitchingOperations)
 
getCompositeSwitch(self)
Composite switch this Switch belongs to
 
getConnectDisconnectFunctions(self)
 
getSwitchSchedules(self)
A Switch can be associated with SwitchSchedules.
 
getSwitchingOperations(self)
A switch may be operated by many schedules.
 
removeConnectDisconnectFunctions(self, *ConnectDisconnectFunctions)
 
removeSwitchSchedules(self, *SwitchSchedules)
 
removeSwitchingOperations(self, *SwitchingOperations)
 
setCompositeSwitch(self, value)
 
setConnectDisconnectFunctions(self, value)
 
setSwitchSchedules(self, value)
 
setSwitchingOperations(self, value)

Inherited from Core.ConductingEquipment'.ConductingEquipment: addClearanceTags, addProtectionEquipments, addTerminals, getBaseVoltage, getClearanceTags, getProtectionEquipments, getSvStatus, getTerminals, removeClearanceTags, removeProtectionEquipments, removeTerminals, setBaseVoltage, setClearanceTags, setProtectionEquipments, setSvStatus, setTerminals

Inherited from Core.Equipment'.Equipment: addContingencyEquipment, addCustomerAgreements, addOperationalLimitSet, getContingencyEquipment, getCustomerAgreements, getEquipmentContainer, getOperationalLimitSet, removeContingencyEquipment, removeCustomerAgreements, removeOperationalLimitSet, setContingencyEquipment, setCustomerAgreements, setEquipmentContainer, setOperationalLimitSet

Inherited from Core.PowerSystemResource'.PowerSystemResource: addAssets, addBlock, addMeasurements, addOperatingShare, addPsrLists, addReportingGroup, getAssets, getBlock, getLocation, getMeasurements, getOperatingShare, getOutageSchedule, getPSRType, getPsrLists, getReportingGroup, removeAssets, removeBlock, removeMeasurements, removeOperatingShare, removePsrLists, removeReportingGroup, setAssets, setBlock, setLocation, setMeasurements, setOperatingShare, setOutageSchedule, setPSRType, setPsrLists, setReportingGroup

Inherited from Core.IdentifiedObject'.IdentifiedObject: getModelingAuthoritySet, setModelingAuthoritySet

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'normalOpen': <type 'bool'>, 'retained': <type ...
  _attrs = ['switchOnCount', 'switchOnDate', 'retained', 'normal...
  _defaults = {'normalOpen': False, 'retained': False, 'switchOn...
  _enums = {}
  _many_refs = ['SwitchingOperations', 'ConnectDisconnectFunctio...
  _refs = ['SwitchingOperations', 'CompositeSwitch', 'ConnectDis...
Properties [hide private]
  CompositeSwitch
Composite switch this Switch belongs to
  ConnectDisconnectFunctions
  SwitchSchedules
A Switch can be associated with SwitchSchedules.
  SwitchingOperations
A switch may be operated by many schedules.

Inherited from Core.ConductingEquipment'.ConductingEquipment: BaseVoltage, ClearanceTags, ProtectionEquipments, SvStatus, Terminals

Inherited from Core.Equipment'.Equipment: ContingencyEquipment, CustomerAgreements, EquipmentContainer, OperationalLimitSet

Inherited from Core.PowerSystemResource'.PowerSystemResource: Assets, Block, Location, Measurements, OperatingShare, OutageSchedule, PSRType, PsrLists, ReportingGroup

Inherited from Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, switchOnCount=0, switchOnDate='', retained=False, normalOpen=False, SwitchingOperations=None, CompositeSwitch=None, ConnectDisconnectFunctions=None, SwitchSchedules=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Switch' instance.

Parameters:
  • switchOnCount - The switch on count since the switch was last reset or initialized.
  • switchOnDate - The date and time when the switch was last switched on.
  • retained - Branch is retained in a bus branch model.
  • normalOpen - The attribute is used in cases when no Measurement for the status value is present. If the Switch has a status measurment the Discrete.normalValue is expected to match with the Switch.normalOpen.
  • SwitchingOperations - A switch may be operated by many schedules.
  • CompositeSwitch - Composite switch this Switch belongs to
  • ConnectDisconnectFunctions
  • SwitchSchedules - A Switch can be associated with SwitchSchedules.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'normalOpen': <type 'bool'>,
 'retained': <type 'bool'>,
 'switchOnCount': <type 'int'>,
 'switchOnDate': <type 'str'>}

_attrs

Value:
['switchOnCount', 'switchOnDate', 'retained', 'normalOpen']

_defaults

Value:
{'normalOpen': False,
 'retained': False,
 'switchOnCount': 0,
 'switchOnDate': ''}

_many_refs

Value:
['SwitchingOperations',
 'ConnectDisconnectFunctions',
 'SwitchSchedules']

_refs

Value:
['SwitchingOperations',
 'CompositeSwitch',
 'ConnectDisconnectFunctions',
 'SwitchSchedules']

Property Details [hide private]

CompositeSwitch

Composite switch this Switch belongs to

Get Method:
getCompositeSwitch(self) - Composite switch this Switch belongs to
Set Method:
setCompositeSwitch(self, value)

ConnectDisconnectFunctions

Get Method:
getConnectDisconnectFunctions(self)
Set Method:
setConnectDisconnectFunctions(self, value)

SwitchSchedules

A Switch can be associated with SwitchSchedules.

Get Method:
getSwitchSchedules(self) - A Switch can be associated with SwitchSchedules.
Set Method:
setSwitchSchedules(self, value)

SwitchingOperations

A switch may be operated by many schedules.

Get Method:
getSwitchingOperations(self) - A switch may be operated by many schedules.
Set Method:
setSwitchingOperations(self, value)