h2integrate.control.control_strategies.controller_baseclass#
Classes
|
Base class for open-loop controllers in the H2Integrate system. |
- class h2integrate.control.control_strategies.controller_baseclass.ControllerBaseClass(**kwargs)#
Base class for open-loop controllers in the H2Integrate system.
This class provides a template for implementing open-loop controllers. It defines the basic structure for inputs and outputs and requires subclasses to implement the compute method for specific control logic.
- plant_config#
Configuration dictionary for the overall plant.
- Type:
dict
- tech_config#
Configuration dictionary for the specific technology being controlled.
- Type:
dict
- initialize()#
Declare options for the component. See "Attributes" section in class doc strings for details.
- setup()#
Define inputs and outputs for the component.
This method must be implemented in subclasses to define the specific control inputs and outputs.
- Raises:
NotImplementedError -- If the method is not implemented in a subclass.
- compute(inputs, outputs)#
Perform computations for the component.
This method must be implemented in subclasses to define the specific control logic.
- Parameters:
inputs (dict) -- Dictionary of input values.
outputs (dict) -- Dictionary of output values.
- Raises:
NotImplementedError -- If the method is not implemented in a subclass.