Class DisabledPidFilter

java.lang.Object
io.openems.edge.common.filter.PidFilter
io.openems.edge.common.filter.DisabledPidFilter

public class DisabledPidFilter extends PidFilter
This implementation ignores the PID filter and instead just returns the unfiltered target value - making sure it is within the allowed minimum and maximum limits. It is used when
invalid reference
PowerComponent
is configured to disable PID filter.
  • Constructor Details

    • DisabledPidFilter

      public DisabledPidFilter()
  • Method Details

    • applyPidFilter

      public int applyPidFilter(int input, int target)
      Description copied from class: PidFilter
      Apply the PID filter using the current Channel value as input and the target value.
      Overrides:
      applyPidFilter in class PidFilter
      Parameters:
      input - the input value, e.g. the measured Channel value
      target - the target value
      Returns:
      the filtered set-point value