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

Class Block

                                    object --+            
                                             |            
                              Element'.Element --+        
                                                 |        
  IEC61970.Core.IdentifiedObject'.IdentifiedObject --+    
                                                     |    
IEC61970.Core.PowerSystemResource'.PowerSystemResource --+
                                                         |
                                                        Block

A specific usage of a dynamics block, supplied with parameters and any linkages to the power system static model that are required. Sometimes a block is used to simply specify a location of input or output from dyanmics equations to the static model.

Instance Methods [hide private]
 
__init__(self, positiveFlowIn=False, inService=False, Terminal=None, MemberOf_BlockConnectivity=None, blockUsageInputReference0=None, BlockUsageOutputReference=None, PowerSystemResource=None, slotReference0=None, tieToMeasurement0=None, MetaBlock=None, BlockConnection=None, BlockParameter=None, *args, **kw_args)
Initialises a new 'Block' instance.
 
addBlockConnection(self, *BlockConnection)
 
addBlockParameter(self, *BlockParameter)
 
addBlockUsageOutputReference(self, *BlockUsageOutputReference)
 
addblockUsageInputReference0(self, *blockUsageInputReference0)
 
addtieToMeasurement0(self, *tieToMeasurement0)
 
getBlockConnection(self)
 
getBlockParameter(self)
 
getBlockUsageOutputReference(self)
 
getMemberOf_BlockConnectivity(self)
 
getMetaBlock(self)
 
getPowerSystemResource(self)
The power system resource associated with the dyanmics block instance.
 
getTerminal(self)
The optional terminal to which the block applies.
 
getblockUsageInputReference0(self)
 
getslotReference0(self)
 
gettieToMeasurement0(self)
 
removeBlockConnection(self, *BlockConnection)
 
removeBlockParameter(self, *BlockParameter)
 
removeBlockUsageOutputReference(self, *BlockUsageOutputReference)
 
removeblockUsageInputReference0(self, *blockUsageInputReference0)
 
removetieToMeasurement0(self, *tieToMeasurement0)
 
setBlockConnection(self, value)
 
setBlockParameter(self, value)
 
setBlockUsageOutputReference(self, value)
 
setMemberOf_BlockConnectivity(self, value)
 
setMetaBlock(self, value)
 
setPowerSystemResource(self, value)
 
setTerminal(self, value)
 
setblockUsageInputReference0(self, value)
 
setslotReference0(self, value)
 
settieToMeasurement0(self, value)

Inherited from IEC61970.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 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 = {'inService': <type 'bool'>, 'positiveFlowIn': <...
  _attrs = ['positiveFlowIn', 'inService']
  _defaults = {'inService': False, 'positiveFlowIn': False}
  _many_refs = ['blockUsageInputReference0', 'BlockUsageOutputRe...
  _refs = ['Terminal', 'MemberOf_BlockConnectivity', 'blockUsage...

Inherited from Element'.Element (private): _enums

Properties [hide private]
  BlockConnection
  BlockParameter
  BlockUsageOutputReference
  MemberOf_BlockConnectivity
  MetaBlock
  PowerSystemResource
The power system resource associated with the dyanmics block instance.
  Terminal
The optional terminal to which the block applies.
  blockUsageInputReference0
  slotReference0
  tieToMeasurement0

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

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, positiveFlowIn=False, inService=False, Terminal=None, MemberOf_BlockConnectivity=None, blockUsageInputReference0=None, BlockUsageOutputReference=None, PowerSystemResource=None, slotReference0=None, tieToMeasurement0=None, MetaBlock=None, BlockConnection=None, BlockParameter=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Block' instance.

Parameters:
  • positiveFlowIn - If true then any flows associated with a terminal are referenced as positive into the device.
  • inService
  • Terminal - The optional terminal to which the block applies. This is used to link a specific terminal flow to the dynamics block.
  • MemberOf_BlockConnectivity
  • blockUsageInputReference0
  • BlockUsageOutputReference
  • PowerSystemResource - The power system resource associated with the dyanmics block instance. This is optional because sometimes no linkage is needed, yet parameters must be specified. Also the linkage to Terminal can be used instead of the linkage to PowerSystemResource.
  • slotReference0
  • tieToMeasurement0
  • MetaBlock
  • BlockConnection
  • BlockParameter
Overrides: object.__init__

getPowerSystemResource(self)

 

The power system resource associated with the dyanmics block instance. This is optional because sometimes no linkage is needed, yet parameters must be specified. Also the linkage to Terminal can be used instead of the linkage to PowerSystemResource.

getTerminal(self)

 

The optional terminal to which the block applies. This is used to link a specific terminal flow to the dynamics block.


Class Variable Details [hide private]

_attr_types

Value:
{'inService': <type 'bool'>, 'positiveFlowIn': <type 'bool'>}

_many_refs

Value:
['blockUsageInputReference0',
 'BlockUsageOutputReference',
 'tieToMeasurement0',
 'BlockConnection',
 'BlockParameter']

_refs

Value:
['Terminal',
 'MemberOf_BlockConnectivity',
 'blockUsageInputReference0',
 'BlockUsageOutputReference',
 'PowerSystemResource',
 'slotReference0',
 'tieToMeasurement0',
 'MetaBlock',
...

Property Details [hide private]

BlockConnection

Get Method:
getBlockConnection(self)
Set Method:
setBlockConnection(self, value)

BlockParameter

Get Method:
getBlockParameter(self)
Set Method:
setBlockParameter(self, value)

BlockUsageOutputReference

Get Method:
getBlockUsageOutputReference(self)
Set Method:
setBlockUsageOutputReference(self, value)

MemberOf_BlockConnectivity

Get Method:
getMemberOf_BlockConnectivity(self)
Set Method:
setMemberOf_BlockConnectivity(self, value)

MetaBlock

Get Method:
getMetaBlock(self)
Set Method:
setMetaBlock(self, value)

PowerSystemResource

The power system resource associated with the dyanmics block instance. This is optional because sometimes no linkage is needed, yet parameters must be specified. Also the linkage to Terminal can be used instead of the linkage to PowerSystemResource.

Get Method:
getPowerSystemResource(self) - The power system resource associated with the dyanmics block instance.
Set Method:
setPowerSystemResource(self, value)

Terminal

The optional terminal to which the block applies. This is used to link a specific terminal flow to the dynamics block.

Get Method:
getTerminal(self) - The optional terminal to which the block applies.
Set Method:
setTerminal(self, value)

blockUsageInputReference0

Get Method:
getblockUsageInputReference0(self)
Set Method:
setblockUsageInputReference0(self, value)

slotReference0

Get Method:
getslotReference0(self)
Set Method:
setslotReference0(self, value)

tieToMeasurement0

Get Method:
gettieToMeasurement0(self)
Set Method:
settieToMeasurement0(self, value)