- TC: HOLD controller doesn't use Smith Predictor

This commit is contained in:
jens
2020-12-22 13:32:14 +01:00
parent 3a8445fce1
commit cc54887f9b
+5 -1
View File
@@ -74,7 +74,11 @@ class TempController(AttributeChange):
self.theta_ist = theta_ist_plant self.theta_ist = theta_ist_plant
self.heatrate_ist = heatrate_ist_plant self.heatrate_ist = heatrate_ist_plant
theta_err = self.theta_soll_set - (theta_ist_plant - self.theta_ist_delay_model.get() + theta_ist_model) if 0:
theta_err = self.theta_soll_set - (theta_ist_plant - self.theta_ist_delay_model.get() + theta_ist_model)
else:
theta_err = self.theta_soll_set - theta_ist_plant
heatrate_err = self.heatrate_soll - (heatrate_ist_plant - self.dtheta_ist_delay_model.get() + heatrate_ist_model) heatrate_err = self.heatrate_soll - (heatrate_ist_plant - self.dtheta_ist_delay_model.get() + heatrate_ist_model)
# Process state # Process state