Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfOperations :: Module OutageStep' :: Class OutageStep
[hide private]
[frames] | no frames]

Class OutageStep

                         object --+        
                                  |        
                   Element'.Element --+    
                                      |    
Core.IdentifiedObject'.IdentifiedObject --+
                                          |
                                         OutageStep

Holds an outage start and end time for each supply point of an outage record. The supply point for a given step is the associated PowerSystemResource instance.Holds an outage start and end time for each supply point of an outage record. The supply point for a given step is the associated PowerSystemResource instance.

Instance Methods [hide private]
 
__init__(self, averageCml=0.0, damage=False, specialCustomerCount=0, criticalCustomerCount=0, estimatedRestoreDateTime='', shockReported=False, callerCount=0, fatality=False, jobPriority='', totalCustomerCount=0, injury=False, totalCml=0.0, Crews=None, noPowerInterval=None, ConductingEquipmentRoles=None, status=None, OutageRecord=None, OutageCodes=None, *args, **kw_args)
Initialises a new 'OutageStep' instance.
 
addConductingEquipmentRoles(self, *ConductingEquipmentRoles)
 
addCrews(self, *Crews)
 
addOutageCodes(self, *OutageCodes)
 
getConductingEquipmentRoles(self)
 
getCrews(self)
 
getOutageCodes(self)
Multiple outage codes may apply to an outage step.
 
getOutageRecord(self)
 
removeConductingEquipmentRoles(self, *ConductingEquipmentRoles)
 
removeCrews(self, *Crews)
 
removeOutageCodes(self, *OutageCodes)
 
setConductingEquipmentRoles(self, value)
 
setCrews(self, value)
 
setOutageCodes(self, value)
 
setOutageRecord(self, value)

Inherited from Core.IdentifiedObject'.IdentifiedObject: addDiagramObjects, addNames, getDiagramObjects, getModelingAuthoritySet, getNames, removeDiagramObjects, removeNames, setDiagramObjects, setModelingAuthoritySet, setNames

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

Class Variables [hide private]
  _attr_types = {'averageCml': <type 'float'>, 'callerCount': <t...
  _attrs = ['averageCml', 'damage', 'specialCustomerCount', 'cri...
  _defaults = {'averageCml': 0.0, 'callerCount': 0, 'criticalCus...
  _many_refs = ['Crews', 'ConductingEquipmentRoles', 'OutageCodes']
  _refs = ['Crews', 'noPowerInterval', 'ConductingEquipmentRoles...
  noPowerInterval = None
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  ConductingEquipmentRoles
  Crews
  OutageCodes
Multiple outage codes may apply to an outage step.
  OutageRecord

Inherited from Core.IdentifiedObject'.IdentifiedObject: DiagramObjects, ModelingAuthoritySet, Names

Inherited from object: __class__

Method Details [hide private]

__init__(self, averageCml=0.0, damage=False, specialCustomerCount=0, criticalCustomerCount=0, estimatedRestoreDateTime='', shockReported=False, callerCount=0, fatality=False, jobPriority='', totalCustomerCount=0, injury=False, totalCml=0.0, Crews=None, noPowerInterval=None, ConductingEquipmentRoles=None, status=None, OutageRecord=None, OutageCodes=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'OutageStep' instance.

Parameters:
  • averageCml - Average Customer Minutes Lost (CML) for this supply point for this outage.
  • damage - True if damage reported by caller or engineer.
  • specialCustomerCount - Number of customers with high reliability required.
  • criticalCustomerCount - Number of customers with critical needs, e.g., with a dialysis machine.
  • estimatedRestoreDateTime - Estimated time of restoration.
  • shockReported - True if shocks reported by caller or engineer.
  • callerCount - Number of customers phoning in.
  • fatality - True if fatalities reported by caller or engineer.
  • jobPriority
  • totalCustomerCount - Number of customers connected to the PowerSystemResource.
  • injury - True if injuries reported by caller or engineer.
  • totalCml - Total Customer Minutes Lost (CML) for this supply point for this outage.
  • Crews
  • noPowerInterval - Date and time interval between loss and restoration of power.
  • ConductingEquipmentRoles
  • status
  • OutageRecord
  • OutageCodes - Multiple outage codes may apply to an outage step.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'averageCml': <type 'float'>,
 'callerCount': <type 'int'>,
 'criticalCustomerCount': <type 'int'>,
 'damage': <type 'bool'>,
 'estimatedRestoreDateTime': <type 'str'>,
 'fatality': <type 'bool'>,
 'injury': <type 'bool'>,
 'jobPriority': <type 'str'>,
...

_attrs

Value:
['averageCml',
 'damage',
 'specialCustomerCount',
 'criticalCustomerCount',
 'estimatedRestoreDateTime',
 'shockReported',
 'callerCount',
 'fatality',
...

_defaults

Value:
{'averageCml': 0.0,
 'callerCount': 0,
 'criticalCustomerCount': 0,
 'damage': False,
 'estimatedRestoreDateTime': '',
 'fatality': False,
 'injury': False,
 'jobPriority': '',
...

_refs

Value:
['Crews',
 'noPowerInterval',
 'ConductingEquipmentRoles',
 'status',
 'OutageRecord',
 'OutageCodes']

Property Details [hide private]

ConductingEquipmentRoles

Get Method:
getConductingEquipmentRoles(self)
Set Method:
setConductingEquipmentRoles(self, value)

Crews

Get Method:
getCrews(self)
Set Method:
setCrews(self, value)

OutageCodes

Multiple outage codes may apply to an outage step.

Get Method:
getOutageCodes(self) - Multiple outage codes may apply to an outage step.
Set Method:
setOutageCodes(self, value)

OutageRecord

Get Method:
getOutageRecord(self)
Set Method:
setOutageRecord(self, value)