Package io.openems.edge.common.filter
Class DisabledPidFilter
java.lang.Object
io.openems.edge.common.filter.PidFilter
io.openems.edge.common.filter.DisabledPidFilter
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
PowerComponent
is configured to
disable PID filter.-
Field Summary
Fields inherited from class io.openems.edge.common.filter.PidFilter
DEFAULT_D, DEFAULT_I, DEFAULT_P, ERROR_SUM_LIMIT_FACTOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
applyPidFilter
(int input, int target) Apply the PID filter using the current Channel value as input and the target value.Methods inherited from class io.openems.edge.common.filter.PidFilter
applyLowHighLimits, reset, setLimits
-
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 classPidFilter
- Parameters:
input
- the input value, e.g. the measured Channel valuetarget
- the target value- Returns:
- the filtered set-point value
-