From b4a6c70591bff35a15d62f43a03997ce3c5c853c Mon Sep 17 00:00:00 2001 From: jens Date: Tue, 12 Oct 2021 12:07:36 +0200 Subject: [PATCH] - init kalman_model_delay --- components/pid/temp_controller_smith.py | 1 + 1 file changed, 1 insertion(+) diff --git a/components/pid/temp_controller_smith.py b/components/pid/temp_controller_smith.py index ca9dc27..59e0381 100755 --- a/components/pid/temp_controller_smith.py +++ b/components/pid/temp_controller_smith.py @@ -144,6 +144,7 @@ class TempController(APid): if state_next == States.HEAT: self.model.initial(self.theta_ist) self.kalman_model.initial((self.theta_ist, 0)) + self.kalman_model_delay.initial((self.theta_ist, 0)) def process_pid(self, theta_err, heatrate_err): self.pid_hold.process(theta_err, -self.theta_ist)