5.2.1.3. gemini_framework.abstract.unit_abstract

Abstract unit interface for framework plants.

Classes

UnitAbstract(unit_id, unit_name, plant)

Abstract base class for plant units.

class gemini_framework.abstract.unit_abstract.UnitAbstract(unit_id, unit_name, plant)[source]

Bases: ABC

Abstract base class for plant units.

Initialize unit object.

Parameters:
  • unit_id (str) – The unique identifier of the unit.

  • unit_name (str) – The name of the unit.

  • plant (object) – The plant.

Link unit modules.

set_parameters(parameters)[source]

Set unit parameters.

Parameters:

parameters (dict) – dict of parameters property.

set_tagnames(tagnames)[source]

Set unit tagnames.

Parameters:

tagnames (dict) – tagnames that need to be updated.

update_model_parameter(timestamps)[source]

Update model parameters for given timestamps.