- TC: HOLD controller doesn't use Smith Predictor
This commit is contained in:
@@ -74,7 +74,11 @@ class TempController(AttributeChange):
|
||||
self.theta_ist = theta_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)
|
||||
|
||||
# Process state
|
||||
|
||||
Reference in New Issue
Block a user