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

Class Contingency

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

An event threatening system reliability, consisting of one or more contingency elements.

Instance Methods [hide private]
 
__init__(self, mustStudy=False, ContingencyElement=None, *args, **kw_args)
Initialises a new 'Contingency' instance.
 
addContingencyElement(self, *ContingencyElement)
 
getContingencyElement(self)
A contingency can have any number of contingency elements.
 
removeContingencyElement(self, *ContingencyElement)
 
setContingencyElement(self, value)

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 = {'mustStudy': <type 'bool'>}
  _attrs = ['mustStudy']
  _defaults = {'mustStudy': False}
  _many_refs = ['ContingencyElement']
  _refs = ['ContingencyElement']

Inherited from Element'.Element (private): _enums

Properties [hide private]
  ContingencyElement
A contingency can have any number of contingency elements.

Inherited from Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, mustStudy=False, ContingencyElement=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Contingency' instance.

Parameters:
  • mustStudy - Set true if must study this contingency.
  • ContingencyElement - A contingency can have any number of contingency elements.
Overrides: object.__init__

Property Details [hide private]

ContingencyElement

A contingency can have any number of contingency elements.

Get Method:
getContingencyElement(self) - A contingency can have any number of contingency elements.
Set Method:
setContingencyElement(self, value)