Package CIM14 :: Package Dynamics :: Module MetaBlock' :: Class MetaBlock
[hide private]
[frames] | no frames]

Class MetaBlock

                                  object --+        
                                           |        
                            Element'.Element --+    
                                               |    
IEC61970.Core.IdentifiedObject'.IdentifiedObject --+
                                                   |
                                                  MetaBlock

A block is a meta-data representation of a control block. It has an external interface and an optinal internal interface. Blocks internals can be ommitted if the block is well understood by both exchange parties. When well understood by both partice the block can be treated as a primitive block. All dynamic models must be defined to the level of primtive blocks in order for the model to be consumed and used for dynamic simulation. Examples of primitive blocks include a well known IEEE exciter model, a summation block, or an integrator block.

Instance Methods [hide private]
 
__init__(self, blockKind='powerSystemStabilizer', internal=False, proprietary=False, primitive=False, MetaBlockReference=None, MetaBlockOutput=None, MetaBlockState=None, MetaBlockSignal=None, blockType0=None, MetaBlockInput=None, blockConstant0=None, Block=None, MetaBlockParameter=None, *args, **kw_args)
Initialises a new 'MetaBlock' instance.
 
addBlock(self, *Block)
 
addMetaBlockInput(self, *MetaBlockInput)
 
addMetaBlockOutput(self, *MetaBlockOutput)
 
addMetaBlockParameter(self, *MetaBlockParameter)
 
addMetaBlockReference(self, *MetaBlockReference)
 
addMetaBlockSignal(self, *MetaBlockSignal)
 
addMetaBlockState(self, *MetaBlockState)
 
addblockConstant0(self, *blockConstant0)
 
getBlock(self)
 
getMetaBlockInput(self)
Inputs belong to a block.
 
getMetaBlockOutput(self)
Outputs that belong to the block.
 
getMetaBlockParameter(self)
Paramters belong to a block.
 
getMetaBlockReference(self)
 
getMetaBlockSignal(self)
 
getMetaBlockState(self)
 
getblockConstant0(self)
 
getblockType0(self)
 
removeBlock(self, *Block)
 
removeMetaBlockInput(self, *MetaBlockInput)
 
removeMetaBlockOutput(self, *MetaBlockOutput)
 
removeMetaBlockParameter(self, *MetaBlockParameter)
 
removeMetaBlockReference(self, *MetaBlockReference)
 
removeMetaBlockSignal(self, *MetaBlockSignal)
 
removeMetaBlockState(self, *MetaBlockState)
 
removeblockConstant0(self, *blockConstant0)
 
setBlock(self, value)
 
setMetaBlockInput(self, value)
 
setMetaBlockOutput(self, value)
 
setMetaBlockParameter(self, value)
 
setMetaBlockReference(self, value)
 
setMetaBlockSignal(self, value)
 
setMetaBlockState(self, value)
 
setblockConstant0(self, value)
 
setblockType0(self, value)

Inherited from IEC61970.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 = {'blockKind': <type 'str'>, 'internal': <type 'b...
  _attrs = ['blockKind', 'internal', 'proprietary', 'primitive']
  _defaults = {'blockKind': 'powerSystemStabilizer', 'internal':...
  _enums = {'blockKind': 'BlockKind'}
  _many_refs = ['MetaBlockReference', 'MetaBlockOutput', 'MetaBl...
  _refs = ['MetaBlockReference', 'MetaBlockOutput', 'MetaBlockSt...
Properties [hide private]
  Block
  MetaBlockInput
Inputs belong to a block.
  MetaBlockOutput
Outputs that belong to the block.
  MetaBlockParameter
Paramters belong to a block.
  MetaBlockReference
  MetaBlockSignal
  MetaBlockState
  blockConstant0
  blockType0

Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, blockKind='powerSystemStabilizer', internal=False, proprietary=False, primitive=False, MetaBlockReference=None, MetaBlockOutput=None, MetaBlockState=None, MetaBlockSignal=None, blockType0=None, MetaBlockInput=None, blockConstant0=None, Block=None, MetaBlockParameter=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'MetaBlock' instance.

Parameters:
  • blockKind - Enumeration type: StandardControlBlock, Excitation System, ... Name used to distinguish which standard control block (Integration, Summation, ...)? Values are: "powerSystemStabilizer", "automaticVoltageControl", "turbine", "govenor", "dotDotDot", "energySource", "exciter"
  • internal - This block is intended to be used only internally within other blocks. An example would be a summation or integrator block. Such bocks are typically also primitive, though more complex internal blocks made up of other primitive controls could be built.
  • proprietary - This block is a proprietary block. Only inputs, outputs and parameters are exchanged.
  • primitive - Iindicates this type is treated as a primitive type and therefore the internal block model can be ignored and is not typically defined in the model. Primitive blocks include such basic things as summation and standard IEEEexciter models. The exchange parties must agree on the meaning of primitive blocks according to their identification.
  • MetaBlockReference
  • MetaBlockOutput - Outputs that belong to the block.
  • MetaBlockState
  • MetaBlockSignal
  • blockType0
  • MetaBlockInput - Inputs belong to a block.
  • blockConstant0
  • Block
  • MetaBlockParameter - Paramters belong to a block.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'blockKind': <type 'str'>,
 'internal': <type 'bool'>,
 'primitive': <type 'bool'>,
 'proprietary': <type 'bool'>}

_defaults

Value:
{'blockKind': 'powerSystemStabilizer',
 'internal': False,
 'primitive': False,
 'proprietary': False}

_many_refs

Value:
['MetaBlockReference',
 'MetaBlockOutput',
 'MetaBlockState',
 'MetaBlockSignal',
 'MetaBlockInput',
 'blockConstant0',
 'Block',
 'MetaBlockParameter']

_refs

Value:
['MetaBlockReference',
 'MetaBlockOutput',
 'MetaBlockState',
 'MetaBlockSignal',
 'blockType0',
 'MetaBlockInput',
 'blockConstant0',
 'Block',
...

Property Details [hide private]

Block

Get Method:
getBlock(self)
Set Method:
setBlock(self, value)

MetaBlockInput

Inputs belong to a block.

Get Method:
getMetaBlockInput(self) - Inputs belong to a block.
Set Method:
setMetaBlockInput(self, value)

MetaBlockOutput

Outputs that belong to the block.

Get Method:
getMetaBlockOutput(self) - Outputs that belong to the block.
Set Method:
setMetaBlockOutput(self, value)

MetaBlockParameter

Paramters belong to a block.

Get Method:
getMetaBlockParameter(self) - Paramters belong to a block.
Set Method:
setMetaBlockParameter(self, value)

MetaBlockReference

Get Method:
getMetaBlockReference(self)
Set Method:
setMetaBlockReference(self, value)

MetaBlockSignal

Get Method:
getMetaBlockSignal(self)
Set Method:
setMetaBlockSignal(self, value)

MetaBlockState

Get Method:
getMetaBlockState(self)
Set Method:
setMetaBlockState(self, value)

blockConstant0

Get Method:
getblockConstant0(self)
Set Method:
setblockConstant0(self, value)

blockType0

Get Method:
getblockType0(self)
Set Method:
setblockType0(self, value)