def record_consumption_rate(self, amt, time_at_consumption):
if self._last_time is None:<EOL><INDENT>self._last_time = time_at_consumption<EOL>self._current_rate = <NUM_LIT:0.0><EOL>return<EOL><DEDENT>self._current_rate = self._calculate_exponential_moving_average_rate(<EOL>amt, time_at_consumption)<EOL>self._last_time = time_at_consumption<EOL>
Record the consumption rate based off amount and time point

        :type amt: int
        :param amt: The amount that got consumed

        :type time_at_consumption: float
        :param time_at_consumption: The time at which the amount was consumed