Source code for cpsim.controllers.controller_base

from abc import ABC, abstractmethod


[docs] class Controller(ABC):
[docs] @abstractmethod def update(self, feedback_value, current_time=None): pass
[docs] @abstractmethod def set_control_limit(self, control_lo, control_up): pass
[docs] @abstractmethod def set_reference(self, ref): pass
[docs] def clear(self): pass