rbatools.process_constraint_block API documentation

rbatools.process_constraint_block module

Classes

class ProcessConstraintBlock (ancestors: InformationBlock)

Class holding information on the constraints regarding the processes in the model.

Attributes

Elements : dict
Each model process-constraint is represented by a key. The values, holding information on each process-constraint, are dicts with predefined keys: 'ID' : process-constraint ID in model (type str) 'AssociatedProcess' : Name of process this constraint relates to (type str) 'AssociatedProcessID' : ID of process this constraint relates to (type str) 'Type' : Equality or inequality (type str) 'CapacityParameterID' : ID of capacity parameter (type str) 'CapacityParameter' : Definition of capacity parameter (type dict) See doc string of rbatools.rba_Session.RBA_Session.get_parameter_definition method

Methods

def from_files(self, model, Cs, matrix)