Package CIM14 :: Package IEC61968 :: Package Metering :: Module DynamicDemand' :: Class DynamicDemand
[hide private]
[frames] | no frames]

Class DynamicDemand

      object --+    
               |    
Element'.Element --+
                   |
                  DynamicDemand

Dynamic demand description. The formula by which demand is measured is an important underlying definition to the measurement. Generally speaking, all of the meters in a given utility will be configured to measure demand the same way. Nevertheless, it must be defined. An 'interval' of 60, 30, 15, 10, or 5 minutes must be defined to describe the interval of time over which usage is measured. When demand is defined to be DemandKind.rollingBlock, both an 'interval' and a 'subinterval' must be defined, where the 'subinterval' must be a multiple of the 'interval' which contains it. A common setting is '15-minute rolling block with 5-minute subintervals.'

Instance Methods [hide private]
 
__init__(self, kind='logarithmic', interval=0.0, subInterval=0.0, *args, **kw_args)
Initialises a new 'DynamicDemand' instance.

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

Class Variables [hide private]
  _attr_types = {'interval': <type 'float'>, 'kind': <type 'str'...
  _attrs = ['kind', 'interval', 'subInterval']
  _defaults = {'interval': 0.0, 'kind': 'logarithmic', 'subInter...
  _enums = {'kind': 'DemandKind'}

Inherited from Element'.Element (private): _many_refs, _refs

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, kind='logarithmic', interval=0.0, subInterval=0.0, *args, **kw_args)
(Constructor)

 

Initialises a new 'DynamicDemand' instance.

Parameters:
  • kind - Kind of demand. Values are: "logarithmic", "fixedBlock", "rollingBlock"
  • interval - Demand interval.
  • subInterval - (if 'kind'=rollingBlock) Subinterval, must be multiple of 'interval' that contains it.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'interval': <type 'float'>,
 'kind': <type 'str'>,
 'subInterval': <type 'float'>}

_defaults

Value:
{'interval': 0.0, 'kind': 'logarithmic', 'subInterval': 0.0}